{ "name": "Naked Spirit", "description": "Silk Kimono Art", "url": "https:\/\/nakedspirit.ee", "home": "https:\/\/nakedspirit.ee\/est", "gmt_offset": "0", "timezone_string": "", "page_for_posts": 0, "page_on_front": 7425, "show_on_front": "page", "namespaces": [ "oembed\/1.0", "cky\/v1", "mailchimp\/v1", "wc\/v3", "wc\/v1", "wc\/pos\/v1\/catalog", "wordfence-login-security\/v1", "wordfence\/v1", "elementor-mcp-composer\/v1.0.20", "elementor-one\/v1", "jetpack\/v4", "cpsw", "elementor\/v1", "montonio\/ota", "montonio\/shipping\/v2", "wc-admin", "wc-analytics", "wc\/store", "wc\/store\/v1", "wc\/private", "wp-rocket\/v1", "wc\/v2", "mailchimp-for-woocommerce\/v1", "astra\/v1", "astra_addon\/v1", "google-site-kit\/v1", "elementor\/v1\/documents", "elementor-ai\/v1", "elementor\/v1\/feedback", "elementor-pro\/v1", "ctxfeed\/v1", "wc-admin-email", "wc-telemetry", "wccom-site\/v3", "bsf-core\/v1", "nps-survey\/v1", "wp-abilities\/v1", "mcp", "wp\/v2", "wp-site-health\/v1", "wp-block-editor\/v1" ], "authentication": [], "routes": { "\/": { "namespace": "", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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:\/\/nakedspirit.ee\/est\/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:\/\/nakedspirit.ee\/est\/wp-json\/oembed\/1.0" } ] } }, "\/oembed\/1.0\/embed": { "namespace": "oembed\/1.0", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "url": { "description": "Objekti URL, mis kasutab oEmbed-andmeid.", "type": "string", "format": "uri", "required": true }, "format": { "default": "json", "required": false }, "maxwidth": { "default": 600, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/oembed\/1.0\/embed" } ] } }, "\/oembed\/1.0\/proxy": { "namespace": "oembed\/1.0", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "url": { "description": "Objekti URL, mis kasutab oEmbed-andmeid.", "type": "string", "format": "uri", "required": true }, "format": { "description": "Kasutatav oEmbed-vorming.", "type": "string", "default": "json", "enum": [ "json", "xml" ], "required": false }, "maxwidth": { "description": "S\u00fcvistatava elemendi maksimumlaius pikslites.", "type": "integer", "default": 600, "required": false }, "maxheight": { "description": "S\u00fcvistatava elemendi maksimumk\u00f5rgus pikslites.", "type": "integer", "required": false }, "discover": { "description": "Kas teha oEmbed-p\u00e4ringuid valgesse nimekirja mittekuuluvatesse allikatesse.", "type": "boolean", "default": true, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/oembed\/1.0\/proxy" } ] } }, "\/cky\/v1": { "namespace": "cky\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "cky\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/cky\/v1" } ] } }, "\/cky\/v1\/settings": { "namespace": "cky\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "paged": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "force": { "type": "boolean", "description": "Force fetch data", "required": false } } }, { "methods": [ "POST" ], "args": { "site": { "description": "Unique identifier for the resource.", "type": "object", "required": false }, "api": { "description": "Language.", "type": "object", "required": false }, "account": { "description": "Language.", "type": "object", "required": false }, "consent_logs": { "description": "Language.", "type": "object", "required": false }, "languages": { "description": "Language.", "type": "object", "required": false }, "onboarding": { "description": "Language.", "type": "object", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/cky\/v1\/settings" } ] } }, "\/cky\/v1\/settings\/laws": { "namespace": "cky\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "paged": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "force": { "type": "boolean", "description": "Force fetch data", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/cky\/v1\/settings\/laws" } ] } }, "\/cky\/v1\/settings\/info": { "namespace": "cky\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "paged": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "force": { "type": "boolean", "description": "Force fetch data", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/cky\/v1\/settings\/info" } ] } }, "\/cky\/v1\/settings\/disconnect": { "namespace": "cky\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "paged": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "force": { "type": "boolean", "description": "Force fetch data", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/cky\/v1\/settings\/disconnect" } ] } }, "\/cky\/v1\/settings\/sync": { "namespace": "cky\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "site": { "description": "Unique identifier for the resource.", "type": "object", "required": false }, "api": { "description": "Language.", "type": "object", "required": false }, "account": { "description": "Language.", "type": "object", "required": false }, "consent_logs": { "description": "Language.", "type": "object", "required": false }, "languages": { "description": "Language.", "type": "object", "required": false }, "onboarding": { "description": "Language.", "type": "object", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/cky\/v1\/settings\/sync" } ] } }, "\/cky\/v1\/settings\/cache\/purge": { "namespace": "cky\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "paged": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "force": { "type": "boolean", "description": "Force fetch data", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/cky\/v1\/settings\/cache\/purge" } ] } }, "\/cky\/v1\/settings\/notices\/(?P[a-zA-Z0-9-_]+)": { "namespace": "cky\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "paged": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "force": { "type": "boolean", "description": "Force fetch data", "required": false } } } ] }, "\/cky\/v1\/settings\/expand": { "namespace": "cky\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "paged": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "force": { "type": "boolean", "description": "Force fetch data", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/cky\/v1\/settings\/expand" } ] } }, "\/cky\/v1\/settings\/connect_notice": { "namespace": "cky\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "paged": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "force": { "type": "boolean", "description": "Force fetch data", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/cky\/v1\/settings\/connect_notice" } ] } }, "\/cky\/v1\/settings\/reinstall": { "namespace": "cky\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "paged": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "force": { "type": "boolean", "description": "Force fetch data", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/cky\/v1\/settings\/reinstall" } ] } }, "\/cky\/v1\/settings\/apply_filter": { "namespace": "cky\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "paged": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "force": { "type": "boolean", "description": "Force fetch data", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/cky\/v1\/settings\/apply_filter" } ] } }, "\/cky\/v1\/settings\/notices\/pageviews_overage_notice": { "namespace": "cky\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "paged": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "force": { "type": "boolean", "description": "Force fetch data", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/cky\/v1\/settings\/notices\/pageviews_overage_notice" } ] } }, "\/cky\/v1\/settings\/payments": { "namespace": "cky\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "paged": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "force": { "type": "boolean", "description": "Force fetch data", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/cky\/v1\/settings\/payments" } ] } }, "\/cky\/v1\/gcm": { "namespace": "cky\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "status": { "description": "GCM status.", "type": "boolean", "required": false }, "default_settings": { "description": "Default settings.", "type": "array", "required": false }, "wait_for_update": { "description": "Wait for update.", "type": "integer", "required": false }, "url_passthrough": { "description": "Pass ad click information through URLs.", "type": "boolean", "required": false }, "ads_data_redaction": { "description": "Redact ads data.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/cky\/v1\/gcm" } ] } }, "\/cky\/v1\/languages": { "namespace": "cky\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "language": { "description": "Name of the language.", "type": "string", "required": false }, "native_name": { "description": "Native name of the language.", "type": "string", "required": false }, "lang": { "description": "Language code", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/cky\/v1\/languages" } ] } }, "\/cky\/v1\/languages\/available": { "namespace": "cky\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/cky\/v1\/languages\/available" } ] } }, "\/cky\/v1\/languages\/translations": { "namespace": "cky\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/cky\/v1\/languages\/translations" } ] } }, "\/cky\/v1\/dashboard\/summary": { "namespace": "cky\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/cky\/v1\/dashboard\/summary" } ] } }, "\/cky\/v1\/dashboard\/plans": { "namespace": "cky\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/cky\/v1\/dashboard\/plans" } ] } }, "\/cky\/v1\/dashboard\/currencies": { "namespace": "cky\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/cky\/v1\/dashboard\/currencies" } ] } }, "\/cky\/v1\/banners": { "namespace": "cky\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "ver": { "description": "Version", "type": "string", "required": false }, "language": { "description": "Language of the banner", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Banner name for reference", "type": "string", "required": false }, "slug": { "description": "Banner unique name", "type": "string", "required": false }, "settings": { "description": "Banner settings.", "type": "array", "required": false }, "contents": { "description": "Banner contents.", "type": "object", "required": false }, "default": { "description": "Indicates whether the banner is default or not", "type": "boolean", "required": false }, "date_modified": { "description": "The date the banner was last modified, as GMT.", "type": "date-time", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/cky\/v1\/banners" } ] } }, "\/cky\/v1\/banners\/bulk": { "namespace": "cky\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "name": { "description": "Banner name for reference", "type": "string", "required": false }, "slug": { "description": "Banner unique name", "type": "string", "required": false }, "settings": { "description": "Banner settings.", "type": "array", "required": false }, "contents": { "description": "Banner contents.", "type": "object", "required": false }, "default": { "description": "Indicates whether the banner is default or not", "type": "boolean", "required": false }, "date_modified": { "description": "The date the banner was last modified, as GMT.", "type": "date-time", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/cky\/v1\/banners\/bulk" } ] } }, "\/cky\/v1\/banners\/(?P[\\d]+)": { "namespace": "cky\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "Banner name for reference", "type": "string", "required": false }, "slug": { "description": "Banner unique name", "type": "string", "required": false }, "settings": { "description": "Banner settings.", "type": "array", "required": false }, "contents": { "description": "Banner contents.", "type": "object", "required": false }, "default": { "description": "Indicates whether the banner is default or not", "type": "boolean", "required": false }, "date_modified": { "description": "The date the banner was last modified, as GMT.", "type": "date-time", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "Banner name for reference", "type": "string", "required": false }, "slug": { "description": "Banner unique name", "type": "string", "required": false }, "settings": { "description": "Banner settings.", "type": "array", "required": false }, "contents": { "description": "Banner contents.", "type": "object", "required": false }, "default": { "description": "Indicates whether the banner is default or not", "type": "boolean", "required": false }, "date_modified": { "description": "The date the banner was last modified, as GMT.", "type": "date-time", "required": false } } } ] }, "\/cky\/v1\/banners\/preview": { "namespace": "cky\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "name": { "description": "Banner name for reference", "type": "string", "required": false }, "slug": { "description": "Banner unique name", "type": "string", "required": false }, "settings": { "description": "Banner settings.", "type": "array", "required": false }, "contents": { "description": "Banner contents.", "type": "object", "required": false }, "default": { "description": "Indicates whether the banner is default or not", "type": "boolean", "required": false }, "date_modified": { "description": "The date the banner was last modified, as GMT.", "type": "date-time", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/cky\/v1\/banners\/preview" } ] } }, "\/cky\/v1\/banners\/presets": { "namespace": "cky\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "ver": { "description": "Version", "type": "string", "required": false }, "language": { "description": "Language of the banner", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/cky\/v1\/banners\/presets" } ] } }, "\/cky\/v1\/banners\/configs": { "namespace": "cky\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "ver": { "description": "Version", "type": "string", "required": false }, "language": { "description": "Language of the banner", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/cky\/v1\/banners\/configs" } ] } }, "\/cky\/v1\/cookies\/categories": { "namespace": "cky\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "lang": { "description": "Language of the cookie", "type": "string", "required": false }, "category": { "description": "Cookie category", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Cookie category name.", "type": "object", "required": false }, "slug": { "description": "Cookie category unique name", "type": "string", "required": false }, "language": { "description": "Cookie category language", "type": "string", "required": false }, "description": { "description": "Cookie category description.", "type": "object", "required": false }, "prior_consent": { "description": "Cookie type.", "type": "boolean", "required": false }, "priority": { "description": "Cookie type.", "type": "integer", "required": false }, "visibility": { "description": "Show cookies on audit table or not", "type": "boolean", "required": false }, "sell_personal_data": { "description": "Show cookies on audit table or not", "type": "boolean", "required": false }, "cookies": { "description": "Cookie category description.", "type": "object", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/cky\/v1\/cookies\/categories" } ] } }, "\/cky\/v1\/cookies\/categories\/bulk": { "namespace": "cky\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "name": { "description": "Cookie category name.", "type": "object", "required": false }, "slug": { "description": "Cookie category unique name", "type": "string", "required": false }, "language": { "description": "Cookie category language", "type": "string", "required": false }, "description": { "description": "Cookie category description.", "type": "object", "required": false }, "prior_consent": { "description": "Cookie type.", "type": "boolean", "required": false }, "priority": { "description": "Cookie type.", "type": "integer", "required": false }, "visibility": { "description": "Show cookies on audit table or not", "type": "boolean", "required": false }, "sell_personal_data": { "description": "Show cookies on audit table or not", "type": "boolean", "required": false }, "cookies": { "description": "Cookie category description.", "type": "object", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/cky\/v1\/cookies\/categories\/bulk" } ] } }, "\/cky\/v1\/cookies\/categories\/(?P[\\d]+)": { "namespace": "cky\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "Cookie category name.", "type": "object", "required": false }, "slug": { "description": "Cookie category unique name", "type": "string", "required": false }, "language": { "description": "Cookie category language", "type": "string", "required": false }, "description": { "description": "Cookie category description.", "type": "object", "required": false }, "prior_consent": { "description": "Cookie type.", "type": "boolean", "required": false }, "priority": { "description": "Cookie type.", "type": "integer", "required": false }, "visibility": { "description": "Show cookies on audit table or not", "type": "boolean", "required": false }, "sell_personal_data": { "description": "Show cookies on audit table or not", "type": "boolean", "required": false }, "cookies": { "description": "Cookie category description.", "type": "object", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false } } } ] }, "\/cky\/v1\/cookies": { "namespace": "cky\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "lang": { "description": "Language of the cookie", "type": "string", "required": false }, "category": { "description": "Cookie category", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "date_modified": { "description": "The date the cookie was last modified, as GMT.", "type": "string", "required": false }, "name": { "description": "Cookie name.", "type": "string", "required": false }, "category": { "description": "Cookie category name.", "type": "integer", "required": false }, "slug": { "description": "Cookie unique name", "type": "string", "required": false }, "description": { "description": "Cookie description.", "type": "object", "required": false }, "duration": { "description": "Cookie duration", "type": "object", "required": false }, "language": { "description": "Cookie language.", "type": "string", "required": false }, "type": { "description": "Cookie type.", "type": "integer", "required": false }, "domain": { "description": "Cookie domain.", "type": "string", "required": false }, "discovered": { "description": "If cookies added from the scanner or not.", "type": "boolean", "required": false }, "url_pattern": { "description": "URL patterns for blocking purposes", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/cky\/v1\/cookies" } ] } }, "\/cky\/v1\/cookies\/(?P[\\d]+)": { "namespace": "cky\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "date_modified": { "description": "The date the cookie was last modified, as GMT.", "type": "string", "required": false }, "name": { "description": "Cookie name.", "type": "string", "required": false }, "category": { "description": "Cookie category name.", "type": "integer", "required": false }, "slug": { "description": "Cookie unique name", "type": "string", "required": false }, "description": { "description": "Cookie description.", "type": "object", "required": false }, "duration": { "description": "Cookie duration", "type": "object", "required": false }, "language": { "description": "Cookie language.", "type": "string", "required": false }, "type": { "description": "Cookie type.", "type": "integer", "required": false }, "domain": { "description": "Cookie domain.", "type": "string", "required": false }, "discovered": { "description": "If cookies added from the scanner or not.", "type": "boolean", "required": false }, "url_pattern": { "description": "URL patterns for blocking purposes", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false } } } ] }, "\/cky\/v1\/consent_logs\/statistics": { "namespace": "cky\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "paged": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/cky\/v1\/consent_logs\/statistics" } ] } }, "\/cky\/v1\/scans": { "namespace": "cky\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Cookie category name.", "type": "string", "required": false }, "slug": { "description": "Cookie category unique name", "type": "string", "required": false }, "description": { "description": "Cookie category description.", "type": "string", "required": false }, "default_state": { "description": "Cookie type.", "type": "string", "required": false }, "head_scripts": { "description": "Cookie scripts.", "type": "string", "required": false }, "body_scripts": { "description": "Cookie scripts.", "type": "string", "required": false }, "cookies": { "description": "Cookie count.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/cky\/v1\/scans" } ] } }, "\/cky\/v1\/scans\/(?P[\\d]+)": { "namespace": "cky\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/cky\/v1\/scans\/details\/(?P[\\d]+)": { "namespace": "cky\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/cky\/v1\/uninstall-feedback": { "namespace": "cky\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/cky\/v1\/uninstall-feedback" } ] } }, "\/cky\/v1\/pageviews\/chart": { "namespace": "cky\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "default": "view", "required": false }, "paged": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/cky\/v1\/pageviews\/chart" } ] } }, "\/mailchimp\/v1": { "namespace": "mailchimp\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "mailchimp\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/mailchimp\/v1" } ] } }, "\/mailchimp\/v1\/list-data\/(?P[a-zA-Z0-9]+)": { "namespace": "mailchimp\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "list_id": { "type": "string", "description": "Mailchimp list ID to get data", "required": true } } } ] }, "\/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:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3" } ] } }, "\/wc\/v3\/marketplace\/featured": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/marketplace\/featured" } ] } }, "\/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:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v1" } ] } }, "\/wc\/v1\/marketplace\/product-preview": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v1\/marketplace\/product-preview" } ] } }, "\/wc\/v3\/marketplace\/refresh": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/marketplace\/refresh" } ] } }, "\/wc\/v3\/marketplace\/subscriptions": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/marketplace\/subscriptions" } ] } }, "\/wc\/v3\/marketplace\/subscriptions\/connect": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "product_key": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/marketplace\/subscriptions\/connect" } ] } }, "\/wc\/v3\/marketplace\/subscriptions\/activate-plugin": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "product_key": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/marketplace\/subscriptions\/activate-plugin" } ] } }, "\/wc\/v3\/marketplace\/subscriptions\/disconnect": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "product_key": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/marketplace\/subscriptions\/disconnect" } ] } }, "\/wc\/v3\/marketplace\/subscriptions\/activate": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "product_key": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/marketplace\/subscriptions\/activate" } ] } }, "\/wc\/v3\/marketplace\/subscriptions\/install-url": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_key": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/marketplace\/subscriptions\/install-url" } ] } }, "\/wc\/v3\/marketplace\/create-order": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "product_id": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/marketplace\/create-order" } ] } }, "\/wc\/pos\/v1\/catalog": { "namespace": "wc\/pos\/v1\/catalog", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wc\/pos\/v1\/catalog", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/pos\/v1\/catalog" } ] } }, "\/wc\/pos\/v1\/catalog\/create": { "namespace": "wc\/pos\/v1\/catalog", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "force": { "type": "boolean", "default": false, "description": "Force regeneration of the feed. NOOP if generation is in progress.", "required": false }, "_product_fields": { "type": "string", "description": "Comma-separated list of fields to include for non-variable products.", "required": false }, "_variation_fields": { "type": "string", "description": "Comma-separated list of fields to include for variations.", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/pos\/v1\/catalog\/create" } ] } }, "\/wordfence-login-security\/v1": { "namespace": "wordfence-login-security\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wordfence-login-security\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wordfence-login-security\/v1" } ] } }, "\/wordfence-login-security\/v1\/internal\/passkey-login\/begin": { "namespace": "wordfence-login-security\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wordfence-login-security\/v1\/internal\/passkey-login\/begin" } ] } }, "\/wordfence-login-security\/v1\/internal\/passkey-login\/finish": { "namespace": "wordfence-login-security\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wordfence-login-security\/v1\/internal\/passkey-login\/finish" } ] } }, "\/wordfence\/v1": { "namespace": "wordfence\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wordfence\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wordfence\/v1" } ] } }, "\/wordfence\/v1\/authenticate": { "namespace": "wordfence\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wordfence\/v1\/authenticate" } ] } }, "\/wordfence\/v1\/config": { "namespace": "wordfence\/v1", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wordfence\/v1\/config" } ] } }, "\/wordfence\/v1\/disconnect": { "namespace": "wordfence\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wordfence\/v1\/disconnect" } ] } }, "\/wordfence\/v1\/scan\/issues": { "namespace": "wordfence\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wordfence\/v1\/scan\/issues" } ] } }, "\/wordfence\/v1\/scan": { "namespace": "wordfence\/v1", "methods": [ "POST", "DELETE" ], "endpoints": [ { "methods": [ "POST" ], "args": [] }, { "methods": [ "DELETE" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wordfence\/v1\/scan" } ] } }, "\/wordfence\/v1\/scan\/issue": { "namespace": "wordfence\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wordfence\/v1\/scan\/issue" } ] } }, "\/elementor-mcp-composer\/v1.0.20": { "namespace": "elementor-mcp-composer\/v1.0.20", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "elementor-mcp-composer\/v1.0.20", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor-mcp-composer\/v1.0.20" } ] } }, "\/elementor-mcp-composer\/v1.0.20\/mcp-settings": { "namespace": "elementor-mcp-composer\/v1.0.20", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": { "enabled": { "type": "boolean", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor-mcp-composer\/v1.0.20\/mcp-settings" } ] } }, "\/elementor-mcp-composer\/v1.0.20\/mcp-credentials": { "namespace": "elementor-mcp-composer\/v1.0.20", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "client": { "type": "string", "enum": [ "claude-code", "claude-desktop", "codex", "cursor", "other" ], "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor-mcp-composer\/v1.0.20\/mcp-credentials" } ] } }, "\/elementor-one\/v1": { "namespace": "elementor-one\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "elementor-one\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor-one\/v1" } ] } }, "\/elementor-one\/v1\/connect\/authorize": { "namespace": "elementor-one\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "clearSession": { "type": "boolean", "default": false, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor-one\/v1\/connect\/authorize" } ] } }, "\/elementor-one\/v1\/connect\/disconnect": { "namespace": "elementor-one\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor-one\/v1\/connect\/disconnect" } ] } }, "\/elementor-one\/v1\/connect\/switch-domain": { "namespace": "elementor-one\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor-one\/v1\/connect\/switch-domain" } ] } }, "\/elementor-one\/v1\/connect\/deactivate": { "namespace": "elementor-one\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor-one\/v1\/connect\/deactivate" } ] } }, "\/elementor-one\/v1\/top-bar\/notifications": { "namespace": "elementor-one\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "app_name": { "type": "string", "required": true }, "app_version": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor-one\/v1\/top-bar\/notifications" } ] } }, "\/elementor-one\/v1\/top-bar\/feedback": { "namespace": "elementor-one\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "product": { "type": "string", "required": true }, "subject": { "type": "string", "required": true }, "title": { "type": "string", "required": true }, "description": { "type": "string", "required": true }, "countryCode": { "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor-one\/v1\/top-bar\/feedback" } ] } }, "\/elementor-one\/v1\/themes": { "namespace": "elementor-one\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "slug": { "type": "string", "description": "WordPress.org theme directory slug.", "pattern": "[\\w\\-]+", "required": true }, "status": { "description": "The theme activation status.", "type": "string", "enum": [ "inactive", "active" ], "default": "inactive", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor-one\/v1\/themes" } ] } }, "\/elementor-one\/v1\/themes\/(?P[\\w\\-]+)\/activate": { "namespace": "elementor-one\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "slug": { "type": "string", "description": "WordPress.org theme directory slug.", "pattern": "[\\w\\-]+", "required": true } } } ] }, "\/elementor-one\/v1\/plugins": { "namespace": "elementor-one\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "status": { "description": "Piirab tulemusi etteantud olekuga pluginatega.", "type": "array", "items": { "type": "string", "enum": [ "inactive", "active" ] }, "required": false } } }, { "methods": [ "POST" ], "args": { "slug": { "type": "string", "description": "WordPress.org plugin directory slug.", "enum": [ "angie", "manage", "elementor", "elementor-pro", "site-mailer", "image-optimization", "pojo-accessibility", "cookiez", "aryo-activity-log" ], "required": true }, "status": { "description": "The plugin activation status.", "type": "string", "enum": [ "inactive", "active" ], "default": "inactive", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor-one\/v1\/plugins" } ] } }, "\/elementor-one\/v1\/plugins\/(?P[\\w\\-]+)\/activate": { "namespace": "elementor-one\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "slug": { "type": "string", "description": "WordPress.org plugin directory slug.", "enum": [ "angie", "manage", "elementor", "elementor-pro", "site-mailer", "image-optimization", "pojo-accessibility", "cookiez", "aryo-activity-log" ], "required": true } } } ] }, "\/elementor-one\/v1\/plugins\/(?P[\\w\\-]+)\/deactivate": { "namespace": "elementor-one\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "slug": { "type": "string", "description": "WordPress.org plugin directory slug.", "enum": [ "angie", "manage", "elementor", "elementor-pro", "site-mailer", "image-optimization", "pojo-accessibility", "cookiez", "aryo-activity-log" ], "required": true } } } ] }, "\/elementor-one\/v1\/plugins\/(?P[\\w\\-]+)\/upgrade": { "namespace": "elementor-one\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "slug": { "type": "string", "description": "WordPress.org plugin directory slug.", "enum": [ "angie", "manage", "elementor", "elementor-pro", "site-mailer", "image-optimization", "pojo-accessibility", "cookiez", "aryo-activity-log" ], "required": true }, "status": { "description": "The plugin activation status.", "type": "string", "enum": [ "active" ], "required": false } } } ] }, "\/elementor-one\/v1\/plugins\/(?P[\\w\\-]+)\/migration\/run": { "namespace": "elementor-one\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "slug": { "type": "string", "description": "WordPress.org plugin directory slug.", "enum": { "1": "manage", "2": "elementor", "3": "elementor-pro", "4": "site-mailer", "5": "image-optimization", "6": "pojo-accessibility", "7": "cookiez", "8": "aryo-activity-log" }, "required": true }, "force": { "type": "boolean", "default": true, "description": "Force migration even if the plugin is already connected.", "required": false } } } ] }, "\/elementor-one\/v1\/plugins\/(?P[\\w\\-]+)\/migration\/rollback": { "namespace": "elementor-one\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "slug": { "type": "string", "description": "WordPress.org plugin directory slug.", "enum": { "1": "manage", "2": "elementor", "3": "elementor-pro", "4": "site-mailer", "5": "image-optimization", "6": "pojo-accessibility", "7": "cookiez", "8": "aryo-activity-log" }, "required": true } } } ] }, "\/elementor-one\/v1\/settings": { "namespace": "elementor-one\/v1", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor-one\/v1\/settings" } ] } }, "\/elementor-one\/v1\/manage-dashboard-widget\/state": { "namespace": "elementor-one\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor-one\/v1\/manage-dashboard-widget\/state" } ] } }, "\/elementor-one\/v1\/logs": { "namespace": "elementor-one\/v1", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "DELETE" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor-one\/v1\/logs" } ] } }, "\/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:\/\/nakedspirit.ee\/est\/wp-json\/jetpack\/v4" } ] } }, "\/jetpack\/v4\/verify_xmlrpc_error": { "namespace": "jetpack\/v4", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "nonce": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/jetpack\/v4\/verify_xmlrpc_error" } ] } }, "\/jetpack\/v4\/heartbeat\/data": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "prefix": { "description": "Prefix to add before the stats identifiers.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/jetpack\/v4\/heartbeat\/data" } ] } }, "\/cpsw": { "namespace": "cpsw", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "cpsw", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/cpsw" } ] } }, "\/cpsw\/v1\/webhook": { "namespace": "cpsw", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/cpsw\/v1\/webhook" } ] } }, "\/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:\/\/nakedspirit.ee\/est\/wp-json\/elementor\/v1" } ] } }, "\/elementor\/v1\/site-editor": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor\/v1\/site-editor" } ] } }, "\/elementor\/v1\/site-editor\/templates": { "namespace": "elementor\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor\/v1\/site-editor\/templates" } ] } }, "\/elementor\/v1\/site-editor\/templates\/(?P[\\w]+)": { "namespace": "elementor\/v1", "methods": [ "DELETE", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "string", "required": false } } } ] }, "\/elementor\/v1\/site-editor\/conditions-config": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor\/v1\/site-editor\/conditions-config" } ] } }, "\/elementor\/v1\/site-editor\/templates-conditions\/(?P[\\w]+)": { "namespace": "elementor\/v1", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "string", "required": false } } } ] }, "\/elementor\/v1\/site-editor\/templates-conditions-conflicts": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor\/v1\/site-editor\/templates-conditions-conflicts" } ] } }, "\/montonio\/ota": { "namespace": "montonio\/ota", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "montonio\/ota", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/montonio\/ota" } ] } }, "\/montonio\/ota\/sync": { "namespace": "montonio\/ota", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/montonio\/ota\/sync" } ] } }, "\/montonio\/ota\/config": { "namespace": "montonio\/ota", "methods": [ "GET", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "PATCH" ], "args": { "montonio_shipping_dropdown_type": { "description": "Dropdown type for Montonio Shipping", "type": "string", "enum": [ "select2", "choices" ], "required": false }, "woocommerce_wc_montonio_payments_settings": { "description": "Payment settings for Montonio Bank Payments", "type": "object", "properties": { "enabled": { "description": "Enable or disable Montonio Bank Payments", "type": "string", "enum": [ "yes", "no" ], "sanitize_callback": "sanitize_text_field", "required": true }, "title": { "description": "Title of the payment method", "type": "string", "sanitize_callback": "sanitize_text_field", "required": false } }, "required": false }, "woocommerce_wc_montonio_card_settings": { "description": "Payment settings for Montonio Card Payments", "type": "object", "properties": { "enabled": { "description": "Enable or disable Montonio Card Payments", "type": "string", "enum": [ "yes", "no" ], "sanitize_callback": "sanitize_text_field", "required": true } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/montonio\/ota\/config" } ] } }, "\/montonio\/shipping\/v2": { "namespace": "montonio\/shipping\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "montonio\/shipping\/v2", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/montonio\/shipping\/v2" } ] } }, "\/montonio\/shipping\/v2\/labels\/create": { "namespace": "montonio\/shipping\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/montonio\/shipping\/v2\/labels\/create" } ] } }, "\/montonio\/shipping\/v2\/labels": { "namespace": "montonio\/shipping\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/montonio\/shipping\/v2\/labels" } ] } }, "\/montonio\/shipping\/v2\/shipment\/create": { "namespace": "montonio\/shipping\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/montonio\/shipping\/v2\/shipment\/create" } ] } }, "\/montonio\/shipping\/v2\/shipment\/update": { "namespace": "montonio\/shipping\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/montonio\/shipping\/v2\/shipment\/update" } ] } }, "\/montonio\/shipping\/v2\/shipment\/update-panel": { "namespace": "montonio\/shipping\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/montonio\/shipping\/v2\/shipment\/update-panel" } ] } }, "\/montonio\/shipping\/v2\/webhook": { "namespace": "montonio\/shipping\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/montonio\/shipping\/v2\/webhook" } ] } }, "\/montonio\/shipping\/v2\/sync-shipping-method-items": { "namespace": "montonio\/shipping\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/montonio\/shipping\/v2\/sync-shipping-method-items" } ] } }, "\/wc-admin": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wc-admin", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin" } ] } }, "\/wc-admin\/notice\/dismiss": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/notice\/dismiss" } ] } }, "\/wc-admin\/features": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/features" } ] } }, "\/wc-admin\/experiments\/assignment": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/experiments\/assignment" } ] } }, "\/wc-admin\/marketing\/recommended": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "category": { "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/marketing\/recommended" } ] } }, "\/wc-admin\/marketing\/knowledge-base": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "category": { "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/marketing\/knowledge-base" } ] } }, "\/wc-admin\/marketing\/misc-recommendations": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/marketing\/misc-recommendations" } ] } }, "\/wc-admin\/marketing\/overview\/activate-plugin": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "plugin": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/marketing\/overview\/activate-plugin" } ] } }, "\/wc-admin\/marketing\/overview\/installed-plugins": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/marketing\/overview\/installed-plugins" } ] } }, "\/wc-admin\/marketing\/recommendations": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "category": { "type": "string", "enum": [ "channels", "extensions" ], "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/marketing\/recommendations" } ] } }, "\/wc-admin\/marketing\/channels": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/marketing\/channels" } ] } }, "\/wc-admin\/marketing\/campaigns": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view" ], "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/marketing\/campaigns" } ] } }, "\/wc-admin\/marketing\/campaign-types": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view" ], "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/marketing\/campaign-types" } ] } }, "\/wc-admin\/options": { "namespace": "wc-admin", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/options" } ] } }, "\/wc-admin\/legacy-settings": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "schema": { "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/legacy-settings" } ] } }, "\/wc-admin\/payment-gateway-suggestions": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "force_default_suggestions": { "type": "boolean", "description": "Tagastab vaikimisi maksesoovitused, kui suvandite woocommerce_show_marketplace_suggestions ja woocommerce_setting_payments_recommendations_hidden v\u00e4\u00e4rtuseks on m\u00e4\u00e4ratud ei", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/payment-gateway-suggestions" } ] } }, "\/wc-admin\/payment-gateway-suggestions\/dismiss": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/payment-gateway-suggestions\/dismiss" } ] } }, "\/wc-admin\/themes": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "pluginzip": { "description": "\u00dcleslaaditava teema ZIP-fail.", "type": "file", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/themes" } ] } }, "\/wc-admin\/plugins\/install": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/plugins\/install" } ] } }, "\/wc-admin\/plugins\/install\/status": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/plugins\/install\/status" } ] } }, "\/wc-admin\/plugins\/install\/status\/(?P[a-z0-9_\\-]+)": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/wc-admin\/plugins\/active": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/plugins\/active" } ] } }, "\/wc-admin\/plugins\/installed": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/plugins\/installed" } ] } }, "\/wc-admin\/plugins\/activate": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/plugins\/activate" } ] } }, "\/wc-admin\/plugins\/activate\/status": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/plugins\/activate\/status" } ] } }, "\/wc-admin\/plugins\/activate\/status\/(?P[a-z0-9_\\-]+)": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/wc-admin\/plugins\/connect-jetpack": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/plugins\/connect-jetpack" } ] } }, "\/wc-admin\/plugins\/request-wccom-connect": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/plugins\/request-wccom-connect" } ] } }, "\/wc-admin\/plugins\/finish-wccom-connect": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/plugins\/finish-wccom-connect" } ] } }, "\/wc-admin\/plugins\/connect-wcpay": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/plugins\/connect-wcpay" } ] } }, "\/wc-admin\/plugins\/connect-square": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/plugins\/connect-square" } ] } }, "\/wc-admin\/onboarding\/free-extensions": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/onboarding\/free-extensions" } ] } }, "\/wc-admin\/onboarding\/product-types": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/onboarding\/product-types" } ] } }, "\/wc-admin\/onboarding\/profile": { "namespace": "wc-admin", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "completed": { "type": "boolean", "description": "Olenemata sellest, kas profiil on t\u00e4idetud v\u00f5i mitte.", "required": false }, "skipped": { "type": "boolean", "description": "Olenemata sellest, kas profiil j\u00e4eti vahele v\u00f5i mitte.", "required": false }, "industry": { "type": "array", "description": "T\u00f6\u00f6stus.", "items": { "type": "string" }, "required": false }, "business_extensions": { "type": "array", "description": "T\u00e4iendavad ettev\u00f5ttelaiendid installimiseks.", "items": { "type": "string" }, "required": false }, "is_agree_marketing": { "type": "boolean", "description": "Olenemata sellest, kas see pood n\u00f5ustus saama turundussisu saidilt WooCommerce.com v\u00f5i mitte.", "required": false }, "store_email": { "type": "string", "description": "Kaupluse e-posti aadress.", "required": false }, "is_store_country_set": { "type": "boolean", "description": "Olenemata sellest, kas see poe riik on seadistatud sisseehitamisprofiili abil v\u00f5i mitte.", "required": false }, "is_plugins_page_skipped": { "type": "boolean", "description": "Kas pistikprogrammide samm p\u00f5hiprofiilis j\u00e4eti vahele v\u00f5i mitte.", "required": false }, "business_choice": { "type": "string", "description": "\u00c4rivalik.", "required": false }, "selling_online_answer": { "type": "string", "description": "Vastuse m\u00fc\u00fcmine veebis.", "required": false }, "selling_platforms": { "type": [ "array", "null" ], "description": "M\u00fc\u00fcgiplatvormid.", "items": { "type": [ "string", "null" ] }, "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/onboarding\/profile" } ] } }, "\/wc-admin\/onboarding\/profile\/experimental_get_email_prefill": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/onboarding\/profile\/experimental_get_email_prefill" } ] } }, "\/wc-admin\/onboarding\/profile\/progress": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/onboarding\/profile\/progress" } ] } }, "\/wc-admin\/onboarding\/profile\/progress\/core-profiler\/complete": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "step": { "type": "string", "description": "Core Profileri samm l\u00f5petatuks m\u00e4rkimiseks.", "enum": [ "intro-opt-in", "skip-guided-setup", "user-profile", "business-info", "plugins", "intro-builder", "skip-guided-setup" ], "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/onboarding\/profile\/progress\/core-profiler\/complete" } ] } }, "\/wc-admin\/onboarding\/profile\/update-store-currency-and-measurement-units": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "country_code": { "description": "Riigi kood.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/onboarding\/profile\/update-store-currency-and-measurement-units" } ] } }, "\/wc-admin\/onboarding\/tasks\/import_sample_products": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/onboarding\/tasks\/import_sample_products" } ] } }, "\/wc-admin\/onboarding\/tasks\/create_homepage": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/onboarding\/tasks\/create_homepage" } ] } }, "\/wc-admin\/onboarding\/tasks\/create_product_from_template": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "template_name": { "type": "string", "description": "Tootemalli nimi.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/onboarding\/tasks\/create_product_from_template" } ] } }, "\/wc-admin\/onboarding\/tasks": { "namespace": "wc-admin", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "ids": { "description": "Valikuline parameeter ainult konkreetsete \u00fclesannete loendite saamiseks ID j\u00e4rgi.", "type": "array", "items": { "enum": [], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "ids": { "description": "Valikuline parameeter ainult konkreetsete \u00fclesannete loendite saamiseks ID j\u00e4rgi.", "type": "array", "items": { "enum": [], "type": "string" }, "required": false }, "extended_tasks": { "description": "Kliendipoolse filtri laiendatud aegunud \u00fclesannete loend.", "type": "array", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/onboarding\/tasks" } ] } }, "\/wc-admin\/onboarding\/tasks\/(?P[a-z0-9_\\-]+)\/hide": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/wc-admin\/onboarding\/tasks\/(?P[a-z0-9_\\-]+)\/unhide": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/wc-admin\/onboarding\/tasks\/(?P[a-z0-9_\\-]+)\/dismiss": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/wc-admin\/onboarding\/tasks\/(?P[a-z0-9_\\-]+)\/undo_dismiss": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/wc-admin\/onboarding\/tasks\/(?P[a-z0-9_-]+)\/snooze": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "duration": { "description": "Ajavahemik \u00fclesande edasil\u00fckkamiseks.", "type": "string", "required": false }, "task_list_id": { "description": "Valikuline parameeter konkreetse \u00fclesannete loendi p\u00e4ringu tegemiseks.", "type": "string", "required": false } } } ] }, "\/wc-admin\/onboarding\/tasks\/(?P[a-z0-9_\\-]+)\/action": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/wc-admin\/onboarding\/tasks\/(?P[a-z0-9_\\-]+)\/undo_snooze": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/wc-admin\/onboarding\/themes\/install": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/onboarding\/themes\/install" } ] } }, "\/wc-admin\/onboarding\/themes\/activate": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/onboarding\/themes\/activate" } ] } }, "\/wc-admin\/onboarding\/plugins\/install-and-activate-async": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "plugins": { "description": "A list of plugins to install", "type": "array", "items": "string", "required": true }, "source": { "description": "The source of the request", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/onboarding\/plugins\/install-and-activate-async" } ] } }, "\/wc-admin\/onboarding\/plugins\/install-and-activate": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/onboarding\/plugins\/install-and-activate" } ] } }, "\/wc-admin\/onboarding\/plugins\/scheduled-installs\/(?P\\w+)": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/wc-admin\/onboarding\/plugins\/jetpack-authorization-url": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "redirect_url": { "description": "The URL to redirect to after authorization", "type": "string", "required": true }, "from": { "description": "from value for the jetpack authorization page", "type": "string", "default": "woocommerce-onboarding", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/onboarding\/plugins\/jetpack-authorization-url" } ] } }, "\/wc-admin\/onboarding\/products": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/onboarding\/products" } ] } }, "\/wc-admin\/mobile-app\/send-magic-link": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/mobile-app\/send-magic-link" } ] } }, "\/wc-admin\/mobile-app": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/mobile-app" } ] } }, "\/wc-admin\/shipping-partner-suggestions": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "force_default_suggestions": { "type": "boolean", "description": "Tagastab tarnepartneri vaikesoovitused, kui woocommerce_show_marketplace_suggestions valiku v\u00e4\u00e4rtuseks on m\u00e4\u00e4ratud ei", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/shipping-partner-suggestions" } ] } }, "\/wc-analytics": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wc-analytics", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics" } ] } }, "\/wc-analytics\/customers": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Piirake vastuseid ressurssidega, mis on avaldatud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piirake vastust ressurssidega, mis on avaldatud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date_registered", "enum": [ "username", "name", "first_name", "last_name", "email", "location", "country", "city", "state", "postcode", "date_registered", "date_last_active", "orders_count", "total_spend", "avg_order_value" ], "required": false }, "force_cache_refresh": { "description": "V\u00e4rskete andmete sundtoomine vahem\u00e4lust asemel.", "type": "boolean", "required": false }, "registered_before": { "description": "Piirake vastust objektidele, mis on registreeritud enne ISO8601-ga \u00fchilduvat kuup\u00e4eva (v\u00f5i kellaajal).", "type": "string", "format": "date-time", "required": false }, "registered_after": { "description": "Piirake vastust objektidele, mis on registreeritud p\u00e4rast antud ISO8601-ga \u00fchilduvat kuup\u00e4eva ja kellaaega (v\u00f5i kell).", "type": "string", "format": "date-time", "required": false }, "match": { "description": "N\u00e4itab, kas k\u00f5ik tingimused peavad tulemuseks oleva hulga jaoks olema t\u00f5esed v\u00f5i piisab \u00fchestki neist. Vaste m\u00f5jutab j\u00e4rgmisi parameetreid: olek_on, olek_ei ole, toode_kaasab, toode_v\u00e4listab, kupongi_hulk, kupong_v\u00e4listab, klient, kategooriad", "type": "string", "default": "all", "enum": [ "all", "any" ], "required": false }, "search": { "description": "Piira vastust objektidele, mille kliendiv\u00e4li sisaldab otsinguterminit. Otsib v\u00e4ljalt, mille pakub 'searchby'.", "type": "string", "required": false }, "searchby": { "description": "Limit results with `search` and `searchby` to specific fields containing the search term.", "type": "string", "default": "name", "enum": [ "name", "username", "email", "all" ], "required": false }, "name_includes": { "description": "Piirata vastust konkreetsete nimedega objektidega.", "type": "string", "required": false }, "name_excludes": { "description": "Piirata vastust objektidele, v\u00e4lja arvatud konkreetsed nimed.", "type": "string", "required": false }, "username_includes": { "description": "Piirata vastust konkreetsete kasutajanimedega objektidele.", "type": "string", "required": false }, "username_excludes": { "description": "Piirata vastust objektidele, v\u00e4lja arvatud konkreetsed kasutajanimed.", "type": "string", "required": false }, "email_includes": { "description": "Piirake vastust objektidele, sealhulgas meilidele.", "type": "string", "required": false }, "email_excludes": { "description": "Piirata vastust objektidele, v\u00e4lja arvatud meilid.", "type": "string", "required": false }, "country_includes": { "description": "Piirata reageerimist konkreetsete riikidega objektidele.", "type": "string", "required": false }, "country_excludes": { "description": "Piirata reageerimist objektidele, v\u00e4lja arvatud konkreetsed riigid.", "type": "string", "required": false }, "last_active_before": { "description": "Piirake vastust objektidele, mis olid viimati aktiivsed enne (v\u00f5i kell) antud ISO8601-ga \u00fchilduvat kuup\u00e4eva ja kellaaega.", "type": "string", "format": "date-time", "required": false }, "last_active_after": { "description": "Piirake vastust objektidele, mis viimati aktiivsed p\u00e4rast antud ISO8601-ga \u00fchilduvat kuup\u00e4eva ja kellaaega (v\u00f5i kell).", "type": "string", "format": "date-time", "required": false }, "last_active_between": { "description": "Piirake vastust objektidele, mis viimati olid aktiivsed kahe antud ISO8601-ga \u00fchilduva kuup\u00e4eva ja kellaaja vahel.", "type": "array", "items": { "type": "string" }, "required": false }, "registered_between": { "description": "Piirake vastust objektidele, mis viimati olid aktiivsed kahe antud ISO8601-ga \u00fchilduva kuup\u00e4eva ja kellaaja vahel.", "type": "array", "items": { "type": "string" }, "required": false }, "orders_count_min": { "description": "Piira vastust objektidele, mille j\u00e4rjestuste arv on suurem v\u00f5i v\u00f5rdne antud t\u00e4isarvuga.", "type": "integer", "required": false }, "orders_count_max": { "description": "Piirake vastust objektidele, mille j\u00e4rjestuste arv on v\u00e4iksem v\u00f5i v\u00f5rdne antud t\u00e4isarvuga.", "type": "integer", "required": false }, "orders_count_between": { "description": "Piirata vastust objektidele, mille j\u00e4rjestuste arv j\u00e4\u00e4b kahe etteantud t\u00e4isarvu vahele.", "type": "array", "items": { "type": "integer" }, "required": false }, "total_spend_min": { "description": "Piirake vastust objektidele, mille tellimuse kogukulu on antud arvust suurem v\u00f5i sellega v\u00f5rdne.", "type": "number", "required": false }, "total_spend_max": { "description": "Piirake vastust objektidele, mille tellimuse kogukulu on etteantud arvust v\u00e4iksem v\u00f5i sellega v\u00f5rdne.", "type": "number", "required": false }, "total_spend_between": { "description": "Piirake vastust objektidele, mille tellimuse kogukulu j\u00e4\u00e4b kahe antud numbri vahele.", "type": "array", "items": { "type": "integer" }, "required": false }, "avg_order_value_min": { "description": "Piirake vastust objektidele, mille keskmine tellimuse kulu on suurem v\u00f5i v\u00f5rdne antud arvuga.", "type": "number", "required": false }, "avg_order_value_max": { "description": "Piirake vastust objektidele, mille keskmine tellimus kulutab etteantud arvust v\u00e4iksema v\u00f5i sellega v\u00f5rdse.", "type": "number", "required": false }, "avg_order_value_between": { "description": "Piirake vastust objektidele, mille keskmine tellimuse kulu on kahe antud numbri vahel.", "type": "array", "items": { "type": "integer" }, "required": false }, "last_order_before": { "description": "Piirake vastust objektidele, mille viimane tellimus on antud ISO8601-ga \u00fchilduval kuup\u00e4eval (v\u00f5i kell).", "type": "string", "format": "date-time", "required": false }, "last_order_after": { "description": "Piirake vastust objektidele, mille viimane tellimus on p\u00e4rast antud ISO8601-ga \u00fchilduvat kuup\u00e4eva ja kellaaega (v\u00f5i kell).", "type": "string", "format": "date-time", "required": false }, "users": { "description": "Piirake tulemus m\u00e4\u00e4ratud kasutaja ID-ga \u00fcksustega.", "type": "array", "items": { "type": "integer" }, "required": false }, "filter_empty": { "description": "Filtreerige tulemused, kui m\u00f5ni l\u00e4bitud v\u00e4li on t\u00fchi", "type": "array", "items": { "type": "string", "enum": [ "email", "name", "country", "city", "state", "postcode" ] }, "required": false }, "user_type": { "description": "Limit result to items with specified user type.", "type": "string", "default": "all", "enum": [ "all", "registered", "guest" ], "required": false }, "location_includes": { "description": "Includes customers by location (state, country). Provide a comma-separated list of locations. Each location can be a country code (e.g. GB) or combination of country and state (e.g. US:CA).", "type": "string", "required": false }, "location_excludes": { "description": "Excludes customers by location (state, country). Provide a comma-separated list of locations. Each location can be a country code (e.g. GB) or combination of country and state (e.g. US:CA).", "type": "string", "required": false }, "include": { "description": "Piirake tulemus m\u00e4\u00e4ratud kliendi ID-ga \u00fcksustega.", "type": "array", "items": { "type": "integer" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/customers" } ] } }, "\/wc-analytics\/customers\/(?P[\\d-]+)": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Ressursi unikaalne ID.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Piirake vastuseid ressurssidega, mis on avaldatud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piirake vastust ressurssidega, mis on avaldatud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date_registered", "enum": [ "username", "name", "first_name", "last_name", "email", "location", "country", "city", "state", "postcode", "date_registered", "date_last_active", "orders_count", "total_spend", "avg_order_value" ], "required": false }, "force_cache_refresh": { "description": "V\u00e4rskete andmete sundtoomine vahem\u00e4lust asemel.", "type": "boolean", "required": false }, "registered_before": { "description": "Piirake vastust objektidele, mis on registreeritud enne ISO8601-ga \u00fchilduvat kuup\u00e4eva (v\u00f5i kellaajal).", "type": "string", "format": "date-time", "required": false }, "registered_after": { "description": "Piirake vastust objektidele, mis on registreeritud p\u00e4rast antud ISO8601-ga \u00fchilduvat kuup\u00e4eva ja kellaaega (v\u00f5i kell).", "type": "string", "format": "date-time", "required": false }, "match": { "description": "N\u00e4itab, kas k\u00f5ik tingimused peavad tulemuseks oleva hulga jaoks olema t\u00f5esed v\u00f5i piisab \u00fchestki neist. Vaste m\u00f5jutab j\u00e4rgmisi parameetreid: olek_on, olek_ei ole, toode_kaasab, toode_v\u00e4listab, kupongi_hulk, kupong_v\u00e4listab, klient, kategooriad", "type": "string", "default": "all", "enum": [ "all", "any" ], "required": false }, "search": { "description": "Piira vastust objektidele, mille kliendiv\u00e4li sisaldab otsinguterminit. Otsib v\u00e4ljalt, mille pakub 'searchby'.", "type": "string", "required": false }, "searchby": { "description": "Limit results with `search` and `searchby` to specific fields containing the search term.", "type": "string", "default": "name", "enum": [ "name", "username", "email", "all" ], "required": false }, "name_includes": { "description": "Piirata vastust konkreetsete nimedega objektidega.", "type": "string", "required": false }, "name_excludes": { "description": "Piirata vastust objektidele, v\u00e4lja arvatud konkreetsed nimed.", "type": "string", "required": false }, "username_includes": { "description": "Piirata vastust konkreetsete kasutajanimedega objektidele.", "type": "string", "required": false }, "username_excludes": { "description": "Piirata vastust objektidele, v\u00e4lja arvatud konkreetsed kasutajanimed.", "type": "string", "required": false }, "email_includes": { "description": "Piirake vastust objektidele, sealhulgas meilidele.", "type": "string", "required": false }, "email_excludes": { "description": "Piirata vastust objektidele, v\u00e4lja arvatud meilid.", "type": "string", "required": false }, "country_includes": { "description": "Piirata reageerimist konkreetsete riikidega objektidele.", "type": "string", "required": false }, "country_excludes": { "description": "Piirata reageerimist objektidele, v\u00e4lja arvatud konkreetsed riigid.", "type": "string", "required": false }, "last_active_before": { "description": "Piirake vastust objektidele, mis olid viimati aktiivsed enne (v\u00f5i kell) antud ISO8601-ga \u00fchilduvat kuup\u00e4eva ja kellaaega.", "type": "string", "format": "date-time", "required": false }, "last_active_after": { "description": "Piirake vastust objektidele, mis viimati aktiivsed p\u00e4rast antud ISO8601-ga \u00fchilduvat kuup\u00e4eva ja kellaaega (v\u00f5i kell).", "type": "string", "format": "date-time", "required": false }, "last_active_between": { "description": "Piirake vastust objektidele, mis viimati olid aktiivsed kahe antud ISO8601-ga \u00fchilduva kuup\u00e4eva ja kellaaja vahel.", "type": "array", "items": { "type": "string" }, "required": false }, "registered_between": { "description": "Piirake vastust objektidele, mis viimati olid aktiivsed kahe antud ISO8601-ga \u00fchilduva kuup\u00e4eva ja kellaaja vahel.", "type": "array", "items": { "type": "string" }, "required": false }, "orders_count_min": { "description": "Piira vastust objektidele, mille j\u00e4rjestuste arv on suurem v\u00f5i v\u00f5rdne antud t\u00e4isarvuga.", "type": "integer", "required": false }, "orders_count_max": { "description": "Piirake vastust objektidele, mille j\u00e4rjestuste arv on v\u00e4iksem v\u00f5i v\u00f5rdne antud t\u00e4isarvuga.", "type": "integer", "required": false }, "orders_count_between": { "description": "Piirata vastust objektidele, mille j\u00e4rjestuste arv j\u00e4\u00e4b kahe etteantud t\u00e4isarvu vahele.", "type": "array", "items": { "type": "integer" }, "required": false }, "total_spend_min": { "description": "Piirake vastust objektidele, mille tellimuse kogukulu on antud arvust suurem v\u00f5i sellega v\u00f5rdne.", "type": "number", "required": false }, "total_spend_max": { "description": "Piirake vastust objektidele, mille tellimuse kogukulu on etteantud arvust v\u00e4iksem v\u00f5i sellega v\u00f5rdne.", "type": "number", "required": false }, "total_spend_between": { "description": "Piirake vastust objektidele, mille tellimuse kogukulu j\u00e4\u00e4b kahe antud numbri vahele.", "type": "array", "items": { "type": "integer" }, "required": false }, "avg_order_value_min": { "description": "Piirake vastust objektidele, mille keskmine tellimuse kulu on suurem v\u00f5i v\u00f5rdne antud arvuga.", "type": "number", "required": false }, "avg_order_value_max": { "description": "Piirake vastust objektidele, mille keskmine tellimus kulutab etteantud arvust v\u00e4iksema v\u00f5i sellega v\u00f5rdse.", "type": "number", "required": false }, "avg_order_value_between": { "description": "Piirake vastust objektidele, mille keskmine tellimuse kulu on kahe antud numbri vahel.", "type": "array", "items": { "type": "integer" }, "required": false }, "last_order_before": { "description": "Piirake vastust objektidele, mille viimane tellimus on antud ISO8601-ga \u00fchilduval kuup\u00e4eval (v\u00f5i kell).", "type": "string", "format": "date-time", "required": false }, "last_order_after": { "description": "Piirake vastust objektidele, mille viimane tellimus on p\u00e4rast antud ISO8601-ga \u00fchilduvat kuup\u00e4eva ja kellaaega (v\u00f5i kell).", "type": "string", "format": "date-time", "required": false }, "users": { "description": "Piirake tulemus m\u00e4\u00e4ratud kasutaja ID-ga \u00fcksustega.", "type": "array", "items": { "type": "integer" }, "required": false }, "filter_empty": { "description": "Filtreerige tulemused, kui m\u00f5ni l\u00e4bitud v\u00e4li on t\u00fchi", "type": "array", "items": { "type": "string", "enum": [ "email", "name", "country", "city", "state", "postcode" ] }, "required": false }, "user_type": { "description": "Limit result to items with specified user type.", "type": "string", "default": "all", "enum": [ "all", "registered", "guest" ], "required": false }, "location_includes": { "description": "Includes customers by location (state, country). Provide a comma-separated list of locations. Each location can be a country code (e.g. GB) or combination of country and state (e.g. US:CA).", "type": "string", "required": false }, "location_excludes": { "description": "Excludes customers by location (state, country). Provide a comma-separated list of locations. Each location can be a country code (e.g. GB) or combination of country and state (e.g. US:CA).", "type": "string", "required": false }, "include": { "description": "Piirake tulemus m\u00e4\u00e4ratud kliendi ID-ga \u00fcksustega.", "type": "array", "items": { "type": "integer" }, "required": false } } } ] }, "\/wc-analytics\/leaderboards": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 5, "minimum": 1, "maximum": 20, "required": false }, "after": { "description": "Piirake vastuseid ressurssidega, mis on avaldatud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piirake vastust ressurssidega, mis on avaldatud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "persisted_query": { "description": "URL-i p\u00e4ring linkide vahel p\u00fcsimiseks.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/leaderboards" } ] } }, "\/wc-analytics\/leaderboards\/allowed": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/leaderboards\/allowed" } ] } }, "\/wc-analytics\/leaderboards\/(?P\\w+)": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "leaderboard": { "type": "string", "enum": [ "customers", "coupons", "categories", "products" ], "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 5, "minimum": 1, "maximum": 20, "required": false }, "after": { "description": "Piirake vastuseid ressurssidega, mis on avaldatud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piirake vastust ressurssidega, mis on avaldatud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "persisted_query": { "description": "URL-i p\u00e4ring linkide vahel p\u00fcsimiseks.", "type": "string", "required": false } } } ] }, "\/wc-analytics\/reports": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/reports" } ] } }, "\/wc-analytics\/reports\/import": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "days": { "description": "Importimise p\u00e4evade arv.", "type": "integer", "minimum": 0, "required": false }, "skip_existing": { "description": "J\u00e4tke olemasoleva tellimuse andmete importimine vahele.", "type": "boolean", "default": false, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/reports\/import" } ] } }, "\/wc-analytics\/reports\/import\/cancel": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/reports\/import\/cancel" } ] } }, "\/wc-analytics\/reports\/import\/delete": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/reports\/import\/delete" } ] } }, "\/wc-analytics\/reports\/import\/status": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/reports\/import\/status" } ] } }, "\/wc-analytics\/reports\/import\/totals": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "days": { "description": "Importimise p\u00e4evade arv.", "type": "integer", "minimum": 0, "required": false }, "skip_existing": { "description": "J\u00e4tke olemasoleva tellimuse andmete importimine vahele.", "type": "boolean", "default": false, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/reports\/import\/totals" } ] } }, "\/wc-analytics\/reports\/(?P[a-z]+)\/export": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "report_args": { "description": "Eksporditud aruandele edastatavad parameetrid.", "type": "object", "required": false }, "email": { "description": "Kui see on t\u00f5ene, saatke meiliga link ekspordi allalaadimiseks taotlevale kasutajale.", "type": "boolean", "required": false } } } ] }, "\/wc-analytics\/reports\/(?P[a-z]+)\/export\/(?P[a-z0-9]+)\/status": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/wc-analytics\/reports\/products": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Piirake vastuseid ressurssidega, mis on avaldatud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piirake vastust ressurssidega, mis on avaldatud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "net_revenue", "orders_count", "items_sold", "product_name", "variations", "sku" ], "required": false }, "force_cache_refresh": { "description": "V\u00e4rskete andmete sundtoomine vahem\u00e4lust asemel.", "type": "boolean", "required": false }, "categories": { "description": "Piirake tulemus m\u00e4\u00e4ratud kategooriate \u00fcksustega.", "type": "array", "items": { "type": "integer" }, "required": false }, "match": { "description": "N\u00e4itab, kas k\u00f5ik tingimused peavad tulemuseks oleva hulga jaoks olema t\u00f5esed v\u00f5i piisab \u00fchestki neist. Vaste m\u00f5jutab j\u00e4rgmisi parameetreid: olek_on, olek_ei ole, toode_kaasab, toode_v\u00e4listab, kupongi_hulk, kupong_v\u00e4listab, klient, kategooriad", "type": "string", "default": "all", "enum": [ "all", "any" ], "required": false }, "products": { "description": "Piirake tulemus m\u00e4\u00e4ratletud toote ID-ga \u00fcksustega.", "type": "array", "items": { "type": "integer" }, "required": false }, "extended_info": { "description": "Lisage aruandesse iga toote kohta lisateavet.", "type": "boolean", "default": false, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/reports\/products" } ] } }, "\/wc-analytics\/reports\/variations": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Piirake vastuseid ressurssidega, mis on avaldatud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piirake vastust ressurssidega, mis on avaldatud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "net_revenue", "orders_count", "items_sold", "sku" ], "required": false }, "force_cache_refresh": { "description": "V\u00e4rskete andmete sundtoomine vahem\u00e4lust asemel.", "type": "boolean", "required": false }, "match": { "description": "N\u00e4itab, kas k\u00f5ik tingimused peavad tulemuseks oleva hulga jaoks olema t\u00f5esed v\u00f5i piisab \u00fchestki neist. Vaste m\u00f5jutab j\u00e4rgmisi parameetreid: olek_on, olek_ei ole, toode_kaasab, toode_v\u00e4listab, kupongi_hulk, kupong_v\u00e4listab, klient, kategooriad", "type": "string", "default": "all", "enum": [ "all", "any" ], "required": false }, "product_includes": { "description": "Piirake tulemuste komplekt \u00fcksustega, millel on m\u00e4\u00e4ratud p\u00f5hitoode(d).", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "product_excludes": { "description": "Piirake tulemuste komplekti \u00fcksustega, millel pole m\u00e4\u00e4ratud ematooteid.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "variations": { "description": "Piirake tulemus m\u00e4\u00e4ratud variatsiooni ID-dega \u00fcksustega.", "type": "array", "items": { "type": "integer" }, "required": false }, "extended_info": { "description": "Lisage aruandele t\u00e4iendavat teavet iga variatsiooni kohta.", "type": "boolean", "default": false, "required": false }, "attribute_is": { "description": "Piirake tulemuste komplekt variatsioonidega, mis sisaldavad m\u00e4\u00e4ratud atribuute.", "type": "array", "items": { "type": "array" }, "default": [], "required": false }, "attribute_is_not": { "description": "Piirake tulemuste komplekti variatsioonidega, mis ei sisalda m\u00e4\u00e4ratud atribuute.", "type": "array", "items": { "type": "array" }, "default": [], "required": false }, "category_includes": { "description": "Piirake tulemuste komplekt m\u00e4\u00e4ratud kategooriate variatsioonidega.", "type": "array", "items": { "type": "integer" }, "required": false }, "category_excludes": { "description": "Piirake tulemuse m\u00e4\u00e4ratud variatsioonidega, mis ei kuulu m\u00e4\u00e4ratud kategooriatesse.", "type": "array", "items": { "type": "integer" }, "required": false }, "products": { "description": "Piirake tulemus m\u00e4\u00e4ratletud toote ID-ga \u00fcksustega.", "type": "array", "items": { "type": "integer" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/reports\/variations" } ] } }, "\/wc-analytics\/reports\/products\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Piirake vastuseid ressurssidega, mis on avaldatud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piirake vastust ressurssidega, mis on avaldatud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "net_revenue", "coupons", "refunds", "shipping", "taxes", "net_revenue", "orders_count", "items_sold" ], "required": false }, "force_cache_refresh": { "description": "V\u00e4rskete andmete sundtoomine vahem\u00e4lust asemel.", "type": "boolean", "required": false }, "fields": { "description": "Piirake statistikav\u00e4ljad m\u00e4\u00e4ratud \u00fcksustega.", "type": "array", "items": { "type": "string" }, "required": false }, "interval": { "description": "Ajavahemik, mida kasutatakse tagastatud andmete \u00e4mbrite jaoks.", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "categories": { "description": "Piirake tulemus m\u00e4\u00e4ratud kategooriate \u00fcksustega.", "type": "array", "items": { "type": "integer" }, "required": false }, "products": { "description": "Piirake tulemus m\u00e4\u00e4ratletud toote ID-ga \u00fcksustega.", "type": "array", "items": { "type": "integer" }, "required": false }, "variations": { "description": "Piirake tulemus m\u00e4\u00e4ratud variatsiooni ID-dega \u00fcksustega.", "type": "array", "items": { "type": "integer" }, "required": false }, "segmentby": { "description": "Segmenteerige vastus t\u00e4iendava piiranguga.", "type": "string", "enum": [ "product", "category", "variation" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/reports\/products\/stats" } ] } }, "\/wc-analytics\/reports\/variations\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Piirake vastuseid ressurssidega, mis on avaldatud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piirake vastust ressurssidega, mis on avaldatud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "net_revenue", "coupons", "refunds", "shipping", "taxes", "net_revenue", "orders_count", "items_sold" ], "required": false }, "force_cache_refresh": { "description": "V\u00e4rskete andmete sundtoomine vahem\u00e4lust asemel.", "type": "boolean", "required": false }, "fields": { "description": "Piirake statistikav\u00e4ljad m\u00e4\u00e4ratud \u00fcksustega.", "type": "array", "items": { "type": "string" }, "required": false }, "interval": { "description": "Ajavahemik, mida kasutatakse tagastatud andmete \u00e4mbrite jaoks.", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "match": { "description": "N\u00e4itab, kas k\u00f5ik tingimused peavad tulemuseks oleva hulga jaoks olema t\u00f5esed v\u00f5i piisab \u00fchestki neist. Vaste m\u00f5jutab j\u00e4rgmisi parameetreid: olek_on, olek_ei ole, toode_kaasab, toode_v\u00e4listab, kupongi_hulk, kupong_v\u00e4listab, klient, kategooriad", "type": "string", "default": "all", "enum": [ "all", "any" ], "required": false }, "category_includes": { "description": "Piirake tulemus m\u00e4\u00e4ratud kategooriate \u00fcksustega.", "type": "array", "items": { "type": "integer" }, "required": false }, "category_excludes": { "description": "Piirake tulemuse m\u00e4\u00e4ratud variatsioonidega, mis ei kuulu m\u00e4\u00e4ratud kategooriatesse.", "type": "array", "items": { "type": "integer" }, "required": false }, "product_includes": { "description": "Piirake tulemuste komplekt \u00fcksustega, millel on m\u00e4\u00e4ratud p\u00f5hitoode(d).", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "product_excludes": { "description": "Piirake tulemuste komplekti \u00fcksustega, millel pole m\u00e4\u00e4ratud ematooteid.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "variations": { "description": "Piirake tulemus m\u00e4\u00e4ratud variatsiooni ID-dega \u00fcksustega.", "type": "array", "items": { "type": "integer" }, "required": false }, "segmentby": { "description": "Segmenteerige vastus t\u00e4iendava piiranguga.", "type": "string", "enum": [ "product", "category", "variation" ], "required": false }, "attribute_is": { "description": "Piirake tulemuste komplekti tellimustega, mis sisaldavad m\u00e4\u00e4ratud atribuutidega tooteid.", "type": "array", "items": { "type": "array" }, "default": [], "required": false }, "attribute_is_not": { "description": "Piirake tulemuste komplekti tellimustega, mis ei sisalda m\u00e4\u00e4ratud atribuutidega tooteid.", "type": "array", "items": { "type": "array" }, "default": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/reports\/variations\/stats" } ] } }, "\/wc-analytics\/reports\/revenue\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Piirake vastuseid ressurssidega, mis on avaldatud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piirake vastust ressurssidega, mis on avaldatud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "total_sales", "coupons", "refunds", "shipping", "taxes", "net_revenue", "orders_count", "items_sold", "gross_sales" ], "required": false }, "force_cache_refresh": { "description": "V\u00e4rskete andmete sundtoomine vahem\u00e4lust asemel.", "type": "boolean", "required": false }, "interval": { "description": "Ajavahemik, mida kasutatakse tagastatud andmete \u00e4mbrite jaoks.", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "segmentby": { "description": "Segmenteerige vastus t\u00e4iendava piiranguga.", "type": "string", "enum": [ "product", "category", "variation", "coupon", "customer_type" ], "required": false }, "date_type": { "description": "Alistage suvand \u201ewoocommerce_date_type\u201d, mida kasutatakse tuluaruannete andmebaasi kuup\u00e4evav\u00e4lja jaoks.", "type": "string", "enum": [ "date_paid", "date_created", "date_completed" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/reports\/revenue\/stats" } ] } }, "\/wc-analytics\/reports\/orders": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 10, "minimum": 0, "maximum": 100, "required": false }, "after": { "description": "Piirake vastuseid ressurssidega, mis on avaldatud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piirake vastust ressurssidega, mis on avaldatud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "num_items_sold", "net_total" ], "required": false }, "force_cache_refresh": { "description": "V\u00e4rskete andmete sundtoomine vahem\u00e4lust asemel.", "type": "boolean", "required": false }, "product_includes": { "description": "Piirake tulemuste komplekt \u00fcksustega, millele on m\u00e4\u00e4ratud m\u00e4\u00e4ratud toode(d).", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "product_excludes": { "description": "Piirake tulemuste komplekti \u00fcksustega, millele pole m\u00e4\u00e4ratud toodet\/tooteid.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "variation_includes": { "description": "Piirake tulemuste komplekt \u00fcksustega, millele on m\u00e4\u00e4ratud m\u00e4\u00e4ratud variatsioon(id).", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "variation_excludes": { "description": "Piirake tulemuste komplekt \u00fcksustega, millele pole m\u00e4\u00e4ratud m\u00e4\u00e4ratud variatsiooni(d).", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "coupon_includes": { "description": "Piirake tulemuse komplekt \u00fcksustega, millele on m\u00e4\u00e4ratud m\u00e4\u00e4ratud kupong(id).", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "coupon_excludes": { "description": "Piirake tulemuste komplekti \u00fcksustega, millel pole m\u00e4\u00e4ratud kuponge\/kuponge.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "tax_rate_includes": { "description": "Piirake tulemuse komplekt \u00fcksustega, millele on m\u00e4\u00e4ratud m\u00e4\u00e4ratud maksum\u00e4\u00e4r.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "tax_rate_excludes": { "description": "Piirake tulemuse komplekt \u00fcksustega, millele pole m\u00e4\u00e4ratud m\u00e4\u00e4ratud maksum\u00e4\u00e4ra(d).", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "status_is": { "description": "Piirake tulemuste komplekt \u00fcksustega, millel on m\u00e4\u00e4ratud tellimuse olek.", "type": "array", "items": { "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "mon-part-refund", "mon-label-printed", "checkout-draft" ], "type": "string" }, "required": false }, "status_is_not": { "description": "Piirake tulemuste komplekti \u00fcksustega, millel pole m\u00e4\u00e4ratud tellimuse olekut.", "type": "array", "items": { "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "mon-part-refund", "mon-label-printed", "checkout-draft" ], "type": "string" }, "required": false }, "customer_type": { "description": "Piirake tulemuste komplekt naasvate v\u00f5i uute klientidega.", "type": "string", "default": "", "enum": [ "", "returning", "new" ], "required": false }, "refunds": { "description": "Piirake tulemuste komplekt teatud t\u00fc\u00fcpi tagasimaksetega.", "type": "string", "default": "", "enum": [ "", "all", "partial", "full", "none" ], "required": false }, "extended_info": { "description": "Lisage aruandesse iga kupongi kohta lisateavet.", "type": "boolean", "default": false, "required": false }, "order_includes": { "description": "Piirake tulemuste komplekt \u00fcksustega, millel on m\u00e4\u00e4ratud tellimuse ID.", "type": "array", "items": { "type": "integer" }, "required": false }, "order_excludes": { "description": "Piirake tulemuste komplekti \u00fcksustega, millel pole m\u00e4\u00e4ratud tellimuse ID-sid.", "type": "array", "items": { "type": "integer" }, "required": false }, "attribute_is": { "description": "Piirake tulemuste komplekti tellimustega, mis sisaldavad m\u00e4\u00e4ratud atribuutidega tooteid.", "type": "array", "items": { "type": "array" }, "default": [], "required": false }, "attribute_is_not": { "description": "Piirake tulemuste komplekti tellimustega, mis ei sisalda m\u00e4\u00e4ratud atribuutidega tooteid.", "type": "array", "items": { "type": "array" }, "default": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/reports\/orders" } ] } }, "\/wc-analytics\/reports\/orders\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Piirake vastuseid ressurssidega, mis on avaldatud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piirake vastust ressurssidega, mis on avaldatud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "net_revenue", "orders_count", "avg_order_value" ], "required": false }, "force_cache_refresh": { "description": "V\u00e4rskete andmete sundtoomine vahem\u00e4lust asemel.", "type": "boolean", "required": false }, "interval": { "description": "Ajavahemik, mida kasutatakse tagastatud andmete \u00e4mbrite jaoks.", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "match": { "description": "N\u00e4itab, kas k\u00f5ik tingimused peavad tulemuseks oleva hulga jaoks olema t\u00f5esed v\u00f5i piisab \u00fchestki neist. Vaste m\u00f5jutab j\u00e4rgmisi parameetreid: olek_on, olek_ei ole, toode_kaasab, toode_v\u00e4listab, kupongi_hulk, kupong_v\u00e4listab, klient, kategooriad", "type": "string", "default": "all", "enum": [ "all", "any" ], "required": false }, "status_is": { "description": "Piirake tulemuste komplekt \u00fcksustega, millel on m\u00e4\u00e4ratud tellimuse olek.", "type": "array", "default": null, "items": { "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "mon-part-refund", "mon-label-printed", "checkout-draft" ], "type": "string" }, "required": false }, "status_is_not": { "description": "Piirake tulemuste komplekti \u00fcksustega, millel pole m\u00e4\u00e4ratud tellimuse olekut.", "type": "array", "items": { "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "mon-part-refund", "mon-label-printed", "checkout-draft" ], "type": "string" }, "required": false }, "product_includes": { "description": "Piirake tulemuste komplekt \u00fcksustega, millele on m\u00e4\u00e4ratud m\u00e4\u00e4ratud toode(d).", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "product_excludes": { "description": "Piirake tulemuste komplekti \u00fcksustega, millele pole m\u00e4\u00e4ratud toodet\/tooteid.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "variation_includes": { "description": "Piirake tulemuste komplekt \u00fcksustega, millele on m\u00e4\u00e4ratud m\u00e4\u00e4ratud variatsioon(id).", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "variation_excludes": { "description": "Piirake tulemuste komplekt \u00fcksustega, millele pole m\u00e4\u00e4ratud m\u00e4\u00e4ratud variatsiooni(d).", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "coupon_includes": { "description": "Piirake tulemuse komplekt \u00fcksustega, millele on m\u00e4\u00e4ratud m\u00e4\u00e4ratud kupong(id).", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "coupon_excludes": { "description": "Piirake tulemuste komplekti \u00fcksustega, millel pole m\u00e4\u00e4ratud kuponge\/kuponge.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "tax_rate_includes": { "description": "Piirake tulemuse komplekt \u00fcksustega, millele on m\u00e4\u00e4ratud m\u00e4\u00e4ratud maksum\u00e4\u00e4r.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "tax_rate_excludes": { "description": "Piirake tulemuse komplekt \u00fcksustega, millele pole m\u00e4\u00e4ratud m\u00e4\u00e4ratud maksum\u00e4\u00e4ra(d).", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "customer": { "description": "Pseudon\u00fc\u00fcm kliendi_t\u00fc\u00fcbi jaoks (aegunud).", "type": "string", "enum": [ "new", "returning" ], "required": false }, "customer_type": { "description": "Piirake tulemuste komplekt tellimustele, millel on m\u00e4\u00e4ratud kliendi_t\u00fc\u00fcp", "type": "string", "enum": [ "new", "returning" ], "required": false }, "refunds": { "description": "Piirake tulemuste komplekt teatud t\u00fc\u00fcpi tagasimaksetega.", "type": "string", "default": "", "enum": [ "", "all", "partial", "full", "none" ], "required": false }, "attribute_is": { "description": "Piirake tulemuste komplekti tellimustega, mis sisaldavad m\u00e4\u00e4ratud atribuutidega tooteid.", "type": "array", "items": { "type": "array" }, "default": [], "required": false }, "attribute_is_not": { "description": "Piirake tulemuste komplekti tellimustega, mis ei sisalda m\u00e4\u00e4ratud atribuutidega tooteid.", "type": "array", "items": { "type": "array" }, "default": [], "required": false }, "segmentby": { "description": "Segmenteerige vastus t\u00e4iendava piiranguga.", "type": "string", "enum": [ "product", "category", "variation", "coupon", "customer_type" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/reports\/orders\/stats" } ] } }, "\/wc-analytics\/reports\/categories": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Piirake vastuseid ressurssidega, mis on avaldatud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piirake vastust ressurssidega, mis on avaldatud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "category_id", "enum": [ "category_id", "items_sold", "net_revenue", "orders_count", "products_count", "category" ], "required": false }, "force_cache_refresh": { "description": "V\u00e4rskete andmete sundtoomine vahem\u00e4lust asemel.", "type": "boolean", "required": false }, "interval": { "description": "Ajavahemik, mida kasutatakse tagastatud andmete \u00e4mbrite jaoks.", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "status_is": { "description": "Piirake tulemuste komplekt \u00fcksustega, millel on m\u00e4\u00e4ratud tellimuse olek.", "type": "array", "items": { "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "mon-part-refund", "mon-label-printed", "checkout-draft" ], "type": "string" }, "required": false }, "status_is_not": { "description": "Piirake tulemuste komplekti \u00fcksustega, millel pole m\u00e4\u00e4ratud tellimuse olekut.", "type": "array", "items": { "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "mon-part-refund", "mon-label-printed", "checkout-draft" ], "type": "string" }, "required": false }, "categories": { "description": "Piirake tulemuste komplekt k\u00f5igi \u00fcksustega, millel on kategooriate taksonoomias m\u00e4\u00e4ratud termin.", "type": "array", "items": { "type": "integer" }, "required": false }, "extended_info": { "description": "Lisage aruandesse iga kategooria kohta lisateavet.", "type": "boolean", "default": false, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/reports\/categories" } ] } }, "\/wc-analytics\/reports\/taxes": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Piirake vastuseid ressurssidega, mis on avaldatud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piirake vastust ressurssidega, mis on avaldatud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "tax_rate_id", "enum": [ "name", "tax_rate_id", "tax_code", "rate", "order_tax", "total_tax", "shipping_tax", "orders_count" ], "required": false }, "force_cache_refresh": { "description": "V\u00e4rskete andmete sundtoomine vahem\u00e4lust asemel.", "type": "boolean", "required": false }, "taxes": { "description": "Piirake tulemuse komplekt \u00fcksustele, millele on m\u00e4\u00e4ratud \u00fcks v\u00f5i mitu maksum\u00e4\u00e4ra.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/reports\/taxes" } ] } }, "\/wc-analytics\/reports\/taxes\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Piirake vastuseid ressurssidega, mis on avaldatud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piirake vastust ressurssidega, mis on avaldatud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "items_sold", "total_sales", "orders_count", "products_count" ], "required": false }, "force_cache_refresh": { "description": "V\u00e4rskete andmete sundtoomine vahem\u00e4lust asemel.", "type": "boolean", "required": false }, "fields": { "description": "Piirake statistikav\u00e4ljad m\u00e4\u00e4ratud \u00fcksustega.", "type": "array", "items": { "type": "string" }, "required": false }, "interval": { "description": "Ajavahemik, mida kasutatakse tagastatud andmete \u00e4mbrite jaoks.", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "taxes": { "description": "Piirake tulemuse komplekt k\u00f5igile \u00fcksustele, millele on maksude taksonoomias m\u00e4\u00e4ratud m\u00e4\u00e4ratud termin.", "type": "array", "items": { "type": "integer" }, "required": false }, "segmentby": { "description": "Segmenteerige vastus t\u00e4iendava piiranguga.", "type": "string", "enum": [ "tax_rate_id" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/reports\/taxes\/stats" } ] } }, "\/wc-analytics\/reports\/coupons": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Piirake vastuseid ressurssidega, mis on avaldatud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piirake vastust ressurssidega, mis on avaldatud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "coupon_id", "enum": [ "coupon_id", "code", "amount", "orders_count" ], "required": false }, "force_cache_refresh": { "description": "V\u00e4rskete andmete sundtoomine vahem\u00e4lust asemel.", "type": "boolean", "required": false }, "coupons": { "description": "Piirake tulemuste komplekt kupongidega, millele on m\u00e4\u00e4ratud konkreetsed kupongi ID-d.", "type": "array", "items": { "type": "integer" }, "required": false }, "extended_info": { "description": "Lisage aruandesse iga kupongi kohta lisateavet.", "type": "boolean", "default": false, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/reports\/coupons" } ] } }, "\/wc-analytics\/reports\/coupons\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Piirake vastuseid ressurssidega, mis on avaldatud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piirake vastust ressurssidega, mis on avaldatud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "amount", "coupons_count", "orders_count" ], "required": false }, "force_cache_refresh": { "description": "V\u00e4rskete andmete sundtoomine vahem\u00e4lust asemel.", "type": "boolean", "required": false }, "fields": { "description": "Piirake statistikav\u00e4ljad m\u00e4\u00e4ratud \u00fcksustega.", "type": "array", "items": { "type": "string" }, "required": false }, "interval": { "description": "Ajavahemik, mida kasutatakse tagastatud andmete \u00e4mbrite jaoks.", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "coupons": { "description": "Piirake tulemuste komplekt kupongidega, millele on m\u00e4\u00e4ratud konkreetsed kupongi ID-d.", "type": "array", "items": { "type": "integer" }, "required": false }, "segmentby": { "description": "Segmenteerige vastus t\u00e4iendava piiranguga.", "type": "string", "enum": [ "product", "variation", "category", "coupon" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/reports\/coupons\/stats" } ] } }, "\/wc-analytics\/reports\/stock": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "stock_status", "enum": [ "stock_status", "stock_quantity", "date", "id", "include", "title", "sku" ], "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra.", "type": "integer", "required": false }, "parent": { "description": "Piirake tulemuste komplekt konkreetsete vanemate ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Piirake tulemuste komplekti k\u00f5igi \u00fcksustega, v\u00e4lja arvatud konkreetse \u00fclem-ID \u00fcksustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "type": { "description": "Piirake tulemuste komplekt kaupadele, millele on m\u00e4\u00e4ratud laoaruande t\u00fc\u00fcp.", "type": "string", "default": "all", "enum": [ "all", "lowstock", "instock", "outofstock", "onbackorder" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/reports\/stock" } ] } }, "\/wc-analytics\/reports\/stock\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/reports\/stock\/stats" } ] } }, "\/wc-analytics\/reports\/downloads": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Piirake vastuseid ressurssidega, mis on avaldatud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piirake vastust ressurssidega, mis on avaldatud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "product" ], "required": false }, "force_cache_refresh": { "description": "V\u00e4rskete andmete sundtoomine vahem\u00e4lust asemel.", "type": "boolean", "required": false }, "match": { "description": "N\u00e4itab, kas k\u00f5ik tingimused peavad tulemuseks oleva hulga jaoks olema t\u00f5esed v\u00f5i piisab \u00fchestki neist. Match m\u00f5jutab j\u00e4rgmisi parameetreid: tooted, tellimused, kasutajanimi, ip_aadress.", "type": "string", "default": "all", "enum": [ "all", "any" ], "required": false }, "product_includes": { "description": "Piirake tulemuste komplekt \u00fcksustega, millele on m\u00e4\u00e4ratud m\u00e4\u00e4ratud toode(d).", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "product_excludes": { "description": "Piirake tulemuste komplekti \u00fcksustega, millele pole m\u00e4\u00e4ratud toodet\/tooteid.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order_includes": { "description": "Piirake tulemuste komplekt \u00fcksustega, millel on m\u00e4\u00e4ratud tellimuse ID.", "type": "array", "items": { "type": "integer" }, "required": false }, "order_excludes": { "description": "Piirake tulemuste komplekti \u00fcksustega, millel pole m\u00e4\u00e4ratud tellimuse ID-sid.", "type": "array", "items": { "type": "integer" }, "required": false }, "customer_includes": { "description": "Piirata vastust objektidele, millel on m\u00e4\u00e4ratud kasutaja ID.", "type": "array", "items": { "type": "integer" }, "required": false }, "customer_excludes": { "description": "Piirake vastust objektidele, millel pole m\u00e4\u00e4ratud kasutaja ID-sid.", "type": "array", "items": { "type": "integer" }, "required": false }, "ip_address_includes": { "description": "Piirata vastust objektidele, millel on m\u00e4\u00e4ratud IP-aadress.", "type": "array", "items": { "type": "string" }, "required": false }, "ip_address_excludes": { "description": "Piirake vastust objektidele, millel pole m\u00e4\u00e4ratud IP-aadressi.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/reports\/downloads" } ] } }, "\/wc-analytics\/reports\/downloads\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Piirake vastuseid ressurssidega, mis on avaldatud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piirake vastust ressurssidega, mis on avaldatud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "download_count" ], "required": false }, "force_cache_refresh": { "description": "V\u00e4rskete andmete sundtoomine vahem\u00e4lust asemel.", "type": "boolean", "required": false }, "fields": { "description": "Piirake statistikav\u00e4ljad m\u00e4\u00e4ratud \u00fcksustega.", "type": "array", "items": { "type": "string" }, "required": false }, "interval": { "description": "Ajavahemik, mida kasutatakse tagastatud andmete \u00e4mbrite jaoks.", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "match": { "description": "N\u00e4itab, kas k\u00f5ik tingimused peavad tulemuseks oleva hulga jaoks olema t\u00f5esed v\u00f5i piisab \u00fchestki neist. Vaste m\u00f5jutab j\u00e4rgmisi parameetreid: olek_on, olek_ei ole, toode_kaasab, toode_v\u00e4listab, kupongi_hulk, kupong_v\u00e4listab, klient, kategooriad", "type": "string", "default": "all", "enum": [ "all", "any" ], "required": false }, "product_includes": { "description": "Piirake tulemuste komplekt \u00fcksustega, millele on m\u00e4\u00e4ratud m\u00e4\u00e4ratud toode(d).", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "product_excludes": { "description": "Piirake tulemuste komplekti \u00fcksustega, millele pole m\u00e4\u00e4ratud toodet\/tooteid.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order_includes": { "description": "Piirake tulemuste komplekt \u00fcksustega, millel on m\u00e4\u00e4ratud tellimuse ID.", "type": "array", "items": { "type": "integer" }, "required": false }, "order_excludes": { "description": "Piirake tulemuste komplekti \u00fcksustega, millel pole m\u00e4\u00e4ratud tellimuse ID-sid.", "type": "array", "items": { "type": "integer" }, "required": false }, "customer_includes": { "description": "Piirata vastust objektidele, millel on m\u00e4\u00e4ratud kliendi ID.", "type": "array", "items": { "type": "integer" }, "required": false }, "customer_excludes": { "description": "Piirata vastust objektidele, millel pole m\u00e4\u00e4ratud kliendi ID-sid.", "type": "array", "items": { "type": "integer" }, "required": false }, "ip_address_includes": { "description": "Piirata vastust objektidele, millel on m\u00e4\u00e4ratud IP-aadress.", "type": "array", "items": { "type": "string" }, "required": false }, "ip_address_excludes": { "description": "Piirake vastust objektidele, millel pole m\u00e4\u00e4ratud IP-aadressi.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/reports\/downloads\/stats" } ] } }, "\/wc-analytics\/reports\/customers": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Piirake vastuseid ressurssidega, mis on avaldatud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piirake vastust ressurssidega, mis on avaldatud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date_registered", "enum": [ "username", "name", "first_name", "last_name", "email", "location", "country", "city", "state", "postcode", "date_registered", "date_last_active", "orders_count", "total_spend", "avg_order_value" ], "required": false }, "force_cache_refresh": { "description": "V\u00e4rskete andmete sundtoomine vahem\u00e4lust asemel.", "type": "boolean", "required": false }, "registered_before": { "description": "Piirake vastust objektidele, mis on registreeritud enne ISO8601-ga \u00fchilduvat kuup\u00e4eva (v\u00f5i kellaajal).", "type": "string", "format": "date-time", "required": false }, "registered_after": { "description": "Piirake vastust objektidele, mis on registreeritud p\u00e4rast antud ISO8601-ga \u00fchilduvat kuup\u00e4eva ja kellaaega (v\u00f5i kell).", "type": "string", "format": "date-time", "required": false }, "match": { "description": "N\u00e4itab, kas k\u00f5ik tingimused peavad tulemuseks oleva hulga jaoks olema t\u00f5esed v\u00f5i piisab \u00fchestki neist. Vaste m\u00f5jutab j\u00e4rgmisi parameetreid: olek_on, olek_ei ole, toode_kaasab, toode_v\u00e4listab, kupongi_hulk, kupong_v\u00e4listab, klient, kategooriad", "type": "string", "default": "all", "enum": [ "all", "any" ], "required": false }, "search": { "description": "Piira vastust objektidele, mille kliendiv\u00e4li sisaldab otsinguterminit. Otsib v\u00e4ljalt, mille pakub 'searchby'.", "type": "string", "required": false }, "searchby": { "description": "Limit results with `search` and `searchby` to specific fields containing the search term.", "type": "string", "default": "name", "enum": [ "name", "username", "email", "all" ], "required": false }, "name_includes": { "description": "Piirata vastust konkreetsete nimedega objektidega.", "type": "string", "required": false }, "name_excludes": { "description": "Piirata vastust objektidele, v\u00e4lja arvatud konkreetsed nimed.", "type": "string", "required": false }, "username_includes": { "description": "Piirata vastust konkreetsete kasutajanimedega objektidele.", "type": "string", "required": false }, "username_excludes": { "description": "Piirata vastust objektidele, v\u00e4lja arvatud konkreetsed kasutajanimed.", "type": "string", "required": false }, "email_includes": { "description": "Piirake vastust objektidele, sealhulgas meilidele.", "type": "string", "required": false }, "email_excludes": { "description": "Piirata vastust objektidele, v\u00e4lja arvatud meilid.", "type": "string", "required": false }, "country_includes": { "description": "Piirata reageerimist konkreetsete riikidega objektidele.", "type": "string", "required": false }, "country_excludes": { "description": "Piirata reageerimist objektidele, v\u00e4lja arvatud konkreetsed riigid.", "type": "string", "required": false }, "last_active_before": { "description": "Piirake vastust objektidele, mis olid viimati aktiivsed enne (v\u00f5i kell) antud ISO8601-ga \u00fchilduvat kuup\u00e4eva ja kellaaega.", "type": "string", "format": "date-time", "required": false }, "last_active_after": { "description": "Piirake vastust objektidele, mis viimati aktiivsed p\u00e4rast antud ISO8601-ga \u00fchilduvat kuup\u00e4eva ja kellaaega (v\u00f5i kell).", "type": "string", "format": "date-time", "required": false }, "last_active_between": { "description": "Piirake vastust objektidele, mis viimati olid aktiivsed kahe antud ISO8601-ga \u00fchilduva kuup\u00e4eva ja kellaaja vahel.", "type": "array", "items": { "type": "string" }, "required": false }, "registered_between": { "description": "Piirake vastust objektidele, mis viimati olid aktiivsed kahe antud ISO8601-ga \u00fchilduva kuup\u00e4eva ja kellaaja vahel.", "type": "array", "items": { "type": "string" }, "required": false }, "orders_count_min": { "description": "Piira vastust objektidele, mille j\u00e4rjestuste arv on suurem v\u00f5i v\u00f5rdne antud t\u00e4isarvuga.", "type": "integer", "required": false }, "orders_count_max": { "description": "Piirake vastust objektidele, mille j\u00e4rjestuste arv on v\u00e4iksem v\u00f5i v\u00f5rdne antud t\u00e4isarvuga.", "type": "integer", "required": false }, "orders_count_between": { "description": "Piirata vastust objektidele, mille j\u00e4rjestuste arv j\u00e4\u00e4b kahe etteantud t\u00e4isarvu vahele.", "type": "array", "items": { "type": "integer" }, "required": false }, "total_spend_min": { "description": "Piirake vastust objektidele, mille tellimuse kogukulu on antud arvust suurem v\u00f5i sellega v\u00f5rdne.", "type": "number", "required": false }, "total_spend_max": { "description": "Piirake vastust objektidele, mille tellimuse kogukulu on etteantud arvust v\u00e4iksem v\u00f5i sellega v\u00f5rdne.", "type": "number", "required": false }, "total_spend_between": { "description": "Piirake vastust objektidele, mille tellimuse kogukulu j\u00e4\u00e4b kahe antud numbri vahele.", "type": "array", "items": { "type": "integer" }, "required": false }, "avg_order_value_min": { "description": "Piirake vastust objektidele, mille keskmine tellimuse kulu on suurem v\u00f5i v\u00f5rdne antud arvuga.", "type": "number", "required": false }, "avg_order_value_max": { "description": "Piirake vastust objektidele, mille keskmine tellimus kulutab etteantud arvust v\u00e4iksema v\u00f5i sellega v\u00f5rdse.", "type": "number", "required": false }, "avg_order_value_between": { "description": "Piirake vastust objektidele, mille keskmine tellimuse kulu on kahe antud numbri vahel.", "type": "array", "items": { "type": "integer" }, "required": false }, "last_order_before": { "description": "Piirake vastust objektidele, mille viimane tellimus on antud ISO8601-ga \u00fchilduval kuup\u00e4eval (v\u00f5i kell).", "type": "string", "format": "date-time", "required": false }, "last_order_after": { "description": "Piirake vastust objektidele, mille viimane tellimus on p\u00e4rast antud ISO8601-ga \u00fchilduvat kuup\u00e4eva ja kellaaega (v\u00f5i kell).", "type": "string", "format": "date-time", "required": false }, "customers": { "description": "Piirake tulemus m\u00e4\u00e4ratud kliendi ID-ga \u00fcksustega.", "type": "array", "items": { "type": "integer" }, "required": false }, "users": { "description": "Piirake tulemus m\u00e4\u00e4ratud kasutaja ID-ga \u00fcksustega.", "type": "array", "items": { "type": "integer" }, "required": false }, "filter_empty": { "description": "Filtreerige tulemused, kui m\u00f5ni l\u00e4bitud v\u00e4li on t\u00fchi", "type": "array", "items": { "type": "string", "enum": [ "email", "name", "country", "city", "state", "postcode" ] }, "required": false }, "user_type": { "description": "Limit result to items with specified user type.", "type": "string", "default": "all", "enum": [ "all", "registered", "guest" ], "required": false }, "location_includes": { "description": "Includes customers by location (state, country). Provide a comma-separated list of locations. Each location can be a country code (e.g. GB) or combination of country and state (e.g. US:CA).", "type": "string", "required": false }, "location_excludes": { "description": "Excludes customers by location (state, country). Provide a comma-separated list of locations. Each location can be a country code (e.g. GB) or combination of country and state (e.g. US:CA).", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/reports\/customers" } ] } }, "\/wc-analytics\/reports\/customers\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "registered_before": { "description": "Piirake vastust objektidele, mis on registreeritud enne ISO8601-ga \u00fchilduvat kuup\u00e4eva (v\u00f5i kellaajal).", "type": "string", "format": "date-time", "required": false }, "registered_after": { "description": "Piirake vastust objektidele, mis on registreeritud p\u00e4rast antud ISO8601-ga \u00fchilduvat kuup\u00e4eva ja kellaaega (v\u00f5i kell).", "type": "string", "format": "date-time", "required": false }, "match": { "description": "N\u00e4itab, kas k\u00f5ik tingimused peavad tulemuseks oleva hulga jaoks olema t\u00f5esed v\u00f5i piisab \u00fchestki neist. Vaste m\u00f5jutab j\u00e4rgmisi parameetreid: olek_on, olek_ei ole, toode_kaasab, toode_v\u00e4listab, kupongi_hulk, kupong_v\u00e4listab, klient, kategooriad", "type": "string", "default": "all", "enum": [ "all", "any" ], "required": false }, "search": { "description": "Piira vastust objektidele, mille kliendiv\u00e4li sisaldab otsinguterminit. Otsib v\u00e4ljalt, mille pakub 'searchby'.", "type": "string", "required": false }, "searchby": { "description": "Limit results with `search` and `searchby` to specific fields containing the search term.", "type": "string", "default": "name", "enum": [ "name", "username", "email", "all" ], "required": false }, "name_includes": { "description": "Piirata vastust konkreetsete nimedega objektidega.", "type": "string", "required": false }, "name_excludes": { "description": "Piirata vastust objektidele, v\u00e4lja arvatud konkreetsed nimed.", "type": "string", "required": false }, "username_includes": { "description": "Piirata vastust konkreetsete kasutajanimedega objektidele.", "type": "string", "required": false }, "username_excludes": { "description": "Piirata vastust objektidele, v\u00e4lja arvatud konkreetsed kasutajanimed.", "type": "string", "required": false }, "email_includes": { "description": "Piirake vastust objektidele, sealhulgas meilidele.", "type": "string", "required": false }, "email_excludes": { "description": "Piirata vastust objektidele, v\u00e4lja arvatud meilid.", "type": "string", "required": false }, "country_includes": { "description": "Piirata reageerimist konkreetsete riikidega objektidele.", "type": "string", "required": false }, "country_excludes": { "description": "Piirata reageerimist objektidele, v\u00e4lja arvatud konkreetsed riigid.", "type": "string", "required": false }, "last_active_before": { "description": "Piirake vastust objektidele, mis olid viimati aktiivsed enne (v\u00f5i kell) antud ISO8601-ga \u00fchilduvat kuup\u00e4eva ja kellaaega.", "type": "string", "format": "date-time", "required": false }, "last_active_after": { "description": "Piirake vastust objektidele, mis viimati aktiivsed p\u00e4rast antud ISO8601-ga \u00fchilduvat kuup\u00e4eva ja kellaaega (v\u00f5i kell).", "type": "string", "format": "date-time", "required": false }, "last_active_between": { "description": "Piirake vastust objektidele, mis viimati olid aktiivsed kahe antud ISO8601-ga \u00fchilduva kuup\u00e4eva ja kellaaja vahel.", "type": "array", "items": { "type": "string" }, "required": false }, "registered_between": { "description": "Piirake vastust objektidele, mis viimati olid aktiivsed kahe antud ISO8601-ga \u00fchilduva kuup\u00e4eva ja kellaaja vahel.", "type": "array", "items": { "type": "string" }, "required": false }, "orders_count_min": { "description": "Piira vastust objektidele, mille j\u00e4rjestuste arv on suurem v\u00f5i v\u00f5rdne antud t\u00e4isarvuga.", "type": "integer", "required": false }, "orders_count_max": { "description": "Piirake vastust objektidele, mille j\u00e4rjestuste arv on v\u00e4iksem v\u00f5i v\u00f5rdne antud t\u00e4isarvuga.", "type": "integer", "required": false }, "orders_count_between": { "description": "Piirata vastust objektidele, mille j\u00e4rjestuste arv j\u00e4\u00e4b kahe etteantud t\u00e4isarvu vahele.", "type": "array", "items": { "type": "integer" }, "required": false }, "total_spend_min": { "description": "Piirake vastust objektidele, mille tellimuse kogukulu on antud arvust suurem v\u00f5i sellega v\u00f5rdne.", "type": "number", "required": false }, "total_spend_max": { "description": "Piirake vastust objektidele, mille tellimuse kogukulu on etteantud arvust v\u00e4iksem v\u00f5i sellega v\u00f5rdne.", "type": "number", "required": false }, "total_spend_between": { "description": "Piirake vastust objektidele, mille tellimuse kogukulu j\u00e4\u00e4b kahe antud numbri vahele.", "type": "array", "items": { "type": "integer" }, "required": false }, "avg_order_value_min": { "description": "Piirake vastust objektidele, mille keskmine tellimuse kulu on suurem v\u00f5i v\u00f5rdne antud arvuga.", "type": "number", "required": false }, "avg_order_value_max": { "description": "Piirake vastust objektidele, mille keskmine tellimus kulutab etteantud arvust v\u00e4iksema v\u00f5i sellega v\u00f5rdse.", "type": "number", "required": false }, "avg_order_value_between": { "description": "Piirake vastust objektidele, mille keskmine tellimuse kulu on kahe antud numbri vahel.", "type": "array", "items": { "type": "integer" }, "required": false }, "last_order_before": { "description": "Piirake vastust objektidele, mille viimane tellimus on antud ISO8601-ga \u00fchilduval kuup\u00e4eval (v\u00f5i kell).", "type": "string", "format": "date-time", "required": false }, "last_order_after": { "description": "Piirake vastust objektidele, mille viimane tellimus on p\u00e4rast antud ISO8601-ga \u00fchilduvat kuup\u00e4eva ja kellaaega (v\u00f5i kell).", "type": "string", "format": "date-time", "required": false }, "customers": { "description": "Piirake tulemus m\u00e4\u00e4ratud kliendi ID-ga \u00fcksustega.", "type": "array", "items": { "type": "integer" }, "required": false }, "fields": { "description": "Piirake statistikav\u00e4ljad m\u00e4\u00e4ratud \u00fcksustega.", "type": "array", "items": { "type": "string" }, "required": false }, "force_cache_refresh": { "description": "V\u00e4rskete andmete sundtoomine vahem\u00e4lust asemel.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/reports\/customers\/stats" } ] } }, "\/wc-analytics\/imports\/status": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/imports\/status" } ] } }, "\/wc-analytics\/imports\/trigger": { "namespace": "wc-analytics", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/imports\/trigger" } ] } }, "\/wc-analytics\/reports\/performance-indicators": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "stats": { "description": "Piirata vastust konkreetse aruande statistikaga. Lubatud v\u00e4\u00e4rtused: .", "type": "array", "items": { "type": "string", "enum": [] }, "default": [], "required": false }, "after": { "description": "Piirake vastuseid ressurssidega, mis on avaldatud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piirake vastust ressurssidega, mis on avaldatud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/reports\/performance-indicators" } ] } }, "\/wc-analytics\/reports\/performance-indicators\/allowed": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "stats": { "description": "Piirata vastust konkreetse aruande statistikaga. Lubatud v\u00e4\u00e4rtused: .", "type": "array", "items": { "type": "string", "enum": [] }, "default": [], "required": false }, "after": { "description": "Piirake vastuseid ressurssidega, mis on avaldatud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piirake vastust ressurssidega, mis on avaldatud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/reports\/performance-indicators\/allowed" } ] } }, "\/wc-analytics\/admin\/notes": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "note_id", "date", "type", "title", "status" ], "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "type": { "description": "M\u00e4rkme t\u00fc\u00fcp.", "type": "array", "items": { "enum": [ "error", "warning", "update", "info", "marketing", "survey" ], "type": "string" }, "required": false }, "status": { "description": "M\u00e4rkuse olek.", "type": "array", "items": { "enum": [ "pending", "actioned", "unactioned", "snoozed", "sent" ], "type": "string" }, "required": false }, "source": { "description": "M\u00e4rkuse allikas.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/admin\/notes" } ] } }, "\/wc-analytics\/admin\/notes\/(?P[\\d-]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Ressursi unikaalne ID.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi unikaalne ID.", "type": "integer", "required": false } } } ] }, "\/wc-analytics\/admin\/notes\/delete\/(?P[\\d-]+)": { "namespace": "wc-analytics", "methods": [ "DELETE" ], "endpoints": [ { "methods": [ "DELETE" ], "args": [] } ] }, "\/wc-analytics\/admin\/notes\/delete\/all": { "namespace": "wc-analytics", "methods": [ "DELETE" ], "endpoints": [ { "methods": [ "DELETE" ], "args": { "status": { "description": "M\u00e4rkuse olek.", "type": "array", "items": { "enum": [ "pending", "actioned", "unactioned", "snoozed", "sent" ], "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/admin\/notes\/delete\/all" } ] } }, "\/wc-analytics\/admin\/notes\/tracker\/(?P[\\d-]+)\/user\/(?P[\\d-]+)": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/wc-analytics\/admin\/notes\/update": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/admin\/notes\/update" } ] } }, "\/wc-analytics\/admin\/notes\/experimental-activate-promo\/(?P[\\w-]+)": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/wc-analytics\/admin\/notes\/(?P[\\d-]+)\/action\/(?P[\\d-]+)": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "note_id": { "description": "M\u00e4rkme kordumatu ID.", "type": "integer", "required": false }, "action_id": { "description": "M\u00e4rkme toimingu kordumatu ID.", "type": "integer", "required": false } } } ] }, "\/wc-analytics\/coupons": { "namespace": "wc-analytics", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piirake tulemusi kupongidega, mille koodid vastavad antud stringile.", "type": "string", "required": false }, "after": { "description": "Piirake vastuseid ressurssidega, mis on avaldatud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piirake vastust ressurssidega, mis on avaldatud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Piirake reageerimist ressurssidega, mida on muudetud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Piirake reageerimist ressurssidega, mida on muudetud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Kas v\u00f5tta arvesse GMT postitamiskuup\u00e4evi, kui piirata vastuse avaldamise v\u00f5i muudetud kuup\u00e4evaga.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "code": { "description": "Piira tulemusi kindla koodiga ressurssidele.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "code": { "description": "Kupongi kood.", "type": "string", "required": true }, "amount": { "description": "Allahindluse v\u00e4\u00e4rtus. Peab alati olema number, isegi kui m\u00e4\u00e4ratakse protsenti.", "type": [ "number", "string" ], "required": false }, "status": { "description": "Kupongi olek. Peaks alati olema mustand, avaldatud v\u00f5i \u00fclevaatuse ootel", "type": "string", "required": false }, "discount_type": { "default": "fixed_cart", "description": "M\u00e4\u00e4rab rakendatava allahindluse t\u00fc\u00fcbi.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "description": { "description": "Kupongi kirjeldus.", "type": "string", "required": false }, "date_expires": { "description": "Kupongi aegumiskuup\u00e4ev, veebilehe ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "Kupongi aegumiskuup\u00e4ev, GMT v\u00e4\u00e4rtusena.", "type": [ "null", "string" ], "required": false }, "individual_use": { "default": false, "description": "Kui v\u00e4\u00e4rtus on t\u00f5ene, saab seda kupongi kasutada ainult \u00fcksinda. Teised kupongid eemaldatakse ostukorvist.", "type": "boolean", "required": false }, "product_ids": { "description": "Toodete ID-de nimekiri, millega seda kupongi saab kasutada.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "Toodete ID-de nimekiri, millega seda kupongi kasutada ei saa.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Kui mitu korda seda kupongi kasutada saab.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Mitu korda \u00fcks klient saab seda kupongi kasutada.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Maksimaalne toodete kogus ostukorvis, millele see kupong kehtib.", "type": "integer", "required": false }, "free_shipping": { "default": false, "description": "Kui t\u00f5ene ja tasuta tarne meetod vajab kupongi, aktiveerib see kupong tasuta tarne.", "type": "boolean", "required": false }, "product_categories": { "description": "Kategooriate ID-de nimekiri, millega koos seda kupongi saab kasutada.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Kategooriate ID-de nimekiri, millega koos seda kupongi ei saa kasutada.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "default": false, "description": "Kui t\u00f5ene, ei kehti see kupong soodushinnaga toodetele.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minimaalne tellimuse summa, mis peab olema selle kupongi kasutamiseks ostukorvis.", "type": [ "number", "string" ], "required": false }, "maximum_amount": { "description": "Maksimaalne lubatav tellimuse summa selle kupongi kasutamiseks.", "type": [ "number", "string" ], "required": false }, "email_restrictions": { "description": "E-posti aadresside nimekiri, kes saavad seda kupongi kasutada.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/coupons" } ] } }, "\/wc-analytics\/coupons\/(?P[\\d]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "code": { "description": "Kupongi kood.", "type": "string", "required": false }, "amount": { "description": "Allahindluse v\u00e4\u00e4rtus. Peab alati olema number, isegi kui m\u00e4\u00e4ratakse protsenti.", "type": [ "number", "string" ], "required": false }, "status": { "description": "Kupongi olek. Peaks alati olema mustand, avaldatud v\u00f5i \u00fclevaatuse ootel", "type": "string", "required": false }, "discount_type": { "description": "M\u00e4\u00e4rab rakendatava allahindluse t\u00fc\u00fcbi.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "description": { "description": "Kupongi kirjeldus.", "type": "string", "required": false }, "date_expires": { "description": "Kupongi aegumiskuup\u00e4ev, veebilehe ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "Kupongi aegumiskuup\u00e4ev, GMT v\u00e4\u00e4rtusena.", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "Kui v\u00e4\u00e4rtus on t\u00f5ene, saab seda kupongi kasutada ainult \u00fcksinda. Teised kupongid eemaldatakse ostukorvist.", "type": "boolean", "required": false }, "product_ids": { "description": "Toodete ID-de nimekiri, millega seda kupongi saab kasutada.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "Toodete ID-de nimekiri, millega seda kupongi kasutada ei saa.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Kui mitu korda seda kupongi kasutada saab.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Mitu korda \u00fcks klient saab seda kupongi kasutada.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Maksimaalne toodete kogus ostukorvis, millele see kupong kehtib.", "type": "integer", "required": false }, "free_shipping": { "description": "Kui t\u00f5ene ja tasuta tarne meetod vajab kupongi, aktiveerib see kupong tasuta tarne.", "type": "boolean", "required": false }, "product_categories": { "description": "Kategooriate ID-de nimekiri, millega koos seda kupongi saab kasutada.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Kategooriate ID-de nimekiri, millega koos seda kupongi ei saa kasutada.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "Kui t\u00f5ene, ei kehti see kupong soodushinnaga toodetele.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minimaalne tellimuse summa, mis peab olema selle kupongi kasutamiseks ostukorvis.", "type": [ "number", "string" ], "required": false }, "maximum_amount": { "description": "Maksimaalne lubatav tellimuse summa selle kupongi kasutamiseks.", "type": [ "number", "string" ], "required": false }, "email_restrictions": { "description": "E-posti aadresside nimekiri, kes saavad seda kupongi kasutada.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Kas j\u00e4tta pr\u00fcgikast m\u00f6\u00f6da ja sundida kustutamist.", "required": false } } } ] }, "\/wc-analytics\/coupons\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "code": { "description": "Kupongi kood.", "type": "string", "required": false }, "amount": { "description": "Allahindluse v\u00e4\u00e4rtus. Peab alati olema number, isegi kui m\u00e4\u00e4ratakse protsenti.", "type": [ "number", "string" ], "required": false }, "status": { "description": "Kupongi olek. Peaks alati olema mustand, avaldatud v\u00f5i \u00fclevaatuse ootel", "type": "string", "required": false }, "discount_type": { "description": "M\u00e4\u00e4rab rakendatava allahindluse t\u00fc\u00fcbi.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "description": { "description": "Kupongi kirjeldus.", "type": "string", "required": false }, "date_expires": { "description": "Kupongi aegumiskuup\u00e4ev, veebilehe ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "Kupongi aegumiskuup\u00e4ev, GMT v\u00e4\u00e4rtusena.", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "Kui v\u00e4\u00e4rtus on t\u00f5ene, saab seda kupongi kasutada ainult \u00fcksinda. Teised kupongid eemaldatakse ostukorvist.", "type": "boolean", "required": false }, "product_ids": { "description": "Toodete ID-de nimekiri, millega seda kupongi saab kasutada.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "Toodete ID-de nimekiri, millega seda kupongi kasutada ei saa.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Kui mitu korda seda kupongi kasutada saab.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Mitu korda \u00fcks klient saab seda kupongi kasutada.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Maksimaalne toodete kogus ostukorvis, millele see kupong kehtib.", "type": "integer", "required": false }, "free_shipping": { "description": "Kui t\u00f5ene ja tasuta tarne meetod vajab kupongi, aktiveerib see kupong tasuta tarne.", "type": "boolean", "required": false }, "product_categories": { "description": "Kategooriate ID-de nimekiri, millega koos seda kupongi saab kasutada.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Kategooriate ID-de nimekiri, millega koos seda kupongi ei saa kasutada.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "Kui t\u00f5ene, ei kehti see kupong soodushinnaga toodetele.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minimaalne tellimuse summa, mis peab olema selle kupongi kasutamiseks ostukorvis.", "type": [ "number", "string" ], "required": false }, "maximum_amount": { "description": "Maksimaalne lubatav tellimuse summa selle kupongi kasutamiseks.", "type": [ "number", "string" ], "required": false }, "email_restrictions": { "description": "E-posti aadresside nimekiri, kes saavad seda kupongi kasutada.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/coupons\/batch" } ] } }, "\/wc-analytics\/data": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/data" } ] } }, "\/wc-analytics\/data\/countries\/locales": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/data\/countries\/locales" } ] } }, "\/wc-analytics\/data\/countries": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/data\/countries" } ] } }, "\/wc-analytics\/data\/countries\/(?P[\\w-]+)": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "location": { "description": "ISO3166 alpha-2 riigi kood.", "type": "string", "required": false } } } ] }, "\/wc-analytics\/data\/download-ips": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/data\/download-ips" } ] } }, "\/wc-analytics\/orders": { "namespace": "wc-analytics", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piirake tulemusi nendega, mis vastavad stringile.", "type": "string", "required": false }, "after": { "description": "Piirake vastuseid ressurssidega, mis on avaldatud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piirake vastust ressurssidega, mis on avaldatud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Piirake reageerimist ressurssidega, mida on muudetud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Piirake reageerimist ressurssidega, mida on muudetud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Kas v\u00f5tta arvesse GMT postitamiskuup\u00e4evi, kui piirata vastuse avaldamise v\u00f5i muudetud kuup\u00e4evaga.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "parent": { "description": "Piirake tulemuste komplekt konkreetsete vanemate ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Piirake tulemuste komplekti k\u00f5igi \u00fcksustega, v\u00e4lja arvatud konkreetse \u00fclem-ID \u00fcksustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "status": { "default": [ "any" ], "description": "Piira tulemuste komplekt konkreetsete olekutega tellimustele.", "type": "array", "items": { "type": "string", "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "mon-part-refund", "mon-label-printed", "checkout-draft" ] }, "required": false }, "customer": { "description": "Piirake tulemuste komplekt konkreetsele kliendile m\u00e4\u00e4ratud tellimustele.", "type": "integer", "required": false }, "product": { "description": "Piirake tulemuste komplekt konkreetsele tootele m\u00e4\u00e4ratud tellimustele.", "type": "integer", "required": false }, "dp": { "default": 0, "description": "Igas ressursis kasutatavate k\u00fcmnendkohtade arv.", "type": "integer", "required": false }, "order_item_display_meta": { "default": false, "description": "Kuva ainult meta, mis on ette n\u00e4htud tellimuse jaoks kuvamiseks.", "type": "boolean", "required": false }, "include_meta": { "default": [], "description": "Piirake meta_andmed konkreetsete v\u00f5tmetega.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Veenduge, et meta_andmed v\u00e4listaks teatud v\u00f5tmed.", "type": "array", "items": { "type": "string" }, "required": false }, "created_via": { "description": "Limit result set to orders created via specific sources (e.g. checkout, admin).", "type": "array", "items": { "type": "string" }, "required": false }, "number": { "description": "Piirake tulemuste komplekt tellimustele, mis vastavad tellimuse numbri osale.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "parent_id": { "description": "Vanema tellimuse ID.", "type": "integer", "required": false }, "created_via": { "description": "N\u00e4itab, kus tellimus loodi.", "type": "string", "required": false }, "status": { "default": "pending", "description": "Tellimuse olek.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "mon-part-refund", "mon-label-printed", "checkout-draft" ], "required": false }, "currency": { "default": "EUR", "description": "Valuuta, millega tellimus koostati, ISO-vormingus.", "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 }, "date_created": { "description": "Tellimuse loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Tellimuse loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "required": false }, "date_modified": { "description": "Tellimuse viimase muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_modified_gmt": { "description": "Tellimuse viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "required": false }, "customer_id": { "default": 0, "description": "Kasutaja ID, kellele tellimus kuulub. 0 k\u00fclalistele.", "type": "integer", "required": false }, "customer_note": { "description": "M\u00e4rkus, mille klient j\u00e4ttis kassas.", "type": "string", "required": false }, "billing": { "description": "Arveldusaadress.", "type": "object", "properties": { "first_name": { "description": "Eesnimi.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Perekonnanimi.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ettev\u00f5tte nimi.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Aadressi rida 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "2. aadressirida", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Linna nimi.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Osariigi, provintsi v\u00f5i ringkonna ISO-kood v\u00f5i nimi.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postiindeks.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Riigikood ISO 3166-1 alfa-2 formaadis.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "E-posti aadress.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Telefoninumber.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Tarneaadress.", "type": "object", "properties": { "first_name": { "description": "Eesnimi.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Perekonnanimi.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ettev\u00f5tte nimi.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Aadressi rida 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "2. aadressirida", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Linna nimi.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Osariigi, provintsi v\u00f5i ringkonna ISO-kood v\u00f5i nimi.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postiindeks.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Riigikood ISO 3166-1 alfa-2 formaadis.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "Makseviisi ID.", "type": "string", "required": false }, "payment_method_title": { "description": "Makseviisi pealkiri.", "type": "string", "required": false }, "transaction_id": { "description": "Unikaalne tehingu ID.", "type": "string", "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Rea\u00fcksuste andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Toote nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Ematoote nimi, kui toode on variatsioon.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "Toote ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Variatsiooni ID, kui see on kohaldatav.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Tellitud kogus.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Toote maksuklass.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Rea vahesumma (enne allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Rea vahesumma maks (enne allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Maksude vahesumma.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Metaklahv kasutajaliidese kuvamiseks.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Kasutajaliidese kuva metav\u00e4\u00e4rtus.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Toote SKU.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "global_unique_id": { "description": "GTIN, UPC, EAN v\u00f5i ISBN.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Toote hind.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Toote p\u00f5hipildi omadused.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Laevaliinide andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Saatmisviisi nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Saatmisviisi ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "Tarneeksemplari ID.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Tasuliinide andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Tasu nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Tasu maksuklass.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Tasu maksustaatus.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Maksude vahesumma.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Kupongide rea andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Kupongi kood.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Allahindlus kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "Allahindlus kogumaks.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Allahindluse t\u00fc\u00fcp.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Kupongis m\u00e4\u00e4ratletud allahindluse summa (absoluutv\u00e4\u00e4rtus v\u00f5i protsent, olenevalt allahindluse t\u00fc\u00fcbist).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Kas kupong tagab tasuta kohaletoimetamise v\u00f5i mitte.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "default": false, "description": "M\u00e4\u00e4rake, kas tellimus on tasutud. See seab olekuks t\u00f6\u00f6tlemise ja v\u00e4hendab laoartikleid.", "type": "boolean", "required": false }, "manual_update": { "default": false, "description": "M\u00e4\u00e4rake toiming k\u00e4sitsi, nii et tellimuse m\u00e4rkus registreeritakse kui "kasutaja lisatud".", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/orders" } ] } }, "\/wc-analytics\/orders\/(?P[\\d]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "parent_id": { "description": "Vanema tellimuse ID.", "type": "integer", "required": false }, "created_via": { "description": "N\u00e4itab, kus tellimus loodi.", "type": "string", "required": false }, "status": { "description": "Tellimuse olek.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "mon-part-refund", "mon-label-printed", "checkout-draft" ], "required": false }, "currency": { "description": "Valuuta, millega tellimus koostati, ISO-vormingus.", "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 }, "date_created": { "description": "Tellimuse loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Tellimuse loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "required": false }, "date_modified": { "description": "Tellimuse viimase muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_modified_gmt": { "description": "Tellimuse viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "required": false }, "customer_id": { "description": "Kasutaja ID, kellele tellimus kuulub. 0 k\u00fclalistele.", "type": "integer", "required": false }, "customer_note": { "description": "M\u00e4rkus, mille klient j\u00e4ttis kassas.", "type": "string", "required": false }, "billing": { "description": "Arveldusaadress.", "type": "object", "properties": { "first_name": { "description": "Eesnimi.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Perekonnanimi.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ettev\u00f5tte nimi.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Aadressi rida 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "2. aadressirida", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Linna nimi.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Osariigi, provintsi v\u00f5i ringkonna ISO-kood v\u00f5i nimi.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postiindeks.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Riigikood ISO 3166-1 alfa-2 formaadis.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "E-posti aadress.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Telefoninumber.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Tarneaadress.", "type": "object", "properties": { "first_name": { "description": "Eesnimi.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Perekonnanimi.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ettev\u00f5tte nimi.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Aadressi rida 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "2. aadressirida", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Linna nimi.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Osariigi, provintsi v\u00f5i ringkonna ISO-kood v\u00f5i nimi.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postiindeks.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Riigikood ISO 3166-1 alfa-2 formaadis.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "Makseviisi ID.", "type": "string", "required": false }, "payment_method_title": { "description": "Makseviisi pealkiri.", "type": "string", "required": false }, "transaction_id": { "description": "Unikaalne tehingu ID.", "type": "string", "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Rea\u00fcksuste andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Toote nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Ematoote nimi, kui toode on variatsioon.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "Toote ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Variatsiooni ID, kui see on kohaldatav.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Tellitud kogus.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Toote maksuklass.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Rea vahesumma (enne allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Rea vahesumma maks (enne allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Maksude vahesumma.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Metaklahv kasutajaliidese kuvamiseks.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Kasutajaliidese kuva metav\u00e4\u00e4rtus.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Toote SKU.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "global_unique_id": { "description": "GTIN, UPC, EAN v\u00f5i ISBN.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Toote hind.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Toote p\u00f5hipildi omadused.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Laevaliinide andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Saatmisviisi nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Saatmisviisi ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "Tarneeksemplari ID.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Tasuliinide andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Tasu nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Tasu maksuklass.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Tasu maksustaatus.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Maksude vahesumma.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Kupongide rea andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Kupongi kood.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Allahindlus kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "Allahindlus kogumaks.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Allahindluse t\u00fc\u00fcp.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Kupongis m\u00e4\u00e4ratletud allahindluse summa (absoluutv\u00e4\u00e4rtus v\u00f5i protsent, olenevalt allahindluse t\u00fc\u00fcbist).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Kas kupong tagab tasuta kohaletoimetamise v\u00f5i mitte.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "description": "M\u00e4\u00e4rake, kas tellimus on tasutud. See seab olekuks t\u00f6\u00f6tlemise ja v\u00e4hendab laoartikleid.", "type": "boolean", "required": false }, "manual_update": { "description": "M\u00e4\u00e4rake toiming k\u00e4sitsi, nii et tellimuse m\u00e4rkus registreeritakse kui "kasutaja lisatud".", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Kas j\u00e4tta pr\u00fcgikast m\u00f6\u00f6da ja sundida kustutamist.", "required": false } } } ] }, "\/wc-analytics\/orders\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "parent_id": { "description": "Vanema tellimuse ID.", "type": "integer", "required": false }, "created_via": { "description": "N\u00e4itab, kus tellimus loodi.", "type": "string", "required": false }, "status": { "description": "Tellimuse olek.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "mon-part-refund", "mon-label-printed", "checkout-draft" ], "required": false }, "currency": { "description": "Valuuta, millega tellimus koostati, ISO-vormingus.", "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 }, "date_created": { "description": "Tellimuse loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Tellimuse loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "required": false }, "date_modified": { "description": "Tellimuse viimase muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_modified_gmt": { "description": "Tellimuse viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "required": false }, "customer_id": { "description": "Kasutaja ID, kellele tellimus kuulub. 0 k\u00fclalistele.", "type": "integer", "required": false }, "customer_note": { "description": "M\u00e4rkus, mille klient j\u00e4ttis kassas.", "type": "string", "required": false }, "billing": { "description": "Arveldusaadress.", "type": "object", "properties": { "first_name": { "description": "Eesnimi.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Perekonnanimi.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ettev\u00f5tte nimi.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Aadressi rida 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "2. aadressirida", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Linna nimi.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Osariigi, provintsi v\u00f5i ringkonna ISO-kood v\u00f5i nimi.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postiindeks.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Riigikood ISO 3166-1 alfa-2 formaadis.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "E-posti aadress.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Telefoninumber.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Tarneaadress.", "type": "object", "properties": { "first_name": { "description": "Eesnimi.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Perekonnanimi.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ettev\u00f5tte nimi.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Aadressi rida 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "2. aadressirida", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Linna nimi.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Osariigi, provintsi v\u00f5i ringkonna ISO-kood v\u00f5i nimi.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postiindeks.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Riigikood ISO 3166-1 alfa-2 formaadis.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "Makseviisi ID.", "type": "string", "required": false }, "payment_method_title": { "description": "Makseviisi pealkiri.", "type": "string", "required": false }, "transaction_id": { "description": "Unikaalne tehingu ID.", "type": "string", "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Rea\u00fcksuste andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Toote nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Ematoote nimi, kui toode on variatsioon.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "Toote ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Variatsiooni ID, kui see on kohaldatav.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Tellitud kogus.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Toote maksuklass.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Rea vahesumma (enne allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Rea vahesumma maks (enne allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Maksude vahesumma.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Metaklahv kasutajaliidese kuvamiseks.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Kasutajaliidese kuva metav\u00e4\u00e4rtus.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Toote SKU.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "global_unique_id": { "description": "GTIN, UPC, EAN v\u00f5i ISBN.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Toote hind.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Toote p\u00f5hipildi omadused.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Laevaliinide andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Saatmisviisi nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Saatmisviisi ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "Tarneeksemplari ID.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Tasuliinide andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Tasu nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Tasu maksuklass.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Tasu maksustaatus.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Maksude vahesumma.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Kupongide rea andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Kupongi kood.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Allahindlus kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "Allahindlus kogumaks.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Allahindluse t\u00fc\u00fcp.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Kupongis m\u00e4\u00e4ratletud allahindluse summa (absoluutv\u00e4\u00e4rtus v\u00f5i protsent, olenevalt allahindluse t\u00fc\u00fcbist).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Kas kupong tagab tasuta kohaletoimetamise v\u00f5i mitte.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "description": "M\u00e4\u00e4rake, kas tellimus on tasutud. See seab olekuks t\u00f6\u00f6tlemise ja v\u00e4hendab laoartikleid.", "type": "boolean", "required": false }, "manual_update": { "description": "M\u00e4\u00e4rake toiming k\u00e4sitsi, nii et tellimuse m\u00e4rkus registreeritakse kui "kasutaja lisatud".", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/orders\/batch" } ] } }, "\/wc-analytics\/products": { "namespace": "wc-analytics", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Otsige sarnase tootenime v\u00f5i sku j\u00e4rgi.", "type": "string", "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to products modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to products modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "popularity", "rating", "post__in", "price", "sales", "menu_order", "random", "popularity", "rating", "menu_order", "price", "popularity", "rating" ], "required": false }, "parent": { "description": "Piirake tulemuste komplekt konkreetsete vanemate ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Piirake tulemuste komplekti k\u00f5igi \u00fcksustega, v\u00e4lja arvatud konkreetse \u00fclem-ID \u00fcksustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "atum_post_status": { "description": "Limit response to products to the specified statuses. This param supports multiple statuses separated by commas.", "type": "string", "required": false }, "brand": { "description": "Piira tulemuste komplekti toodetega, millele on m\u00e4\u00e4ratud kindel br\u00e4ndi ID.", "type": "string", "required": false }, "slug": { "description": "Piirake tulemuste komplekt konkreetse n\u00e4lkjaga toodetega.", "type": "string", "required": false }, "status": { "default": "any", "description": "Piirake tulemuste komplekt toodetele, millele on m\u00e4\u00e4ratud konkreetne olek.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "Piirake tulemuste komplekt toodetele, millele on m\u00e4\u00e4ratud kindel t\u00fc\u00fcp.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "sku": { "description": "Piirake tulemuste komplekt konkreetsete SKU-dega toodetega. Kasutage eraldamiseks komasid.", "type": "string", "required": false }, "featured": { "description": "Piirake tulemuste komplekt esiletoodud toodetega.", "type": "boolean", "required": false }, "category": { "description": "Piirake tulemuste komplekt toodetega, millele on m\u00e4\u00e4ratud konkreetne kategooria ID.", "type": "string", "required": false }, "tag": { "description": "Piirake tulemuste komplekt toodetega, millele on m\u00e4\u00e4ratud konkreetne sildi ID.", "type": "string", "required": false }, "shipping_class": { "description": "Piirake tulemuse komplekt toodetele, millele on m\u00e4\u00e4ratud konkreetne tarneklassi ID.", "type": "string", "required": false }, "attribute": { "description": "Piirake tulemuste komplekt konkreetse atribuudiga toodetega. Kasutage taksonoomia nime\/atribuuti slug.", "type": "string", "required": false }, "attribute_term": { "description": "Piirake tulemuste komplekt toodetega, millel on spetsiifiline atribuuditermin ID (vajalik on m\u00e4\u00e4ratud atribuut).", "type": "string", "required": false }, "on_sale": { "description": "Piirake tulemuste komplekt m\u00fc\u00fcgil olevatele toodetele.", "type": "boolean", "required": false }, "min_price": { "description": "Piirake tulemuse komplekt toodetega miinimumhinna alusel.", "type": "string", "required": false }, "max_price": { "description": "Piirake tulemuse seatud toodetele maksimaalse hinna alusel.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Piirake meta_andmed konkreetsete v\u00f5tmetega.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Veenduge, et meta_andmed v\u00e4listaks teatud v\u00f5tmed.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Piirake tulemus m\u00e4\u00e4ratud toodetele, mille laos on m\u00e4\u00e4ratud.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "search_sku": { "description": "Limit results to those with a SKU that partial matches a string. This argument takes precedence over 'sku'.", "type": "string", "required": false }, "search_name_or_sku": { "description": "Limit results to those with a name or SKU that partial matches a string. This argument takes precedence over 'search', 'sku' and 'search_sku'.", "type": "string", "required": false }, "search_fields": { "description": "Limit search to specific fields when used with search parameter. Available fields: name, sku, global_unique_id, description, short_description. This argument takes precedence over all other search parameters.", "type": "array", "items": { "type": "string", "enum": [ "name", "global_unique_id", "description", "short_description", "sku" ] }, "default": [], "required": false }, "include_status": { "description": "Piira tulemuste komplekti toodetega, millel on mis tahes olek.", "type": "array", "items": { "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "exclude_status": { "description": "J\u00e4ta tulemuste hulgast v\u00e4lja tooted, millel on m\u00f5ni j\u00e4rgmistest staatustest.", "type": "array", "items": { "type": "string", "enum": [ "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "include_types": { "description": "Piira tulemuste komplekti mis tahes t\u00fc\u00fcbiga toodetega.", "type": "array", "items": { "type": "string", "enum": [ "simple", "grouped", "external", "variable" ] }, "required": false }, "exclude_types": { "description": "J\u00e4ta tulemuste hulgast v\u00e4lja mis tahes t\u00fc\u00fcbiga tooted.", "type": "array", "items": { "type": "string", "enum": [ "simple", "grouped", "external", "variable" ] }, "required": false }, "downloadable": { "description": "Piira tulemuste komplekti allalaaditavate toodetega.", "type": "boolean", "required": false }, "virtual": { "description": "Piira tulemuste komplekti virtuaalsete toodetega.", "type": "boolean", "required": false }, "pos_products_only": { "description": "Limit result set to products visible in Point of Sale.", "type": "boolean", "required": false }, "low_in_stock": { "description": "Piirake tulemusi toodetega, mida on v\u00e4he v\u00f5i mis on otsas. (Aegunud)", "type": "boolean", "default": false, "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Toote nimi.", "type": "string", "required": false }, "slug": { "description": "Toode n\u00e4lkjas.", "type": "string", "required": false }, "date_created": { "description": "Toote loomise kuup\u00e4ev, veebilehe ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Toote loomise kuup\u00e4ev, GMT v\u00e4\u00e4rtusena.", "type": [ "null", "string" ], "required": false }, "type": { "default": "simple", "description": "Toote t\u00fc\u00fcp.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "default": "publish", "description": "Toote staatus (postituse staatus).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "default": false, "description": "Esilet\u00f5stetud toode.", "type": "boolean", "required": false }, "catalog_visibility": { "default": "visible", "description": "N\u00e4htavus kataloogis.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Toote kirjeldus.", "type": "string", "required": false }, "short_description": { "description": "Toote l\u00fchikirjeldus.", "type": "string", "required": false }, "sku": { "description": "Varude hoidmise \u00fcksus.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN v\u00f5i ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Toote tavahind.", "type": "string", "required": false }, "sale_price": { "description": "Toote soodushind.", "type": "string", "required": false }, "date_on_sale_from": { "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev, GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "M\u00fc\u00fcgihinna l\u00f5ppkuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "M\u00fc\u00fcgihinna l\u00f5ppkuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "virtual": { "default": false, "description": "Kas toode on virtuaalne.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Kas toode on alla laaditav.", "type": "boolean", "required": false }, "downloads": { "description": "Allalaaditavate failide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faili ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faili nimi.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faili URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Allalaaditavate failide allalaadimiste arv p\u00e4rast ostmist.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "P\u00e4evade arv, kuni juurdep\u00e4\u00e4s allalaaditavatele failidele aegub.", "type": "integer", "required": false }, "external_url": { "description": "Toote v\u00e4line URL. Ainult v\u00e4listele toodetele.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Toote v\u00e4lise nupu tekst. Ainult v\u00e4listele toodetele.", "type": "string", "required": false }, "tax_status": { "default": "taxable", "description": "Maksustaatus.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Maksuklass.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Laohaldus toote tasemel.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Lao kogus.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Kontrollib toote laoseisu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "Laoseisu haldamisel kontrollib see, kas j\u00e4reltellimused on lubatud.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Toote v\u00e4ike laokogus.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "default": false, "description": "Luba \u00fches tellimuses osta vaid \u00fcks eksemplar.", "type": "boolean", "required": false }, "weight": { "description": "Toote kaal (kg).", "type": "string", "required": false }, "dimensions": { "description": "Toote m\u00f5\u00f5tmed.", "type": "object", "properties": { "length": { "description": "Toote pikkus (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Toote laius (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Toote k\u00f5rgus (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Saatmisklassi n\u00e4lkjas.", "type": "string", "required": false }, "reviews_allowed": { "default": true, "description": "Luba arvustused.", "type": "boolean", "required": false }, "post_password": { "description": "Postitage parool.", "type": "string", "required": false }, "upsell_ids": { "description": "\u00dclesm\u00fc\u00fcgi toodete ID-de nimekiri.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Ristm\u00fc\u00fcgi toodete ID-de nimekiri.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "\u00dclemtoote ID.", "type": "integer", "required": false }, "purchase_note": { "description": "Soovi korral kliendile peale ostu saadetav teade.", "type": "string", "required": false }, "categories": { "description": "Kategooriate nimekiri.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kategooria ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Kategooria nimi.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Kategooria p\u00fcsiviide.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "brands": { "description": "List of brands.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Brand ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Brand name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Brand slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Siltide nimekiri.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Sildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Sildi nimi.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Sildi p\u00fcsiviide.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Piltide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Kujutise loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Kujutise viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Atribuutide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atribuudi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atribuudi nimi.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Omaduse positsioon.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "M\u00e4\u00e4rab omaduse n\u00e4htavuse tootelehel olevas \"Lisainfo\" sakis.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "M\u00e4\u00e4ra, kas omadust v\u00f5ib kasutada variatsioonideks.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Omaduse olemasolevate terminite nimetuste loend.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Vaikimisi aktiivse variatsiooni omadused.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atribuudi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atribuudi nimi.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Valitud atribuudi termini nimi.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse toodete kohandatud sorteerimiseks.", "type": "integer", "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "supplier_id": { "description": "The ID of the ATUM Supplier that is linked to the product.", "type": "integer", "required": false }, "supplier_sku": { "description": "The Supplier's SKU for the product.", "type": "string", "required": false }, "barcode": { "description": "The product's barcode.", "type": "string", "required": false }, "atum_controlled": { "default": false, "description": "Whether the product is being controlled by ATUM.", "type": "boolean", "required": false }, "out_stock_date": { "description": "The date when the product run out of stock.", "type": [ "null", "string" ], "required": false }, "out_stock_threshold": { "description": "Out of stock threshold at product level.", "type": "number", "required": false }, "inheritable": { "default": false, "description": "Whether this product may have children.", "type": "boolean", "required": false }, "inbound_stock": { "description": "Product's inbound stock.", "type": "number", "required": false }, "stock_on_hold": { "description": "Product's stock on hold.", "type": "number", "required": false }, "sold_today": { "description": "Units sold today.", "type": "number", "required": false }, "sales_last_days": { "description": "Sales the last 14 days.", "type": "number", "required": false }, "reserved_stock": { "description": "Stock set as 'reserved_stock' within Inventory Logs.", "type": "number", "required": false }, "customer_returns": { "description": "Stock set as 'customer returns' within Inventory Logs.", "type": "number", "required": false }, "warehouse_damage": { "description": "Stock set as 'warehouse damage' within Inventory Logs.", "type": "number", "required": false }, "lost_in_post": { "description": "Stock set as 'lost in post' within Inventory Logs.", "type": "number", "required": false }, "other_logs": { "description": "Stock set as 'other' within Inventory Logs.", "type": "number", "required": false }, "out_stock_days": { "description": "The number of days that the product is Out of stock.", "type": "integer", "required": false }, "lost_sales": { "description": "Product lost sales.", "type": "number", "required": false }, "has_location": { "description": "Whether the product has any ATUM location set.", "type": "boolean", "required": false }, "update_date": { "description": "Last date when the ATUM product data was calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "atum_locations": { "description": "List of ATUM locations linked to the product.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Location ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Location name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Location slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "atum_stock_status": { "description": "Used to store the stock status (same as WC) but both values may differ for MI enable products.", "type": "string", "required": false }, "restock_status": { "description": "Indicates whether the stock will last soon and should be reordered.", "type": "boolean", "required": false }, "sales_update_date": { "description": "Last date when the sales fields on ATUM product data were calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "calc_backorders": { "description": "Backordered items (if backorders is enabled and it has a negative stock value).", "type": "number", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/products" } ] } }, "\/wc-analytics\/products\/(?P[\\d]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "name": { "description": "Toote nimi.", "type": "string", "required": false }, "slug": { "description": "Toode n\u00e4lkjas.", "type": "string", "required": false }, "date_created": { "description": "Toote loomise kuup\u00e4ev, veebilehe ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Toote loomise kuup\u00e4ev, GMT v\u00e4\u00e4rtusena.", "type": [ "null", "string" ], "required": false }, "type": { "description": "Toote t\u00fc\u00fcp.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "description": "Toote staatus (postituse staatus).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "description": "Esilet\u00f5stetud toode.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "N\u00e4htavus kataloogis.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Toote kirjeldus.", "type": "string", "required": false }, "short_description": { "description": "Toote l\u00fchikirjeldus.", "type": "string", "required": false }, "sku": { "description": "Varude hoidmise \u00fcksus.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN v\u00f5i ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Toote tavahind.", "type": "string", "required": false }, "sale_price": { "description": "Toote soodushind.", "type": "string", "required": false }, "date_on_sale_from": { "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev, GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "M\u00fc\u00fcgihinna l\u00f5ppkuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "M\u00fc\u00fcgihinna l\u00f5ppkuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "Kas toode on virtuaalne.", "type": "boolean", "required": false }, "downloadable": { "description": "Kas toode on alla laaditav.", "type": "boolean", "required": false }, "downloads": { "description": "Allalaaditavate failide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faili ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faili nimi.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faili URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Allalaaditavate failide allalaadimiste arv p\u00e4rast ostmist.", "type": "integer", "required": false }, "download_expiry": { "description": "P\u00e4evade arv, kuni juurdep\u00e4\u00e4s allalaaditavatele failidele aegub.", "type": "integer", "required": false }, "external_url": { "description": "Toote v\u00e4line URL. Ainult v\u00e4listele toodetele.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Toote v\u00e4lise nupu tekst. Ainult v\u00e4listele toodetele.", "type": "string", "required": false }, "tax_status": { "description": "Maksustaatus.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Maksuklass.", "type": "string", "required": false }, "manage_stock": { "description": "Laohaldus toote tasemel.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Lao kogus.", "type": "integer", "required": false }, "stock_status": { "description": "Kontrollib toote laoseisu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Laoseisu haldamisel kontrollib see, kas j\u00e4reltellimused on lubatud.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Toote v\u00e4ike laokogus.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "description": "Luba \u00fches tellimuses osta vaid \u00fcks eksemplar.", "type": "boolean", "required": false }, "weight": { "description": "Toote kaal (kg).", "type": "string", "required": false }, "dimensions": { "description": "Toote m\u00f5\u00f5tmed.", "type": "object", "properties": { "length": { "description": "Toote pikkus (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Toote laius (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Toote k\u00f5rgus (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Saatmisklassi n\u00e4lkjas.", "type": "string", "required": false }, "reviews_allowed": { "description": "Luba arvustused.", "type": "boolean", "required": false }, "post_password": { "description": "Postitage parool.", "type": "string", "required": false }, "upsell_ids": { "description": "\u00dclesm\u00fc\u00fcgi toodete ID-de nimekiri.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Ristm\u00fc\u00fcgi toodete ID-de nimekiri.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "\u00dclemtoote ID.", "type": "integer", "required": false }, "purchase_note": { "description": "Soovi korral kliendile peale ostu saadetav teade.", "type": "string", "required": false }, "categories": { "description": "Kategooriate nimekiri.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kategooria ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Kategooria nimi.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Kategooria p\u00fcsiviide.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "brands": { "description": "List of brands.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Brand ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Brand name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Brand slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Siltide nimekiri.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Sildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Sildi nimi.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Sildi p\u00fcsiviide.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Piltide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Kujutise loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Kujutise viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Atribuutide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atribuudi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atribuudi nimi.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Omaduse positsioon.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "M\u00e4\u00e4rab omaduse n\u00e4htavuse tootelehel olevas \"Lisainfo\" sakis.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "M\u00e4\u00e4ra, kas omadust v\u00f5ib kasutada variatsioonideks.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Omaduse olemasolevate terminite nimetuste loend.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Vaikimisi aktiivse variatsiooni omadused.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atribuudi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atribuudi nimi.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Valitud atribuudi termini nimi.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse toodete kohandatud sorteerimiseks.", "type": "integer", "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "supplier_id": { "description": "The ID of the ATUM Supplier that is linked to the product.", "type": "integer", "required": false }, "supplier_sku": { "description": "The Supplier's SKU for the product.", "type": "string", "required": false }, "barcode": { "description": "The product's barcode.", "type": "string", "required": false }, "atum_controlled": { "description": "Whether the product is being controlled by ATUM.", "type": "boolean", "required": false }, "out_stock_date": { "description": "The date when the product run out of stock.", "type": [ "null", "string" ], "required": false }, "out_stock_threshold": { "description": "Out of stock threshold at product level.", "type": "number", "required": false }, "inheritable": { "description": "Whether this product may have children.", "type": "boolean", "required": false }, "inbound_stock": { "description": "Product's inbound stock.", "type": "number", "required": false }, "stock_on_hold": { "description": "Product's stock on hold.", "type": "number", "required": false }, "sold_today": { "description": "Units sold today.", "type": "number", "required": false }, "sales_last_days": { "description": "Sales the last 14 days.", "type": "number", "required": false }, "reserved_stock": { "description": "Stock set as 'reserved_stock' within Inventory Logs.", "type": "number", "required": false }, "customer_returns": { "description": "Stock set as 'customer returns' within Inventory Logs.", "type": "number", "required": false }, "warehouse_damage": { "description": "Stock set as 'warehouse damage' within Inventory Logs.", "type": "number", "required": false }, "lost_in_post": { "description": "Stock set as 'lost in post' within Inventory Logs.", "type": "number", "required": false }, "other_logs": { "description": "Stock set as 'other' within Inventory Logs.", "type": "number", "required": false }, "out_stock_days": { "description": "The number of days that the product is Out of stock.", "type": "integer", "required": false }, "lost_sales": { "description": "Product lost sales.", "type": "number", "required": false }, "has_location": { "description": "Whether the product has any ATUM location set.", "type": "boolean", "required": false }, "update_date": { "description": "Last date when the ATUM product data was calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "atum_locations": { "description": "List of ATUM locations linked to the product.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Location ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Location name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Location slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "atum_stock_status": { "description": "Used to store the stock status (same as WC) but both values may differ for MI enable products.", "type": "string", "required": false }, "restock_status": { "description": "Indicates whether the stock will last soon and should be reordered.", "type": "boolean", "required": false }, "sales_update_date": { "description": "Last date when the sales fields on ATUM product data were calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "calc_backorders": { "description": "Backordered items (if backorders is enabled and it has a negative stock value).", "type": "number", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "description": "Kas j\u00e4tta pr\u00fcgikast m\u00f6\u00f6da ja sundida kustutamist.", "type": "boolean", "required": false } } } ] }, "\/wc-analytics\/products\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Toote nimi.", "type": "string", "required": false }, "slug": { "description": "Toode n\u00e4lkjas.", "type": "string", "required": false }, "date_created": { "description": "Toote loomise kuup\u00e4ev, veebilehe ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Toote loomise kuup\u00e4ev, GMT v\u00e4\u00e4rtusena.", "type": [ "null", "string" ], "required": false }, "type": { "description": "Toote t\u00fc\u00fcp.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "description": "Toote staatus (postituse staatus).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "description": "Esilet\u00f5stetud toode.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "N\u00e4htavus kataloogis.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Toote kirjeldus.", "type": "string", "required": false }, "short_description": { "description": "Toote l\u00fchikirjeldus.", "type": "string", "required": false }, "sku": { "description": "Varude hoidmise \u00fcksus.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN v\u00f5i ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Toote tavahind.", "type": "string", "required": false }, "sale_price": { "description": "Toote soodushind.", "type": "string", "required": false }, "date_on_sale_from": { "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev, GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "M\u00fc\u00fcgihinna l\u00f5ppkuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "M\u00fc\u00fcgihinna l\u00f5ppkuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "Kas toode on virtuaalne.", "type": "boolean", "required": false }, "downloadable": { "description": "Kas toode on alla laaditav.", "type": "boolean", "required": false }, "downloads": { "description": "Allalaaditavate failide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faili ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faili nimi.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faili URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Allalaaditavate failide allalaadimiste arv p\u00e4rast ostmist.", "type": "integer", "required": false }, "download_expiry": { "description": "P\u00e4evade arv, kuni juurdep\u00e4\u00e4s allalaaditavatele failidele aegub.", "type": "integer", "required": false }, "external_url": { "description": "Toote v\u00e4line URL. Ainult v\u00e4listele toodetele.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Toote v\u00e4lise nupu tekst. Ainult v\u00e4listele toodetele.", "type": "string", "required": false }, "tax_status": { "description": "Maksustaatus.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Maksuklass.", "type": "string", "required": false }, "manage_stock": { "description": "Laohaldus toote tasemel.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Lao kogus.", "type": "integer", "required": false }, "stock_status": { "description": "Kontrollib toote laoseisu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Laoseisu haldamisel kontrollib see, kas j\u00e4reltellimused on lubatud.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Toote v\u00e4ike laokogus.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "description": "Luba \u00fches tellimuses osta vaid \u00fcks eksemplar.", "type": "boolean", "required": false }, "weight": { "description": "Toote kaal (kg).", "type": "string", "required": false }, "dimensions": { "description": "Toote m\u00f5\u00f5tmed.", "type": "object", "properties": { "length": { "description": "Toote pikkus (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Toote laius (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Toote k\u00f5rgus (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Saatmisklassi n\u00e4lkjas.", "type": "string", "required": false }, "reviews_allowed": { "description": "Luba arvustused.", "type": "boolean", "required": false }, "post_password": { "description": "Postitage parool.", "type": "string", "required": false }, "upsell_ids": { "description": "\u00dclesm\u00fc\u00fcgi toodete ID-de nimekiri.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Ristm\u00fc\u00fcgi toodete ID-de nimekiri.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "\u00dclemtoote ID.", "type": "integer", "required": false }, "purchase_note": { "description": "Soovi korral kliendile peale ostu saadetav teade.", "type": "string", "required": false }, "categories": { "description": "Kategooriate nimekiri.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kategooria ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Kategooria nimi.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Kategooria p\u00fcsiviide.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "brands": { "description": "List of brands.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Brand ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Brand name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Brand slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Siltide nimekiri.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Sildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Sildi nimi.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Sildi p\u00fcsiviide.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Piltide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Kujutise loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Kujutise viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Atribuutide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atribuudi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atribuudi nimi.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Omaduse positsioon.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "M\u00e4\u00e4rab omaduse n\u00e4htavuse tootelehel olevas \"Lisainfo\" sakis.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "M\u00e4\u00e4ra, kas omadust v\u00f5ib kasutada variatsioonideks.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Omaduse olemasolevate terminite nimetuste loend.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Vaikimisi aktiivse variatsiooni omadused.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atribuudi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atribuudi nimi.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Valitud atribuudi termini nimi.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse toodete kohandatud sorteerimiseks.", "type": "integer", "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "supplier_id": { "description": "The ID of the ATUM Supplier that is linked to the product.", "type": "integer", "required": false }, "supplier_sku": { "description": "The Supplier's SKU for the product.", "type": "string", "required": false }, "barcode": { "description": "The product's barcode.", "type": "string", "required": false }, "atum_controlled": { "description": "Whether the product is being controlled by ATUM.", "type": "boolean", "required": false }, "out_stock_date": { "description": "The date when the product run out of stock.", "type": [ "null", "string" ], "required": false }, "out_stock_threshold": { "description": "Out of stock threshold at product level.", "type": "number", "required": false }, "inheritable": { "description": "Whether this product may have children.", "type": "boolean", "required": false }, "inbound_stock": { "description": "Product's inbound stock.", "type": "number", "required": false }, "stock_on_hold": { "description": "Product's stock on hold.", "type": "number", "required": false }, "sold_today": { "description": "Units sold today.", "type": "number", "required": false }, "sales_last_days": { "description": "Sales the last 14 days.", "type": "number", "required": false }, "reserved_stock": { "description": "Stock set as 'reserved_stock' within Inventory Logs.", "type": "number", "required": false }, "customer_returns": { "description": "Stock set as 'customer returns' within Inventory Logs.", "type": "number", "required": false }, "warehouse_damage": { "description": "Stock set as 'warehouse damage' within Inventory Logs.", "type": "number", "required": false }, "lost_in_post": { "description": "Stock set as 'lost in post' within Inventory Logs.", "type": "number", "required": false }, "other_logs": { "description": "Stock set as 'other' within Inventory Logs.", "type": "number", "required": false }, "out_stock_days": { "description": "The number of days that the product is Out of stock.", "type": "integer", "required": false }, "lost_sales": { "description": "Product lost sales.", "type": "number", "required": false }, "has_location": { "description": "Whether the product has any ATUM location set.", "type": "boolean", "required": false }, "update_date": { "description": "Last date when the ATUM product data was calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "atum_locations": { "description": "List of ATUM locations linked to the product.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Location ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Location name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Location slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "atum_stock_status": { "description": "Used to store the stock status (same as WC) but both values may differ for MI enable products.", "type": "string", "required": false }, "restock_status": { "description": "Indicates whether the stock will last soon and should be reordered.", "type": "boolean", "required": false }, "sales_update_date": { "description": "Last date when the sales fields on ATUM product data were calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "calc_backorders": { "description": "Backordered items (if backorders is enabled and it has a negative stock value).", "type": "number", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/products\/batch" } ] } }, "\/wc-analytics\/products\/(?P[\\d]+)\/related": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false } } } ] }, "\/wc-analytics\/products\/suggested-products": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piirake tulemusi nendega, mis vastavad stringile.", "type": "string", "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to products modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to products modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "popularity", "rating", "post__in", "price", "sales", "menu_order", "random", "popularity", "rating", "menu_order" ], "required": false }, "parent": { "description": "Piirake tulemuste komplekt konkreetsete vanemate ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Piirake tulemuste komplekti k\u00f5igi \u00fcksustega, v\u00e4lja arvatud konkreetse \u00fclem-ID \u00fcksustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "atum_post_status": { "description": "Limit response to products to the specified statuses. This param supports multiple statuses separated by commas.", "type": "string", "required": false }, "brand": { "description": "Piira tulemuste komplekti toodetega, millele on m\u00e4\u00e4ratud kindel br\u00e4ndi ID.", "type": "string", "required": false }, "slug": { "description": "Piirake tulemuste komplekt konkreetse n\u00e4lkjaga toodetega.", "type": "string", "required": false }, "status": { "default": "any", "description": "Piirake tulemuste komplekt toodetele, millele on m\u00e4\u00e4ratud konkreetne olek.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "Piirake tulemuste komplekt toodetele, millele on m\u00e4\u00e4ratud kindel t\u00fc\u00fcp.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "sku": { "description": "Piirake tulemuste komplekt konkreetsete SKU-dega toodetega. Kasutage eraldamiseks komasid.", "type": "string", "required": false }, "featured": { "description": "Piirake tulemuste komplekt esiletoodud toodetega.", "type": "boolean", "required": false }, "category": { "description": "Piirake tulemuste komplekt toodetega, millele on m\u00e4\u00e4ratud konkreetne kategooria ID.", "type": "string", "required": false }, "tag": { "description": "Piirake tulemuste komplekt toodetega, millele on m\u00e4\u00e4ratud konkreetne sildi ID.", "type": "string", "required": false }, "shipping_class": { "description": "Piirake tulemuse komplekt toodetele, millele on m\u00e4\u00e4ratud konkreetne tarneklassi ID.", "type": "string", "required": false }, "attribute": { "description": "Piirake tulemuste komplekt konkreetse atribuudiga toodetega. Kasutage taksonoomia nime\/atribuuti slug.", "type": "string", "required": false }, "attribute_term": { "description": "Piirake tulemuste komplekt toodetega, millel on spetsiifiline atribuuditermin ID (vajalik on m\u00e4\u00e4ratud atribuut).", "type": "string", "required": false }, "in_stock": { "description": "Piirake tulemusi laos olevatele v\u00f5i laost otsas olevatele toodetele.", "type": "boolean", "required": false }, "on_sale": { "description": "Piirake tulemuste komplekt m\u00fc\u00fcgil olevatele toodetele.", "type": "boolean", "required": false }, "min_price": { "description": "Piirake tulemuse komplekt toodetega miinimumhinna alusel.", "type": "string", "required": false }, "max_price": { "description": "Piirake tulemuse seatud toodetele maksimaalse hinna alusel.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Piirake meta_andmed konkreetsete v\u00f5tmetega.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Veenduge, et meta_andmed v\u00e4listaks teatud v\u00f5tmed.", "type": "array", "items": { "type": "string" }, "required": false }, "categories": { "description": "Piirake tulemuste komplekt konkreetse tootekategooria ID-ga.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "tags": { "description": "Piirake tulemuste komplekt konkreetsete tootem\u00e4rgendi ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "limit": { "description": "Piirake tulemuse komplekt konkreetse soovitatud toodete kogusega.", "type": "integer", "default": 5, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/products\/suggested-products" } ] } }, "\/wc-analytics\/products\/(?P[\\d]+)\/duplicate": { "namespace": "wc-analytics", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "name": { "description": "Toote nimi.", "type": "string", "required": false }, "slug": { "description": "Toode n\u00e4lkjas.", "type": "string", "required": false }, "date_created": { "description": "Toote loomise kuup\u00e4ev, veebilehe ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Toote loomise kuup\u00e4ev, GMT v\u00e4\u00e4rtusena.", "type": [ "null", "string" ], "required": false }, "type": { "description": "Toote t\u00fc\u00fcp.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "description": "Toote staatus (postituse staatus).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "description": "Esilet\u00f5stetud toode.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "N\u00e4htavus kataloogis.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Toote kirjeldus.", "type": "string", "required": false }, "short_description": { "description": "Toote l\u00fchikirjeldus.", "type": "string", "required": false }, "sku": { "description": "Varude hoidmise \u00fcksus.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN v\u00f5i ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Toote tavahind.", "type": "string", "required": false }, "sale_price": { "description": "Toote soodushind.", "type": "string", "required": false }, "date_on_sale_from": { "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev, GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "M\u00fc\u00fcgihinna l\u00f5ppkuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "M\u00fc\u00fcgihinna l\u00f5ppkuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "Kas toode on virtuaalne.", "type": "boolean", "required": false }, "downloadable": { "description": "Kas toode on alla laaditav.", "type": "boolean", "required": false }, "downloads": { "description": "Allalaaditavate failide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faili ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faili nimi.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faili URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Allalaaditavate failide allalaadimiste arv p\u00e4rast ostmist.", "type": "integer", "required": false }, "download_expiry": { "description": "P\u00e4evade arv, kuni juurdep\u00e4\u00e4s allalaaditavatele failidele aegub.", "type": "integer", "required": false }, "external_url": { "description": "Toote v\u00e4line URL. Ainult v\u00e4listele toodetele.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Toote v\u00e4lise nupu tekst. Ainult v\u00e4listele toodetele.", "type": "string", "required": false }, "tax_status": { "description": "Maksustaatus.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Maksuklass.", "type": "string", "required": false }, "manage_stock": { "description": "Laohaldus toote tasemel.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Lao kogus.", "type": "integer", "required": false }, "stock_status": { "description": "Kontrollib toote laoseisu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Laoseisu haldamisel kontrollib see, kas j\u00e4reltellimused on lubatud.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Toote v\u00e4ike laokogus.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "description": "Luba \u00fches tellimuses osta vaid \u00fcks eksemplar.", "type": "boolean", "required": false }, "weight": { "description": "Toote kaal (kg).", "type": "string", "required": false }, "dimensions": { "description": "Toote m\u00f5\u00f5tmed.", "type": "object", "properties": { "length": { "description": "Toote pikkus (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Toote laius (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Toote k\u00f5rgus (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Saatmisklassi n\u00e4lkjas.", "type": "string", "required": false }, "reviews_allowed": { "description": "Luba arvustused.", "type": "boolean", "required": false }, "post_password": { "description": "Postitage parool.", "type": "string", "required": false }, "upsell_ids": { "description": "\u00dclesm\u00fc\u00fcgi toodete ID-de nimekiri.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Ristm\u00fc\u00fcgi toodete ID-de nimekiri.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "\u00dclemtoote ID.", "type": "integer", "required": false }, "purchase_note": { "description": "Soovi korral kliendile peale ostu saadetav teade.", "type": "string", "required": false }, "categories": { "description": "Kategooriate nimekiri.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kategooria ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Kategooria nimi.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Kategooria p\u00fcsiviide.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "brands": { "description": "List of brands.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Brand ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Brand name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Brand slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Siltide nimekiri.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Sildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Sildi nimi.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Sildi p\u00fcsiviide.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Piltide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Kujutise loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Kujutise viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Atribuutide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atribuudi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atribuudi nimi.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Omaduse positsioon.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "M\u00e4\u00e4rab omaduse n\u00e4htavuse tootelehel olevas \"Lisainfo\" sakis.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "M\u00e4\u00e4ra, kas omadust v\u00f5ib kasutada variatsioonideks.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Omaduse olemasolevate terminite nimetuste loend.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Vaikimisi aktiivse variatsiooni omadused.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atribuudi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atribuudi nimi.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Valitud atribuudi termini nimi.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse toodete kohandatud sorteerimiseks.", "type": "integer", "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "supplier_id": { "description": "The ID of the ATUM Supplier that is linked to the product.", "type": "integer", "required": false }, "supplier_sku": { "description": "The Supplier's SKU for the product.", "type": "string", "required": false }, "barcode": { "description": "The product's barcode.", "type": "string", "required": false }, "atum_controlled": { "description": "Whether the product is being controlled by ATUM.", "type": "boolean", "required": false }, "out_stock_date": { "description": "The date when the product run out of stock.", "type": [ "null", "string" ], "required": false }, "out_stock_threshold": { "description": "Out of stock threshold at product level.", "type": "number", "required": false }, "inheritable": { "description": "Whether this product may have children.", "type": "boolean", "required": false }, "inbound_stock": { "description": "Product's inbound stock.", "type": "number", "required": false }, "stock_on_hold": { "description": "Product's stock on hold.", "type": "number", "required": false }, "sold_today": { "description": "Units sold today.", "type": "number", "required": false }, "sales_last_days": { "description": "Sales the last 14 days.", "type": "number", "required": false }, "reserved_stock": { "description": "Stock set as 'reserved_stock' within Inventory Logs.", "type": "number", "required": false }, "customer_returns": { "description": "Stock set as 'customer returns' within Inventory Logs.", "type": "number", "required": false }, "warehouse_damage": { "description": "Stock set as 'warehouse damage' within Inventory Logs.", "type": "number", "required": false }, "lost_in_post": { "description": "Stock set as 'lost in post' within Inventory Logs.", "type": "number", "required": false }, "other_logs": { "description": "Stock set as 'other' within Inventory Logs.", "type": "number", "required": false }, "out_stock_days": { "description": "The number of days that the product is Out of stock.", "type": "integer", "required": false }, "lost_sales": { "description": "Product lost sales.", "type": "number", "required": false }, "has_location": { "description": "Whether the product has any ATUM location set.", "type": "boolean", "required": false }, "update_date": { "description": "Last date when the ATUM product data was calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "atum_locations": { "description": "List of ATUM locations linked to the product.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Location ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Location name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Location slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "atum_stock_status": { "description": "Used to store the stock status (same as WC) but both values may differ for MI enable products.", "type": "string", "required": false }, "restock_status": { "description": "Indicates whether the stock will last soon and should be reordered.", "type": "boolean", "required": false }, "sales_update_date": { "description": "Last date when the sales fields on ATUM product data were calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "calc_backorders": { "description": "Backordered items (if backorders is enabled and it has a negative stock value).", "type": "number", "required": false } } } ] }, "\/wc-analytics\/products\/attributes": { "namespace": "wc-analytics", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "search": { "description": "Otsige sarnase atribuudi nime j\u00e4rgi.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Ressursi nimi.", "type": "string", "required": true }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "type": { "default": "select", "description": "Omaduse t\u00fc\u00fcp.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "default": "menu_order", "description": "Vaikimisi sorteerimise j\u00e4rjekord.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "default": false, "description": "Luba\/keela omaduste arhiivid.", "type": "boolean", "required": false }, "terms": { "description": "List of terms linked to the attribute.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Term ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Term name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Term slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/products\/attributes" } ] } }, "\/wc-analytics\/products\/attributes\/(?P[\\d]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "name": { "description": "Atribuudi nimi.", "type": "string", "required": false }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "type": { "description": "Omaduse t\u00fc\u00fcp.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Vaikimisi sorteerimise j\u00e4rjekord.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "Luba\/keela omaduste arhiivid.", "type": "boolean", "required": false }, "terms": { "description": "List of terms linked to the attribute.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Term ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Term name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Term slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "N\u00f5utav, et see oleks t\u00f5ene, kuna ressurss ei toeta pr\u00fcgikasti viimist.", "required": false } } } ] }, "\/wc-analytics\/products\/attributes\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Atribuudi nimi.", "type": "string", "required": false }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "type": { "description": "Omaduse t\u00fc\u00fcp.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Vaikimisi sorteerimise j\u00e4rjekord.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "Luba\/keela omaduste arhiivid.", "type": "boolean", "required": false }, "terms": { "description": "List of terms linked to the attribute.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Term ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Term name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Term slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/products\/attributes\/batch" } ] } }, "\/wc-analytics\/products\/attributes\/(?P[a-z0-9_\\-]+)": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "description": "Ressursi n\u00e4lkjas identifikaator.", "type": "string", "required": false } } } ] }, "\/wc-analytics\/products\/attributes\/(?P[\\d]+)\/terms": { "namespace": "wc-analytics", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "attribute_id": { "description": "Terminite atribuudi unikaalne identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra. Kehtib ainult hierarhiliste taksonoomiate puhul.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu ressursiatribuudi j\u00e4rgi.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Kas peita ressursid, mis pole \u00fchelegi tootele m\u00e4\u00e4ratud.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Piirake tulemuste komplekt konkreetsele vanemale m\u00e4\u00e4ratud ressurssidega. Kehtib ainult hierarhiliste taksonoomiate puhul.", "type": "integer", "required": false }, "product": { "description": "Piirake tulemuste komplekt konkreetsele tootele m\u00e4\u00e4ratud ressurssidega.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Piirake tulemuse komplekt konkreetse n\u00e4lkjaga ressurssidega.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "attribute_id": { "description": "Terminite atribuudi unikaalne identifikaator.", "type": "integer", "required": false }, "name": { "type": "string", "description": "Ressursi nimi.", "required": true }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse ressursi kohandatud sortimiseks.", "type": "integer", "required": false } } } ] }, "\/wc-analytics\/products\/attributes\/(?P[\\d]+)\/terms\/(?P[\\d]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "attribute_id": { "description": "Terminite atribuudi unikaalne identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "attribute_id": { "description": "Terminite atribuudi unikaalne identifikaator.", "type": "integer", "required": false }, "name": { "description": "Termini nimi.", "type": "string", "required": false }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse ressursi kohandatud sortimiseks.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "attribute_id": { "description": "Terminite atribuudi unikaalne identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "N\u00f5utav, et see oleks t\u00f5ene, kuna ressurss ei toeta pr\u00fcgikasti viimist.", "required": false } } } ] }, "\/wc-analytics\/products\/attributes\/(?P[\\d]+)\/terms\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "attribute_id": { "description": "Terminite atribuudi unikaalne identifikaator.", "type": "integer", "required": false }, "name": { "description": "Termini nimi.", "type": "string", "required": false }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse ressursi kohandatud sortimiseks.", "type": "integer", "required": false } } } ] }, "\/wc-analytics\/products\/attributes\/(?P[a-z0-9_\\-]+)\/terms": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "description": "Piirake tulemuse komplekt konkreetse n\u00e4lkjaga ressurssidega.", "type": "string", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra. Kehtib ainult hierarhiliste taksonoomiate puhul.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu ressursiatribuudi j\u00e4rgi.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Kas peita ressursid, mis pole \u00fchelegi tootele m\u00e4\u00e4ratud.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Piirake tulemuste komplekt konkreetsele vanemale m\u00e4\u00e4ratud ressurssidega. Kehtib ainult hierarhiliste taksonoomiate puhul.", "type": "integer", "required": false }, "product": { "description": "Piirake tulemuste komplekt konkreetsele tootele m\u00e4\u00e4ratud ressurssidega.", "type": "integer", "default": null, "required": false } } } ] }, "\/wc-analytics\/products\/categories": { "namespace": "wc-analytics", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra. Kehtib ainult hierarhiliste taksonoomiate puhul.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu ressursiatribuudi j\u00e4rgi.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Kas peita ressursid, mis pole \u00fchelegi tootele m\u00e4\u00e4ratud.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Piirake tulemuste komplekt konkreetsele vanemale m\u00e4\u00e4ratud ressurssidega. Kehtib ainult hierarhiliste taksonoomiate puhul.", "type": "integer", "required": false }, "product": { "description": "Piirake tulemuste komplekt konkreetsele tootele m\u00e4\u00e4ratud ressurssidega.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Piirake tulemuse komplekt konkreetse n\u00e4lkjaga ressurssidega.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Ressursi nimi.", "required": true }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "parent": { "description": "Ressursi vanema ID.", "type": "integer", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false }, "display": { "default": "default", "description": "Kategooria arhiivi kuvamise t\u00fc\u00fcp.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Pildi andmed.", "type": "object", "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Kujutise loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Kujutise viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse ressursi kohandatud sortimiseks.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/products\/categories" } ] } }, "\/wc-analytics\/products\/categories\/(?P[\\d]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "name": { "description": "Kategooria nimi.", "type": "string", "required": false }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "parent": { "description": "Ressursi vanema ID.", "type": "integer", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false }, "display": { "description": "Kategooria arhiivi kuvamise t\u00fc\u00fcp.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Pildi andmed.", "type": "object", "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Kujutise loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Kujutise viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse ressursi kohandatud sortimiseks.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "N\u00f5utav, et see oleks t\u00f5ene, kuna ressurss ei toeta pr\u00fcgikasti viimist.", "required": false } } } ] }, "\/wc-analytics\/products\/categories\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Kategooria nimi.", "type": "string", "required": false }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "parent": { "description": "Ressursi vanema ID.", "type": "integer", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false }, "display": { "description": "Kategooria arhiivi kuvamise t\u00fc\u00fcp.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Pildi andmed.", "type": "object", "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Kujutise loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Kujutise viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse ressursi kohandatud sortimiseks.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/products\/categories\/batch" } ] } }, "\/wc-analytics\/products\/(?P[\\d]+)\/variations": { "namespace": "wc-analytics", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "description": "Varieeruva toote unikaalne identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Otsige sarnase toote nime, SKU v\u00f5i atribuudi v\u00e4\u00e4rtuse j\u00e4rgi.", "type": "string", "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to products modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to products modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "menu_order" ], "required": false }, "parent": { "description": "Piirake tulemuste komplekt konkreetsete vanemate ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Piirake tulemuste komplekti k\u00f5igi \u00fcksustega, v\u00e4lja arvatud konkreetse \u00fclem-ID \u00fcksustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "atum_post_status": { "description": "Limit response to products to the specified statuses. This param supports multiple statuses separated by commas.", "type": "string", "required": false }, "slug": { "description": "Piirake tulemuste komplekt konkreetse n\u00e4lkjaga toodetega.", "type": "string", "required": false }, "status": { "default": "any", "description": "Piirake tulemuste komplekt toodetele, millele on m\u00e4\u00e4ratud konkreetne olek.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "sku": { "description": "Piirake tulemuste komplekt konkreetsete SKU-dega toodetega. Kasutage eraldamiseks komasid.", "type": "string", "required": false }, "on_sale": { "description": "Piirake tulemuste komplekt m\u00fc\u00fcgil olevatele toodetele.", "type": "boolean", "required": false }, "min_price": { "description": "Piirake tulemuse komplekt toodetega miinimumhinna alusel.", "type": "string", "required": false }, "max_price": { "description": "Piirake tulemuse seatud toodetele maksimaalse hinna alusel.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Piirake meta_andmed konkreetsete v\u00f5tmetega.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Veenduge, et meta_andmed v\u00e4listaks teatud v\u00f5tmed.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Piirake tulemus m\u00e4\u00e4ratud toodetele, mille laos on m\u00e4\u00e4ratud.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "has_price": { "description": "Piirake tulemust toodetega, millel on hind v\u00f5i ilma.", "type": "boolean", "required": false }, "attributes": { "description": "Piirake tulemuste komplekt m\u00e4\u00e4ratud atribuutidega toodetega.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "type": "string", "description": "Omaduse p\u00fcsiviide." }, "term": { "type": "string", "description": "Atribuudi termin." }, "terms": { "type": "array", "description": "Atribuutide tingimused." } } }, "required": false }, "virtual": { "description": "Piira tulemuste komplekti virtuaalsete tootevariatsioonidega.", "type": "boolean", "required": false }, "downloadable": { "description": "Piira tulemuste komplekti allalaaditavate tootevariatsioonidega.", "type": "boolean", "required": false }, "include_status": { "description": "Piira tulemuste komplekti mis tahes olekuga tootevariatsioonidele.", "type": "array", "items": { "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "exclude_status": { "description": "J\u00e4ta tulemuste hulgast v\u00e4lja mis tahes olekuga tootevariatsioonid.", "type": "array", "items": { "type": "string", "enum": [ "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "pos_products_only": { "description": "Limit result set to variations visible in Point of Sale.", "type": "boolean", "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Varieeruva toote unikaalne identifikaator.", "type": "integer", "required": false }, "type": { "default": "variation", "description": "Toote t\u00fc\u00fcp.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Variatsiooni kirjeldus.", "type": "string", "required": false }, "sku": { "description": "Varude hoidmise \u00fcksus.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN v\u00f5i ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Muutuv tavahind.", "type": "string", "required": false }, "sale_price": { "description": "Erinev m\u00fc\u00fcgihind.", "type": "string", "required": false }, "date_on_sale_from": { "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev, GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "M\u00fc\u00fcgihinna l\u00f5ppkuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "M\u00fc\u00fcgihinna l\u00f5ppkuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "status": { "default": "publish", "description": "Variatsiooni olek.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "default": false, "description": "Kui variatsioon on virtuaalne.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Kui variatsioon on allalaaditav.", "type": "boolean", "required": false }, "downloads": { "description": "Allalaaditavate failide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faili ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faili nimi.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faili URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Allalaaditavate failide allalaadimiste arv p\u00e4rast ostmist.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "P\u00e4evade arv, kuni juurdep\u00e4\u00e4s allalaaditavatele failidele aegub.", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "Maksustaatus.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Maksuklass.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Varude haldamine variatsiooni tasemel.", "type": [ "boolean", "string" ], "required": false }, "stock_quantity": { "description": "Lao kogus.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Kontrollib toote laoseisu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "Laoseisu haldamisel kontrollib see, kas j\u00e4reltellimused on lubatud.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Variatsiooni jaoks v\u00e4ike laokogus.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Variatsiooni kaal (kg).", "type": "string", "required": false }, "dimensions": { "description": "Variatsiooni m\u00f5\u00f5tmed.", "type": "object", "properties": { "length": { "description": "Variatsiooni pikkus (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Variatsioonilaius (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Variatsioonik\u00f5rgus (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Saatmisklassi n\u00e4lkjas.", "type": "string", "required": false }, "image": { "description": "Variatsioonipildi andmed.", "type": "object", "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Kujutise loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Kujutise viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Atribuutide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atribuudi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atribuudi nimi.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Valitud atribuudi termini nimi.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse toodete kohandatud sorteerimiseks.", "type": "integer", "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "parent_id": { "description": "\u00dclemtoote ID.", "type": "integer", "required": false }, "supplier_id": { "description": "The ID of the ATUM Supplier that is linked to the product.", "type": "integer", "required": false }, "supplier_sku": { "description": "The Supplier's SKU for the product.", "type": "string", "required": false }, "barcode": { "description": "The product's barcode.", "type": "string", "required": false }, "atum_controlled": { "default": false, "description": "Whether the product is being controlled by ATUM.", "type": "boolean", "required": false }, "out_stock_date": { "description": "The date when the product run out of stock.", "type": [ "null", "string" ], "required": false }, "out_stock_threshold": { "description": "Out of stock threshold at product level.", "type": "number", "required": false }, "inbound_stock": { "description": "Product's inbound stock.", "type": "number", "required": false }, "stock_on_hold": { "description": "Product's stock on hold.", "type": "number", "required": false }, "sold_today": { "description": "Units sold today.", "type": "number", "required": false }, "sales_last_days": { "description": "Sales the last 14 days.", "type": "number", "required": false }, "reserved_stock": { "description": "Stock set as 'reserved_stock' within Inventory Logs.", "type": "number", "required": false }, "customer_returns": { "description": "Stock set as 'customer returns' within Inventory Logs.", "type": "number", "required": false }, "warehouse_damage": { "description": "Stock set as 'warehouse damage' within Inventory Logs.", "type": "number", "required": false }, "lost_in_post": { "description": "Stock set as 'lost in post' within Inventory Logs.", "type": "number", "required": false }, "other_logs": { "description": "Stock set as 'other' within Inventory Logs.", "type": "number", "required": false }, "out_stock_days": { "description": "The number of days that the product is Out of stock.", "type": "integer", "required": false }, "lost_sales": { "description": "Product lost sales.", "type": "number", "required": false }, "update_date": { "description": "Last date when the ATUM product data was calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "atum_stock_status": { "description": "Used to store the stock status (same as WC) but both values may differ for MI enable products.", "type": "string", "required": false }, "restock_status": { "description": "Indicates whether the stock will last soon and should be reordered.", "type": "boolean", "required": false }, "sales_update_date": { "description": "Last date when the sales fields on ATUM product data were calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "calc_backorders": { "description": "Backordered items (if backorders is enabled and it has a negative stock value).", "type": "number", "required": false }, "name": { "description": "Toote emanimi.", "type": "string", "required": false } } } ] }, "\/wc-analytics\/products\/(?P[\\d]+)\/variations\/(?P[\\d]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "description": "Varieeruva toote unikaalne identifikaator.", "type": "integer", "required": false }, "id": { "description": "Variatsiooni unikaalne identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Varieeruva toote unikaalne identifikaator.", "type": "integer", "required": false }, "id": { "description": "Variatsiooni unikaalne identifikaator.", "type": "integer", "required": false }, "type": { "description": "Toote t\u00fc\u00fcp.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Variatsiooni kirjeldus.", "type": "string", "required": false }, "sku": { "description": "Varude hoidmise \u00fcksus.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN v\u00f5i ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Muutuv tavahind.", "type": "string", "required": false }, "sale_price": { "description": "Erinev m\u00fc\u00fcgihind.", "type": "string", "required": false }, "date_on_sale_from": { "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev, GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "M\u00fc\u00fcgihinna l\u00f5ppkuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "M\u00fc\u00fcgihinna l\u00f5ppkuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "status": { "description": "Variatsiooni olek.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "description": "Kui variatsioon on virtuaalne.", "type": "boolean", "required": false }, "downloadable": { "description": "Kui variatsioon on allalaaditav.", "type": "boolean", "required": false }, "downloads": { "description": "Allalaaditavate failide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faili ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faili nimi.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faili URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Allalaaditavate failide allalaadimiste arv p\u00e4rast ostmist.", "type": "integer", "required": false }, "download_expiry": { "description": "P\u00e4evade arv, kuni juurdep\u00e4\u00e4s allalaaditavatele failidele aegub.", "type": "integer", "required": false }, "tax_status": { "description": "Maksustaatus.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Maksuklass.", "type": "string", "required": false }, "manage_stock": { "description": "Varude haldamine variatsiooni tasemel.", "type": [ "boolean", "string" ], "required": false }, "stock_quantity": { "description": "Lao kogus.", "type": "integer", "required": false }, "stock_status": { "description": "Kontrollib toote laoseisu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Laoseisu haldamisel kontrollib see, kas j\u00e4reltellimused on lubatud.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Variatsiooni jaoks v\u00e4ike laokogus.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Variatsiooni kaal (kg).", "type": "string", "required": false }, "dimensions": { "description": "Variatsiooni m\u00f5\u00f5tmed.", "type": "object", "properties": { "length": { "description": "Variatsiooni pikkus (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Variatsioonilaius (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Variatsioonik\u00f5rgus (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Saatmisklassi n\u00e4lkjas.", "type": "string", "required": false }, "image": { "description": "Variatsioonipildi andmed.", "type": "object", "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Kujutise loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Kujutise viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Atribuutide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atribuudi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atribuudi nimi.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Valitud atribuudi termini nimi.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse toodete kohandatud sorteerimiseks.", "type": "integer", "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "parent_id": { "description": "\u00dclemtoote ID.", "type": "integer", "required": false }, "supplier_id": { "description": "The ID of the ATUM Supplier that is linked to the product.", "type": "integer", "required": false }, "supplier_sku": { "description": "The Supplier's SKU for the product.", "type": "string", "required": false }, "barcode": { "description": "The product's barcode.", "type": "string", "required": false }, "atum_controlled": { "description": "Whether the product is being controlled by ATUM.", "type": "boolean", "required": false }, "out_stock_date": { "description": "The date when the product run out of stock.", "type": [ "null", "string" ], "required": false }, "out_stock_threshold": { "description": "Out of stock threshold at product level.", "type": "number", "required": false }, "inbound_stock": { "description": "Product's inbound stock.", "type": "number", "required": false }, "stock_on_hold": { "description": "Product's stock on hold.", "type": "number", "required": false }, "sold_today": { "description": "Units sold today.", "type": "number", "required": false }, "sales_last_days": { "description": "Sales the last 14 days.", "type": "number", "required": false }, "reserved_stock": { "description": "Stock set as 'reserved_stock' within Inventory Logs.", "type": "number", "required": false }, "customer_returns": { "description": "Stock set as 'customer returns' within Inventory Logs.", "type": "number", "required": false }, "warehouse_damage": { "description": "Stock set as 'warehouse damage' within Inventory Logs.", "type": "number", "required": false }, "lost_in_post": { "description": "Stock set as 'lost in post' within Inventory Logs.", "type": "number", "required": false }, "other_logs": { "description": "Stock set as 'other' within Inventory Logs.", "type": "number", "required": false }, "out_stock_days": { "description": "The number of days that the product is Out of stock.", "type": "integer", "required": false }, "lost_sales": { "description": "Product lost sales.", "type": "number", "required": false }, "update_date": { "description": "Last date when the ATUM product data was calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "atum_stock_status": { "description": "Used to store the stock status (same as WC) but both values may differ for MI enable products.", "type": "string", "required": false }, "restock_status": { "description": "Indicates whether the stock will last soon and should be reordered.", "type": "boolean", "required": false }, "sales_update_date": { "description": "Last date when the sales fields on ATUM product data were calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "calc_backorders": { "description": "Backordered items (if backorders is enabled and it has a negative stock value).", "type": "number", "required": false }, "name": { "description": "Toote emanimi.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "description": "Varieeruva toote unikaalne identifikaator.", "type": "integer", "required": false }, "id": { "description": "Variatsiooni unikaalne identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Kas j\u00e4tta pr\u00fcgikast m\u00f6\u00f6da ja sundida kustutamist.", "required": false } } } ] }, "\/wc-analytics\/products\/(?P[\\d]+)\/variations\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Varieeruva toote unikaalne identifikaator.", "type": "integer", "required": false }, "type": { "description": "Toote t\u00fc\u00fcp.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Variatsiooni kirjeldus.", "type": "string", "required": false }, "sku": { "description": "Varude hoidmise \u00fcksus.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN v\u00f5i ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Muutuv tavahind.", "type": "string", "required": false }, "sale_price": { "description": "Erinev m\u00fc\u00fcgihind.", "type": "string", "required": false }, "date_on_sale_from": { "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev, GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "M\u00fc\u00fcgihinna l\u00f5ppkuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "M\u00fc\u00fcgihinna l\u00f5ppkuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "status": { "description": "Variatsiooni olek.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "description": "Kui variatsioon on virtuaalne.", "type": "boolean", "required": false }, "downloadable": { "description": "Kui variatsioon on allalaaditav.", "type": "boolean", "required": false }, "downloads": { "description": "Allalaaditavate failide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faili ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faili nimi.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faili URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Allalaaditavate failide allalaadimiste arv p\u00e4rast ostmist.", "type": "integer", "required": false }, "download_expiry": { "description": "P\u00e4evade arv, kuni juurdep\u00e4\u00e4s allalaaditavatele failidele aegub.", "type": "integer", "required": false }, "tax_status": { "description": "Maksustaatus.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Maksuklass.", "type": "string", "required": false }, "manage_stock": { "description": "Varude haldamine variatsiooni tasemel.", "type": [ "boolean", "string" ], "required": false }, "stock_quantity": { "description": "Lao kogus.", "type": "integer", "required": false }, "stock_status": { "description": "Kontrollib toote laoseisu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Laoseisu haldamisel kontrollib see, kas j\u00e4reltellimused on lubatud.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Variatsiooni jaoks v\u00e4ike laokogus.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Variatsiooni kaal (kg).", "type": "string", "required": false }, "dimensions": { "description": "Variatsiooni m\u00f5\u00f5tmed.", "type": "object", "properties": { "length": { "description": "Variatsiooni pikkus (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Variatsioonilaius (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Variatsioonik\u00f5rgus (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Saatmisklassi n\u00e4lkjas.", "type": "string", "required": false }, "image": { "description": "Variatsioonipildi andmed.", "type": "object", "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Kujutise loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Kujutise viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Atribuutide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atribuudi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atribuudi nimi.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Valitud atribuudi termini nimi.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse toodete kohandatud sorteerimiseks.", "type": "integer", "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "parent_id": { "description": "\u00dclemtoote ID.", "type": "integer", "required": false }, "supplier_id": { "description": "The ID of the ATUM Supplier that is linked to the product.", "type": "integer", "required": false }, "supplier_sku": { "description": "The Supplier's SKU for the product.", "type": "string", "required": false }, "barcode": { "description": "The product's barcode.", "type": "string", "required": false }, "atum_controlled": { "description": "Whether the product is being controlled by ATUM.", "type": "boolean", "required": false }, "out_stock_date": { "description": "The date when the product run out of stock.", "type": [ "null", "string" ], "required": false }, "out_stock_threshold": { "description": "Out of stock threshold at product level.", "type": "number", "required": false }, "inbound_stock": { "description": "Product's inbound stock.", "type": "number", "required": false }, "stock_on_hold": { "description": "Product's stock on hold.", "type": "number", "required": false }, "sold_today": { "description": "Units sold today.", "type": "number", "required": false }, "sales_last_days": { "description": "Sales the last 14 days.", "type": "number", "required": false }, "reserved_stock": { "description": "Stock set as 'reserved_stock' within Inventory Logs.", "type": "number", "required": false }, "customer_returns": { "description": "Stock set as 'customer returns' within Inventory Logs.", "type": "number", "required": false }, "warehouse_damage": { "description": "Stock set as 'warehouse damage' within Inventory Logs.", "type": "number", "required": false }, "lost_in_post": { "description": "Stock set as 'lost in post' within Inventory Logs.", "type": "number", "required": false }, "other_logs": { "description": "Stock set as 'other' within Inventory Logs.", "type": "number", "required": false }, "out_stock_days": { "description": "The number of days that the product is Out of stock.", "type": "integer", "required": false }, "lost_sales": { "description": "Product lost sales.", "type": "number", "required": false }, "update_date": { "description": "Last date when the ATUM product data was calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "atum_stock_status": { "description": "Used to store the stock status (same as WC) but both values may differ for MI enable products.", "type": "string", "required": false }, "restock_status": { "description": "Indicates whether the stock will last soon and should be reordered.", "type": "boolean", "required": false }, "sales_update_date": { "description": "Last date when the sales fields on ATUM product data were calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "calc_backorders": { "description": "Backordered items (if backorders is enabled and it has a negative stock value).", "type": "number", "required": false }, "name": { "description": "Toote emanimi.", "type": "string", "required": false } } } ] }, "\/wc-analytics\/products\/(?P[\\d]+)\/variations\/generate": { "namespace": "wc-analytics", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "product_id": { "description": "Varieeruva toote unikaalne identifikaator.", "type": "integer", "required": false }, "delete": { "description": "Kustutab kasutamata variatsioonid.", "type": "boolean", "required": false }, "default_values": { "description": "Loodud variatsioonide vaikev\u00e4\u00e4rtused.", "type": "object", "properties": { "type": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Toote t\u00fc\u00fcp.", "type": "string", "enum": [ "variation" ] }, "description": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Variatsiooni kirjeldus.", "type": "string" }, "sku": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Varude hoidmise \u00fcksus.", "type": "string" }, "global_unique_id": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "GTIN, UPC, EAN v\u00f5i ISBN.", "type": "string" }, "regular_price": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Muutuv tavahind.", "type": "string" }, "sale_price": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Erinev m\u00fc\u00fcgihind.", "type": "string" }, "date_on_sale_from": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ] }, "date_on_sale_from_gmt": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev, GMT.", "type": [ "null", "string" ] }, "date_on_sale_to": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "M\u00fc\u00fcgihinna l\u00f5ppkuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ] }, "date_on_sale_to_gmt": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "M\u00fc\u00fcgihinna l\u00f5ppkuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ] }, "status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Variatsiooni olek.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ] }, "virtual": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Kui variatsioon on virtuaalne.", "type": "boolean" }, "downloadable": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Kui variatsioon on allalaaditav.", "type": "boolean" }, "downloads": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Allalaaditavate failide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faili ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faili nimi.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faili URL.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Allalaaditavate failide allalaadimiste arv p\u00e4rast ostmist.", "type": "integer" }, "download_expiry": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "P\u00e4evade arv, kuni juurdep\u00e4\u00e4s allalaaditavatele failidele aegub.", "type": "integer" }, "tax_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Maksustaatus.", "type": "string", "enum": [ "taxable", "shipping", "none" ] }, "tax_class": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Maksuklass.", "type": "string" }, "manage_stock": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Varude haldamine variatsiooni tasemel.", "type": [ "boolean", "string" ] }, "stock_quantity": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Lao kogus.", "type": "integer" }, "stock_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Kontrollib toote laoseisu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ] }, "backorders": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Laoseisu haldamisel kontrollib see, kas j\u00e4reltellimused on lubatud.", "type": "string", "enum": [ "no", "notify", "yes" ] }, "low_stock_amount": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Variatsiooni jaoks v\u00e4ike laokogus.", "type": [ "integer", "null" ] }, "weight": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Variatsiooni kaal (kg).", "type": "string" }, "dimensions": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Variatsiooni m\u00f5\u00f5tmed.", "type": "object", "properties": { "length": { "description": "Variatsiooni pikkus (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Variatsioonilaius (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Variatsioonik\u00f5rgus (cm).", "type": "string", "context": [ "view", "edit" ] } } }, "shipping_class": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Saatmisklassi n\u00e4lkjas.", "type": "string" }, "image": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Variatsioonipildi andmed.", "type": "object", "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Kujutise loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Kujutise viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] } } }, "attributes": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Atribuutide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atribuudi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atribuudi nimi.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Valitud atribuudi termini nimi.", "type": "string", "context": [ "view", "edit" ] } } } }, "menu_order": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse toodete kohandatud sorteerimiseks.", "type": "integer" }, "meta_data": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } }, "parent_id": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "\u00dclemtoote ID.", "type": "integer" }, "supplier_id": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "The ID of the ATUM Supplier that is linked to the product.", "type": "integer" }, "supplier_sku": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "The Supplier's SKU for the product.", "type": "string" }, "barcode": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "The product's barcode.", "type": "string" }, "atum_controlled": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Whether the product is being controlled by ATUM.", "type": "boolean" }, "out_stock_date": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "The date when the product run out of stock.", "type": [ "null", "string" ] }, "out_stock_threshold": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Out of stock threshold at product level.", "type": "number" }, "inbound_stock": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Product's inbound stock.", "type": "number" }, "stock_on_hold": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Product's stock on hold.", "type": "number" }, "sold_today": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Units sold today.", "type": "number" }, "sales_last_days": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Sales the last 14 days.", "type": "number" }, "reserved_stock": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Stock set as 'reserved_stock' within Inventory Logs.", "type": "number" }, "customer_returns": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Stock set as 'customer returns' within Inventory Logs.", "type": "number" }, "warehouse_damage": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Stock set as 'warehouse damage' within Inventory Logs.", "type": "number" }, "lost_in_post": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Stock set as 'lost in post' within Inventory Logs.", "type": "number" }, "other_logs": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Stock set as 'other' within Inventory Logs.", "type": "number" }, "out_stock_days": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "The number of days that the product is Out of stock.", "type": "integer" }, "lost_sales": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Product lost sales.", "type": "number" }, "update_date": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Last date when the ATUM product data was calculated and saved for the product.", "type": [ "null", "string" ] }, "atum_stock_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Used to store the stock status (same as WC) but both values may differ for MI enable products.", "type": "string" }, "restock_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Indicates whether the stock will last soon and should be reordered.", "type": "boolean" }, "sales_update_date": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Last date when the sales fields on ATUM product data were calculated and saved for the product.", "type": [ "null", "string" ] }, "calc_backorders": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Backordered items (if backorders is enabled and it has a negative stock value).", "type": "number" }, "name": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Toote emanimi.", "type": "string" } }, "required": false }, "type": { "default": "variation", "description": "Toote t\u00fc\u00fcp.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Variatsiooni kirjeldus.", "type": "string", "required": false }, "sku": { "description": "Varude hoidmise \u00fcksus.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN v\u00f5i ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Muutuv tavahind.", "type": "string", "required": false }, "sale_price": { "description": "Erinev m\u00fc\u00fcgihind.", "type": "string", "required": false }, "date_on_sale_from": { "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev, GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "M\u00fc\u00fcgihinna l\u00f5ppkuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "M\u00fc\u00fcgihinna l\u00f5ppkuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "status": { "default": "publish", "description": "Variatsiooni olek.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "default": false, "description": "Kui variatsioon on virtuaalne.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Kui variatsioon on allalaaditav.", "type": "boolean", "required": false }, "downloads": { "description": "Allalaaditavate failide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faili ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faili nimi.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faili URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Allalaaditavate failide allalaadimiste arv p\u00e4rast ostmist.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "P\u00e4evade arv, kuni juurdep\u00e4\u00e4s allalaaditavatele failidele aegub.", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "Maksustaatus.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Maksuklass.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Varude haldamine variatsiooni tasemel.", "type": [ "boolean", "string" ], "required": false }, "stock_quantity": { "description": "Lao kogus.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Kontrollib toote laoseisu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "Laoseisu haldamisel kontrollib see, kas j\u00e4reltellimused on lubatud.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Variatsiooni jaoks v\u00e4ike laokogus.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Variatsiooni kaal (kg).", "type": "string", "required": false }, "dimensions": { "description": "Variatsiooni m\u00f5\u00f5tmed.", "type": "object", "properties": { "length": { "description": "Variatsiooni pikkus (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Variatsioonilaius (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Variatsioonik\u00f5rgus (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Saatmisklassi n\u00e4lkjas.", "type": "string", "required": false }, "image": { "description": "Variatsioonipildi andmed.", "type": "object", "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Kujutise loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Kujutise viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Atribuutide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atribuudi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atribuudi nimi.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Valitud atribuudi termini nimi.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse toodete kohandatud sorteerimiseks.", "type": "integer", "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "parent_id": { "description": "\u00dclemtoote ID.", "type": "integer", "required": false }, "supplier_id": { "description": "The ID of the ATUM Supplier that is linked to the product.", "type": "integer", "required": false }, "supplier_sku": { "description": "The Supplier's SKU for the product.", "type": "string", "required": false }, "barcode": { "description": "The product's barcode.", "type": "string", "required": false }, "atum_controlled": { "default": false, "description": "Whether the product is being controlled by ATUM.", "type": "boolean", "required": false }, "out_stock_date": { "description": "The date when the product run out of stock.", "type": [ "null", "string" ], "required": false }, "out_stock_threshold": { "description": "Out of stock threshold at product level.", "type": "number", "required": false }, "inbound_stock": { "description": "Product's inbound stock.", "type": "number", "required": false }, "stock_on_hold": { "description": "Product's stock on hold.", "type": "number", "required": false }, "sold_today": { "description": "Units sold today.", "type": "number", "required": false }, "sales_last_days": { "description": "Sales the last 14 days.", "type": "number", "required": false }, "reserved_stock": { "description": "Stock set as 'reserved_stock' within Inventory Logs.", "type": "number", "required": false }, "customer_returns": { "description": "Stock set as 'customer returns' within Inventory Logs.", "type": "number", "required": false }, "warehouse_damage": { "description": "Stock set as 'warehouse damage' within Inventory Logs.", "type": "number", "required": false }, "lost_in_post": { "description": "Stock set as 'lost in post' within Inventory Logs.", "type": "number", "required": false }, "other_logs": { "description": "Stock set as 'other' within Inventory Logs.", "type": "number", "required": false }, "out_stock_days": { "description": "The number of days that the product is Out of stock.", "type": "integer", "required": false }, "lost_sales": { "description": "Product lost sales.", "type": "number", "required": false }, "update_date": { "description": "Last date when the ATUM product data was calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "atum_stock_status": { "description": "Used to store the stock status (same as WC) but both values may differ for MI enable products.", "type": "string", "required": false }, "restock_status": { "description": "Indicates whether the stock will last soon and should be reordered.", "type": "boolean", "required": false }, "sales_update_date": { "description": "Last date when the sales fields on ATUM product data were calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "calc_backorders": { "description": "Backordered items (if backorders is enabled and it has a negative stock value).", "type": "number", "required": false }, "name": { "description": "Toote emanimi.", "type": "string", "required": false } } } ] }, "\/wc-analytics\/variations": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Otsige sarnase toote nime, SKU v\u00f5i atribuudi v\u00e4\u00e4rtuse j\u00e4rgi.", "type": "string", "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to products modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to products modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "menu_order" ], "required": false }, "parent": { "description": "Piirake tulemuste komplekt konkreetsete vanemate ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Piirake tulemuste komplekti k\u00f5igi \u00fcksustega, v\u00e4lja arvatud konkreetse \u00fclem-ID \u00fcksustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "atum_post_status": { "description": "Limit response to products to the specified statuses. This param supports multiple statuses separated by commas.", "type": "string", "required": false }, "slug": { "description": "Piirake tulemuste komplekt konkreetse n\u00e4lkjaga toodetega.", "type": "string", "required": false }, "status": { "default": "any", "description": "Piirake tulemuste komplekt toodetele, millele on m\u00e4\u00e4ratud konkreetne olek.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "sku": { "description": "Piirake tulemuste komplekt konkreetsete SKU-dega toodetega. Kasutage eraldamiseks komasid.", "type": "string", "required": false }, "on_sale": { "description": "Piirake tulemuste komplekt m\u00fc\u00fcgil olevatele toodetele.", "type": "boolean", "required": false }, "min_price": { "description": "Piirake tulemuse komplekt toodetega miinimumhinna alusel.", "type": "string", "required": false }, "max_price": { "description": "Piirake tulemuse seatud toodetele maksimaalse hinna alusel.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Piirake meta_andmed konkreetsete v\u00f5tmetega.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Veenduge, et meta_andmed v\u00e4listaks teatud v\u00f5tmed.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Piirake tulemus m\u00e4\u00e4ratud toodetele, mille laos on m\u00e4\u00e4ratud.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "has_price": { "description": "Piirake tulemust toodetega, millel on hind v\u00f5i ilma.", "type": "boolean", "required": false }, "attributes": { "description": "Piirake tulemuste komplekt m\u00e4\u00e4ratud atribuutidega toodetega.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "type": "string", "description": "Omaduse p\u00fcsiviide." }, "term": { "type": "string", "description": "Atribuudi termin." }, "terms": { "type": "array", "description": "Atribuutide tingimused." } } }, "required": false }, "virtual": { "description": "Piira tulemuste komplekti virtuaalsete tootevariatsioonidega.", "type": "boolean", "required": false }, "downloadable": { "description": "Piira tulemuste komplekti allalaaditavate tootevariatsioonidega.", "type": "boolean", "required": false }, "include_status": { "description": "Piira tulemuste komplekti mis tahes olekuga tootevariatsioonidele.", "type": "array", "items": { "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "exclude_status": { "description": "J\u00e4ta tulemuste hulgast v\u00e4lja mis tahes olekuga tootevariatsioonid.", "type": "array", "items": { "type": "string", "enum": [ "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "pos_products_only": { "description": "Limit result set to variations visible in Point of Sale.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/variations" } ] } }, "\/wc-analytics\/products\/reviews": { "namespace": "wc-analytics", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "after": { "description": "Piirake vastuseid ressurssidega, mis on avaldatud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piirake vastuseid arvustustele, mis on avaldatud enne ISO8601 n\u00f5uetele vastavuse kuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piira tulemuste hulka kindlatele ID-dele.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date_gmt", "enum": [ "date", "date_gmt", "id", "include", "product" ], "required": false }, "reviewer": { "description": "Piirake tulemuste komplekt arvustustega, mis on m\u00e4\u00e4ratud konkreetsetele kasutaja-ID-dele.", "type": "array", "items": { "type": "integer" }, "required": false }, "reviewer_exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsetele kasutaja-ID-dele m\u00e4\u00e4ratud arvustused.", "type": "array", "items": { "type": "integer" }, "required": false }, "reviewer_email": { "default": null, "description": "Piirake konkreetse autori meili tulemus.", "format": "email", "type": "string", "required": false }, "product": { "default": [], "description": "Piira tulemusi kindlate toote ID'dega arvustustele.", "type": "array", "items": { "type": "integer" }, "required": false }, "status": { "default": "approved", "description": "Piira tulemusi kindla staatusega arvustustele.", "type": "string", "enum": [ "all", "hold", "approved", "spam", "trash" ], "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Toote unikaalne tunnus.", "type": "integer", "required": true }, "product_name": { "description": "Toote nimi.", "type": "string", "required": false }, "status": { "default": "approved", "description": "Arvustuse staatus.", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "type": "string", "description": "Arvustaja nimi.", "required": true }, "reviewer_email": { "type": "string", "description": "Arvustaja e-post.", "required": true }, "review": { "type": "string", "description": "Arvustuse sisu.", "required": true }, "rating": { "description": "\u00dclevaate hinnang (0 kuni 5).", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/products\/reviews" } ] } }, "\/wc-analytics\/products\/reviews\/(?P[\\d]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "product_id": { "description": "Selle toote kordumatu identifikaator, millele arvustus kuulub.", "type": "integer", "required": false }, "product_name": { "description": "Toote nimi.", "type": "string", "required": false }, "status": { "description": "Arvustuse staatus.", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "description": "\u00dclevaataja nimi.", "type": "string", "required": false }, "reviewer_email": { "description": "Arvustaja e-post.", "type": "string", "format": "email", "required": false }, "review": { "description": "Arvustuse sisu.", "type": "string", "required": false }, "rating": { "description": "\u00dclevaate hinnang (0 kuni 5).", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Kas j\u00e4tta pr\u00fcgikast m\u00f6\u00f6da ja sundida kustutamist.", "required": false } } } ] }, "\/wc-analytics\/products\/reviews\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Selle toote kordumatu identifikaator, millele arvustus kuulub.", "type": "integer", "required": false }, "product_name": { "description": "Toote nimi.", "type": "string", "required": false }, "status": { "description": "Arvustuse staatus.", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "description": "\u00dclevaataja nimi.", "type": "string", "required": false }, "reviewer_email": { "description": "Arvustaja e-post.", "type": "string", "format": "email", "required": false }, "review": { "description": "Arvustuse sisu.", "type": "string", "required": false }, "rating": { "description": "\u00dclevaate hinnang (0 kuni 5).", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/products\/reviews\/batch" } ] } }, "\/wc-analytics\/products\/low-in-stock": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "status": { "default": "publish", "description": "Piirake tulemuste komplekt toodetele, millele on m\u00e4\u00e4ratud konkreetne olek.", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/products\/low-in-stock" } ] } }, "\/wc-analytics\/products\/count-low-in-stock": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "status": { "default": "publish", "description": "Piirake tulemuste komplekt toodetele, millele on m\u00e4\u00e4ratud konkreetne olek.", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/products\/count-low-in-stock" } ] } }, "\/wc-analytics\/settings\/(?P[\\w-]+)": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "group": { "description": "Seadete r\u00fchma ID.", "type": "string", "required": false } } } ] }, "\/wc-analytics\/settings\/(?P[\\w-]+)\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "description": "Seadete r\u00fchma ID.", "type": "string", "required": false }, "value": { "description": "S\u00e4tte v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false } } } ] }, "\/wc-analytics\/settings\/(?P[\\w-]+)\/(?P[\\w-]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "group": { "description": "Seadete r\u00fchma ID.", "type": "string", "required": false }, "id": { "description": "Ressursi kordumatu identifikaator.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "description": "Seadete r\u00fchma ID.", "type": "string", "required": false }, "id": { "description": "Ressursi kordumatu identifikaator.", "type": "string", "required": false }, "value": { "description": "S\u00e4tte v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false } } } ] }, "\/wc-analytics\/taxes": { "namespace": "wc-analytics", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "order", "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "enum": [ "id", "order", "priority" ], "type": "string", "required": false }, "class": { "description": "Sorteeri maksuklassi j\u00e4rgi.", "enum": [ "standard", "reduced-rate", "zero-rate" ], "type": "string", "required": false }, "search": { "description": "Otsige sarnase maksukoodi j\u00e4rgi.", "type": "string", "required": false }, "include": { "description": "Piirake tulemuste komplekt \u00fcksustega, millele on m\u00e4\u00e4ratud m\u00e4\u00e4ratud m\u00e4\u00e4ra ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false } } }, { "methods": [ "POST" ], "args": { "country": { "description": "Riigi ISO 3166 kood.", "type": "string", "required": false }, "state": { "description": "Osariigi\/maakonna kood.", "type": "string", "required": false }, "postcode": { "description": "Sihtnumber\/ZIP, see ei toeta mitut v\u00e4\u00e4rtust. WooCommerce 5.3 seisuga aegunud, tuleks selle asemel kasutada sihtindekseid.", "type": "string", "required": false }, "city": { "description": "Linna nimi, see ei toeta mitut v\u00e4\u00e4rtust. WooCommerce 5.3 seisuga aegunud, tuleks selle asemel kasutada 'linnad'.", "type": "string", "required": false }, "rate": { "description": "Maksum\u00e4\u00e4r.", "type": "string", "required": false }, "name": { "description": "Maksum\u00e4\u00e4ra nimi.", "type": "string", "required": false }, "priority": { "default": 1, "description": "Maksu prioriteet.", "type": "integer", "required": false }, "compound": { "default": false, "description": "Kas see on liitmaksum\u00e4\u00e4r.", "type": "boolean", "required": false }, "shipping": { "default": true, "description": "Kas see maksum\u00e4\u00e4r m\u00f5jub ka tarnele v\u00f5i mitte.", "type": "boolean", "required": false }, "order": { "description": "N\u00e4itab p\u00e4ringutes kasutatavat j\u00e4rjekorda.", "type": "integer", "required": false }, "class": { "default": "standard", "description": "Maksuklass.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false }, "postcodes": { "description": "Sihtnumbrite \/ sihtnumbrite loend. Tutvustatakse WooCommerce 5.3-s.", "type": "array", "items": { "type": "string" }, "required": false }, "cities": { "description": "Linnanimede loetelu. Tutvustatakse WooCommerce 5.3-s.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/taxes" } ] } }, "\/wc-analytics\/taxes\/(?P[\\d]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "country": { "description": "Riigi ISO 3166 kood.", "type": "string", "required": false }, "state": { "description": "Osariigi\/maakonna kood.", "type": "string", "required": false }, "postcode": { "description": "Sihtnumber\/ZIP, see ei toeta mitut v\u00e4\u00e4rtust. WooCommerce 5.3 seisuga aegunud, tuleks selle asemel kasutada sihtindekseid.", "type": "string", "required": false }, "city": { "description": "Linna nimi, see ei toeta mitut v\u00e4\u00e4rtust. WooCommerce 5.3 seisuga aegunud, tuleks selle asemel kasutada 'linnad'.", "type": "string", "required": false }, "rate": { "description": "Maksum\u00e4\u00e4r.", "type": "string", "required": false }, "name": { "description": "Maksum\u00e4\u00e4ra nimi.", "type": "string", "required": false }, "priority": { "description": "Maksu prioriteet.", "type": "integer", "required": false }, "compound": { "description": "Kas see on liitmaksum\u00e4\u00e4r.", "type": "boolean", "required": false }, "shipping": { "description": "Kas see maksum\u00e4\u00e4r m\u00f5jub ka tarnele v\u00f5i mitte.", "type": "boolean", "required": false }, "order": { "description": "N\u00e4itab p\u00e4ringutes kasutatavat j\u00e4rjekorda.", "type": "integer", "required": false }, "class": { "description": "Maksuklass.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false }, "postcodes": { "description": "Sihtnumbrite \/ sihtnumbrite loend. Tutvustatakse WooCommerce 5.3-s.", "type": "array", "items": { "type": "string" }, "required": false }, "cities": { "description": "Linnanimede loetelu. Tutvustatakse WooCommerce 5.3-s.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "N\u00f5utav, et see oleks t\u00f5ene, kuna ressurss ei toeta pr\u00fcgikasti viimist.", "required": false } } } ] }, "\/wc-analytics\/taxes\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "country": { "description": "Riigi ISO 3166 kood.", "type": "string", "required": false }, "state": { "description": "Osariigi\/maakonna kood.", "type": "string", "required": false }, "postcode": { "description": "Sihtnumber\/ZIP, see ei toeta mitut v\u00e4\u00e4rtust. WooCommerce 5.3 seisuga aegunud, tuleks selle asemel kasutada sihtindekseid.", "type": "string", "required": false }, "city": { "description": "Linna nimi, see ei toeta mitut v\u00e4\u00e4rtust. WooCommerce 5.3 seisuga aegunud, tuleks selle asemel kasutada 'linnad'.", "type": "string", "required": false }, "rate": { "description": "Maksum\u00e4\u00e4r.", "type": "string", "required": false }, "name": { "description": "Maksum\u00e4\u00e4ra nimi.", "type": "string", "required": false }, "priority": { "description": "Maksu prioriteet.", "type": "integer", "required": false }, "compound": { "description": "Kas see on liitmaksum\u00e4\u00e4r.", "type": "boolean", "required": false }, "shipping": { "description": "Kas see maksum\u00e4\u00e4r m\u00f5jub ka tarnele v\u00f5i mitte.", "type": "boolean", "required": false }, "order": { "description": "N\u00e4itab p\u00e4ringutes kasutatavat j\u00e4rjekorda.", "type": "integer", "required": false }, "class": { "description": "Maksuklass.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false }, "postcodes": { "description": "Sihtnumbrite \/ sihtnumbrite loend. Tutvustatakse WooCommerce 5.3-s.", "type": "array", "items": { "type": "string" }, "required": false }, "cities": { "description": "Linnanimede loetelu. Tutvustatakse WooCommerce 5.3-s.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-analytics\/taxes\/batch" } ] } }, "\/wc-admin\/launch-your-store\/initialize-coming-soon": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/launch-your-store\/initialize-coming-soon" } ] } }, "\/wc-admin\/launch-your-store\/update-survey-status": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "status": { "type": "string", "enum": [ "yes", "no" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/launch-your-store\/update-survey-status" } ] } }, "\/wc-admin\/launch-your-store\/survey-completed": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/launch-your-store\/survey-completed" } ] } }, "\/wc-admin\/launch-your-store\/woopayments\/test-orders\/count": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/launch-your-store\/woopayments\/test-orders\/count" } ] } }, "\/wc-admin\/launch-your-store\/woopayments\/test-orders": { "namespace": "wc-admin", "methods": [ "DELETE" ], "endpoints": [ { "methods": [ "DELETE" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/launch-your-store\/woopayments\/test-orders" } ] } }, "\/wc\/store": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wc\/store", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/store" } ] } }, "\/wc\/store\/batch": { "namespace": "wc\/store", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "validation": { "type": "string", "enum": [ "require-all-validate", "normal" ], "default": "normal", "required": false }, "requests": { "type": "array", "maxItems": 25, "items": { "type": "object", "properties": { "method": { "type": "string", "enum": [ "POST", "PUT", "PATCH", "DELETE" ], "default": "POST" }, "path": { "type": "string", "required": true }, "body": { "type": "object", "properties": [], "additionalProperties": true }, "headers": { "type": "object", "properties": [], "additionalProperties": { "type": [ "string", "array" ], "items": { "type": "string" } } } } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/store\/batch" } ] } }, "\/wc\/store\/cart": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Taotluse ulatus; m\u00e4\u00e4rab vastuseks olevad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/store\/cart" } ] } }, "\/wc\/store\/cart\/add-item": { "namespace": "wc\/store", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Ostukorvi kauba toote v\u00f5i variatsiooni ID.", "type": "integer", "required": false }, "quantity": { "description": "Selle kauba kogus ostukorvi lisamiseks.", "type": "number", "required": false }, "variation": { "description": "Valitud atribuudid (variatsioonide jaoks).", "type": "array", "items": { "type": "object", "properties": { "attribute": { "description": "Variatsiooni atribuudi nimi.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Variatsiooni atribuudi v\u00e4\u00e4rtus.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/store\/cart\/add-item" } ] } }, "\/wc\/store\/cart\/apply-coupon": { "namespace": "wc\/store", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "Ostukorvis oleva kupongi kordumatu identifikaator.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/store\/cart\/apply-coupon" } ] } }, "\/wc\/store\/cart\/coupons": { "namespace": "wc\/store", "methods": [ "GET", "POST", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Taotluse ulatus; m\u00e4\u00e4rab vastuseks olevad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "Kupongi unikaalne kood.", "type": "string", "required": false }, "discount_type": { "description": "Kupongi allahindluse t\u00fc\u00fcp (nt protsent v\u00f5i fikseeritud summa)", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/store\/cart\/coupons" } ] } }, "\/wc\/store\/cart\/coupons\/(?P[\\w-]+)": { "namespace": "wc\/store", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "Ostukorvis oleva kupongi kordumatu identifikaator.", "type": "string", "required": false }, "context": { "description": "Taotluse ulatus; m\u00e4\u00e4rab vastuseks olevad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "Ostukorvis oleva kupongi kordumatu identifikaator.", "type": "string", "required": false } } } ] }, "\/wc\/store\/cart\/extensions": { "namespace": "wc\/store", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "namespace": { "description": "Laienduse nimi \u2013 seda kasutatakse p\u00e4ringus sisalduvate andmete \u00f5ige suunamise tagamiseks.", "type": "string", "required": false }, "data": { "description": "T\u00e4iendavad andmed laiendusele edastamiseks", "type": "object", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/store\/cart\/extensions" } ] } }, "\/wc\/store\/cart\/items": { "namespace": "wc\/store", "methods": [ "GET", "POST", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Taotluse ulatus; m\u00e4\u00e4rab vastuseks olevad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "extensions": { "type": "object", "properties": [], "default": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/store\/cart\/items" } ] } }, "\/wc\/store\/cart\/items\/(?P[\\w-]{32})": { "namespace": "wc\/store", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "Ostukorvis oleva kauba kordumatu identifikaator.", "type": "string", "required": false }, "context": { "description": "Taotluse ulatus; m\u00e4\u00e4rab vastuseks olevad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "Ostukorvis oleva kauba kordumatu identifikaator.", "type": "string", "required": false }, "extensions": { "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "Ostukorvis oleva kauba kordumatu identifikaator.", "type": "string", "required": false } } } ] }, "\/wc\/store\/cart\/remove-coupon": { "namespace": "wc\/store", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "Ostukorvis oleva kupongi kordumatu identifikaator.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/store\/cart\/remove-coupon" } ] } }, "\/wc\/store\/cart\/remove-item": { "namespace": "wc\/store", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "Ostukorvi kauba kordumatu identifikaator (v\u00f5ti).", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/store\/cart\/remove-item" } ] } }, "\/wc\/store\/cart\/select-shipping-rate": { "namespace": "wc\/store", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "package_id": { "description": "Saadetava paki ID. K\u00f5igile pakettidele rakendamiseks j\u00e4tke t\u00fchjaks.", "type": [ "integer", "string", "null" ], "required": false }, "rate_id": { "description": "Paketi valitud hinna ID.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/store\/cart\/select-shipping-rate" } ] } }, "\/wc\/store\/cart\/update-item": { "namespace": "wc\/store", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "Uuendatava ostukorvi\u00fcksuse kordumatu identifikaator (v\u00f5ti).", "type": "string", "required": false }, "quantity": { "description": "Uus kogus kaupa ostukorvis.", "type": "number", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/store\/cart\/update-item" } ] } }, "\/wc\/store\/cart\/update-customer": { "namespace": "wc\/store", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "billing_address": { "description": "Arveldusaadress.", "type": "object", "properties": { "first_name": { "description": "Eesnimi", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Perekonnanimi", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Ettev\u00f5te", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Aadress", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Korter, sviit jne.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Linn", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "Osariigi\/maakonna kood v\u00f5i osariigi, maakonna, provintsi v\u00f5i ringkonna nimi.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Postiindeks", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Riigi\/piirkonna kood ISO 3166-1 alfa-2 formaadis.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Telefon", "type": "string", "context": [ "view", "edit" ], "required": true }, "email": { "description": "Meil", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "shipping_address": { "description": "Tarneaadress.", "type": "object", "properties": { "first_name": { "description": "Eesnimi", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Perekonnanimi", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Ettev\u00f5te", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Aadress", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Korter, sviit jne.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Linn", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "Osariigi\/maakonna kood v\u00f5i osariigi, maakonna, provintsi v\u00f5i ringkonna nimi.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Postiindeks", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Riigi\/piirkonna kood ISO 3166-1 alfa-2 formaadis.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Telefon", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/store\/cart\/update-customer" } ] } }, "\/wc\/store\/checkout": { "namespace": "wc\/store", "methods": [ "GET", "POST", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Taotluse ulatus; m\u00e4\u00e4rab vastuseks olevad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "payment_data": { "description": "Makse t\u00f6\u00f6tlemisel makseviisile edastatavad andmed.", "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": { "type": [ "string", "boolean" ] } } }, "required": false }, "customer_password": { "description": "Kliendi parool uute kontode jaoks, kui see on kohaldatav.", "type": "string", "required": false }, "customer_note": { "description": "Kliendi poolt tellimusele lisatud m\u00e4rkus kassas tasumisel.", "type": "string", "required": false }, "billing_address": { "description": "Arveldusaadress.", "type": "object", "properties": { "first_name": { "description": "Eesnimi", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Perekonnanimi", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Ettev\u00f5te", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Aadress", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Korter, sviit jne.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Linn", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "Osariigi\/maakonna kood v\u00f5i osariigi, maakonna, provintsi v\u00f5i ringkonna nimi.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Postiindeks", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Riigi\/piirkonna kood ISO 3166-1 alfa-2 formaadis.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Telefon", "type": "string", "context": [ "view", "edit" ], "required": true }, "email": { "description": "Meil", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": true }, "shipping_address": { "description": "Tarneaadress.", "type": "object", "properties": { "first_name": { "description": "Eesnimi", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Perekonnanimi", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Ettev\u00f5te", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Aadress", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Korter, sviit jne.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Linn", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "Osariigi\/maakonna kood v\u00f5i osariigi, maakonna, provintsi v\u00f5i ringkonna nimi.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Postiindeks", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Riigi\/piirkonna kood ISO 3166-1 alfa-2 formaadis.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Telefon", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "payment_method": { "description": "Makse t\u00f6\u00f6tlemiseks kasutatava makseviisi ID.", "type": "string", "enum": [ "", "cpsw_stripe", "cpsw_alipay", "cpsw_ideal", "cpsw_klarna", "cpsw_p24", "cpsw_bancontact", "cpsw_wechat", "cpsw_sepa", "bacs", "cheque", "cod", "wc_montonio_card", "wc_montonio_payments", "wc_montonio_blik", "wc_montonio_bnpl", "wc_montonio_hire_purchase", "cpsw_stripe_element" ], "required": false }, "create_account": { "description": "Kas luua tellimuse t\u00f6\u00f6tlemise osana uus kasutajakonto.", "type": "boolean", "required": false }, "additional_fields": { "description": "Tellimusele j\u00e4\u00e4vad lisav\u00e4ljad.", "type": "object", "properties": [], "required": false }, "extensions": { "type": "object", "properties": { "mailchimp-newsletter": { "description": "mailchimp-newsletter poolt registreeritud laienduse andmed", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "optin": { "description": "Subscribe to marketing opt-in.", "type": [ "boolean", "null" ], "context": [ "view", "edit" ] }, "gdprFields": { "description": "GDPR marketing opt-in.", "type": "object", "context": [] } } }, "montonio-for-woocommerce": { "description": "montonio-for-woocommerce poolt registreeritud laienduse andmed", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "selected_pickup_point": { "description": "Valitud pakiautomaat", "type": [ "string", "null" ], "readonly": true } } }, "woocommerce\/order-attribution": { "description": "woocommerce\/order-attribution poolt registreeritud laienduse andmed", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "source_type": { "description": "Tellimuse omistamise v\u00e4li: source_type", "type": [ "string", "null" ], "context": [] }, "referrer": { "description": "Tellimuse omistamise v\u00e4li: referrer", "type": [ "string", "null" ], "context": [] }, "utm_campaign": { "description": "Tellimuse omistamise v\u00e4li: utm_campaign", "type": [ "string", "null" ], "context": [] }, "utm_source": { "description": "Tellimuse omistamise v\u00e4li: utm_source", "type": [ "string", "null" ], "context": [] }, "utm_medium": { "description": "Tellimuse omistamise v\u00e4li: utm_medium", "type": [ "string", "null" ], "context": [] }, "utm_content": { "description": "Tellimuse omistamise v\u00e4li: utm_content", "type": [ "string", "null" ], "context": [] }, "utm_id": { "description": "Tellimuse omistamise v\u00e4li: utm_id", "type": [ "string", "null" ], "context": [] }, "utm_term": { "description": "Tellimuse omistamise v\u00e4li: utm_term", "type": [ "string", "null" ], "context": [] }, "utm_source_platform": { "description": "Tellimuse omistamise v\u00e4li: utm_source_platform", "type": [ "string", "null" ], "context": [] }, "utm_creative_format": { "description": "Tellimuse omistamise v\u00e4li: utm_creative_format", "type": [ "string", "null" ], "context": [] }, "utm_marketing_tactic": { "description": "Tellimuse omistamise v\u00e4li: utm_marketing_tactic", "type": [ "string", "null" ], "context": [] }, "session_entry": { "description": "Tellimuse omistamise v\u00e4li: session_entry", "type": [ "string", "null" ], "context": [] }, "session_start_time": { "description": "Tellimuse omistamise v\u00e4li: session_start_time", "type": [ "string", "null" ], "context": [] }, "session_pages": { "description": "Tellimuse omistamise v\u00e4li: session_pages", "type": [ "string", "null" ], "context": [] }, "session_count": { "description": "Tellimuse omistamise v\u00e4li: session_count", "type": [ "string", "null" ], "context": [] }, "user_agent": { "description": "Tellimuse omistamise v\u00e4li: user_agent", "type": [ "string", "null" ], "context": [] } } } }, "default": { "mailchimp-newsletter": [], "montonio-for-woocommerce": [], "woocommerce\/order-attribution": [] }, "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "additional_fields": { "description": "Tellimusele j\u00e4\u00e4vad lisav\u00e4ljad.", "type": "object", "properties": [], "required": false }, "payment_method": { "description": "Makse t\u00f6\u00f6tlemiseks kasutatava makseviisi ID.", "type": "string", "enum": [ "", "cpsw_stripe", "cpsw_alipay", "cpsw_ideal", "cpsw_klarna", "cpsw_p24", "cpsw_bancontact", "cpsw_wechat", "cpsw_sepa", "bacs", "cheque", "cod", "wc_montonio_card", "wc_montonio_payments", "wc_montonio_blik", "wc_montonio_bnpl", "wc_montonio_hire_purchase", "cpsw_stripe_element" ], "required": false }, "order_notes": { "description": "Tellimuse m\u00e4rkused.", "type": "string", "required": false }, "customer_note": { "description": "Kliendi poolt tellimusele lisatud m\u00e4rkus kassas tasumisel.", "type": "string", "required": false }, "billing_address": { "description": "Arveldusaadress.", "type": "object", "properties": { "first_name": { "description": "Eesnimi", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Perekonnanimi", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Ettev\u00f5te", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Aadress", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Korter, sviit jne.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Linn", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "Osariigi\/maakonna kood v\u00f5i osariigi, maakonna, provintsi v\u00f5i ringkonna nimi.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Postiindeks", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Riigi\/piirkonna kood ISO 3166-1 alfa-2 formaadis.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Telefon", "type": "string", "context": [ "view", "edit" ], "required": true }, "email": { "description": "Meil", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "shipping_address": { "description": "Tarneaadress.", "type": "object", "properties": { "first_name": { "description": "Eesnimi", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Perekonnanimi", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Ettev\u00f5te", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Aadress", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Korter, sviit jne.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Linn", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "Osariigi\/maakonna kood v\u00f5i osariigi, maakonna, provintsi v\u00f5i ringkonna nimi.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Postiindeks", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Riigi\/piirkonna kood ISO 3166-1 alfa-2 formaadis.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Telefon", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "create_account": { "description": "Kas luua tellimuse t\u00f6\u00f6tlemise osana uus kasutajakonto.", "type": "boolean", "required": false }, "extensions": { "type": "object", "properties": { "mailchimp-newsletter": { "description": "mailchimp-newsletter poolt registreeritud laienduse andmed", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "optin": { "description": "Subscribe to marketing opt-in.", "type": [ "boolean", "null" ], "context": [ "view", "edit" ] }, "gdprFields": { "description": "GDPR marketing opt-in.", "type": "object", "context": [] } } }, "montonio-for-woocommerce": { "description": "montonio-for-woocommerce poolt registreeritud laienduse andmed", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "selected_pickup_point": { "description": "Valitud pakiautomaat", "type": [ "string", "null" ], "readonly": true } } }, "woocommerce\/order-attribution": { "description": "woocommerce\/order-attribution poolt registreeritud laienduse andmed", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "source_type": { "description": "Tellimuse omistamise v\u00e4li: source_type", "type": [ "string", "null" ], "context": [] }, "referrer": { "description": "Tellimuse omistamise v\u00e4li: referrer", "type": [ "string", "null" ], "context": [] }, "utm_campaign": { "description": "Tellimuse omistamise v\u00e4li: utm_campaign", "type": [ "string", "null" ], "context": [] }, "utm_source": { "description": "Tellimuse omistamise v\u00e4li: utm_source", "type": [ "string", "null" ], "context": [] }, "utm_medium": { "description": "Tellimuse omistamise v\u00e4li: utm_medium", "type": [ "string", "null" ], "context": [] }, "utm_content": { "description": "Tellimuse omistamise v\u00e4li: utm_content", "type": [ "string", "null" ], "context": [] }, "utm_id": { "description": "Tellimuse omistamise v\u00e4li: utm_id", "type": [ "string", "null" ], "context": [] }, "utm_term": { "description": "Tellimuse omistamise v\u00e4li: utm_term", "type": [ "string", "null" ], "context": [] }, "utm_source_platform": { "description": "Tellimuse omistamise v\u00e4li: utm_source_platform", "type": [ "string", "null" ], "context": [] }, "utm_creative_format": { "description": "Tellimuse omistamise v\u00e4li: utm_creative_format", "type": [ "string", "null" ], "context": [] }, "utm_marketing_tactic": { "description": "Tellimuse omistamise v\u00e4li: utm_marketing_tactic", "type": [ "string", "null" ], "context": [] }, "session_entry": { "description": "Tellimuse omistamise v\u00e4li: session_entry", "type": [ "string", "null" ], "context": [] }, "session_start_time": { "description": "Tellimuse omistamise v\u00e4li: session_start_time", "type": [ "string", "null" ], "context": [] }, "session_pages": { "description": "Tellimuse omistamise v\u00e4li: session_pages", "type": [ "string", "null" ], "context": [] }, "session_count": { "description": "Tellimuse omistamise v\u00e4li: session_count", "type": [ "string", "null" ], "context": [] }, "user_agent": { "description": "Tellimuse omistamise v\u00e4li: user_agent", "type": [ "string", "null" ], "context": [] } } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/store\/checkout" } ] } }, "\/wc\/store\/checkout\/(?P[\\d]+)": { "namespace": "wc\/store", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "payment_data": { "description": "Makse t\u00f6\u00f6tlemisel makseviisile edastatavad andmed.", "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": { "type": [ "string", "boolean" ] } } }, "required": false }, "customer_note": { "description": "Kliendi poolt tellimusele lisatud m\u00e4rkus kassas tasumisel.", "type": "string", "required": false }, "billing_address": { "description": "Arveldusaadress.", "type": "object", "properties": { "first_name": { "description": "Eesnimi", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Perekonnanimi", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Ettev\u00f5te", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Aadress", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Korter, sviit jne.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Linn", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "Osariigi\/maakonna kood v\u00f5i osariigi, maakonna, provintsi v\u00f5i ringkonna nimi.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Postiindeks", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Riigi\/piirkonna kood ISO 3166-1 alfa-2 formaadis.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Telefon", "type": "string", "context": [ "view", "edit" ], "required": true }, "email": { "description": "Meil", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": true }, "shipping_address": { "description": "Tarneaadress.", "type": "object", "properties": { "first_name": { "description": "Eesnimi", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Perekonnanimi", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Ettev\u00f5te", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Aadress", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Korter, sviit jne.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Linn", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "Osariigi\/maakonna kood v\u00f5i osariigi, maakonna, provintsi v\u00f5i ringkonna nimi.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Postiindeks", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Riigi\/piirkonna kood ISO 3166-1 alfa-2 formaadis.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Telefon", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "payment_method": { "description": "Makse t\u00f6\u00f6tlemiseks kasutatava makseviisi ID.", "type": "string", "enum": [ "", "cpsw_stripe", "cpsw_alipay", "cpsw_ideal", "cpsw_klarna", "cpsw_p24", "cpsw_bancontact", "cpsw_wechat", "cpsw_sepa", "bacs", "cheque", "cod", "wc_montonio_card", "wc_montonio_payments", "wc_montonio_blik", "wc_montonio_bnpl", "wc_montonio_hire_purchase", "cpsw_stripe_element" ], "required": false }, "additional_fields": { "description": "Tellimusele j\u00e4\u00e4vad lisav\u00e4ljad.", "type": "object", "properties": [], "required": false }, "extensions": { "type": "object", "properties": { "mailchimp-newsletter": { "description": "mailchimp-newsletter poolt registreeritud laienduse andmed", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "optin": { "description": "Subscribe to marketing opt-in.", "type": [ "boolean", "null" ], "context": [ "view", "edit" ] }, "gdprFields": { "description": "GDPR marketing opt-in.", "type": "object", "context": [] } } }, "montonio-for-woocommerce": { "description": "montonio-for-woocommerce poolt registreeritud laienduse andmed", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "selected_pickup_point": { "description": "Valitud pakiautomaat", "type": [ "string", "null" ], "readonly": true } } }, "woocommerce\/order-attribution": { "description": "woocommerce\/order-attribution poolt registreeritud laienduse andmed", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "source_type": { "description": "Tellimuse omistamise v\u00e4li: source_type", "type": [ "string", "null" ], "context": [] }, "referrer": { "description": "Tellimuse omistamise v\u00e4li: referrer", "type": [ "string", "null" ], "context": [] }, "utm_campaign": { "description": "Tellimuse omistamise v\u00e4li: utm_campaign", "type": [ "string", "null" ], "context": [] }, "utm_source": { "description": "Tellimuse omistamise v\u00e4li: utm_source", "type": [ "string", "null" ], "context": [] }, "utm_medium": { "description": "Tellimuse omistamise v\u00e4li: utm_medium", "type": [ "string", "null" ], "context": [] }, "utm_content": { "description": "Tellimuse omistamise v\u00e4li: utm_content", "type": [ "string", "null" ], "context": [] }, "utm_id": { "description": "Tellimuse omistamise v\u00e4li: utm_id", "type": [ "string", "null" ], "context": [] }, "utm_term": { "description": "Tellimuse omistamise v\u00e4li: utm_term", "type": [ "string", "null" ], "context": [] }, "utm_source_platform": { "description": "Tellimuse omistamise v\u00e4li: utm_source_platform", "type": [ "string", "null" ], "context": [] }, "utm_creative_format": { "description": "Tellimuse omistamise v\u00e4li: utm_creative_format", "type": [ "string", "null" ], "context": [] }, "utm_marketing_tactic": { "description": "Tellimuse omistamise v\u00e4li: utm_marketing_tactic", "type": [ "string", "null" ], "context": [] }, "session_entry": { "description": "Tellimuse omistamise v\u00e4li: session_entry", "type": [ "string", "null" ], "context": [] }, "session_start_time": { "description": "Tellimuse omistamise v\u00e4li: session_start_time", "type": [ "string", "null" ], "context": [] }, "session_pages": { "description": "Tellimuse omistamise v\u00e4li: session_pages", "type": [ "string", "null" ], "context": [] }, "session_count": { "description": "Tellimuse omistamise v\u00e4li: session_count", "type": [ "string", "null" ], "context": [] }, "user_agent": { "description": "Tellimuse omistamise v\u00e4li: user_agent", "type": [ "string", "null" ], "context": [] } } } }, "default": { "mailchimp-newsletter": [], "montonio-for-woocommerce": [], "woocommerce\/order-attribution": [] }, "required": false } } } ] }, "\/wc\/store\/order\/(?P[\\d]+)": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Taotluse ulatus; m\u00e4\u00e4rab vastuseks olevad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/products\/attributes": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Taotluse ulatus; m\u00e4\u00e4rab vastuseks olevad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/store\/products\/attributes" } ] } }, "\/wc\/store\/products\/attributes\/(?P[\\d]+)": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "Taotluse ulatus; m\u00e4\u00e4rab vastuseks olevad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/products\/attributes\/(?P[\\d]+)\/terms": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "attribute_id": { "description": "Atribuudi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "Taotluse ulatus; m\u00e4\u00e4rab vastuseks olevad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv. T\u00fchjaks j\u00e4tmisel on vaikimisi piiranguteta.", "type": "integer", "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Piirake tulemusi nendega, mis vastavad stringile.", "type": "string", "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Sorteeri kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri terminiomaduste j\u00e4rgi.", "type": "string", "default": "name", "enum": [ "name", "slug", "count", "menu_order", "name_num", "id" ], "required": false }, "hide_empty": { "description": "Kui see on t\u00f5si, siis t\u00fchje tingimusi ei tagastata.", "type": "boolean", "default": true, "required": false }, "parent": { "description": "Limit results to terms with a specific parent (hierarchical taxonomies only).", "type": "integer", "required": false } } } ] }, "\/wc\/store\/products\/categories": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Taotluse ulatus; m\u00e4\u00e4rab vastuseks olevad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv. T\u00fchjaks j\u00e4tmisel on vaikimisi piiranguteta.", "type": "integer", "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Piirake tulemusi nendega, mis vastavad stringile.", "type": "string", "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Sorteeri kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri terminiomaduste j\u00e4rgi.", "type": "string", "default": "name", "enum": [ "name", "slug", "count" ], "required": false }, "hide_empty": { "description": "Kui see on t\u00f5si, siis t\u00fchje tingimusi ei tagastata.", "type": "boolean", "default": true, "required": false }, "parent": { "description": "Limit results to terms with a specific parent (hierarchical taxonomies only).", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/store\/products\/categories" } ] } }, "\/wc\/store\/products\/categories\/(?P[\\d]+)": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "Taotluse ulatus; m\u00e4\u00e4rab vastuseks olevad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/products\/brands": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Taotluse ulatus; m\u00e4\u00e4rab vastuseks olevad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv. T\u00fchjaks j\u00e4tmisel on vaikimisi piiranguteta.", "type": "integer", "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Piirake tulemusi nendega, mis vastavad stringile.", "type": "string", "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Sorteeri kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri terminiomaduste j\u00e4rgi.", "type": "string", "default": "name", "enum": [ "name", "slug", "count" ], "required": false }, "hide_empty": { "description": "Kui see on t\u00f5si, siis t\u00fchje tingimusi ei tagastata.", "type": "boolean", "default": true, "required": false }, "parent": { "description": "Limit results to terms with a specific parent (hierarchical taxonomies only).", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/store\/products\/brands" } ] } }, "\/wc\/store\/products\/brands\/(?P[\\w-]+)": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "identifier": { "description": "Ressursi kordumatu identifikaator.", "type": "string", "required": false }, "context": { "description": "Taotluse ulatus; m\u00e4\u00e4rab vastuseks olevad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/products\/collection-data": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Taotluse ulatus; m\u00e4\u00e4rab vastuseks olevad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv. T\u00fchjaks j\u00e4tmisel on vaikimisi piiranguteta.", "type": "integer", "default": 10, "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Piirake tulemusi nendega, mis vastavad stringile.", "type": "string", "required": false }, "slug": { "description": "Piirake tulemuste komplekt konkreetse(te) n\u00e4lkja(te)ga toodetega. Kasutage eraldamiseks komasid.", "type": "string", "required": false }, "after": { "description": "Piirake vastust ressurssidega, mis on loodud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piirake vastust ressurssidega, mis on loodud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "date_column": { "description": "Kui piirate vastust p\u00e4rast\/enne, millise kuup\u00e4eva veeruga v\u00f5rrelda.", "type": "string", "default": "date", "enum": [ "date", "date_gmt", "modified", "modified_gmt" ], "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "modified", "id", "include", "title", "slug", "price", "popularity", "rating", "menu_order", "comment_count" ], "required": false }, "parent": { "description": "Piirake tulemuste komplekt konkreetsete vanemate ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Piirake tulemuste komplekti k\u00f5igi \u00fcksustega, v\u00e4lja arvatud konkreetse \u00fclem-ID \u00fcksustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "type": { "description": "Piirake tulemuste komplekt toodetele, millele on m\u00e4\u00e4ratud kindel t\u00fc\u00fcp.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "variation" ], "required": false }, "sku": { "description": "Piirake tulemuste komplekt konkreetsete SKU-dega toodetega. Kasutage eraldamiseks komasid.", "type": "string", "required": false }, "featured": { "description": "Piirake tulemuste komplekt esiletoodud toodetega.", "type": "boolean", "required": false }, "category": { "description": "Limit result set to products assigned a set of category IDs or slugs, separated by commas.", "type": "string", "required": false }, "category_operator": { "description": "Operaator tootekategooria tingimuste v\u00f5rdlemiseks.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "brand": { "description": "Limit result set to products assigned a set of brand IDs or slugs, separated by commas.", "type": "string", "required": false }, "brand_operator": { "description": "Operator to compare product brand terms.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "tag": { "description": "Limit result set to products assigned a set of tag IDs or slugs, separated by commas.", "type": "string", "required": false }, "tag_operator": { "description": "Operaator tootesiltide v\u00f5rdlemiseks.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "on_sale": { "description": "Piirake tulemuste komplekt m\u00fc\u00fcgil olevatele toodetele.", "type": "boolean", "required": false }, "min_price": { "description": "Piirake tulemust toodetele minimaalse hinna alusel, mis esitatakse valuuta v\u00e4ikseimat \u00fchikut kasutades.", "type": "string", "required": false }, "max_price": { "description": "Piirake tulemust toodetele, mis p\u00f5hinevad maksimaalsel hinnal, kasutades valuuta v\u00e4ikseimat \u00fchikut.", "type": "string", "required": false }, "stock_status": { "description": "Piirake tulemus m\u00e4\u00e4ratud toodetele, mille laos on m\u00e4\u00e4ratud.", "type": "array", "items": { "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "sanitize_callback": "sanitize_text_field", "validate_callback": "rest_validate_request_arg" }, "default": [], "required": false }, "attributes": { "description": "Piirake tulemuste komplekt valitud globaalsete atribuutidega toodetega.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "description": "Atribuudi taksonoomia nimi.", "type": "string", "sanitize_callback": "wc_sanitize_taxonomy_name" }, "term_id": { "description": "Atribuutterminite ID-de loend.", "type": "array", "items": { "type": "integer" }, "sanitize_callback": "wp_parse_id_list" }, "slug": { "description": "Atribuutide n\u00e4lkja(te) loend. Termini ID esitamisel ignoreeritakse seda.", "type": "array", "items": { "type": "string" }, "sanitize_callback": "wp_parse_slug_list" }, "operator": { "description": "Operaator toote atribuutide terminite v\u00f5rdlemiseks.", "type": "string", "enum": [ "in", "not_in", "and" ] } } }, "default": [], "required": false }, "attribute_relation": { "description": "Loogiline seos atribuutide vahel mitme korraga filtreerimisel.", "type": "string", "enum": [ "in", "and" ], "default": "and", "required": false }, "catalog_visibility": { "description": "M\u00e4\u00e4rab, kas kuvatakse peidetud v\u00f5i n\u00e4htavad kataloogitooted.", "type": "string", "enum": [ "any", "visible", "catalog", "search", "hidden" ], "required": false }, "rating": { "description": "Piirake tulemusi teatud keskmise hinnanguga toodetega.", "type": "array", "items": { "type": "integer", "enum": [ 1, 2, 3, 4, 5 ] }, "default": [], "required": false }, "calculate_price_range": { "description": "Kui see on t\u00f5ene, arvutab kollektsiooni minimaalse ja maksimaalse tootehinna.", "type": "boolean", "default": false, "required": false }, "calculate_stock_status_counts": { "description": "Kui see on t\u00f5ene, arvutab kogus olevate toodete laoseisu.", "type": "boolean", "default": false, "required": false }, "calculate_attribute_counts": { "description": "Soovi korral arvutab kogus olevate toodete atribuutide terminite arvu.", "type": "array", "items": { "type": "object", "properties": { "taxonomy": { "description": "Taksonoomia nimi.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "query_type": { "description": "Teostatakse filtri seisukord, mis v\u00f5ib loendeid m\u00f5jutada. Kehtivad v\u00e4\u00e4rtused h\u00f5lmavad "ja" ja "v\u00f5i".", "type": "string", "enum": [ "and", "or" ], "context": [ "view", "edit" ], "readonly": true } } }, "default": [], "required": false }, "calculate_rating_counts": { "description": "Kui see on t\u00f5ene, arvutab kogus olevate toodete hinnangute arvu.", "type": "boolean", "default": false, "required": false }, "calculate_taxonomy_counts": { "description": "If requested, calculates taxonomy term counts for products in the collection.", "type": "array", "items": { "type": "string", "description": "Taksonoomia nimi." }, "default": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/store\/products\/collection-data" } ] } }, "\/wc\/store\/products\/reviews": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Taotluse ulatus; m\u00e4\u00e4rab vastuseks olevad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv. T\u00fchjaks j\u00e4tmisel on vaikimisi piiranguteta.", "type": "integer", "default": 10, "minimum": 0, "maximum": 100, "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "date_gmt", "id", "rating", "product" ], "required": false }, "category_id": { "description": "Piirake tulemuste komplekt arvustustega, mis p\u00e4rinevad konkreetsetest kategooria ID-dest.", "type": "string", "required": false }, "product_id": { "description": "Piirake tulemuste komplekt arvustustega konkreetsetest toote ID-dest.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/store\/products\/reviews" } ] } }, "\/wc\/store\/products\/tags": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Taotluse ulatus; m\u00e4\u00e4rab vastuseks olevad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv. T\u00fchjaks j\u00e4tmisel on vaikimisi piiranguteta.", "type": "integer", "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Piirake tulemusi nendega, mis vastavad stringile.", "type": "string", "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Sorteeri kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri terminiomaduste j\u00e4rgi.", "type": "string", "default": "name", "enum": [ "name", "slug", "count" ], "required": false }, "hide_empty": { "description": "Kui see on t\u00f5si, siis t\u00fchje tingimusi ei tagastata.", "type": "boolean", "default": true, "required": false }, "parent": { "description": "Limit results to terms with a specific parent (hierarchical taxonomies only).", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/store\/products\/tags" } ] } }, "\/wc\/store\/products": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Taotluse ulatus; m\u00e4\u00e4rab vastuseks olevad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv. T\u00fchjaks j\u00e4tmisel on vaikimisi piiranguteta.", "type": "integer", "default": 10, "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Piirake tulemusi nendega, mis vastavad stringile.", "type": "string", "required": false }, "slug": { "description": "Piirake tulemuste komplekt konkreetse(te) n\u00e4lkja(te)ga toodetega. Kasutage eraldamiseks komasid.", "type": "string", "required": false }, "after": { "description": "Piirake vastust ressurssidega, mis on loodud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piirake vastust ressurssidega, mis on loodud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "date_column": { "description": "Kui piirate vastust p\u00e4rast\/enne, millise kuup\u00e4eva veeruga v\u00f5rrelda.", "type": "string", "default": "date", "enum": [ "date", "date_gmt", "modified", "modified_gmt" ], "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "modified", "id", "include", "title", "slug", "price", "popularity", "rating", "menu_order", "comment_count" ], "required": false }, "parent": { "description": "Piirake tulemuste komplekt konkreetsete vanemate ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Piirake tulemuste komplekti k\u00f5igi \u00fcksustega, v\u00e4lja arvatud konkreetse \u00fclem-ID \u00fcksustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "type": { "description": "Piirake tulemuste komplekt toodetele, millele on m\u00e4\u00e4ratud kindel t\u00fc\u00fcp.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "variation" ], "required": false }, "sku": { "description": "Piirake tulemuste komplekt konkreetsete SKU-dega toodetega. Kasutage eraldamiseks komasid.", "type": "string", "required": false }, "featured": { "description": "Piirake tulemuste komplekt esiletoodud toodetega.", "type": "boolean", "required": false }, "category": { "description": "Limit result set to products assigned a set of category IDs or slugs, separated by commas.", "type": "string", "required": false }, "category_operator": { "description": "Operaator tootekategooria tingimuste v\u00f5rdlemiseks.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "brand": { "description": "Limit result set to products assigned a set of brand IDs or slugs, separated by commas.", "type": "string", "required": false }, "brand_operator": { "description": "Operator to compare product brand terms.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "tag": { "description": "Limit result set to products assigned a set of tag IDs or slugs, separated by commas.", "type": "string", "required": false }, "tag_operator": { "description": "Operaator tootesiltide v\u00f5rdlemiseks.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "on_sale": { "description": "Piirake tulemuste komplekt m\u00fc\u00fcgil olevatele toodetele.", "type": "boolean", "required": false }, "min_price": { "description": "Piirake tulemust toodetele minimaalse hinna alusel, mis esitatakse valuuta v\u00e4ikseimat \u00fchikut kasutades.", "type": "string", "required": false }, "max_price": { "description": "Piirake tulemust toodetele, mis p\u00f5hinevad maksimaalsel hinnal, kasutades valuuta v\u00e4ikseimat \u00fchikut.", "type": "string", "required": false }, "stock_status": { "description": "Piirake tulemus m\u00e4\u00e4ratud toodetele, mille laos on m\u00e4\u00e4ratud.", "type": "array", "items": { "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "sanitize_callback": "sanitize_text_field", "validate_callback": "rest_validate_request_arg" }, "default": [], "required": false }, "attributes": { "description": "Piirake tulemuste komplekt valitud globaalsete atribuutidega toodetega.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "description": "Atribuudi taksonoomia nimi.", "type": "string", "sanitize_callback": "wc_sanitize_taxonomy_name" }, "term_id": { "description": "Atribuutterminite ID-de loend.", "type": "array", "items": { "type": "integer" }, "sanitize_callback": "wp_parse_id_list" }, "slug": { "description": "Atribuutide n\u00e4lkja(te) loend. Termini ID esitamisel ignoreeritakse seda.", "type": "array", "items": { "type": "string" }, "sanitize_callback": "wp_parse_slug_list" }, "operator": { "description": "Operaator toote atribuutide terminite v\u00f5rdlemiseks.", "type": "string", "enum": [ "in", "not_in", "and" ] } } }, "default": [], "required": false }, "attribute_relation": { "description": "Loogiline seos atribuutide vahel mitme korraga filtreerimisel.", "type": "string", "enum": [ "in", "and" ], "default": "and", "required": false }, "catalog_visibility": { "description": "M\u00e4\u00e4rab, kas kuvatakse peidetud v\u00f5i n\u00e4htavad kataloogitooted.", "type": "string", "enum": [ "any", "visible", "catalog", "search", "hidden" ], "required": false }, "rating": { "description": "Piirake tulemusi teatud keskmise hinnanguga toodetega.", "type": "array", "items": { "type": "integer", "enum": [ 1, 2, 3, 4, 5 ] }, "default": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/store\/products" } ] } }, "\/wc\/store\/products\/(?P[\\d]+)": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "Taotluse ulatus; m\u00e4\u00e4rab vastuseks olevad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/products\/(?P[\\S]+)": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "slug": { "description": "Ressursi n\u00e4lkjas.", "type": "string", "required": false }, "context": { "description": "Taotluse ulatus; m\u00e4\u00e4rab vastuseks olevad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/v1": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wc\/store\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/store\/v1" } ] } }, "\/wc\/store\/v1\/batch": { "namespace": "wc\/store\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "validation": { "type": "string", "enum": [ "require-all-validate", "normal" ], "default": "normal", "required": false }, "requests": { "type": "array", "maxItems": 25, "items": { "type": "object", "properties": { "method": { "type": "string", "enum": [ "POST", "PUT", "PATCH", "DELETE" ], "default": "POST" }, "path": { "type": "string", "required": true }, "body": { "type": "object", "properties": [], "additionalProperties": true }, "headers": { "type": "object", "properties": [], "additionalProperties": { "type": [ "string", "array" ], "items": { "type": "string" } } } } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/store\/v1\/batch" } ] } }, "\/wc\/store\/v1\/cart": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Taotluse ulatus; m\u00e4\u00e4rab vastuseks olevad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/store\/v1\/cart" } ] } }, "\/wc\/store\/v1\/cart\/add-item": { "namespace": "wc\/store\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Ostukorvi kauba toote v\u00f5i variatsiooni ID.", "type": "integer", "required": false }, "quantity": { "description": "Selle kauba kogus ostukorvi lisamiseks.", "type": "number", "required": false }, "variation": { "description": "Valitud atribuudid (variatsioonide jaoks).", "type": "array", "items": { "type": "object", "properties": { "attribute": { "description": "Variatsiooni atribuudi nimi.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Variatsiooni atribuudi v\u00e4\u00e4rtus.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/store\/v1\/cart\/add-item" } ] } }, "\/wc\/store\/v1\/cart\/apply-coupon": { "namespace": "wc\/store\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "Ostukorvis oleva kupongi kordumatu identifikaator.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/store\/v1\/cart\/apply-coupon" } ] } }, "\/wc\/store\/v1\/cart\/coupons": { "namespace": "wc\/store\/v1", "methods": [ "GET", "POST", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Taotluse ulatus; m\u00e4\u00e4rab vastuseks olevad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "Kupongi unikaalne kood.", "type": "string", "required": false }, "discount_type": { "description": "Kupongi allahindluse t\u00fc\u00fcp (nt protsent v\u00f5i fikseeritud summa)", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/store\/v1\/cart\/coupons" } ] } }, "\/wc\/store\/v1\/cart\/coupons\/(?P[\\w-]+)": { "namespace": "wc\/store\/v1", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "Ostukorvis oleva kupongi kordumatu identifikaator.", "type": "string", "required": false }, "context": { "description": "Taotluse ulatus; m\u00e4\u00e4rab vastuseks olevad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "Ostukorvis oleva kupongi kordumatu identifikaator.", "type": "string", "required": false } } } ] }, "\/wc\/store\/v1\/cart\/extensions": { "namespace": "wc\/store\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "namespace": { "description": "Laienduse nimi \u2013 seda kasutatakse p\u00e4ringus sisalduvate andmete \u00f5ige suunamise tagamiseks.", "type": "string", "required": false }, "data": { "description": "T\u00e4iendavad andmed laiendusele edastamiseks", "type": "object", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/store\/v1\/cart\/extensions" } ] } }, "\/wc\/store\/v1\/cart\/items": { "namespace": "wc\/store\/v1", "methods": [ "GET", "POST", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Taotluse ulatus; m\u00e4\u00e4rab vastuseks olevad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "extensions": { "type": "object", "properties": [], "default": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/store\/v1\/cart\/items" } ] } }, "\/wc\/store\/v1\/cart\/items\/(?P[\\w-]{32})": { "namespace": "wc\/store\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "Ostukorvis oleva kauba kordumatu identifikaator.", "type": "string", "required": false }, "context": { "description": "Taotluse ulatus; m\u00e4\u00e4rab vastuseks olevad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "Ostukorvis oleva kauba kordumatu identifikaator.", "type": "string", "required": false }, "extensions": { "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "Ostukorvis oleva kauba kordumatu identifikaator.", "type": "string", "required": false } } } ] }, "\/wc\/store\/v1\/cart\/remove-coupon": { "namespace": "wc\/store\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "Ostukorvis oleva kupongi kordumatu identifikaator.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/store\/v1\/cart\/remove-coupon" } ] } }, "\/wc\/store\/v1\/cart\/remove-item": { "namespace": "wc\/store\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "Ostukorvi kauba kordumatu identifikaator (v\u00f5ti).", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/store\/v1\/cart\/remove-item" } ] } }, "\/wc\/store\/v1\/cart\/select-shipping-rate": { "namespace": "wc\/store\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "package_id": { "description": "Saadetava paki ID. K\u00f5igile pakettidele rakendamiseks j\u00e4tke t\u00fchjaks.", "type": [ "integer", "string", "null" ], "required": false }, "rate_id": { "description": "Paketi valitud hinna ID.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/store\/v1\/cart\/select-shipping-rate" } ] } }, "\/wc\/store\/v1\/cart\/update-item": { "namespace": "wc\/store\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "Uuendatava ostukorvi\u00fcksuse kordumatu identifikaator (v\u00f5ti).", "type": "string", "required": false }, "quantity": { "description": "Uus kogus kaupa ostukorvis.", "type": "number", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/store\/v1\/cart\/update-item" } ] } }, "\/wc\/store\/v1\/cart\/update-customer": { "namespace": "wc\/store\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "billing_address": { "description": "Arveldusaadress.", "type": "object", "properties": { "first_name": { "description": "Eesnimi", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Perekonnanimi", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Ettev\u00f5te", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Aadress", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Korter, sviit jne.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Linn", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "Osariigi\/maakonna kood v\u00f5i osariigi, maakonna, provintsi v\u00f5i ringkonna nimi.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Postiindeks", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Riigi\/piirkonna kood ISO 3166-1 alfa-2 formaadis.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Telefon", "type": "string", "context": [ "view", "edit" ], "required": true }, "email": { "description": "Meil", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "shipping_address": { "description": "Tarneaadress.", "type": "object", "properties": { "first_name": { "description": "Eesnimi", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Perekonnanimi", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Ettev\u00f5te", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Aadress", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Korter, sviit jne.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Linn", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "Osariigi\/maakonna kood v\u00f5i osariigi, maakonna, provintsi v\u00f5i ringkonna nimi.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Postiindeks", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Riigi\/piirkonna kood ISO 3166-1 alfa-2 formaadis.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Telefon", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/store\/v1\/cart\/update-customer" } ] } }, "\/wc\/store\/v1\/checkout": { "namespace": "wc\/store\/v1", "methods": [ "GET", "POST", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Taotluse ulatus; m\u00e4\u00e4rab vastuseks olevad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "payment_data": { "description": "Makse t\u00f6\u00f6tlemisel makseviisile edastatavad andmed.", "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": { "type": [ "string", "boolean" ] } } }, "required": false }, "customer_password": { "description": "Kliendi parool uute kontode jaoks, kui see on kohaldatav.", "type": "string", "required": false }, "customer_note": { "description": "Kliendi poolt tellimusele lisatud m\u00e4rkus kassas tasumisel.", "type": "string", "required": false }, "billing_address": { "description": "Arveldusaadress.", "type": "object", "properties": { "first_name": { "description": "Eesnimi", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Perekonnanimi", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Ettev\u00f5te", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Aadress", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Korter, sviit jne.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Linn", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "Osariigi\/maakonna kood v\u00f5i osariigi, maakonna, provintsi v\u00f5i ringkonna nimi.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Postiindeks", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Riigi\/piirkonna kood ISO 3166-1 alfa-2 formaadis.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Telefon", "type": "string", "context": [ "view", "edit" ], "required": true }, "email": { "description": "Meil", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": true }, "shipping_address": { "description": "Tarneaadress.", "type": "object", "properties": { "first_name": { "description": "Eesnimi", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Perekonnanimi", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Ettev\u00f5te", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Aadress", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Korter, sviit jne.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Linn", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "Osariigi\/maakonna kood v\u00f5i osariigi, maakonna, provintsi v\u00f5i ringkonna nimi.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Postiindeks", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Riigi\/piirkonna kood ISO 3166-1 alfa-2 formaadis.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Telefon", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "payment_method": { "description": "Makse t\u00f6\u00f6tlemiseks kasutatava makseviisi ID.", "type": "string", "enum": [ "", "cpsw_stripe", "cpsw_alipay", "cpsw_ideal", "cpsw_klarna", "cpsw_p24", "cpsw_bancontact", "cpsw_wechat", "cpsw_sepa", "bacs", "cheque", "cod", "wc_montonio_card", "wc_montonio_payments", "wc_montonio_blik", "wc_montonio_bnpl", "wc_montonio_hire_purchase", "cpsw_stripe_element" ], "required": false }, "create_account": { "description": "Kas luua tellimuse t\u00f6\u00f6tlemise osana uus kasutajakonto.", "type": "boolean", "required": false }, "additional_fields": { "description": "Tellimusele j\u00e4\u00e4vad lisav\u00e4ljad.", "type": "object", "properties": [], "required": false }, "extensions": { "type": "object", "properties": { "mailchimp-newsletter": { "description": "mailchimp-newsletter poolt registreeritud laienduse andmed", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "optin": { "description": "Subscribe to marketing opt-in.", "type": [ "boolean", "null" ], "context": [ "view", "edit" ] }, "gdprFields": { "description": "GDPR marketing opt-in.", "type": "object", "context": [] } } }, "montonio-for-woocommerce": { "description": "montonio-for-woocommerce poolt registreeritud laienduse andmed", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "selected_pickup_point": { "description": "Valitud pakiautomaat", "type": [ "string", "null" ], "readonly": true } } }, "woocommerce\/order-attribution": { "description": "woocommerce\/order-attribution poolt registreeritud laienduse andmed", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "source_type": { "description": "Tellimuse omistamise v\u00e4li: source_type", "type": [ "string", "null" ], "context": [] }, "referrer": { "description": "Tellimuse omistamise v\u00e4li: referrer", "type": [ "string", "null" ], "context": [] }, "utm_campaign": { "description": "Tellimuse omistamise v\u00e4li: utm_campaign", "type": [ "string", "null" ], "context": [] }, "utm_source": { "description": "Tellimuse omistamise v\u00e4li: utm_source", "type": [ "string", "null" ], "context": [] }, "utm_medium": { "description": "Tellimuse omistamise v\u00e4li: utm_medium", "type": [ "string", "null" ], "context": [] }, "utm_content": { "description": "Tellimuse omistamise v\u00e4li: utm_content", "type": [ "string", "null" ], "context": [] }, "utm_id": { "description": "Tellimuse omistamise v\u00e4li: utm_id", "type": [ "string", "null" ], "context": [] }, "utm_term": { "description": "Tellimuse omistamise v\u00e4li: utm_term", "type": [ "string", "null" ], "context": [] }, "utm_source_platform": { "description": "Tellimuse omistamise v\u00e4li: utm_source_platform", "type": [ "string", "null" ], "context": [] }, "utm_creative_format": { "description": "Tellimuse omistamise v\u00e4li: utm_creative_format", "type": [ "string", "null" ], "context": [] }, "utm_marketing_tactic": { "description": "Tellimuse omistamise v\u00e4li: utm_marketing_tactic", "type": [ "string", "null" ], "context": [] }, "session_entry": { "description": "Tellimuse omistamise v\u00e4li: session_entry", "type": [ "string", "null" ], "context": [] }, "session_start_time": { "description": "Tellimuse omistamise v\u00e4li: session_start_time", "type": [ "string", "null" ], "context": [] }, "session_pages": { "description": "Tellimuse omistamise v\u00e4li: session_pages", "type": [ "string", "null" ], "context": [] }, "session_count": { "description": "Tellimuse omistamise v\u00e4li: session_count", "type": [ "string", "null" ], "context": [] }, "user_agent": { "description": "Tellimuse omistamise v\u00e4li: user_agent", "type": [ "string", "null" ], "context": [] } } } }, "default": { "mailchimp-newsletter": [], "montonio-for-woocommerce": [], "woocommerce\/order-attribution": [] }, "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "additional_fields": { "description": "Tellimusele j\u00e4\u00e4vad lisav\u00e4ljad.", "type": "object", "properties": [], "required": false }, "payment_method": { "description": "Makse t\u00f6\u00f6tlemiseks kasutatava makseviisi ID.", "type": "string", "enum": [ "", "cpsw_stripe", "cpsw_alipay", "cpsw_ideal", "cpsw_klarna", "cpsw_p24", "cpsw_bancontact", "cpsw_wechat", "cpsw_sepa", "bacs", "cheque", "cod", "wc_montonio_card", "wc_montonio_payments", "wc_montonio_blik", "wc_montonio_bnpl", "wc_montonio_hire_purchase", "cpsw_stripe_element" ], "required": false }, "order_notes": { "description": "Tellimuse m\u00e4rkused.", "type": "string", "required": false }, "customer_note": { "description": "Kliendi poolt tellimusele lisatud m\u00e4rkus kassas tasumisel.", "type": "string", "required": false }, "billing_address": { "description": "Arveldusaadress.", "type": "object", "properties": { "first_name": { "description": "Eesnimi", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Perekonnanimi", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Ettev\u00f5te", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Aadress", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Korter, sviit jne.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Linn", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "Osariigi\/maakonna kood v\u00f5i osariigi, maakonna, provintsi v\u00f5i ringkonna nimi.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Postiindeks", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Riigi\/piirkonna kood ISO 3166-1 alfa-2 formaadis.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Telefon", "type": "string", "context": [ "view", "edit" ], "required": true }, "email": { "description": "Meil", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "shipping_address": { "description": "Tarneaadress.", "type": "object", "properties": { "first_name": { "description": "Eesnimi", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Perekonnanimi", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Ettev\u00f5te", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Aadress", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Korter, sviit jne.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Linn", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "Osariigi\/maakonna kood v\u00f5i osariigi, maakonna, provintsi v\u00f5i ringkonna nimi.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Postiindeks", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Riigi\/piirkonna kood ISO 3166-1 alfa-2 formaadis.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Telefon", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "create_account": { "description": "Kas luua tellimuse t\u00f6\u00f6tlemise osana uus kasutajakonto.", "type": "boolean", "required": false }, "extensions": { "type": "object", "properties": { "mailchimp-newsletter": { "description": "mailchimp-newsletter poolt registreeritud laienduse andmed", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "optin": { "description": "Subscribe to marketing opt-in.", "type": [ "boolean", "null" ], "context": [ "view", "edit" ] }, "gdprFields": { "description": "GDPR marketing opt-in.", "type": "object", "context": [] } } }, "montonio-for-woocommerce": { "description": "montonio-for-woocommerce poolt registreeritud laienduse andmed", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "selected_pickup_point": { "description": "Valitud pakiautomaat", "type": [ "string", "null" ], "readonly": true } } }, "woocommerce\/order-attribution": { "description": "woocommerce\/order-attribution poolt registreeritud laienduse andmed", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "source_type": { "description": "Tellimuse omistamise v\u00e4li: source_type", "type": [ "string", "null" ], "context": [] }, "referrer": { "description": "Tellimuse omistamise v\u00e4li: referrer", "type": [ "string", "null" ], "context": [] }, "utm_campaign": { "description": "Tellimuse omistamise v\u00e4li: utm_campaign", "type": [ "string", "null" ], "context": [] }, "utm_source": { "description": "Tellimuse omistamise v\u00e4li: utm_source", "type": [ "string", "null" ], "context": [] }, "utm_medium": { "description": "Tellimuse omistamise v\u00e4li: utm_medium", "type": [ "string", "null" ], "context": [] }, "utm_content": { "description": "Tellimuse omistamise v\u00e4li: utm_content", "type": [ "string", "null" ], "context": [] }, "utm_id": { "description": "Tellimuse omistamise v\u00e4li: utm_id", "type": [ "string", "null" ], "context": [] }, "utm_term": { "description": "Tellimuse omistamise v\u00e4li: utm_term", "type": [ "string", "null" ], "context": [] }, "utm_source_platform": { "description": "Tellimuse omistamise v\u00e4li: utm_source_platform", "type": [ "string", "null" ], "context": [] }, "utm_creative_format": { "description": "Tellimuse omistamise v\u00e4li: utm_creative_format", "type": [ "string", "null" ], "context": [] }, "utm_marketing_tactic": { "description": "Tellimuse omistamise v\u00e4li: utm_marketing_tactic", "type": [ "string", "null" ], "context": [] }, "session_entry": { "description": "Tellimuse omistamise v\u00e4li: session_entry", "type": [ "string", "null" ], "context": [] }, "session_start_time": { "description": "Tellimuse omistamise v\u00e4li: session_start_time", "type": [ "string", "null" ], "context": [] }, "session_pages": { "description": "Tellimuse omistamise v\u00e4li: session_pages", "type": [ "string", "null" ], "context": [] }, "session_count": { "description": "Tellimuse omistamise v\u00e4li: session_count", "type": [ "string", "null" ], "context": [] }, "user_agent": { "description": "Tellimuse omistamise v\u00e4li: user_agent", "type": [ "string", "null" ], "context": [] } } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/store\/v1\/checkout" } ] } }, "\/wc\/store\/v1\/checkout\/(?P[\\d]+)": { "namespace": "wc\/store\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "payment_data": { "description": "Makse t\u00f6\u00f6tlemisel makseviisile edastatavad andmed.", "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": { "type": [ "string", "boolean" ] } } }, "required": false }, "customer_note": { "description": "Kliendi poolt tellimusele lisatud m\u00e4rkus kassas tasumisel.", "type": "string", "required": false }, "billing_address": { "description": "Arveldusaadress.", "type": "object", "properties": { "first_name": { "description": "Eesnimi", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Perekonnanimi", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Ettev\u00f5te", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Aadress", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Korter, sviit jne.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Linn", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "Osariigi\/maakonna kood v\u00f5i osariigi, maakonna, provintsi v\u00f5i ringkonna nimi.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Postiindeks", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Riigi\/piirkonna kood ISO 3166-1 alfa-2 formaadis.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Telefon", "type": "string", "context": [ "view", "edit" ], "required": true }, "email": { "description": "Meil", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": true }, "shipping_address": { "description": "Tarneaadress.", "type": "object", "properties": { "first_name": { "description": "Eesnimi", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Perekonnanimi", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Ettev\u00f5te", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Aadress", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Korter, sviit jne.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Linn", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "Osariigi\/maakonna kood v\u00f5i osariigi, maakonna, provintsi v\u00f5i ringkonna nimi.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Postiindeks", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Riigi\/piirkonna kood ISO 3166-1 alfa-2 formaadis.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Telefon", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "payment_method": { "description": "Makse t\u00f6\u00f6tlemiseks kasutatava makseviisi ID.", "type": "string", "enum": [ "", "cpsw_stripe", "cpsw_alipay", "cpsw_ideal", "cpsw_klarna", "cpsw_p24", "cpsw_bancontact", "cpsw_wechat", "cpsw_sepa", "bacs", "cheque", "cod", "wc_montonio_card", "wc_montonio_payments", "wc_montonio_blik", "wc_montonio_bnpl", "wc_montonio_hire_purchase", "cpsw_stripe_element" ], "required": false }, "additional_fields": { "description": "Tellimusele j\u00e4\u00e4vad lisav\u00e4ljad.", "type": "object", "properties": [], "required": false }, "extensions": { "type": "object", "properties": { "mailchimp-newsletter": { "description": "mailchimp-newsletter poolt registreeritud laienduse andmed", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "optin": { "description": "Subscribe to marketing opt-in.", "type": [ "boolean", "null" ], "context": [ "view", "edit" ] }, "gdprFields": { "description": "GDPR marketing opt-in.", "type": "object", "context": [] } } }, "montonio-for-woocommerce": { "description": "montonio-for-woocommerce poolt registreeritud laienduse andmed", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "selected_pickup_point": { "description": "Valitud pakiautomaat", "type": [ "string", "null" ], "readonly": true } } }, "woocommerce\/order-attribution": { "description": "woocommerce\/order-attribution poolt registreeritud laienduse andmed", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "source_type": { "description": "Tellimuse omistamise v\u00e4li: source_type", "type": [ "string", "null" ], "context": [] }, "referrer": { "description": "Tellimuse omistamise v\u00e4li: referrer", "type": [ "string", "null" ], "context": [] }, "utm_campaign": { "description": "Tellimuse omistamise v\u00e4li: utm_campaign", "type": [ "string", "null" ], "context": [] }, "utm_source": { "description": "Tellimuse omistamise v\u00e4li: utm_source", "type": [ "string", "null" ], "context": [] }, "utm_medium": { "description": "Tellimuse omistamise v\u00e4li: utm_medium", "type": [ "string", "null" ], "context": [] }, "utm_content": { "description": "Tellimuse omistamise v\u00e4li: utm_content", "type": [ "string", "null" ], "context": [] }, "utm_id": { "description": "Tellimuse omistamise v\u00e4li: utm_id", "type": [ "string", "null" ], "context": [] }, "utm_term": { "description": "Tellimuse omistamise v\u00e4li: utm_term", "type": [ "string", "null" ], "context": [] }, "utm_source_platform": { "description": "Tellimuse omistamise v\u00e4li: utm_source_platform", "type": [ "string", "null" ], "context": [] }, "utm_creative_format": { "description": "Tellimuse omistamise v\u00e4li: utm_creative_format", "type": [ "string", "null" ], "context": [] }, "utm_marketing_tactic": { "description": "Tellimuse omistamise v\u00e4li: utm_marketing_tactic", "type": [ "string", "null" ], "context": [] }, "session_entry": { "description": "Tellimuse omistamise v\u00e4li: session_entry", "type": [ "string", "null" ], "context": [] }, "session_start_time": { "description": "Tellimuse omistamise v\u00e4li: session_start_time", "type": [ "string", "null" ], "context": [] }, "session_pages": { "description": "Tellimuse omistamise v\u00e4li: session_pages", "type": [ "string", "null" ], "context": [] }, "session_count": { "description": "Tellimuse omistamise v\u00e4li: session_count", "type": [ "string", "null" ], "context": [] }, "user_agent": { "description": "Tellimuse omistamise v\u00e4li: user_agent", "type": [ "string", "null" ], "context": [] } } } }, "default": { "mailchimp-newsletter": [], "montonio-for-woocommerce": [], "woocommerce\/order-attribution": [] }, "required": false } } } ] }, "\/wc\/store\/v1\/order\/(?P[\\d]+)": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Taotluse ulatus; m\u00e4\u00e4rab vastuseks olevad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/v1\/products\/attributes": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Taotluse ulatus; m\u00e4\u00e4rab vastuseks olevad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/store\/v1\/products\/attributes" } ] } }, "\/wc\/store\/v1\/products\/attributes\/(?P[\\d]+)": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "Taotluse ulatus; m\u00e4\u00e4rab vastuseks olevad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/v1\/products\/attributes\/(?P[\\d]+)\/terms": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "attribute_id": { "description": "Atribuudi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "Taotluse ulatus; m\u00e4\u00e4rab vastuseks olevad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv. T\u00fchjaks j\u00e4tmisel on vaikimisi piiranguteta.", "type": "integer", "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Piirake tulemusi nendega, mis vastavad stringile.", "type": "string", "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Sorteeri kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri terminiomaduste j\u00e4rgi.", "type": "string", "default": "name", "enum": [ "name", "slug", "count", "menu_order", "name_num", "id" ], "required": false }, "hide_empty": { "description": "Kui see on t\u00f5si, siis t\u00fchje tingimusi ei tagastata.", "type": "boolean", "default": true, "required": false }, "parent": { "description": "Limit results to terms with a specific parent (hierarchical taxonomies only).", "type": "integer", "required": false } } } ] }, "\/wc\/store\/v1\/products\/categories": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Taotluse ulatus; m\u00e4\u00e4rab vastuseks olevad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv. T\u00fchjaks j\u00e4tmisel on vaikimisi piiranguteta.", "type": "integer", "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Piirake tulemusi nendega, mis vastavad stringile.", "type": "string", "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Sorteeri kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri terminiomaduste j\u00e4rgi.", "type": "string", "default": "name", "enum": [ "name", "slug", "count" ], "required": false }, "hide_empty": { "description": "Kui see on t\u00f5si, siis t\u00fchje tingimusi ei tagastata.", "type": "boolean", "default": true, "required": false }, "parent": { "description": "Limit results to terms with a specific parent (hierarchical taxonomies only).", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/store\/v1\/products\/categories" } ] } }, "\/wc\/store\/v1\/products\/categories\/(?P[\\d]+)": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "Taotluse ulatus; m\u00e4\u00e4rab vastuseks olevad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/v1\/products\/brands": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Taotluse ulatus; m\u00e4\u00e4rab vastuseks olevad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv. T\u00fchjaks j\u00e4tmisel on vaikimisi piiranguteta.", "type": "integer", "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Piirake tulemusi nendega, mis vastavad stringile.", "type": "string", "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Sorteeri kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri terminiomaduste j\u00e4rgi.", "type": "string", "default": "name", "enum": [ "name", "slug", "count" ], "required": false }, "hide_empty": { "description": "Kui see on t\u00f5si, siis t\u00fchje tingimusi ei tagastata.", "type": "boolean", "default": true, "required": false }, "parent": { "description": "Limit results to terms with a specific parent (hierarchical taxonomies only).", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/store\/v1\/products\/brands" } ] } }, "\/wc\/store\/v1\/products\/brands\/(?P[\\w-]+)": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "identifier": { "description": "Ressursi kordumatu identifikaator.", "type": "string", "required": false }, "context": { "description": "Taotluse ulatus; m\u00e4\u00e4rab vastuseks olevad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/v1\/products\/collection-data": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Taotluse ulatus; m\u00e4\u00e4rab vastuseks olevad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv. T\u00fchjaks j\u00e4tmisel on vaikimisi piiranguteta.", "type": "integer", "default": 10, "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Piirake tulemusi nendega, mis vastavad stringile.", "type": "string", "required": false }, "slug": { "description": "Piirake tulemuste komplekt konkreetse(te) n\u00e4lkja(te)ga toodetega. Kasutage eraldamiseks komasid.", "type": "string", "required": false }, "after": { "description": "Piirake vastust ressurssidega, mis on loodud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piirake vastust ressurssidega, mis on loodud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "date_column": { "description": "Kui piirate vastust p\u00e4rast\/enne, millise kuup\u00e4eva veeruga v\u00f5rrelda.", "type": "string", "default": "date", "enum": [ "date", "date_gmt", "modified", "modified_gmt" ], "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "modified", "id", "include", "title", "slug", "price", "popularity", "rating", "menu_order", "comment_count" ], "required": false }, "parent": { "description": "Piirake tulemuste komplekt konkreetsete vanemate ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Piirake tulemuste komplekti k\u00f5igi \u00fcksustega, v\u00e4lja arvatud konkreetse \u00fclem-ID \u00fcksustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "type": { "description": "Piirake tulemuste komplekt toodetele, millele on m\u00e4\u00e4ratud kindel t\u00fc\u00fcp.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "variation" ], "required": false }, "sku": { "description": "Piirake tulemuste komplekt konkreetsete SKU-dega toodetega. Kasutage eraldamiseks komasid.", "type": "string", "required": false }, "featured": { "description": "Piirake tulemuste komplekt esiletoodud toodetega.", "type": "boolean", "required": false }, "category": { "description": "Limit result set to products assigned a set of category IDs or slugs, separated by commas.", "type": "string", "required": false }, "category_operator": { "description": "Operaator tootekategooria tingimuste v\u00f5rdlemiseks.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "brand": { "description": "Limit result set to products assigned a set of brand IDs or slugs, separated by commas.", "type": "string", "required": false }, "brand_operator": { "description": "Operator to compare product brand terms.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "tag": { "description": "Limit result set to products assigned a set of tag IDs or slugs, separated by commas.", "type": "string", "required": false }, "tag_operator": { "description": "Operaator tootesiltide v\u00f5rdlemiseks.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "on_sale": { "description": "Piirake tulemuste komplekt m\u00fc\u00fcgil olevatele toodetele.", "type": "boolean", "required": false }, "min_price": { "description": "Piirake tulemust toodetele minimaalse hinna alusel, mis esitatakse valuuta v\u00e4ikseimat \u00fchikut kasutades.", "type": "string", "required": false }, "max_price": { "description": "Piirake tulemust toodetele, mis p\u00f5hinevad maksimaalsel hinnal, kasutades valuuta v\u00e4ikseimat \u00fchikut.", "type": "string", "required": false }, "stock_status": { "description": "Piirake tulemus m\u00e4\u00e4ratud toodetele, mille laos on m\u00e4\u00e4ratud.", "type": "array", "items": { "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "sanitize_callback": "sanitize_text_field", "validate_callback": "rest_validate_request_arg" }, "default": [], "required": false }, "attributes": { "description": "Piirake tulemuste komplekt valitud globaalsete atribuutidega toodetega.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "description": "Atribuudi taksonoomia nimi.", "type": "string", "sanitize_callback": "wc_sanitize_taxonomy_name" }, "term_id": { "description": "Atribuutterminite ID-de loend.", "type": "array", "items": { "type": "integer" }, "sanitize_callback": "wp_parse_id_list" }, "slug": { "description": "Atribuutide n\u00e4lkja(te) loend. Termini ID esitamisel ignoreeritakse seda.", "type": "array", "items": { "type": "string" }, "sanitize_callback": "wp_parse_slug_list" }, "operator": { "description": "Operaator toote atribuutide terminite v\u00f5rdlemiseks.", "type": "string", "enum": [ "in", "not_in", "and" ] } } }, "default": [], "required": false }, "attribute_relation": { "description": "Loogiline seos atribuutide vahel mitme korraga filtreerimisel.", "type": "string", "enum": [ "in", "and" ], "default": "and", "required": false }, "catalog_visibility": { "description": "M\u00e4\u00e4rab, kas kuvatakse peidetud v\u00f5i n\u00e4htavad kataloogitooted.", "type": "string", "enum": [ "any", "visible", "catalog", "search", "hidden" ], "required": false }, "rating": { "description": "Piirake tulemusi teatud keskmise hinnanguga toodetega.", "type": "array", "items": { "type": "integer", "enum": [ 1, 2, 3, 4, 5 ] }, "default": [], "required": false }, "calculate_price_range": { "description": "Kui see on t\u00f5ene, arvutab kollektsiooni minimaalse ja maksimaalse tootehinna.", "type": "boolean", "default": false, "required": false }, "calculate_stock_status_counts": { "description": "Kui see on t\u00f5ene, arvutab kogus olevate toodete laoseisu.", "type": "boolean", "default": false, "required": false }, "calculate_attribute_counts": { "description": "Soovi korral arvutab kogus olevate toodete atribuutide terminite arvu.", "type": "array", "items": { "type": "object", "properties": { "taxonomy": { "description": "Taksonoomia nimi.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "query_type": { "description": "Teostatakse filtri seisukord, mis v\u00f5ib loendeid m\u00f5jutada. Kehtivad v\u00e4\u00e4rtused h\u00f5lmavad "ja" ja "v\u00f5i".", "type": "string", "enum": [ "and", "or" ], "context": [ "view", "edit" ], "readonly": true } } }, "default": [], "required": false }, "calculate_rating_counts": { "description": "Kui see on t\u00f5ene, arvutab kogus olevate toodete hinnangute arvu.", "type": "boolean", "default": false, "required": false }, "calculate_taxonomy_counts": { "description": "If requested, calculates taxonomy term counts for products in the collection.", "type": "array", "items": { "type": "string", "description": "Taksonoomia nimi." }, "default": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/store\/v1\/products\/collection-data" } ] } }, "\/wc\/store\/v1\/products\/reviews": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Taotluse ulatus; m\u00e4\u00e4rab vastuseks olevad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv. T\u00fchjaks j\u00e4tmisel on vaikimisi piiranguteta.", "type": "integer", "default": 10, "minimum": 0, "maximum": 100, "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "date_gmt", "id", "rating", "product" ], "required": false }, "category_id": { "description": "Piirake tulemuste komplekt arvustustega, mis p\u00e4rinevad konkreetsetest kategooria ID-dest.", "type": "string", "required": false }, "product_id": { "description": "Piirake tulemuste komplekt arvustustega konkreetsetest toote ID-dest.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/store\/v1\/products\/reviews" } ] } }, "\/wc\/store\/v1\/products\/tags": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Taotluse ulatus; m\u00e4\u00e4rab vastuseks olevad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv. T\u00fchjaks j\u00e4tmisel on vaikimisi piiranguteta.", "type": "integer", "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Piirake tulemusi nendega, mis vastavad stringile.", "type": "string", "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Sorteeri kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri terminiomaduste j\u00e4rgi.", "type": "string", "default": "name", "enum": [ "name", "slug", "count" ], "required": false }, "hide_empty": { "description": "Kui see on t\u00f5si, siis t\u00fchje tingimusi ei tagastata.", "type": "boolean", "default": true, "required": false }, "parent": { "description": "Limit results to terms with a specific parent (hierarchical taxonomies only).", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/store\/v1\/products\/tags" } ] } }, "\/wc\/store\/v1\/products": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Taotluse ulatus; m\u00e4\u00e4rab vastuseks olevad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv. T\u00fchjaks j\u00e4tmisel on vaikimisi piiranguteta.", "type": "integer", "default": 10, "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Piirake tulemusi nendega, mis vastavad stringile.", "type": "string", "required": false }, "slug": { "description": "Piirake tulemuste komplekt konkreetse(te) n\u00e4lkja(te)ga toodetega. Kasutage eraldamiseks komasid.", "type": "string", "required": false }, "after": { "description": "Piirake vastust ressurssidega, mis on loodud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piirake vastust ressurssidega, mis on loodud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "date_column": { "description": "Kui piirate vastust p\u00e4rast\/enne, millise kuup\u00e4eva veeruga v\u00f5rrelda.", "type": "string", "default": "date", "enum": [ "date", "date_gmt", "modified", "modified_gmt" ], "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "modified", "id", "include", "title", "slug", "price", "popularity", "rating", "menu_order", "comment_count" ], "required": false }, "parent": { "description": "Piirake tulemuste komplekt konkreetsete vanemate ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Piirake tulemuste komplekti k\u00f5igi \u00fcksustega, v\u00e4lja arvatud konkreetse \u00fclem-ID \u00fcksustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "type": { "description": "Piirake tulemuste komplekt toodetele, millele on m\u00e4\u00e4ratud kindel t\u00fc\u00fcp.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "variation" ], "required": false }, "sku": { "description": "Piirake tulemuste komplekt konkreetsete SKU-dega toodetega. Kasutage eraldamiseks komasid.", "type": "string", "required": false }, "featured": { "description": "Piirake tulemuste komplekt esiletoodud toodetega.", "type": "boolean", "required": false }, "category": { "description": "Limit result set to products assigned a set of category IDs or slugs, separated by commas.", "type": "string", "required": false }, "category_operator": { "description": "Operaator tootekategooria tingimuste v\u00f5rdlemiseks.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "brand": { "description": "Limit result set to products assigned a set of brand IDs or slugs, separated by commas.", "type": "string", "required": false }, "brand_operator": { "description": "Operator to compare product brand terms.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "tag": { "description": "Limit result set to products assigned a set of tag IDs or slugs, separated by commas.", "type": "string", "required": false }, "tag_operator": { "description": "Operaator tootesiltide v\u00f5rdlemiseks.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "on_sale": { "description": "Piirake tulemuste komplekt m\u00fc\u00fcgil olevatele toodetele.", "type": "boolean", "required": false }, "min_price": { "description": "Piirake tulemust toodetele minimaalse hinna alusel, mis esitatakse valuuta v\u00e4ikseimat \u00fchikut kasutades.", "type": "string", "required": false }, "max_price": { "description": "Piirake tulemust toodetele, mis p\u00f5hinevad maksimaalsel hinnal, kasutades valuuta v\u00e4ikseimat \u00fchikut.", "type": "string", "required": false }, "stock_status": { "description": "Piirake tulemus m\u00e4\u00e4ratud toodetele, mille laos on m\u00e4\u00e4ratud.", "type": "array", "items": { "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "sanitize_callback": "sanitize_text_field", "validate_callback": "rest_validate_request_arg" }, "default": [], "required": false }, "attributes": { "description": "Piirake tulemuste komplekt valitud globaalsete atribuutidega toodetega.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "description": "Atribuudi taksonoomia nimi.", "type": "string", "sanitize_callback": "wc_sanitize_taxonomy_name" }, "term_id": { "description": "Atribuutterminite ID-de loend.", "type": "array", "items": { "type": "integer" }, "sanitize_callback": "wp_parse_id_list" }, "slug": { "description": "Atribuutide n\u00e4lkja(te) loend. Termini ID esitamisel ignoreeritakse seda.", "type": "array", "items": { "type": "string" }, "sanitize_callback": "wp_parse_slug_list" }, "operator": { "description": "Operaator toote atribuutide terminite v\u00f5rdlemiseks.", "type": "string", "enum": [ "in", "not_in", "and" ] } } }, "default": [], "required": false }, "attribute_relation": { "description": "Loogiline seos atribuutide vahel mitme korraga filtreerimisel.", "type": "string", "enum": [ "in", "and" ], "default": "and", "required": false }, "catalog_visibility": { "description": "M\u00e4\u00e4rab, kas kuvatakse peidetud v\u00f5i n\u00e4htavad kataloogitooted.", "type": "string", "enum": [ "any", "visible", "catalog", "search", "hidden" ], "required": false }, "rating": { "description": "Piirake tulemusi teatud keskmise hinnanguga toodetega.", "type": "array", "items": { "type": "integer", "enum": [ 1, 2, 3, 4, 5 ] }, "default": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/store\/v1\/products" } ] } }, "\/wc\/store\/v1\/products\/(?P[\\d]+)": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "Taotluse ulatus; m\u00e4\u00e4rab vastuseks olevad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/v1\/products\/(?P[\\S]+)": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "slug": { "description": "Ressursi n\u00e4lkjas.", "type": "string", "required": false }, "context": { "description": "Taotluse ulatus; m\u00e4\u00e4rab vastuseks olevad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/private": { "namespace": "wc\/private", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wc\/private", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/private" } ] } }, "\/wc\/private\/patterns": { "namespace": "wc\/private", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/private\/patterns" } ] } }, "\/wp-rocket\/v1": { "namespace": "wp-rocket\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wp-rocket\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp-rocket\/v1" } ] } }, "\/wp-rocket\/v1\/rocketcdn\/enable": { "namespace": "wp-rocket\/v1", "methods": [ "PUT" ], "endpoints": [ { "methods": [ "PUT" ], "args": { "email": { "required": true }, "key": { "required": true }, "url": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp-rocket\/v1\/rocketcdn\/enable" } ] } }, "\/wp-rocket\/v1\/rocketcdn\/disable": { "namespace": "wp-rocket\/v1", "methods": [ "PUT" ], "endpoints": [ { "methods": [ "PUT" ], "args": { "email": { "required": true }, "key": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp-rocket\/v1\/rocketcdn\/disable" } ] } }, "\/wp-rocket\/v1\/cpcss\/post\/(?P[\\d]+)": { "namespace": "wp-rocket\/v1", "methods": [ "POST", "DELETE" ], "endpoints": [ { "methods": [ "POST" ], "args": [] }, { "methods": [ "DELETE" ], "args": [] } ] }, "\/wp-rocket\/v1\/support": { "namespace": "wp-rocket\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "email": { "required": true }, "key": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp-rocket\/v1\/support" } ] } }, "\/wp-rocket\/v1\/dynamic_lists\/update": { "namespace": "wp-rocket\/v1", "methods": [ "PUT" ], "endpoints": [ { "methods": [ "PUT" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp-rocket\/v1\/dynamic_lists\/update" } ] } }, "\/wp-rocket\/v1\/options\/export": { "namespace": "wp-rocket\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp-rocket\/v1\/options\/export" } ] } }, "\/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:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v2" } ] } }, "\/wc\/v2\/products\/brands": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra. Kehtib ainult hierarhiliste taksonoomiate puhul.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu ressursiatribuudi j\u00e4rgi.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Kas peita ressursid, mis pole \u00fchelegi tootele m\u00e4\u00e4ratud.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Piirake tulemuste komplekt konkreetsele vanemale m\u00e4\u00e4ratud ressurssidega. Kehtib ainult hierarhiliste taksonoomiate puhul.", "type": "integer", "required": false }, "product": { "description": "Piirake tulemuste komplekt konkreetsele tootele m\u00e4\u00e4ratud ressurssidega.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Piirake tulemuse komplekt konkreetse n\u00e4lkjaga ressurssidega.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Ressursi nimi.", "required": true }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "parent": { "description": "Ressursi vanema ID.", "type": "integer", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false }, "display": { "default": "default", "description": "Kategooria arhiivi kuvamise t\u00fc\u00fcp.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Pildi andmed.", "type": "object", "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Kujutise loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Kujutise viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse ressursi kohandatud sortimiseks.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v2\/products\/brands" } ] } }, "\/wc\/v2\/products\/brands\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "name": { "description": "Kategooria nimi.", "type": "string", "required": false }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "parent": { "description": "Ressursi vanema ID.", "type": "integer", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false }, "display": { "description": "Kategooria arhiivi kuvamise t\u00fc\u00fcp.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Pildi andmed.", "type": "object", "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Kujutise loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Kujutise viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse ressursi kohandatud sortimiseks.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "N\u00f5utav, et see oleks t\u00f5ene, kuna ressurss ei toeta pr\u00fcgikasti viimist.", "required": false } } } ] }, "\/wc\/v2\/products\/brands\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Kategooria nimi.", "type": "string", "required": false }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "parent": { "description": "Ressursi vanema ID.", "type": "integer", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false }, "display": { "description": "Kategooria arhiivi kuvamise t\u00fc\u00fcp.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Pildi andmed.", "type": "object", "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Kujutise loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Kujutise viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse ressursi kohandatud sortimiseks.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v2\/products\/brands\/batch" } ] } }, "\/wc\/v3\/products\/brands": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra. Kehtib ainult hierarhiliste taksonoomiate puhul.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu ressursiatribuudi j\u00e4rgi.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Kas peita ressursid, mis pole \u00fchelegi tootele m\u00e4\u00e4ratud.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Piirake tulemuste komplekt konkreetsele vanemale m\u00e4\u00e4ratud ressurssidega. Kehtib ainult hierarhiliste taksonoomiate puhul.", "type": "integer", "required": false }, "product": { "description": "Piirake tulemuste komplekt konkreetsele tootele m\u00e4\u00e4ratud ressurssidega.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Piirake tulemuse komplekt konkreetse n\u00e4lkjaga ressurssidega.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Ressursi nimi.", "required": true }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "parent": { "description": "Ressursi vanema ID.", "type": "integer", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false }, "display": { "default": "default", "description": "Kategooria arhiivi kuvamise t\u00fc\u00fcp.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Pildi andmed.", "type": "object", "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Kujutise loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Kujutise viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse ressursi kohandatud sortimiseks.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/products\/brands" } ] } }, "\/wc\/v3\/products\/brands\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "name": { "description": "Kategooria nimi.", "type": "string", "required": false }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "parent": { "description": "Ressursi vanema ID.", "type": "integer", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false }, "display": { "description": "Kategooria arhiivi kuvamise t\u00fc\u00fcp.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Pildi andmed.", "type": "object", "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Kujutise loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Kujutise viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse ressursi kohandatud sortimiseks.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "N\u00f5utav, et see oleks t\u00f5ene, kuna ressurss ei toeta pr\u00fcgikasti viimist.", "required": false } } } ] }, "\/wc\/v3\/products\/brands\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Kategooria nimi.", "type": "string", "required": false }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "parent": { "description": "Ressursi vanema ID.", "type": "integer", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false }, "display": { "description": "Kategooria arhiivi kuvamise t\u00fc\u00fcp.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Pildi andmed.", "type": "object", "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Kujutise loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Kujutise viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse ressursi kohandatud sortimiseks.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/products\/brands\/batch" } ] } }, "\/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:\/\/nakedspirit.ee\/est\/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:\/\/nakedspirit.ee\/est\/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:\/\/nakedspirit.ee\/est\/wp-json\/mailchimp-for-woocommerce\/v1\/survey\/disconnect" } ] } }, "\/mailchimp-for-woocommerce\/v1\/sync\/stats": { "namespace": "mailchimp-for-woocommerce\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/mailchimp-for-woocommerce\/v1\/sync\/stats" } ] } }, "\/mailchimp-for-woocommerce\/v1\/sync\/stats\/customers": { "namespace": "mailchimp-for-woocommerce\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/mailchimp-for-woocommerce\/v1\/sync\/stats\/customers" } ] } }, "\/mailchimp-for-woocommerce\/v1\/sync\/stats\/coupons": { "namespace": "mailchimp-for-woocommerce\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/mailchimp-for-woocommerce\/v1\/sync\/stats\/coupons" } ] } }, "\/mailchimp-for-woocommerce\/v1\/sync\/stats\/orders": { "namespace": "mailchimp-for-woocommerce\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/mailchimp-for-woocommerce\/v1\/sync\/stats\/orders" } ] } }, "\/mailchimp-for-woocommerce\/v1\/sync\/stats\/products": { "namespace": "mailchimp-for-woocommerce\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/mailchimp-for-woocommerce\/v1\/sync\/stats\/products" } ] } }, "\/mailchimp-for-woocommerce\/v1\/store\/resync": { "namespace": "mailchimp-for-woocommerce\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/mailchimp-for-woocommerce\/v1\/store\/resync" } ] } }, "\/mailchimp-for-woocommerce\/v1\/review-banner": { "namespace": "mailchimp-for-woocommerce\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/mailchimp-for-woocommerce\/v1\/review-banner" } ] } }, "\/mailchimp-for-woocommerce\/v1\/member-sync": { "namespace": "mailchimp-for-woocommerce\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/mailchimp-for-woocommerce\/v1\/member-sync" } ] } }, "\/mailchimp-for-woocommerce\/v1\/tower\/verify": { "namespace": "mailchimp-for-woocommerce\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/mailchimp-for-woocommerce\/v1\/tower\/verify" } ] } }, "\/mailchimp-for-woocommerce\/v1\/tower\/report": { "namespace": "mailchimp-for-woocommerce\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/mailchimp-for-woocommerce\/v1\/tower\/report" } ] } }, "\/mailchimp-for-woocommerce\/v1\/tower\/logs": { "namespace": "mailchimp-for-woocommerce\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/mailchimp-for-woocommerce\/v1\/tower\/logs" } ] } }, "\/mailchimp-for-woocommerce\/v1\/tower\/resource": { "namespace": "mailchimp-for-woocommerce\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/mailchimp-for-woocommerce\/v1\/tower\/resource" } ] } }, "\/mailchimp-for-woocommerce\/v1\/tower\/action": { "namespace": "mailchimp-for-woocommerce\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/mailchimp-for-woocommerce\/v1\/tower\/action" } ] } }, "\/mailchimp-for-woocommerce\/v1\/tower\/sync_stats": { "namespace": "mailchimp-for-woocommerce\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/mailchimp-for-woocommerce\/v1\/tower\/sync_stats" } ] } }, "\/mailchimp-for-woocommerce\/v1\/tower\/subscriber_stats": { "namespace": "mailchimp-for-woocommerce\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/mailchimp-for-woocommerce\/v1\/tower\/subscriber_stats" } ] } }, "\/mailchimp-for-woocommerce\/v1\/tower\/toggle_remote_support": { "namespace": "mailchimp-for-woocommerce\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/mailchimp-for-woocommerce\/v1\/tower\/toggle_remote_support" } ] } }, "\/mailchimp-for-woocommerce\/v1\/tower\/get_store_id": { "namespace": "mailchimp-for-woocommerce\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/mailchimp-for-woocommerce\/v1\/tower\/get_store_id" } ] } }, "\/astra\/v1": { "namespace": "astra\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "astra\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/astra\/v1" } ] } }, "\/astra\/v1\/admin\/settings": { "namespace": "astra\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/astra\/v1\/admin\/settings" } ] } }, "\/astra_addon\/v1": { "namespace": "astra_addon\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "astra_addon\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/astra_addon\/v1" } ] } }, "\/astra_addon\/v1\/mega_menu\/(?P\\d+)": { "namespace": "astra_addon\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/astra_addon\/v1\/mega_menu": { "namespace": "astra_addon\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/astra_addon\/v1\/mega_menu" } ] } }, "\/google-site-kit\/v1": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "google-site-kit\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/google-site-kit\/v1" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/setup-tag": { "namespace": "google-site-kit\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/google-site-kit\/v1\/core\/site\/data\/setup-tag" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/connection": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/google-site-kit\/v1\/core\/site\/data\/connection" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/authentication": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/google-site-kit\/v1\/core\/user\/data\/authentication" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/disconnect": { "namespace": "google-site-kit\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/google-site-kit\/v1\/core\/user\/data\/disconnect" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/get-token": { "namespace": "google-site-kit\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/google-site-kit\/v1\/core\/user\/data\/get-token" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/user-input-settings": { "namespace": "google-site-kit\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": { "data": { "type": "object", "description": "", "default": null, "properties": { "settings": { "type": "object", "required": true, "questions": { "purpose": { "type": "array", "items": { "type": "string" } }, "postFrequency": { "type": "array", "items": { "type": "string" } }, "goals": { "type": "array", "items": { "type": "string" } }, "includeConversionEvents": { "type": "array", "items": { "type": "string" } } } } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/google-site-kit\/v1\/core\/user\/data\/user-input-settings" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/audience-settings": { "namespace": "google-site-kit\/v1", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "data": { "type": "object", "description": "", "default": null, "properties": { "settings": { "type": "object", "required": true, "minProperties": 1, "additionalProperties": false, "properties": { "configuredAudiences": { "type": "array", "items": { "type": "string" } }, "isAudienceSegmentationWidgetHidden": { "type": "boolean" }, "didSetAudiences": { "type": "boolean" } } } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/google-site-kit\/v1\/core\/user\/data\/audience-settings" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/conversion-reporting-settings": { "namespace": "google-site-kit\/v1", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "data": { "type": "object", "description": "", "default": null, "properties": { "settings": { "type": "object", "required": true, "minProperties": 1, "additionalProperties": false, "properties": { "newEventsCalloutDismissedAt": { "type": "integer" }, "lostEventsCalloutDismissedAt": { "type": "integer" } } } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/google-site-kit\/v1\/core\/user\/data\/conversion-reporting-settings" } ] } }, "\/google-site-kit\/v1\/core\/modules\/data\/list": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/google-site-kit\/v1\/core\/modules\/data\/list" } ] } }, "\/google-site-kit\/v1\/core\/modules\/data\/activation": { "namespace": "google-site-kit\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "data": { "type": "object", "description": "", "default": null, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/google-site-kit\/v1\/core\/modules\/data\/activation" } ] } }, "\/google-site-kit\/v1\/core\/modules\/data\/info": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "type": "string", "description": "Identifier for the module.", "default": null, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/google-site-kit\/v1\/core\/modules\/data\/info" } ] } }, "\/google-site-kit\/v1\/core\/modules\/data\/check-access": { "namespace": "google-site-kit\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "slug": { "type": "string", "description": "Identifier for the module.", "default": null, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/google-site-kit\/v1\/core\/modules\/data\/check-access" } ] } }, "\/google-site-kit\/v1\/modules\/(?P[a-z0-9\\-]+)\/data\/notifications": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "type": "string", "description": "Identifier for the module.", "default": null, "required": false } } } ] }, "\/google-site-kit\/v1\/modules\/(?P[a-z0-9\\-]+)\/data\/settings": { "namespace": "google-site-kit\/v1", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "type": "string", "description": "Identifier for the module.", "default": null, "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "slug": { "type": "string", "description": "Identifier for the module.", "default": null, "required": false }, "data": { "type": "object", "description": "Settings to set.", "default": null, "required": false } } } ] }, "\/google-site-kit\/v1\/modules\/(?P[a-z0-9\\-]+)\/data\/data-available": { "namespace": "google-site-kit\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "slug": { "type": "string", "description": "Identifier for the module.", "default": null, "required": false } } } ] }, "\/google-site-kit\/v1\/modules\/(?P[a-z0-9\\-]+)\/data\/(?P[a-z\\-]+)": { "namespace": "google-site-kit\/v1", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "type": "string", "description": "Identifier for the module.", "default": null, "required": false }, "datapoint": { "type": "string", "description": "Module data point to address.", "default": null, "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "slug": { "type": "string", "description": "Identifier for the module.", "default": null, "required": false }, "datapoint": { "type": "string", "description": "Module data point to address.", "default": null, "required": false }, "data": { "type": "object", "description": "Data to set.", "default": null, "required": false } } } ] }, "\/google-site-kit\/v1\/core\/modules\/data\/recover-modules": { "namespace": "google-site-kit\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/google-site-kit\/v1\/core\/modules\/data\/recover-modules" } ] } }, "\/google-site-kit\/v1\/core\/modules\/data\/sharing-settings": { "namespace": "google-site-kit\/v1", "methods": [ "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "data": { "type": "object", "description": "", "default": null, "required": true } } }, { "methods": [ "DELETE" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/google-site-kit\/v1\/core\/modules\/data\/sharing-settings" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/dismissed-items": { "namespace": "google-site-kit\/v1", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "DELETE" ], "args": { "data": { "type": "object", "description": "", "default": null, "minProperties": 1, "additionalProperties": false, "properties": { "slugs": { "type": "array", "required": true, "items": { "type": "string" } } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/google-site-kit\/v1\/core\/user\/data\/dismissed-items" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/dismiss-item": { "namespace": "google-site-kit\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "data": { "type": "object", "description": "", "default": null, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/google-site-kit\/v1\/core\/user\/data\/dismiss-item" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/expirable-items": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/google-site-kit\/v1\/core\/user\/data\/expirable-items" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/set-expirable-item-timers": { "namespace": "google-site-kit\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "data": { "type": "array", "description": "", "default": null, "items": { "type": "object", "additionalProperties": false, "properties": { "slug": { "type": "string", "required": true }, "expiration": { "type": "integer", "required": true } } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/google-site-kit\/v1\/core\/user\/data\/set-expirable-item-timers" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/permissions": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/google-site-kit\/v1\/core\/user\/data\/permissions" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/nonces": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/google-site-kit\/v1\/core\/user\/data\/nonces" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/survey-trigger": { "namespace": "google-site-kit\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "data": { "type": "object", "description": "", "default": null, "properties": { "triggerID": { "type": "string", "required": true }, "ttl": { "type": "integer", "minimum": 0 } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/google-site-kit\/v1\/core\/user\/data\/survey-trigger" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/survey-event": { "namespace": "google-site-kit\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "data": { "type": "object", "description": "", "default": null, "properties": { "session": { "type": "object", "required": true, "properties": { "session_id": { "type": "string", "required": true }, "session_token": { "type": "string", "required": true } } }, "event": { "type": "object", "required": true, "properties": { "survey_shown": { "type": "object" }, "survey_closed": { "type": "object" }, "question_answered": { "type": "object" }, "completion_shown": { "type": "object" }, "follow_up_link_clicked": { "type": "object" } } } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/google-site-kit\/v1\/core\/user\/data\/survey-event" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/survey-timeouts": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/google-site-kit\/v1\/core\/user\/data\/survey-timeouts" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/survey": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/google-site-kit\/v1\/core\/user\/data\/survey" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/reset": { "namespace": "google-site-kit\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/google-site-kit\/v1\/core\/site\/data\/reset" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/reset-persistent": { "namespace": "google-site-kit\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/google-site-kit\/v1\/core\/site\/data\/reset-persistent" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/developer-plugin": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/google-site-kit\/v1\/core\/site\/data\/developer-plugin" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/tracking": { "namespace": "google-site-kit\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": { "data": { "type": "object", "description": "", "default": null, "properties": { "enabled": { "type": "boolean", "required": true } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/google-site-kit\/v1\/core\/user\/data\/tracking" } ] } }, "\/google-site-kit\/v1\/core\/search\/data\/entity-search": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "query": { "type": "string", "description": "Text content to search for.", "default": null, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/google-site-kit\/v1\/core\/search\/data\/entity-search" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/admin-bar-settings": { "namespace": "google-site-kit\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": { "data": { "type": "object", "description": "", "default": null, "properties": { "enabled": { "type": "boolean", "required": false } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/google-site-kit\/v1\/core\/site\/data\/admin-bar-settings" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/notifications": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/google-site-kit\/v1\/core\/site\/data\/notifications" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/mark-notification": { "namespace": "google-site-kit\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "data": { "type": "object", "description": "", "default": null, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/google-site-kit\/v1\/core\/site\/data\/mark-notification" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/site-health-tag-placement-test": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/google-site-kit\/v1\/core\/site\/data\/site-health-tag-placement-test" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/health-checks": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/google-site-kit\/v1\/core\/site\/data\/health-checks" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/dismissed-tours": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/google-site-kit\/v1\/core\/user\/data\/dismissed-tours" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/dismiss-tour": { "namespace": "google-site-kit\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "data": { "type": "object", "description": "", "default": null, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/google-site-kit\/v1\/core\/user\/data\/dismiss-tour" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/key-metrics": { "namespace": "google-site-kit\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": { "data": { "type": "object", "description": "", "default": null, "properties": { "settings": { "type": "object", "required": true, "properties": { "isWidgetHidden": { "type": "boolean", "required": true }, "widgetSlugs": { "type": "array", "required": false, "maxItems": 8, "items": { "type": "string" } } } } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/google-site-kit\/v1\/core\/user\/data\/key-metrics" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/dismissed-prompts": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/google-site-kit\/v1\/core\/user\/data\/dismissed-prompts" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/dismiss-prompt": { "namespace": "google-site-kit\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "data": { "type": "object", "description": "", "default": null, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/google-site-kit\/v1\/core\/user\/data\/dismiss-prompt" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/consent-mode": { "namespace": "google-site-kit\/v1", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "data": { "type": "object", "description": "", "default": null, "properties": { "settings": { "type": "object", "required": true, "minProperties": 1, "additionalProperties": false, "properties": { "enabled": { "type": "boolean" }, "regions": { "type": "array", "items": { "type": "string" } } } } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/google-site-kit\/v1\/core\/site\/data\/consent-mode" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/consent-api-info": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/google-site-kit\/v1\/core\/site\/data\/consent-api-info" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/consent-api-activate": { "namespace": "google-site-kit\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/google-site-kit\/v1\/core\/site\/data\/consent-api-activate" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/ads-measurement-status": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/google-site-kit\/v1\/core\/site\/data\/ads-measurement-status" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/conversion-tracking": { "namespace": "google-site-kit\/v1", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "data": { "type": "object", "description": "", "default": null, "properties": { "settings": { "type": "object", "required": true, "properties": { "enabled": { "type": "boolean", "required": true } } } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/google-site-kit\/v1\/core\/site\/data\/conversion-tracking" } ] } }, "\/elementor\/v1\/documents": { "namespace": "elementor\/v1\/documents", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "elementor\/v1\/documents", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor\/v1\/documents" } ] } }, "\/elementor\/v1\/documents\/(?P\\d+)\/media\/import": { "namespace": "elementor\/v1\/documents", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "required": true } } } ] }, "\/elementor\/v1\/cache": { "namespace": "elementor\/v1", "methods": [ "DELETE" ], "endpoints": [ { "methods": [ "DELETE" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor\/v1\/cache" } ] } }, "\/elementor\/v1\/globals": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor\/v1\/globals" } ] } }, "\/elementor\/v1\/globals\/colors": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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:\/\/nakedspirit.ee\/est\/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\/mcp-proxy": { "namespace": "elementor\/v1", "methods": [ "POST", "GET" ], "endpoints": [ { "methods": [ "POST" ], "args": { "tool": { "type": "string", "required": true }, "input": { "type": "object", "required": true } } }, { "methods": [ "GET" ], "args": { "uri": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor\/v1\/mcp-proxy" } ] } }, "\/elementor\/v1\/settings\/(?P[\\w_-]+)": { "namespace": "elementor\/v1", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/elementor\/v1\/post": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "included_types": { "description": "Included post types", "type": "array", "default": null, "required": false }, "excluded_types": { "description": "Post type to exclude", "type": "array", "default": [ "e-floating-buttons", "e-landing-page", "elementor_library", "attachment", "revision", "nav_menu_item", "custom_css", "customize_changeset" ], "required": false }, "term": { "description": "Posts to search", "type": "string", "default": "", "required": false }, "keys_conversion_map": { "description": "Specify keys to extract and convert, i.e. [\"key_1\" => \"new_key_1\"].", "type": "array", "default": { "ID": "id", "post_title": "label", "post_type": "groupLabel" }, "required": false }, "items_count": { "description": "Posts per page", "type": "integer", "default": 100, "required": false }, "is_public": { "description": "Whether to include only public post types", "type": "boolean", "default": true, "required": false }, "meta_query": { "description": "WP_Query meta_query array", "type": "array", "default": null, "required": false }, "tax_query": { "description": "WP_Query tax_query array", "type": "array", "default": null, "required": false }, "search_in_content": { "description": "Whether to search within post content and excerpt in addition to title", "type": "boolean", "default": false, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor\/v1\/post" } ] } }, "\/elementor\/v1\/term": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "included_types": { "description": "Included taxonomy containing terms (categories, tags, etc...)", "type": "array", "default": null, "required": false }, "excluded_types": { "description": "Excluded taxonomy containing terms (categories, tags, etc...)", "type": "array", "default": null, "required": false }, "term": { "description": "Terms to search", "type": "string", "default": "", "required": false }, "keys_conversion_map": { "description": "Specify keys to extract and convert, i.e. [\"key_1\" => \"new_key_1\"].", "type": "array", "default": { "term_id": "id", "name": "label", "taxonomy": "groupLabel" }, "required": false }, "items_count": { "description": "Terms per request", "type": "integer", "default": 100, "required": false }, "hide_empty": { "description": "Whether to include only public terms", "type": "boolean", "default": false, "required": false }, "meta_query": { "description": "WP_Query meta_query array", "type": "array", "default": null, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor\/v1\/term" } ] } }, "\/elementor\/v1\/user": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "term": { "description": "Users to search", "type": "string", "default": "", "required": false }, "keys_conversion_map": { "description": "Specify keys to extract and convert, i.e. [\"key_1\" => \"new_key_1\"].", "type": [ "array", "string" ], "default": { "ID": "id", "display_name": "label", "role": "groupLabel" }, "required": false }, "items_count": { "description": "Number of users to return", "type": "integer", "default": 100, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor\/v1\/user" } ] } }, "\/elementor-ai\/v1": { "namespace": "elementor-ai\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "elementor-ai\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor-ai\/v1" } ] } }, "\/elementor-ai\/v1\/permissions": { "namespace": "elementor-ai\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor-ai\/v1\/permissions" } ] } }, "\/elementor\/v1\/favorites": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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\/pro-setup-promotion": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor\/v1\/pro-setup-promotion" } ] } }, "\/elementor\/v1\/pro-setup-promotion\/dismiss": { "namespace": "elementor\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor\/v1\/pro-setup-promotion\/dismiss" } ] } }, "\/elementor\/v1\/pro-setup-promotion\/complete-setup": { "namespace": "elementor\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor\/v1\/pro-setup-promotion\/complete-setup" } ] } }, "\/elementor\/v1\/pro-setup-promotion\/setup-state": { "namespace": "elementor\/v1", "methods": [ "GET", "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor\/v1\/pro-setup-promotion\/setup-state" } ] } }, "\/elementor\/v1\/kit-elements-defaults": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor\/v1\/kit-elements-defaults" } ] } }, "\/elementor\/v1\/kit-elements-defaults\/(?P[\\w\\-\\_]+)": { "namespace": "elementor\/v1", "methods": [ "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "type": { "type": "string", "description": "The type of the element.", "required": true }, "settings": { "description": "All the default values for the requested type", "type": "object", "required": true } } }, { "methods": [ "DELETE" ], "args": { "type": { "type": "string", "description": "The type of the element.", "required": true } } } ] }, "\/elementor\/v1\/site-navigation\/recent-posts": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "posts_per_page": { "description": "Number of posts to return", "type": "integer", "required": true }, "post_type": { "description": "Post types to retrieve", "type": "array", "default": [ "page", "post", "elementor_library" ], "required": false }, "post__not_in": { "description": "Post id`s to exclude", "type": "array", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor\/v1\/site-navigation\/recent-posts" } ] } }, "\/elementor\/v1\/site-navigation\/add-new-post": { "namespace": "elementor\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "post_type": { "description": "Post type to create", "type": "string", "default": "post", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor\/v1\/site-navigation\/add-new-post" } ] } }, "\/elementor\/v1\/design-system-sync\/stylesheet": { "namespace": "elementor\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor\/v1\/design-system-sync\/stylesheet" } ] } }, "\/elementor\/v1\/operations\/opt-in-v4": { "namespace": "elementor\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor\/v1\/operations\/opt-in-v4" } ] } }, "\/elementor\/v1\/feedback": { "namespace": "elementor\/v1\/feedback", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "elementor\/v1\/feedback", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor\/v1\/feedback" } ] } }, "\/elementor\/v1\/feedback\/submit": { "namespace": "elementor\/v1\/feedback", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor\/v1\/feedback\/submit" } ] } }, "\/elementor\/v1\/angie\/consent": { "namespace": "elementor\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor\/v1\/angie\/consent" } ] } }, "\/elementor\/v1\/agents-ready\/scan": { "namespace": "elementor\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor\/v1\/agents-ready\/scan" } ] } }, "\/elementor\/v1\/template-library\/templates": { "namespace": "elementor\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": { "title": { "type": "string", "description": "The title of the document", "required": false }, "type": { "description": "The document type.", "type": "string", "enum": [ "page", "section", "container", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "product", "product-archive", "loop-item" ], "required": true }, "content": { "description": "Elementor data object", "type": "object", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor\/v1\/template-library\/templates" } ] } }, "\/elementor\/v1\/system-info": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor\/v1\/system-info" } ] } }, "\/elementor\/v1\/user-data\/current-user": { "namespace": "elementor\/v1", "methods": [ "GET", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "PATCH" ], "args": { "suppressedMessages": { "type": "array", "description": "Array of suppressed message keys", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor\/v1\/user-data\/current-user" } ] } }, "\/elementor\/v1\/global-widget\/templates": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor\/v1\/global-widget\/templates" } ] } }, "\/elementor-pro\/v1": { "namespace": "elementor-pro\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "elementor-pro\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor-pro\/v1" } ] } }, "\/elementor-pro\/v1\/posts-widget": { "namespace": "elementor-pro\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor-pro\/v1\/posts-widget" } ] } }, "\/elementor\/v1\/form-submissions": { "namespace": "elementor\/v1", "methods": [ "GET", "DELETE", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 50, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "additionalProperties": { "context": "filter" }, "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "order_by": { "description": "Sort collection by object attribute.", "type": "string", "default": "created_at", "enum": [ "created_at", "id", "main_meta_id" ], "required": false }, "status": { "description": "Limit result set to submissions assigned one or more statuses.", "type": "string", "default": "all", "enum": [ "all", "unread", "read", "trash" ], "additionalProperties": { "context": "filter" }, "required": false }, "form": { "description": "Limit result set to submissions assigned to specific forms. The form id should follow this pattern {post_id}_{element_id} e.g: 10_476d0ce", "type": "string", "additionalProperties": { "context": "filter" }, "required": false }, "referer": { "description": "Limit result set to submissions assigned to specific referer.", "type": "string", "additionalProperties": { "context": "filter" }, "required": false }, "after": { "description": "Limit response to submissions sent after a given ISO8601 compliant date.", "type": "string", "format": "date", "additionalProperties": { "context": "filter" }, "required": false }, "before": { "description": "Limit response to submissions sent before a given ISO8601 compliant date.", "type": "string", "format": "date", "additionalProperties": { "context": "filter" }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "ids": { "description": "Unique identifiers for the objects.", "type": "array", "items": { "type": "integer" }, "required": true }, "force": { "description": "Delete the object permanently.", "type": "boolean", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "ids": { "description": "Unique identifiers for the objects.", "type": "array", "items": { "type": "integer" }, "required": true }, "is_read": { "description": "mark whether the submission was read or not", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor\/v1\/form-submissions" } ] } }, "\/elementor\/v1\/form-submissions\/(?P[\\d]+)": { "namespace": "elementor\/v1", "methods": [ "GET", "DELETE", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "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 }, "force": { "description": "Delete the object permanently.", "type": "boolean", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "string", "required": true }, "is_read": { "description": "mark whether the submission was read or not", "type": "boolean", "required": false }, "values": { "description": "Form field values, receive an array, the key should be the form field id and the value should be the value.", "type": "object", "required": false } } } ] }, "\/elementor\/v1\/form-submissions\/restore\/(?P[\\d]+)": { "namespace": "elementor\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "string", "required": true } } } ] }, "\/elementor\/v1\/form-submissions\/restore": { "namespace": "elementor\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "ids": { "description": "Unique identifiers for the objects.", "type": "array", "items": { "type": "integer" }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor\/v1\/form-submissions\/restore" } ] } }, "\/elementor\/v1\/form-submissions\/export": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 10000, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "additionalProperties": { "context": "filter" }, "required": false }, "order": { "description": "Order sort attribute ascending or descending.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "order_by": { "description": "Sort collection by object attribute.", "type": "string", "default": "created_at", "enum": [ "created_at", "id", "main_meta_id" ], "required": false }, "status": { "description": "Limit result set to submissions assigned one or more statuses.", "type": "string", "default": "all", "enum": [ "all", "unread", "read", "trash" ], "additionalProperties": { "context": "filter" }, "required": false }, "form": { "description": "Limit result set to submissions assigned to specific forms. The form id should follow this pattern {post_id}_{element_id} e.g: 10_476d0ce", "type": "string", "additionalProperties": { "context": "filter" }, "required": false }, "referer": { "description": "Limit result set to submissions assigned to specific referer.", "type": "string", "additionalProperties": { "context": "filter" }, "required": false }, "after": { "description": "Limit response to submissions sent after a given ISO8601 compliant date.", "type": "string", "format": "date", "additionalProperties": { "context": "filter" }, "required": false }, "before": { "description": "Limit response to submissions sent before a given ISO8601 compliant date.", "type": "string", "format": "date", "additionalProperties": { "context": "filter" }, "required": false }, "ids": { "description": "Unique identifiers for the objects.", "type": "array", "items": { "type": "integer" }, "additionalProperties": { "context": "filter" }, "required": false }, "format": { "description": "The format of the export (for now only csv).", "enum": [ "csv" ], "default": "csv", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor\/v1\/form-submissions\/export" } ] } }, "\/elementor\/v1\/form-submissions\/referer": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made, determines fields present in response. (only \"options\" available for now)", "type": "string", "enum": [ "options" ], "default": "options", "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "additionalProperties": { "context": "filter" }, "required": false }, "value": { "description": "Limit results specific referer.", "type": "string", "additionalProperties": { "context": "filter" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor\/v1\/form-submissions\/referer" } ] } }, "\/elementor\/v1\/forms": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Scope under which the request is made, determines fields present in response. (only \"options\" available for now)", "type": "string", "enum": [ "options" ], "default": "options", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor\/v1\/forms" } ] } }, "\/elementor-pro\/v1\/get-post-type-taxonomies": { "namespace": "elementor-pro\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "post_type": { "description": "The post type for which to fetch the list of taxonomies.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor-pro\/v1\/get-post-type-taxonomies" } ] } }, "\/elementor-pro\/v1\/refresh-loop": { "namespace": "elementor-pro\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "post_id": { "description": "The post ID of the page containing the loop.", "type": "integer", "required": true }, "widget_id": { "description": "The ID of the loop widget.", "type": "string", "required": true }, "widget_filters": { "description": "The filters for the loop widget.", "type": "object", "required": true }, "widget_model": { "description": "The model of the loop widget. In Editor mode only.", "type": "object", "required": false }, "pagination_base_url": { "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor-pro\/v1\/refresh-loop" } ] } }, "\/elementor-pro\/v1\/refresh-search": { "namespace": "elementor-pro\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "post_id": { "description": "The post ID of the page containing the loop.", "type": "integer", "required": true }, "widget_id": { "description": "The ID of the loop widget.", "type": "string", "required": true }, "widget_model": { "description": "The model of the loop widget. In Editor mode only.", "type": "object", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor-pro\/v1\/refresh-search" } ] } }, "\/ctxfeed\/v1": { "namespace": "ctxfeed\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "ctxfeed\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/ctxfeed\/v1" } ] } }, "\/ctxfeed\/v1\/attributes_mapping": { "namespace": "ctxfeed\/v1", "methods": [ "GET", "POST", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "name": { "description": "feed name", "type": "string", "required": false }, "page": { "description": "Page number", "type": "number", "required": false }, "per_page": { "description": "Per page", "type": "number", "required": false } } }, { "methods": [ "POST" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": [] }, { "methods": [ "DELETE" ], "args": { "name": { "description": "feed name", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/ctxfeed\/v1\/attributes_mapping" } ] } }, "\/ctxfeed\/v1\/attributes_mapping\/unique_option_name": { "namespace": "ctxfeed\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/ctxfeed\/v1\/attributes_mapping\/unique_option_name" } ] } }, "\/ctxfeed\/v1\/attributes_mapping\/attribute_preview": { "namespace": "ctxfeed\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/ctxfeed\/v1\/attributes_mapping\/attribute_preview" } ] } }, "\/ctxfeed\/v1\/category_mapping": { "namespace": "ctxfeed\/v1", "methods": [ "GET", "POST", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "name": { "description": "feed name", "type": "string", "required": false }, "page": { "description": "Page number", "type": "number", "required": false }, "per_page": { "description": "Per page", "type": "number", "required": false } } }, { "methods": [ "POST" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": [] }, { "methods": [ "DELETE" ], "args": { "name": { "description": "feed name", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/ctxfeed\/v1\/category_mapping" } ] } }, "\/ctxfeed\/v1\/category_mapping\/unique_option_name": { "namespace": "ctxfeed\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/ctxfeed\/v1\/category_mapping\/unique_option_name" } ] } }, "\/ctxfeed\/v1\/drop_down": { "namespace": "ctxfeed\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "type": { "description": "Dropdown type name. $type will be DropDownOptions class's method name. Example: wp-json\/ctxfeed\/v1\/drop_down\/?type=feed_country. Here fee_country is DropDownOptions method name.", "type": "string", "required": true }, "search": { "description": "Search with search string in the specific method. If search string exists.", "type": "string", "default": "", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/ctxfeed\/v1\/drop_down" } ] } }, "\/ctxfeed\/v1\/drop_down\/feed_rules": { "namespace": "ctxfeed\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "template": { "description": "Template name", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/ctxfeed\/v1\/drop_down\/feed_rules" } ] } }, "\/ctxfeed\/v1\/drop_down\/initial_feed_rules": { "namespace": "ctxfeed\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/ctxfeed\/v1\/drop_down\/initial_feed_rules" } ] } }, "\/ctxfeed\/v1\/drop_down\/composite_plugins": { "namespace": "ctxfeed\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/ctxfeed\/v1\/drop_down\/composite_plugins" } ] } }, "\/ctxfeed\/v1\/dynamic_attributes": { "namespace": "ctxfeed\/v1", "methods": [ "GET", "POST", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "name": { "description": "feed name", "type": "string", "required": false }, "page": { "description": "Page number", "type": "number", "required": false }, "per_page": { "description": "Per page", "type": "number", "required": false } } }, { "methods": [ "POST" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": [] }, { "methods": [ "DELETE" ], "args": { "name": { "description": "feed name", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/ctxfeed\/v1\/dynamic_attributes" } ] } }, "\/ctxfeed\/v1\/dynamic_attributes\/unique_option_name": { "namespace": "ctxfeed\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/ctxfeed\/v1\/dynamic_attributes\/unique_option_name" } ] } }, "\/ctxfeed\/v1\/manage_feeds": { "namespace": "ctxfeed\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "status": { "description": "Is active or inactive", "type": "string", "required": false }, "name": { "description": "feed name", "type": "string", "required": false }, "page": { "description": "Page number", "type": "number", "required": false }, "per_page": { "description": "Per page", "type": "number", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/ctxfeed\/v1\/manage_feeds" } ] } }, "\/ctxfeed\/v1\/manage_feeds\/duplicate": { "namespace": "ctxfeed\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "feed": { "description": "Feed slug", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/ctxfeed\/v1\/manage_feeds\/duplicate" } ] } }, "\/ctxfeed\/v1\/manage_feeds\/update_feed_status": { "namespace": "ctxfeed\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "feed": { "description": "Feed slug", "type": "string", "required": true }, "status": { "description": "Feed status enabled or disabled", "type": "number", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/ctxfeed\/v1\/manage_feeds\/update_feed_status" } ] } }, "\/ctxfeed\/v1\/manage_feeds\/delete_feed": { "namespace": "ctxfeed\/v1", "methods": [ "DELETE" ], "endpoints": [ { "methods": [ "DELETE" ], "args": { "feed_id": { "description": "Feed id", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/ctxfeed\/v1\/manage_feeds\/delete_feed" } ] } }, "\/ctxfeed\/v1\/manage_feeds\/download": { "namespace": "ctxfeed\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/ctxfeed\/v1\/manage_feeds\/download" } ] } }, "\/ctxfeed\/v1\/manage_feeds\/schedules": { "namespace": "ctxfeed\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/ctxfeed\/v1\/manage_feeds\/schedules" } ] } }, "\/ctxfeed\/v1\/manage_feeds\/update_interval": { "namespace": "ctxfeed\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "time": { "description": "Initerval time", "type": "number", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/ctxfeed\/v1\/manage_feeds\/update_interval" } ] } }, "\/ctxfeed\/v1\/manage_feeds\/clear_cache": { "namespace": "ctxfeed\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/ctxfeed\/v1\/manage_feeds\/clear_cache" } ] } }, "\/ctxfeed\/v1\/merchant_info": { "namespace": "ctxfeed\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "merchant": { "description": "Merchant name", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/ctxfeed\/v1\/merchant_info" } ] } }, "\/ctxfeed\/v1\/merchant_info\/get_initial_merchant_infos": { "namespace": "ctxfeed\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/ctxfeed\/v1\/merchant_info\/get_initial_merchant_infos" } ] } }, "\/ctxfeed\/v1\/product_categories": { "namespace": "ctxfeed\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "search": { "description": "Search string.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/ctxfeed\/v1\/product_categories" } ] } }, "\/ctxfeed\/v1\/products": { "namespace": "ctxfeed\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "search": { "description": "Search string.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/ctxfeed\/v1\/products" } ] } }, "\/ctxfeed\/v1\/products\/ids": { "namespace": "ctxfeed\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/ctxfeed\/v1\/products\/ids" } ] } }, "\/ctxfeed\/v1\/products\/get_filter_data": { "namespace": "ctxfeed\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/ctxfeed\/v1\/products\/get_filter_data" } ] } }, "\/ctxfeed\/v1\/product_taxonomy": { "namespace": "ctxfeed\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "country_code": { "description": "Country code.", "type": "string", "required": true }, "merchant": { "description": "Merchant name", "type": "string", "required": true }, "with_id": { "description": "If true then taxonomy will be downloaded with id", "type": "boolean", "default": true, "required": false }, "ext": { "description": "File extension default is txt", "type": "string", "default": "txt", "required": false }, "update": { "description": "Should update if value is true", "type": "boolean", "default": false, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/ctxfeed\/v1\/product_taxonomy" } ] } }, "\/ctxfeed\/v1\/settings": { "namespace": "ctxfeed\/v1", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/ctxfeed\/v1\/settings" } ] } }, "\/ctxfeed\/v1\/settings\/custom_settings": { "namespace": "ctxfeed\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/ctxfeed\/v1\/settings\/custom_settings" } ] } }, "\/ctxfeed\/v1\/settings\/what_we_collect": { "namespace": "ctxfeed\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/ctxfeed\/v1\/settings\/what_we_collect" } ] } }, "\/ctxfeed\/v1\/wp_options": { "namespace": "ctxfeed\/v1", "methods": [ "GET", "POST", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "page": { "description": "Page number", "type": "number", "required": false }, "per_page": { "description": "Per page", "type": "number", "required": false } } }, { "methods": [ "POST" ], "args": [] }, { "methods": [ "DELETE" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/ctxfeed\/v1\/wp_options" } ] } }, "\/ctxfeed\/v1\/make_feed\/save_feed_config": { "namespace": "ctxfeed\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/ctxfeed\/v1\/make_feed\/save_feed_config" } ] } }, "\/ctxfeed\/v1\/make_feed\/get_product_ids": { "namespace": "ctxfeed\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/ctxfeed\/v1\/make_feed\/get_product_ids" } ] } }, "\/ctxfeed\/v1\/make_feed\/make_per_batch_feed": { "namespace": "ctxfeed\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/ctxfeed\/v1\/make_feed\/make_per_batch_feed" } ] } }, "\/ctxfeed\/v1\/make_feed\/save_feed_file": { "namespace": "ctxfeed\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/ctxfeed\/v1\/make_feed\/save_feed_file" } ] } }, "\/ctxfeed\/v1\/wp-status": { "namespace": "ctxfeed\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/ctxfeed\/v1\/wp-status" } ] } }, "\/ctxfeed\/v1\/wp-status\/logs": { "namespace": "ctxfeed\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/ctxfeed\/v1\/wp-status\/logs" } ] } }, "\/ctxfeed\/v1\/wp-status\/delete-cache": { "namespace": "ctxfeed\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/ctxfeed\/v1\/wp-status\/delete-cache" } ] } }, "\/ctxfeed\/v1\/woo_feed_docs": { "namespace": "ctxfeed\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/ctxfeed\/v1\/woo_feed_docs" } ] } }, "\/wc\/v1\/coupons": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "after": { "description": "Piirake vastuseid ressurssidega, mis on avaldatud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piirake vastust ressurssidega, mis on avaldatud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "filter": { "type": "object", "description": "Vastuse muutmiseks kasuta WP Query argumente; privaatsed p\u00e4ringumuutujad n\u00f5uavad vastavat autoriseerimist.", "required": false }, "code": { "description": "Piira tulemusi kindla koodiga ressurssidele.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "code": { "description": "Kupongi kood.", "type": "string", "required": true }, "description": { "description": "Kupongi kirjeldus.", "type": "string", "required": false }, "discount_type": { "default": "fixed_cart", "description": "M\u00e4\u00e4rab rakendatava allahindluse t\u00fc\u00fcbi.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "amount": { "description": "Allahindluse v\u00e4\u00e4rtus. Peab alati olema number, isegi kui m\u00e4\u00e4ratakse protsenti.", "type": "string", "required": false }, "expiry_date": { "description": "Kupongi aegumise UTC DateTime.", "type": [ "null", "string" ], "required": false }, "individual_use": { "default": false, "description": "Kui v\u00e4\u00e4rtus on t\u00f5ene, saab seda kupongi kasutada ainult \u00fcksinda. Teised kupongid eemaldatakse ostukorvist.", "type": "boolean", "required": false }, "product_ids": { "description": "Toodete ID-de nimekiri, millega seda kupongi saab kasutada.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_product_ids": { "description": "Toodete ID-de nimekiri, millega seda kupongi kasutada ei saa.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Kui mitu korda seda kupongi kasutada saab.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Mitu korda \u00fcks klient saab seda kupongi kasutada.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Maksimaalne toodete kogus ostukorvis, millele see kupong kehtib.", "type": "integer", "required": false }, "free_shipping": { "default": false, "description": "Kui t\u00f5ene ja tasuta tarne meetod vajab kupongi, aktiveerib see kupong tasuta tarne.", "type": "boolean", "required": false }, "product_categories": { "description": "Kategooriate ID-de nimekiri, millega koos seda kupongi saab kasutada.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Kategooriate ID-de nimekiri, millega koos seda kupongi ei saa kasutada.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "default": false, "description": "Kui t\u00f5ene, ei kehti see kupong soodushinnaga toodetele.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minimaalne tellimuse summa, mis peab olema selle kupongi kasutamiseks ostukorvis.", "type": "string", "required": false }, "maximum_amount": { "description": "Maksimaalne lubatav tellimuse summa selle kupongi kasutamiseks.", "type": "string", "required": false }, "email_restrictions": { "description": "E-posti aadresside nimekiri, kes saavad seda kupongi kasutada.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "code": { "description": "Kupongi kood.", "type": "string", "required": false }, "description": { "description": "Kupongi kirjeldus.", "type": "string", "required": false }, "discount_type": { "description": "M\u00e4\u00e4rab rakendatava allahindluse t\u00fc\u00fcbi.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "amount": { "description": "Allahindluse v\u00e4\u00e4rtus. Peab alati olema number, isegi kui m\u00e4\u00e4ratakse protsenti.", "type": "string", "required": false }, "expiry_date": { "description": "Kupongi aegumise UTC DateTime.", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "Kui v\u00e4\u00e4rtus on t\u00f5ene, saab seda kupongi kasutada ainult \u00fcksinda. Teised kupongid eemaldatakse ostukorvist.", "type": "boolean", "required": false }, "product_ids": { "description": "Toodete ID-de nimekiri, millega seda kupongi saab kasutada.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_product_ids": { "description": "Toodete ID-de nimekiri, millega seda kupongi kasutada ei saa.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Kui mitu korda seda kupongi kasutada saab.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Mitu korda \u00fcks klient saab seda kupongi kasutada.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Maksimaalne toodete kogus ostukorvis, millele see kupong kehtib.", "type": "integer", "required": false }, "free_shipping": { "description": "Kui t\u00f5ene ja tasuta tarne meetod vajab kupongi, aktiveerib see kupong tasuta tarne.", "type": "boolean", "required": false }, "product_categories": { "description": "Kategooriate ID-de nimekiri, millega koos seda kupongi saab kasutada.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Kategooriate ID-de nimekiri, millega koos seda kupongi ei saa kasutada.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "Kui t\u00f5ene, ei kehti see kupong soodushinnaga toodetele.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minimaalne tellimuse summa, mis peab olema selle kupongi kasutamiseks ostukorvis.", "type": "string", "required": false }, "maximum_amount": { "description": "Maksimaalne lubatav tellimuse summa selle kupongi kasutamiseks.", "type": "string", "required": false }, "email_restrictions": { "description": "E-posti aadresside nimekiri, kes saavad seda kupongi kasutada.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Kas j\u00e4tta pr\u00fcgikast m\u00f6\u00f6da ja sundida kustutamist.", "required": false } } } ] }, "\/wc\/v1\/coupons\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "code": { "description": "Kupongi kood.", "type": "string", "required": false }, "description": { "description": "Kupongi kirjeldus.", "type": "string", "required": false }, "discount_type": { "description": "M\u00e4\u00e4rab rakendatava allahindluse t\u00fc\u00fcbi.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "amount": { "description": "Allahindluse v\u00e4\u00e4rtus. Peab alati olema number, isegi kui m\u00e4\u00e4ratakse protsenti.", "type": "string", "required": false }, "expiry_date": { "description": "Kupongi aegumise UTC DateTime.", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "Kui v\u00e4\u00e4rtus on t\u00f5ene, saab seda kupongi kasutada ainult \u00fcksinda. Teised kupongid eemaldatakse ostukorvist.", "type": "boolean", "required": false }, "product_ids": { "description": "Toodete ID-de nimekiri, millega seda kupongi saab kasutada.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_product_ids": { "description": "Toodete ID-de nimekiri, millega seda kupongi kasutada ei saa.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Kui mitu korda seda kupongi kasutada saab.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Mitu korda \u00fcks klient saab seda kupongi kasutada.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Maksimaalne toodete kogus ostukorvis, millele see kupong kehtib.", "type": "integer", "required": false }, "free_shipping": { "description": "Kui t\u00f5ene ja tasuta tarne meetod vajab kupongi, aktiveerib see kupong tasuta tarne.", "type": "boolean", "required": false }, "product_categories": { "description": "Kategooriate ID-de nimekiri, millega koos seda kupongi saab kasutada.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Kategooriate ID-de nimekiri, millega koos seda kupongi ei saa kasutada.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "Kui t\u00f5ene, ei kehti see kupong soodushinnaga toodetele.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minimaalne tellimuse summa, mis peab olema selle kupongi kasutamiseks ostukorvis.", "type": "string", "required": false }, "maximum_amount": { "description": "Maksimaalne lubatav tellimuse summa selle kupongi kasutamiseks.", "type": "string", "required": false }, "email_restrictions": { "description": "E-posti aadresside nimekiri, kes saavad seda kupongi kasutada.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v1\/coupons\/batch" } ] } }, "\/wc\/v1\/customers\/(?P[\\d]+)\/downloads": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "customer_id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ] }, "\/wc\/v1\/customers": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piira tulemuste hulka kindlatele ID-dele.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "name", "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "enum": [ "id", "include", "name", "registered_date" ], "type": "string", "required": false }, "email": { "description": "Piira tulemusi kindla e-postiga ressurssidele.", "type": "string", "format": "email", "required": false }, "role": { "description": "Piira tulemusi kindla rolliga ressurssidele.", "type": "string", "default": "customer", "enum": [ "all", "administrator", "editor", "author", "contributor", "subscriber", "customer", "shop_manager" ], "required": false } } }, { "methods": [ "POST" ], "args": { "email": { "type": "string", "description": "Uus kasutaja e-posti aadress.", "required": true }, "first_name": { "description": "Kliendi eesnimi.", "type": "string", "required": false }, "last_name": { "description": "Kliendi perekonnanimi.", "type": "string", "required": false }, "username": { "description": "Uus kasutaja kasutajanimi.", "type": "string", "required": false }, "password": { "description": "Uus kasutaja salas\u00f5na.", "type": "string", "required": false }, "billing": { "description": "Arveaadressi andmete loetelu.", "type": "object", "properties": { "first_name": { "description": "Eesnimi.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Perekonnanimi.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ettev\u00f5tte nimi.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Aadressirida 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Aadressirida 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Linna nimi.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Osariigi, provintsi v\u00f5i ringkonna ISO-kood v\u00f5i nimi.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postiindeks.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Riigi ISO kood.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "E-posti aadress.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Telefoninumber.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Tarneaadressi andmete loetelu.", "type": "object", "properties": { "first_name": { "description": "Eesnimi.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Perekonnanimi.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ettev\u00f5tte nimi.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Aadressirida 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Aadressirida 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Linna nimi.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Osariigi, provintsi v\u00f5i ringkonna ISO-kood v\u00f5i nimi.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postiindeks.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Riigi ISO kood.", "type": "string", "context": [ "view", "edit" ] } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "email": { "description": "Kliendi e-post aadress.", "type": "string", "format": "email", "required": false }, "first_name": { "description": "Kliendi eesnimi.", "type": "string", "required": false }, "last_name": { "description": "Kliendi perekonnanimi.", "type": "string", "required": false }, "username": { "description": "Kliendi kasutajanimi.", "type": "string", "required": false }, "password": { "description": "Kliendi salas\u00f5na.", "type": "string", "required": false }, "billing": { "description": "Arveaadressi andmete loetelu.", "type": "object", "properties": { "first_name": { "description": "Eesnimi.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Perekonnanimi.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ettev\u00f5tte nimi.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Aadressirida 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Aadressirida 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Linna nimi.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Osariigi, provintsi v\u00f5i ringkonna ISO-kood v\u00f5i nimi.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postiindeks.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Riigi ISO kood.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "E-posti aadress.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Telefoninumber.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Tarneaadressi andmete loetelu.", "type": "object", "properties": { "first_name": { "description": "Eesnimi.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Perekonnanimi.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ettev\u00f5tte nimi.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Aadressirida 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Aadressirida 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Linna nimi.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Osariigi, provintsi v\u00f5i ringkonna ISO-kood v\u00f5i nimi.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postiindeks.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Riigi ISO kood.", "type": "string", "context": [ "view", "edit" ] } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "N\u00f5utav, et see oleks t\u00f5ene, kuna ressurss ei toeta pr\u00fcgikasti viimist.", "required": false }, "reassign": { "default": 0, "type": "integer", "description": "ID, mille k\u00fclge postitused \u00fcmber seostada.", "required": false } } } ] }, "\/wc\/v1\/customers\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "email": { "description": "Kliendi e-post aadress.", "type": "string", "format": "email", "required": false }, "first_name": { "description": "Kliendi eesnimi.", "type": "string", "required": false }, "last_name": { "description": "Kliendi perekonnanimi.", "type": "string", "required": false }, "username": { "description": "Kliendi kasutajanimi.", "type": "string", "required": false }, "password": { "description": "Kliendi salas\u00f5na.", "type": "string", "required": false }, "billing": { "description": "Arveaadressi andmete loetelu.", "type": "object", "properties": { "first_name": { "description": "Eesnimi.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Perekonnanimi.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ettev\u00f5tte nimi.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Aadressirida 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Aadressirida 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Linna nimi.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Osariigi, provintsi v\u00f5i ringkonna ISO-kood v\u00f5i nimi.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postiindeks.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Riigi ISO kood.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "E-posti aadress.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Telefoninumber.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Tarneaadressi andmete loetelu.", "type": "object", "properties": { "first_name": { "description": "Eesnimi.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Perekonnanimi.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ettev\u00f5tte nimi.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Aadressirida 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Aadressirida 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Linna nimi.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Osariigi, provintsi v\u00f5i ringkonna ISO-kood v\u00f5i nimi.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postiindeks.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Riigi ISO kood.", "type": "string", "context": [ "view", "edit" ] } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Tellimuse ID.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "Tellimuse ID.", "type": "integer", "required": false }, "note": { "type": "string", "description": "Telli m\u00e4rkme sisu.", "required": true }, "customer_note": { "default": false, "description": "N\u00e4itab\/m\u00e4\u00e4rab kas m\u00e4rkus on ainult enda tarbeks v\u00f5i m\u00f5eldud kliendile (kasutajale saadetakse teade).", "type": "boolean", "required": false } } } ] }, "\/wc\/v1\/orders\/(?P[\\d]+)\/notes\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "order_id": { "description": "Tellimuse ID.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "order_id": { "description": "Tellimuse ID.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "N\u00f5utav, et see oleks t\u00f5ene, kuna ressurss ei toeta pr\u00fcgikasti viimist.", "required": false } } } ] }, "\/wc\/v1\/orders\/(?P[\\d]+)\/refunds": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "Tellimuse ID.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "after": { "description": "Piirake vastuseid ressurssidega, mis on avaldatud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piirake vastust ressurssidega, mis on avaldatud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "filter": { "type": "object", "description": "Vastuse muutmiseks kasuta WP Query argumente; privaatsed p\u00e4ringumuutujad n\u00f5uavad vastavat autoriseerimist.", "required": false }, "status": { "default": "any", "description": "Piirake tulemuste komplekt tellimustele, millele on m\u00e4\u00e4ratud konkreetne olek.", "type": "string", "enum": [ "any", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "mon-part-refund", "mon-label-printed", "checkout-draft" ], "required": false }, "customer": { "description": "Piirake tulemuste komplekt konkreetsele kliendile m\u00e4\u00e4ratud tellimustele.", "type": "integer", "required": false }, "product": { "description": "Piirake tulemuste komplekt konkreetsele tootele m\u00e4\u00e4ratud tellimustele.", "type": "integer", "required": false }, "dp": { "default": 0, "description": "Igas ressursis kasutatavate k\u00fcmnendkohtade arv.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "Tellimuse ID.", "type": "integer", "required": false }, "amount": { "description": "Tagasimakse summa.", "type": "string", "required": false }, "reason": { "description": "Tagastamise p\u00f5hjus.", "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": "Tellimuse ID.", "type": "integer", "required": false }, "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "order_id": { "description": "Tellimuse ID.", "type": "integer", "required": false }, "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "N\u00f5utav, et see oleks t\u00f5ene, kuna ressurss ei toeta pr\u00fcgikasti viimist.", "required": false } } } ] }, "\/wc\/v1\/orders": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "after": { "description": "Piirake vastuseid ressurssidega, mis on avaldatud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piirake vastust ressurssidega, mis on avaldatud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "filter": { "type": "object", "description": "Vastuse muutmiseks kasuta WP Query argumente; privaatsed p\u00e4ringumuutujad n\u00f5uavad vastavat autoriseerimist.", "required": false }, "status": { "default": "any", "description": "Piirake tulemuste komplekt tellimustele, millele on m\u00e4\u00e4ratud konkreetne olek.", "type": "string", "enum": [ "any", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "mon-part-refund", "mon-label-printed", "checkout-draft" ], "required": false }, "customer": { "description": "Piirake tulemuste komplekt konkreetsele kliendile m\u00e4\u00e4ratud tellimustele.", "type": "integer", "required": false }, "product": { "description": "Piirake tulemuste komplekt konkreetsele tootele m\u00e4\u00e4ratud tellimustele.", "type": "integer", "required": false }, "dp": { "default": 0, "description": "Igas ressursis kasutatavate k\u00fcmnendkohtade arv.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "parent_id": { "description": "Vanema tellimuse ID.", "type": "integer", "required": false }, "status": { "default": "pending", "description": "Tellimuse olek.", "type": "string", "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "mon-part-refund", "mon-label-printed", "checkout-draft" ], "required": false }, "currency": { "default": "EUR", "description": "Valuuta, millega tellimus koostati, ISO-vormingus.", "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 }, "date_created": { "description": "Tellimuse loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "required": false }, "date_modified": { "description": "Tellimuse viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "required": false }, "customer_id": { "default": 0, "description": "Kasutaja ID, kellele tellimus kuulub. 0 k\u00fclalistele.", "type": "integer", "required": false }, "billing": { "description": "Arveldusaadress.", "type": "object", "properties": { "first_name": { "description": "Eesnimi.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Perekonnanimi.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ettev\u00f5tte nimi.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Aadressirida 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Aadressirida 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Linna nimi.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Osariigi, provintsi v\u00f5i ringkonna ISO-kood v\u00f5i nimi.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postiindeks.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Riigikood ISO 3166-1 alfa-2 formaadis.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "E-posti aadress.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Telefoninumber.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Tarneaadress.", "type": "object", "properties": { "first_name": { "description": "Eesnimi.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Perekonnanimi.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ettev\u00f5tte nimi.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Aadressirida 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Aadressirida 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Linna nimi.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Osariigi, provintsi v\u00f5i ringkonna ISO-kood v\u00f5i nimi.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postiindeks.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Riigikood ISO 3166-1 alfa-2 formaadis.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "Makseviisi ID.", "type": "string", "required": false }, "payment_method_title": { "description": "Makseviisi pealkiri.", "type": "string", "required": false }, "set_paid": { "default": false, "description": "M\u00e4\u00e4rake, kas tellimus on tasutud. See seab olekuks t\u00f6\u00f6tlemise ja v\u00e4hendab laoartikleid.", "type": "boolean", "required": false }, "transaction_id": { "description": "Unikaalne tehingu ID.", "type": "string", "required": false }, "customer_note": { "description": "M\u00e4rkus, mille klient j\u00e4ttis kassas.", "type": "string", "required": false }, "line_items": { "description": "Rea\u00fcksuste andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Toote nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "Toote SKU.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "product_id": { "description": "Toote ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Variatsiooni ID, kui see on kohaldatav.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Tellitud kogus.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Toote maksuklass.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Toote hind.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Rea vahesumma (enne allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Rea vahesumma maks (enne allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Maksude vahesumma.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta": { "description": "Arverea meta andmed.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Meta silt.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "shipping_lines": { "description": "Laevaliinide andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Saatmisviisi nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Saatmisviisi ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "fee_lines": { "description": "Tasuliinide andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Tasu nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Tasu maksuklass.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Tasu maksustaatus.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Maksude vahesumma.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "coupon_lines": { "description": "Kupongide rea andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Kupongi kood.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Allahindlus kokku.", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "Allahindlus kogumaks.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "parent_id": { "description": "Vanema tellimuse ID.", "type": "integer", "required": false }, "status": { "description": "Tellimuse olek.", "type": "string", "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "mon-part-refund", "mon-label-printed", "checkout-draft" ], "required": false }, "currency": { "description": "Valuuta, millega tellimus koostati, ISO-vormingus.", "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 }, "date_created": { "description": "Tellimuse loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "required": false }, "date_modified": { "description": "Tellimuse viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "required": false }, "customer_id": { "description": "Kasutaja ID, kellele tellimus kuulub. 0 k\u00fclalistele.", "type": "integer", "required": false }, "billing": { "description": "Arveldusaadress.", "type": "object", "properties": { "first_name": { "description": "Eesnimi.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Perekonnanimi.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ettev\u00f5tte nimi.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Aadressirida 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Aadressirida 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Linna nimi.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Osariigi, provintsi v\u00f5i ringkonna ISO-kood v\u00f5i nimi.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postiindeks.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Riigikood ISO 3166-1 alfa-2 formaadis.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "E-posti aadress.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Telefoninumber.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Tarneaadress.", "type": "object", "properties": { "first_name": { "description": "Eesnimi.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Perekonnanimi.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ettev\u00f5tte nimi.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Aadressirida 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Aadressirida 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Linna nimi.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Osariigi, provintsi v\u00f5i ringkonna ISO-kood v\u00f5i nimi.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postiindeks.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Riigikood ISO 3166-1 alfa-2 formaadis.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "Makseviisi ID.", "type": "string", "required": false }, "payment_method_title": { "description": "Makseviisi pealkiri.", "type": "string", "required": false }, "set_paid": { "description": "M\u00e4\u00e4rake, kas tellimus on tasutud. See seab olekuks t\u00f6\u00f6tlemise ja v\u00e4hendab laoartikleid.", "type": "boolean", "required": false }, "transaction_id": { "description": "Unikaalne tehingu ID.", "type": "string", "required": false }, "customer_note": { "description": "M\u00e4rkus, mille klient j\u00e4ttis kassas.", "type": "string", "required": false }, "line_items": { "description": "Rea\u00fcksuste andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Toote nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "Toote SKU.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "product_id": { "description": "Toote ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Variatsiooni ID, kui see on kohaldatav.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Tellitud kogus.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Toote maksuklass.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Toote hind.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Rea vahesumma (enne allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Rea vahesumma maks (enne allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Maksude vahesumma.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta": { "description": "Arverea meta andmed.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Meta silt.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "shipping_lines": { "description": "Laevaliinide andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Saatmisviisi nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Saatmisviisi ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "fee_lines": { "description": "Tasuliinide andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Tasu nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Tasu maksuklass.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Tasu maksustaatus.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Maksude vahesumma.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "coupon_lines": { "description": "Kupongide rea andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Kupongi kood.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Allahindlus kokku.", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "Allahindlus kogumaks.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Kas j\u00e4tta pr\u00fcgikast m\u00f6\u00f6da ja sundida kustutamist.", "required": false } } } ] }, "\/wc\/v1\/orders\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "parent_id": { "description": "Vanema tellimuse ID.", "type": "integer", "required": false }, "status": { "description": "Tellimuse olek.", "type": "string", "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "mon-part-refund", "mon-label-printed", "checkout-draft" ], "required": false }, "currency": { "description": "Valuuta, millega tellimus koostati, ISO-vormingus.", "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 }, "date_created": { "description": "Tellimuse loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "required": false }, "date_modified": { "description": "Tellimuse viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "required": false }, "customer_id": { "description": "Kasutaja ID, kellele tellimus kuulub. 0 k\u00fclalistele.", "type": "integer", "required": false }, "billing": { "description": "Arveldusaadress.", "type": "object", "properties": { "first_name": { "description": "Eesnimi.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Perekonnanimi.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ettev\u00f5tte nimi.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Aadressirida 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Aadressirida 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Linna nimi.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Osariigi, provintsi v\u00f5i ringkonna ISO-kood v\u00f5i nimi.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postiindeks.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Riigikood ISO 3166-1 alfa-2 formaadis.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "E-posti aadress.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Telefoninumber.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Tarneaadress.", "type": "object", "properties": { "first_name": { "description": "Eesnimi.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Perekonnanimi.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ettev\u00f5tte nimi.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Aadressirida 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Aadressirida 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Linna nimi.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Osariigi, provintsi v\u00f5i ringkonna ISO-kood v\u00f5i nimi.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postiindeks.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Riigikood ISO 3166-1 alfa-2 formaadis.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "Makseviisi ID.", "type": "string", "required": false }, "payment_method_title": { "description": "Makseviisi pealkiri.", "type": "string", "required": false }, "set_paid": { "description": "M\u00e4\u00e4rake, kas tellimus on tasutud. See seab olekuks t\u00f6\u00f6tlemise ja v\u00e4hendab laoartikleid.", "type": "boolean", "required": false }, "transaction_id": { "description": "Unikaalne tehingu ID.", "type": "string", "required": false }, "customer_note": { "description": "M\u00e4rkus, mille klient j\u00e4ttis kassas.", "type": "string", "required": false }, "line_items": { "description": "Rea\u00fcksuste andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Toote nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "Toote SKU.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "product_id": { "description": "Toote ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Variatsiooni ID, kui see on kohaldatav.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Tellitud kogus.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Toote maksuklass.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Toote hind.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Rea vahesumma (enne allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Rea vahesumma maks (enne allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Maksude vahesumma.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta": { "description": "Arverea meta andmed.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Meta silt.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "shipping_lines": { "description": "Laevaliinide andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Saatmisviisi nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Saatmisviisi ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "fee_lines": { "description": "Tasuliinide andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Tasu nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Tasu maksuklass.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Tasu maksustaatus.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Maksude vahesumma.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "coupon_lines": { "description": "Kupongide rea andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Kupongi kood.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Allahindlus kokku.", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "Allahindlus kogumaks.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Terminite atribuudi unikaalne identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra. Kehtib ainult hierarhiliste taksonoomiate puhul.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu ressursiatribuudi j\u00e4rgi.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Kas peita ressursid, mis pole \u00fchelegi tootele m\u00e4\u00e4ratud.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Piirake tulemuste komplekt konkreetsele vanemale m\u00e4\u00e4ratud ressurssidega. Kehtib ainult hierarhiliste taksonoomiate puhul.", "type": "integer", "required": false }, "product": { "description": "Piirake tulemuste komplekt konkreetsele tootele m\u00e4\u00e4ratud ressurssidega.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Piirake tulemuse komplekt konkreetse n\u00e4lkjaga ressurssidega.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "attribute_id": { "description": "Terminite atribuudi unikaalne identifikaator.", "type": "integer", "required": false }, "name": { "type": "string", "description": "Ressursi nimi.", "required": true }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse ressursi kohandatud sortimiseks.", "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": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "attribute_id": { "description": "Terminite atribuudi unikaalne identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "attribute_id": { "description": "Terminite atribuudi unikaalne identifikaator.", "type": "integer", "required": false }, "name": { "description": "Termini nimi.", "type": "string", "required": false }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse ressursi kohandatud sortimiseks.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "attribute_id": { "description": "Terminite atribuudi unikaalne identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "N\u00f5utav, et see oleks t\u00f5ene, kuna ressurss ei toeta pr\u00fcgikasti viimist.", "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": "Terminite atribuudi unikaalne identifikaator.", "type": "integer", "required": false }, "name": { "description": "Termini nimi.", "type": "string", "required": false }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse ressursi kohandatud sortimiseks.", "type": "integer", "required": false } } } ] }, "\/wc\/v1\/products\/attributes": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Ressursi nimi.", "type": "string", "required": true }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "type": { "default": "select", "description": "Omaduse t\u00fc\u00fcp.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "default": "menu_order", "description": "Vaikimisi sorteerimise j\u00e4rjekord.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "default": false, "description": "Luba\/keela omaduste arhiivid.", "type": "boolean", "required": false }, "terms": { "description": "List of terms linked to the attribute.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Term ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Term name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Term slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "name": { "description": "Atribuudi nimi.", "type": "string", "required": false }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "type": { "description": "Omaduse t\u00fc\u00fcp.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Vaikimisi sorteerimise j\u00e4rjekord.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "Luba\/keela omaduste arhiivid.", "type": "boolean", "required": false }, "terms": { "description": "List of terms linked to the attribute.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Term ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Term name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Term slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "N\u00f5utav, et see oleks t\u00f5ene, kuna ressurss ei toeta pr\u00fcgikasti viimist.", "required": false } } } ] }, "\/wc\/v1\/products\/attributes\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Atribuudi nimi.", "type": "string", "required": false }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "type": { "description": "Omaduse t\u00fc\u00fcp.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Vaikimisi sorteerimise j\u00e4rjekord.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "Luba\/keela omaduste arhiivid.", "type": "boolean", "required": false }, "terms": { "description": "List of terms linked to the attribute.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Term ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Term name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Term slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v1\/products\/attributes\/batch" } ] } }, "\/wc\/v1\/products\/categories": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra. Kehtib ainult hierarhiliste taksonoomiate puhul.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu ressursiatribuudi j\u00e4rgi.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Kas peita ressursid, mis pole \u00fchelegi tootele m\u00e4\u00e4ratud.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Piirake tulemuste komplekt konkreetsele vanemale m\u00e4\u00e4ratud ressurssidega. Kehtib ainult hierarhiliste taksonoomiate puhul.", "type": "integer", "required": false }, "product": { "description": "Piirake tulemuste komplekt konkreetsele tootele m\u00e4\u00e4ratud ressurssidega.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Piirake tulemuse komplekt konkreetse n\u00e4lkjaga ressurssidega.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Ressursi nimi.", "required": true }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "parent": { "description": "Ressursi vanema ID.", "type": "integer", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false }, "display": { "default": "default", "description": "Kategooria arhiivi kuvamise t\u00fc\u00fcp.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Pildi andmed.", "type": "object", "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse ressursi kohandatud sortimiseks.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "name": { "description": "Kategooria nimi.", "type": "string", "required": false }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "parent": { "description": "Ressursi vanema ID.", "type": "integer", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false }, "display": { "description": "Kategooria arhiivi kuvamise t\u00fc\u00fcp.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Pildi andmed.", "type": "object", "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse ressursi kohandatud sortimiseks.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "N\u00f5utav, et see oleks t\u00f5ene, kuna ressurss ei toeta pr\u00fcgikasti viimist.", "required": false } } } ] }, "\/wc\/v1\/products\/categories\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Kategooria nimi.", "type": "string", "required": false }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "parent": { "description": "Ressursi vanema ID.", "type": "integer", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false }, "display": { "description": "Kategooria arhiivi kuvamise t\u00fc\u00fcp.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Pildi andmed.", "type": "object", "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse ressursi kohandatud sortimiseks.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Varieeruva toote unikaalne identifikaator.", "type": "integer", "required": false }, "id": { "description": "Variatsiooni unikaalne identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Varieeruva toote unikaalne identifikaator.", "type": "integer", "required": false }, "id": { "description": "Variatsiooni unikaalne identifikaator.", "type": "integer", "required": false }, "review": { "type": "string", "description": "Arvustuse sisu.", "required": true }, "date_created": { "description": "Arvustuse loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "rating": { "description": "\u00dclevaate hinnang (0 kuni 5).", "type": "integer", "required": false }, "name": { "type": "string", "description": "Arvustaja nimi.", "required": true }, "email": { "type": "string", "description": "Arvustaja e-post.", "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": "Varieeruva toote unikaalne identifikaator.", "type": "integer", "required": false }, "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Varieeruva toote unikaalne identifikaator.", "type": "integer", "required": false }, "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "review": { "description": "Arvustuse sisu.", "type": "string", "required": false }, "date_created": { "description": "Arvustuse loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "rating": { "description": "\u00dclevaate hinnang (0 kuni 5).", "type": "integer", "required": false }, "name": { "description": "\u00dclevaataja nimi.", "type": "string", "required": false }, "email": { "description": "Arvustaja e-post.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "description": "Varieeruva toote unikaalne identifikaator.", "type": "integer", "required": false }, "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Kas j\u00e4tta pr\u00fcgikast m\u00f6\u00f6da ja sundida kustutamist.", "required": false } } } ] }, "\/wc\/v1\/products\/shipping_classes": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra. Kehtib ainult hierarhiliste taksonoomiate puhul.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu ressursiatribuudi j\u00e4rgi.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Kas peita ressursid, mis pole \u00fchelegi tootele m\u00e4\u00e4ratud.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Piirake tulemuste komplekt konkreetsele vanemale m\u00e4\u00e4ratud ressurssidega. Kehtib ainult hierarhiliste taksonoomiate puhul.", "type": "integer", "required": false }, "product": { "description": "Piirake tulemuste komplekt konkreetsele tootele m\u00e4\u00e4ratud ressurssidega.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Piirake tulemuse komplekt konkreetse n\u00e4lkjaga ressurssidega.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Ressursi nimi.", "required": true }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "name": { "description": "Tarneklassi nimi.", "type": "string", "required": false }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "N\u00f5utav, et see oleks t\u00f5ene, kuna ressurss ei toeta pr\u00fcgikasti viimist.", "required": false } } } ] }, "\/wc\/v1\/products\/shipping_classes\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Tarneklassi nimi.", "type": "string", "required": false }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v1\/products\/shipping_classes\/batch" } ] } }, "\/wc\/v1\/products\/tags": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra. Kehtib ainult hierarhiliste taksonoomiate puhul.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu ressursiatribuudi j\u00e4rgi.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Kas peita ressursid, mis pole \u00fchelegi tootele m\u00e4\u00e4ratud.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Piirake tulemuste komplekt konkreetsele vanemale m\u00e4\u00e4ratud ressurssidega. Kehtib ainult hierarhiliste taksonoomiate puhul.", "type": "integer", "required": false }, "product": { "description": "Piirake tulemuste komplekt konkreetsele tootele m\u00e4\u00e4ratud ressurssidega.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Piirake tulemuse komplekt konkreetse n\u00e4lkjaga ressurssidega.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Ressursi nimi.", "required": true }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "name": { "description": "Sildi nimi.", "type": "string", "required": false }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "N\u00f5utav, et see oleks t\u00f5ene, kuna ressurss ei toeta pr\u00fcgikasti viimist.", "required": false } } } ] }, "\/wc\/v1\/products\/tags\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Sildi nimi.", "type": "string", "required": false }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v1\/products\/tags\/batch" } ] } }, "\/wc\/v1\/products": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "after": { "description": "Piirake vastuseid ressurssidega, mis on avaldatud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piirake vastust ressurssidega, mis on avaldatud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "filter": { "type": "object", "description": "Vastuse muutmiseks kasuta WP Query argumente; privaatsed p\u00e4ringumuutujad n\u00f5uavad vastavat autoriseerimist.", "required": false }, "slug": { "description": "Piirake tulemuste komplekt konkreetse n\u00e4lkjaga toodetega.", "type": "string", "required": false }, "status": { "default": "any", "description": "Piirake tulemuste komplekt toodetele, millele on m\u00e4\u00e4ratud konkreetne olek.", "type": "string", "enum": [ "any", "future", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "Piirake tulemuste komplekt toodetele, millele on m\u00e4\u00e4ratud kindel t\u00fc\u00fcp.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "category": { "description": "Piirake tulemuste komplekt toodetega, millele on m\u00e4\u00e4ratud konkreetne kategooria ID.", "type": "string", "required": false }, "tag": { "description": "Piirake tulemuste komplekt toodetega, millele on m\u00e4\u00e4ratud konkreetne sildi ID.", "type": "string", "required": false }, "shipping_class": { "description": "Piirake tulemuse komplekt toodetele, millele on m\u00e4\u00e4ratud konkreetne tarneklassi ID.", "type": "string", "required": false }, "attribute": { "description": "Piira tulemusi kindla omadusega toodetele.", "type": "string", "required": false }, "attribute_term": { "description": "Piirake tulemuste komplekt toodetega, millel on spetsiifiline atribuuditermin ID (vajalik on m\u00e4\u00e4ratud atribuut).", "type": "string", "required": false }, "sku": { "description": "Piira tulemusi kindla tootekoodiga toodetele.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Toote nimi.", "type": "string", "required": false }, "slug": { "description": "Toode n\u00e4lkjas.", "type": "string", "required": false }, "type": { "default": "simple", "description": "Toote t\u00fc\u00fcp.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "default": "publish", "description": "Toote staatus (postituse staatus).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false }, "featured": { "default": false, "description": "Esilet\u00f5stetud toode.", "type": "boolean", "required": false }, "catalog_visibility": { "default": "visible", "description": "N\u00e4htavus kataloogis.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Toote kirjeldus.", "type": "string", "required": false }, "short_description": { "description": "Toote l\u00fchikirjeldus.", "type": "string", "required": false }, "sku": { "description": "Unikaalne identifikaator.", "type": "string", "required": false }, "regular_price": { "description": "Toote tavahind.", "type": "string", "required": false }, "sale_price": { "description": "Toote soodushind.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Soodushinna kehtivuse alguskuup\u00e4ev.", "type": "string", "required": false }, "date_on_sale_to": { "description": "Soodushinna kehtivuse l\u00f5pukuup\u00e4ev.", "type": "string", "required": false }, "virtual": { "default": false, "description": "Kas toode on virtuaalne.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Kas toode on alla laaditav.", "type": "boolean", "required": false }, "downloads": { "description": "Allalaaditavate failide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faili ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faili nimi.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faili URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Allalaaditavate failide allalaadimiste arv p\u00e4rast ostmist.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "P\u00e4evade arv, kuni juurdep\u00e4\u00e4s allalaaditavatele failidele aegub.", "type": "integer", "required": false }, "download_type": { "default": "standard", "description": "Allalaadimise t\u00fc\u00fcp, mis m\u00e4\u00e4rab kasutajale n\u00e4htava skeemi.", "type": "string", "enum": [ "standard" ], "required": false }, "external_url": { "description": "Toote v\u00e4line URL. Ainult v\u00e4listele toodetele.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Toote v\u00e4lise nupu tekst. Ainult v\u00e4listele toodetele.", "type": "string", "required": false }, "tax_status": { "default": "taxable", "description": "Maksustaatus.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Maksuklass.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Laohaldus toote tasemel.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Lao kogus.", "type": "integer", "required": false }, "in_stock": { "default": true, "description": "M\u00e4\u00e4rab, kas toode on v\u00f5i ei ole poe avalikus osas m\u00e4rgitud kui \"laos\" v\u00f5i \"otsas\".", "type": "boolean", "required": false }, "backorders": { "default": "no", "description": "Laoseisu haldamisel kontrollib see, kas j\u00e4reltellimused on lubatud.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "sold_individually": { "default": false, "description": "Luba \u00fches tellimuses osta vaid \u00fcks eksemplar.", "type": "boolean", "required": false }, "weight": { "description": "Toote kaal (kg).", "type": "string", "required": false }, "dimensions": { "description": "Toote m\u00f5\u00f5tmed.", "type": "object", "properties": { "length": { "description": "Toote pikkus (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Toote laius (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Toote k\u00f5rgus (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Saatmisklassi n\u00e4lkjas.", "type": "string", "required": false }, "reviews_allowed": { "default": true, "description": "Luba arvustused.", "type": "boolean", "required": false }, "upsell_ids": { "description": "\u00dclesm\u00fc\u00fcgi toodete ID-de nimekiri.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Ristm\u00fc\u00fcgi toodete ID-de nimekiri.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "\u00dclemtoote ID.", "type": "integer", "required": false }, "purchase_note": { "description": "Soovi korral kliendile peale ostu saadetav teade.", "type": "string", "required": false }, "categories": { "description": "Kategooriate nimekiri.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kategooria ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Kategooria nimi.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Kategooria p\u00fcsiviide.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Siltide nimekiri.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Sildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Sildi nimi.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Sildi p\u00fcsiviide.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Piltide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Pildi positsioon. 0 t\u00e4hendab tunnuspilti.", "type": "integer", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Atribuutide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atribuudi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atribuudi nimi.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Omaduse positsioon.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "M\u00e4\u00e4rab omaduse n\u00e4htavuse tootelehel olevas \"Lisainfo\" sakis.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "M\u00e4\u00e4ra, kas omadust v\u00f5ib kasutada variatsioonideks.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Omaduse olemasolevate terminite nimetuste loend.", "type": "array", "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Vaikimisi aktiivse variatsiooni omadused.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atribuudi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atribuudi nimi.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Valitud atribuudi termini nimi.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "variations": { "description": "Variatsioonide nimekiri.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Variatsiooni ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "date_created": { "description": "Variatsiooni loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kuup\u00e4ev, mil variatsiooni viimati muudeti saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "permalink": { "description": "Variatsiooni URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "Unikaalne identifikaator.", "type": "string", "context": [ "view", "edit" ] }, "price": { "description": "Praegune varieeruv hind.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "regular_price": { "description": "Muutuv tavahind.", "type": "string", "context": [ "view", "edit" ] }, "sale_price": { "description": "Erinev m\u00fc\u00fcgihind.", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_from": { "description": "Soodushinna kehtivuse alguskuup\u00e4ev.", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_to": { "description": "Soodushinna kehtivuse l\u00f5pukuup\u00e4ev.", "type": "string", "context": [ "view", "edit" ] }, "on_sale": { "description": "N\u00e4itab, kas variatsioon on m\u00fc\u00fcgil.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "purchasable": { "description": "N\u00e4itab, kas variatsiooni saab osta.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "visible": { "description": "Kas variatsioon on n\u00e4htav.", "type": "boolean", "context": [ "view", "edit" ] }, "virtual": { "description": "Kui variatsioon on virtuaalne.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloadable": { "description": "Kui variatsioon on allalaaditav.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloads": { "description": "Allalaaditavate failide loend.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Faili ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faili nimi.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faili URL.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "description": "Allalaaditavate failide allalaadimiste arv p\u00e4rast ostmist.", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "download_expiry": { "description": "P\u00e4evade arv, kuni juurdep\u00e4\u00e4s allalaaditavatele failidele aegub.", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "tax_status": { "description": "Maksustaatus.", "type": "string", "default": "taxable", "enum": [ "taxable", "shipping", "none" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Maksuklass.", "type": "string", "context": [ "view", "edit" ] }, "manage_stock": { "description": "Varude haldamine variatsiooni tasemel.", "type": [ "boolean", "string" ], "default": false, "context": [ "view", "edit" ] }, "stock_quantity": { "description": "Lao kogus.", "type": "integer", "context": [ "view", "edit" ] }, "in_stock": { "description": "M\u00e4\u00e4rab, kas variatsiooni n\u00e4idatakse veebipoes kui \"laos\" v\u00f5i \"laost otsas\".", "type": "boolean", "default": true, "context": [ "view", "edit" ] }, "backorders": { "description": "Laoseisu haldamisel kontrollib see, kas j\u00e4reltellimused on lubatud.", "type": "string", "default": "no", "enum": [ "no", "notify", "yes" ], "context": [ "view", "edit" ] }, "backorders_allowed": { "description": "N\u00e4itab, kas j\u00e4reltellimused on lubatud.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "backordered": { "description": "N\u00e4itab, kas variatsioon on j\u00e4reltellimisel.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "weight": { "description": "Variatsiooni kaal (kg).", "type": "string", "context": [ "view", "edit" ] }, "dimensions": { "description": "Variatsiooni m\u00f5\u00f5tmed.", "type": "object", "context": [ "view", "edit" ], "properties": { "length": { "description": "Variatsiooni pikkus (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Variatsioonilaius (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Variatsioonik\u00f5rgus (cm).", "type": "string", "context": [ "view", "edit" ] } } }, "shipping_class": { "description": "Saatmisklassi n\u00e4lkjas.", "type": "string", "context": [ "view", "edit" ] }, "shipping_class_id": { "description": "Saatmisklassi ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Variatsioonipildi andmed.", "type": "object", "context": [ "view", "edit" ], "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Pildi positsioon. 0 t\u00e4hendab tunnuspilti.", "type": "integer", "context": [ "view", "edit" ] } } }, "attributes": { "description": "Atribuutide loend.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Atribuudi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atribuudi nimi.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Valitud atribuudi termini nimi.", "type": "string", "context": [ "view", "edit" ] } } } } } }, "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse toodete kohandatud sorteerimiseks.", "type": "integer", "required": false }, "supplier_id": { "description": "The ID of the ATUM Supplier that is linked to the product.", "type": "integer", "required": false }, "supplier_sku": { "description": "The Supplier's SKU for the product.", "type": "string", "required": false }, "barcode": { "description": "The product's barcode.", "type": "string", "required": false }, "atum_controlled": { "default": false, "description": "Whether the product is being controlled by ATUM.", "type": "boolean", "required": false }, "out_stock_date": { "description": "The date when the product run out of stock.", "type": [ "null", "string" ], "required": false }, "out_stock_threshold": { "description": "Out of stock threshold at product level.", "type": "number", "required": false }, "inheritable": { "default": false, "description": "Whether this product may have children.", "type": "boolean", "required": false }, "inbound_stock": { "description": "Product's inbound stock.", "type": "number", "required": false }, "stock_on_hold": { "description": "Product's stock on hold.", "type": "number", "required": false }, "sold_today": { "description": "Units sold today.", "type": "number", "required": false }, "sales_last_days": { "description": "Sales the last 14 days.", "type": "number", "required": false }, "reserved_stock": { "description": "Stock set as 'reserved_stock' within Inventory Logs.", "type": "number", "required": false }, "customer_returns": { "description": "Stock set as 'customer returns' within Inventory Logs.", "type": "number", "required": false }, "warehouse_damage": { "description": "Stock set as 'warehouse damage' within Inventory Logs.", "type": "number", "required": false }, "lost_in_post": { "description": "Stock set as 'lost in post' within Inventory Logs.", "type": "number", "required": false }, "other_logs": { "description": "Stock set as 'other' within Inventory Logs.", "type": "number", "required": false }, "out_stock_days": { "description": "The number of days that the product is Out of stock.", "type": "integer", "required": false }, "lost_sales": { "description": "Product lost sales.", "type": "number", "required": false }, "has_location": { "description": "Whether the product has any ATUM location set.", "type": "boolean", "required": false }, "update_date": { "description": "Last date when the ATUM product data was calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "atum_locations": { "description": "List of ATUM locations linked to the product.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Location ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Location name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Location slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "atum_stock_status": { "description": "Used to store the stock status (same as WC) but both values may differ for MI enable products.", "type": "string", "required": false }, "restock_status": { "description": "Indicates whether the stock will last soon and should be reordered.", "type": "boolean", "required": false }, "sales_update_date": { "description": "Last date when the sales fields on ATUM product data were calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "calc_backorders": { "description": "Backordered items (if backorders is enabled and it has a negative stock value).", "type": "number", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "name": { "description": "Toote nimi.", "type": "string", "required": false }, "slug": { "description": "Toode n\u00e4lkjas.", "type": "string", "required": false }, "type": { "description": "Toote t\u00fc\u00fcp.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "description": "Toote staatus (postituse staatus).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false }, "featured": { "description": "Esilet\u00f5stetud toode.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "N\u00e4htavus kataloogis.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Toote kirjeldus.", "type": "string", "required": false }, "short_description": { "description": "Toote l\u00fchikirjeldus.", "type": "string", "required": false }, "sku": { "description": "Unikaalne identifikaator.", "type": "string", "required": false }, "regular_price": { "description": "Toote tavahind.", "type": "string", "required": false }, "sale_price": { "description": "Toote soodushind.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Soodushinna kehtivuse alguskuup\u00e4ev.", "type": "string", "required": false }, "date_on_sale_to": { "description": "Soodushinna kehtivuse l\u00f5pukuup\u00e4ev.", "type": "string", "required": false }, "virtual": { "description": "Kas toode on virtuaalne.", "type": "boolean", "required": false }, "downloadable": { "description": "Kas toode on alla laaditav.", "type": "boolean", "required": false }, "downloads": { "description": "Allalaaditavate failide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faili ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faili nimi.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faili URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Allalaaditavate failide allalaadimiste arv p\u00e4rast ostmist.", "type": "integer", "required": false }, "download_expiry": { "description": "P\u00e4evade arv, kuni juurdep\u00e4\u00e4s allalaaditavatele failidele aegub.", "type": "integer", "required": false }, "download_type": { "description": "Allalaadimise t\u00fc\u00fcp, mis m\u00e4\u00e4rab kasutajale n\u00e4htava skeemi.", "type": "string", "enum": [ "standard" ], "required": false }, "external_url": { "description": "Toote v\u00e4line URL. Ainult v\u00e4listele toodetele.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Toote v\u00e4lise nupu tekst. Ainult v\u00e4listele toodetele.", "type": "string", "required": false }, "tax_status": { "description": "Maksustaatus.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Maksuklass.", "type": "string", "required": false }, "manage_stock": { "description": "Laohaldus toote tasemel.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Lao kogus.", "type": "integer", "required": false }, "in_stock": { "description": "M\u00e4\u00e4rab, kas toode on v\u00f5i ei ole poe avalikus osas m\u00e4rgitud kui \"laos\" v\u00f5i \"otsas\".", "type": "boolean", "required": false }, "backorders": { "description": "Laoseisu haldamisel kontrollib see, kas j\u00e4reltellimused on lubatud.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "sold_individually": { "description": "Luba \u00fches tellimuses osta vaid \u00fcks eksemplar.", "type": "boolean", "required": false }, "weight": { "description": "Toote kaal (kg).", "type": "string", "required": false }, "dimensions": { "description": "Toote m\u00f5\u00f5tmed.", "type": "object", "properties": { "length": { "description": "Toote pikkus (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Toote laius (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Toote k\u00f5rgus (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Saatmisklassi n\u00e4lkjas.", "type": "string", "required": false }, "reviews_allowed": { "description": "Luba arvustused.", "type": "boolean", "required": false }, "upsell_ids": { "description": "\u00dclesm\u00fc\u00fcgi toodete ID-de nimekiri.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Ristm\u00fc\u00fcgi toodete ID-de nimekiri.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "\u00dclemtoote ID.", "type": "integer", "required": false }, "purchase_note": { "description": "Soovi korral kliendile peale ostu saadetav teade.", "type": "string", "required": false }, "categories": { "description": "Kategooriate nimekiri.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kategooria ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Kategooria nimi.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Kategooria p\u00fcsiviide.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Siltide nimekiri.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Sildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Sildi nimi.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Sildi p\u00fcsiviide.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Piltide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Pildi positsioon. 0 t\u00e4hendab tunnuspilti.", "type": "integer", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Atribuutide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atribuudi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atribuudi nimi.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Omaduse positsioon.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "M\u00e4\u00e4rab omaduse n\u00e4htavuse tootelehel olevas \"Lisainfo\" sakis.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "M\u00e4\u00e4ra, kas omadust v\u00f5ib kasutada variatsioonideks.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Omaduse olemasolevate terminite nimetuste loend.", "type": "array", "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Vaikimisi aktiivse variatsiooni omadused.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atribuudi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atribuudi nimi.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Valitud atribuudi termini nimi.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "variations": { "description": "Variatsioonide nimekiri.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Variatsiooni ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "date_created": { "description": "Variatsiooni loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kuup\u00e4ev, mil variatsiooni viimati muudeti saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "permalink": { "description": "Variatsiooni URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "Unikaalne identifikaator.", "type": "string", "context": [ "view", "edit" ] }, "price": { "description": "Praegune varieeruv hind.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "regular_price": { "description": "Muutuv tavahind.", "type": "string", "context": [ "view", "edit" ] }, "sale_price": { "description": "Erinev m\u00fc\u00fcgihind.", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_from": { "description": "Soodushinna kehtivuse alguskuup\u00e4ev.", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_to": { "description": "Soodushinna kehtivuse l\u00f5pukuup\u00e4ev.", "type": "string", "context": [ "view", "edit" ] }, "on_sale": { "description": "N\u00e4itab, kas variatsioon on m\u00fc\u00fcgil.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "purchasable": { "description": "N\u00e4itab, kas variatsiooni saab osta.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "visible": { "description": "Kas variatsioon on n\u00e4htav.", "type": "boolean", "context": [ "view", "edit" ] }, "virtual": { "description": "Kui variatsioon on virtuaalne.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloadable": { "description": "Kui variatsioon on allalaaditav.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloads": { "description": "Allalaaditavate failide loend.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Faili ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faili nimi.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faili URL.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "description": "Allalaaditavate failide allalaadimiste arv p\u00e4rast ostmist.", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "download_expiry": { "description": "P\u00e4evade arv, kuni juurdep\u00e4\u00e4s allalaaditavatele failidele aegub.", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "tax_status": { "description": "Maksustaatus.", "type": "string", "default": "taxable", "enum": [ "taxable", "shipping", "none" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Maksuklass.", "type": "string", "context": [ "view", "edit" ] }, "manage_stock": { "description": "Varude haldamine variatsiooni tasemel.", "type": [ "boolean", "string" ], "default": false, "context": [ "view", "edit" ] }, "stock_quantity": { "description": "Lao kogus.", "type": "integer", "context": [ "view", "edit" ] }, "in_stock": { "description": "M\u00e4\u00e4rab, kas variatsiooni n\u00e4idatakse veebipoes kui \"laos\" v\u00f5i \"laost otsas\".", "type": "boolean", "default": true, "context": [ "view", "edit" ] }, "backorders": { "description": "Laoseisu haldamisel kontrollib see, kas j\u00e4reltellimused on lubatud.", "type": "string", "default": "no", "enum": [ "no", "notify", "yes" ], "context": [ "view", "edit" ] }, "backorders_allowed": { "description": "N\u00e4itab, kas j\u00e4reltellimused on lubatud.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "backordered": { "description": "N\u00e4itab, kas variatsioon on j\u00e4reltellimisel.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "weight": { "description": "Variatsiooni kaal (kg).", "type": "string", "context": [ "view", "edit" ] }, "dimensions": { "description": "Variatsiooni m\u00f5\u00f5tmed.", "type": "object", "context": [ "view", "edit" ], "properties": { "length": { "description": "Variatsiooni pikkus (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Variatsioonilaius (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Variatsioonik\u00f5rgus (cm).", "type": "string", "context": [ "view", "edit" ] } } }, "shipping_class": { "description": "Saatmisklassi n\u00e4lkjas.", "type": "string", "context": [ "view", "edit" ] }, "shipping_class_id": { "description": "Saatmisklassi ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Variatsioonipildi andmed.", "type": "object", "context": [ "view", "edit" ], "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Pildi positsioon. 0 t\u00e4hendab tunnuspilti.", "type": "integer", "context": [ "view", "edit" ] } } }, "attributes": { "description": "Atribuutide loend.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Atribuudi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atribuudi nimi.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Valitud atribuudi termini nimi.", "type": "string", "context": [ "view", "edit" ] } } } } } }, "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse toodete kohandatud sorteerimiseks.", "type": "integer", "required": false }, "supplier_id": { "description": "The ID of the ATUM Supplier that is linked to the product.", "type": "integer", "required": false }, "supplier_sku": { "description": "The Supplier's SKU for the product.", "type": "string", "required": false }, "barcode": { "description": "The product's barcode.", "type": "string", "required": false }, "atum_controlled": { "description": "Whether the product is being controlled by ATUM.", "type": "boolean", "required": false }, "out_stock_date": { "description": "The date when the product run out of stock.", "type": [ "null", "string" ], "required": false }, "out_stock_threshold": { "description": "Out of stock threshold at product level.", "type": "number", "required": false }, "inheritable": { "description": "Whether this product may have children.", "type": "boolean", "required": false }, "inbound_stock": { "description": "Product's inbound stock.", "type": "number", "required": false }, "stock_on_hold": { "description": "Product's stock on hold.", "type": "number", "required": false }, "sold_today": { "description": "Units sold today.", "type": "number", "required": false }, "sales_last_days": { "description": "Sales the last 14 days.", "type": "number", "required": false }, "reserved_stock": { "description": "Stock set as 'reserved_stock' within Inventory Logs.", "type": "number", "required": false }, "customer_returns": { "description": "Stock set as 'customer returns' within Inventory Logs.", "type": "number", "required": false }, "warehouse_damage": { "description": "Stock set as 'warehouse damage' within Inventory Logs.", "type": "number", "required": false }, "lost_in_post": { "description": "Stock set as 'lost in post' within Inventory Logs.", "type": "number", "required": false }, "other_logs": { "description": "Stock set as 'other' within Inventory Logs.", "type": "number", "required": false }, "out_stock_days": { "description": "The number of days that the product is Out of stock.", "type": "integer", "required": false }, "lost_sales": { "description": "Product lost sales.", "type": "number", "required": false }, "has_location": { "description": "Whether the product has any ATUM location set.", "type": "boolean", "required": false }, "update_date": { "description": "Last date when the ATUM product data was calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "atum_locations": { "description": "List of ATUM locations linked to the product.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Location ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Location name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Location slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "atum_stock_status": { "description": "Used to store the stock status (same as WC) but both values may differ for MI enable products.", "type": "string", "required": false }, "restock_status": { "description": "Indicates whether the stock will last soon and should be reordered.", "type": "boolean", "required": false }, "sales_update_date": { "description": "Last date when the sales fields on ATUM product data were calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "calc_backorders": { "description": "Backordered items (if backorders is enabled and it has a negative stock value).", "type": "number", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "description": "Kas j\u00e4tta pr\u00fcgikast m\u00f6\u00f6da ja sundida kustutamist.", "type": "boolean", "required": false } } } ] }, "\/wc\/v1\/products\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Toote nimi.", "type": "string", "required": false }, "slug": { "description": "Toode n\u00e4lkjas.", "type": "string", "required": false }, "type": { "description": "Toote t\u00fc\u00fcp.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "description": "Toote staatus (postituse staatus).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false }, "featured": { "description": "Esilet\u00f5stetud toode.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "N\u00e4htavus kataloogis.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Toote kirjeldus.", "type": "string", "required": false }, "short_description": { "description": "Toote l\u00fchikirjeldus.", "type": "string", "required": false }, "sku": { "description": "Unikaalne identifikaator.", "type": "string", "required": false }, "regular_price": { "description": "Toote tavahind.", "type": "string", "required": false }, "sale_price": { "description": "Toote soodushind.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Soodushinna kehtivuse alguskuup\u00e4ev.", "type": "string", "required": false }, "date_on_sale_to": { "description": "Soodushinna kehtivuse l\u00f5pukuup\u00e4ev.", "type": "string", "required": false }, "virtual": { "description": "Kas toode on virtuaalne.", "type": "boolean", "required": false }, "downloadable": { "description": "Kas toode on alla laaditav.", "type": "boolean", "required": false }, "downloads": { "description": "Allalaaditavate failide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faili ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faili nimi.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faili URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Allalaaditavate failide allalaadimiste arv p\u00e4rast ostmist.", "type": "integer", "required": false }, "download_expiry": { "description": "P\u00e4evade arv, kuni juurdep\u00e4\u00e4s allalaaditavatele failidele aegub.", "type": "integer", "required": false }, "download_type": { "description": "Allalaadimise t\u00fc\u00fcp, mis m\u00e4\u00e4rab kasutajale n\u00e4htava skeemi.", "type": "string", "enum": [ "standard" ], "required": false }, "external_url": { "description": "Toote v\u00e4line URL. Ainult v\u00e4listele toodetele.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Toote v\u00e4lise nupu tekst. Ainult v\u00e4listele toodetele.", "type": "string", "required": false }, "tax_status": { "description": "Maksustaatus.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Maksuklass.", "type": "string", "required": false }, "manage_stock": { "description": "Laohaldus toote tasemel.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Lao kogus.", "type": "integer", "required": false }, "in_stock": { "description": "M\u00e4\u00e4rab, kas toode on v\u00f5i ei ole poe avalikus osas m\u00e4rgitud kui \"laos\" v\u00f5i \"otsas\".", "type": "boolean", "required": false }, "backorders": { "description": "Laoseisu haldamisel kontrollib see, kas j\u00e4reltellimused on lubatud.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "sold_individually": { "description": "Luba \u00fches tellimuses osta vaid \u00fcks eksemplar.", "type": "boolean", "required": false }, "weight": { "description": "Toote kaal (kg).", "type": "string", "required": false }, "dimensions": { "description": "Toote m\u00f5\u00f5tmed.", "type": "object", "properties": { "length": { "description": "Toote pikkus (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Toote laius (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Toote k\u00f5rgus (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Saatmisklassi n\u00e4lkjas.", "type": "string", "required": false }, "reviews_allowed": { "description": "Luba arvustused.", "type": "boolean", "required": false }, "upsell_ids": { "description": "\u00dclesm\u00fc\u00fcgi toodete ID-de nimekiri.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Ristm\u00fc\u00fcgi toodete ID-de nimekiri.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "\u00dclemtoote ID.", "type": "integer", "required": false }, "purchase_note": { "description": "Soovi korral kliendile peale ostu saadetav teade.", "type": "string", "required": false }, "categories": { "description": "Kategooriate nimekiri.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kategooria ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Kategooria nimi.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Kategooria p\u00fcsiviide.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Siltide nimekiri.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Sildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Sildi nimi.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Sildi p\u00fcsiviide.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Piltide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Pildi positsioon. 0 t\u00e4hendab tunnuspilti.", "type": "integer", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Atribuutide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atribuudi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atribuudi nimi.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Omaduse positsioon.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "M\u00e4\u00e4rab omaduse n\u00e4htavuse tootelehel olevas \"Lisainfo\" sakis.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "M\u00e4\u00e4ra, kas omadust v\u00f5ib kasutada variatsioonideks.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Omaduse olemasolevate terminite nimetuste loend.", "type": "array", "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Vaikimisi aktiivse variatsiooni omadused.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atribuudi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atribuudi nimi.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Valitud atribuudi termini nimi.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "variations": { "description": "Variatsioonide nimekiri.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Variatsiooni ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "date_created": { "description": "Variatsiooni loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kuup\u00e4ev, mil variatsiooni viimati muudeti saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "permalink": { "description": "Variatsiooni URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "Unikaalne identifikaator.", "type": "string", "context": [ "view", "edit" ] }, "price": { "description": "Praegune varieeruv hind.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "regular_price": { "description": "Muutuv tavahind.", "type": "string", "context": [ "view", "edit" ] }, "sale_price": { "description": "Erinev m\u00fc\u00fcgihind.", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_from": { "description": "Soodushinna kehtivuse alguskuup\u00e4ev.", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_to": { "description": "Soodushinna kehtivuse l\u00f5pukuup\u00e4ev.", "type": "string", "context": [ "view", "edit" ] }, "on_sale": { "description": "N\u00e4itab, kas variatsioon on m\u00fc\u00fcgil.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "purchasable": { "description": "N\u00e4itab, kas variatsiooni saab osta.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "visible": { "description": "Kas variatsioon on n\u00e4htav.", "type": "boolean", "context": [ "view", "edit" ] }, "virtual": { "description": "Kui variatsioon on virtuaalne.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloadable": { "description": "Kui variatsioon on allalaaditav.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloads": { "description": "Allalaaditavate failide loend.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Faili ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faili nimi.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faili URL.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "description": "Allalaaditavate failide allalaadimiste arv p\u00e4rast ostmist.", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "download_expiry": { "description": "P\u00e4evade arv, kuni juurdep\u00e4\u00e4s allalaaditavatele failidele aegub.", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "tax_status": { "description": "Maksustaatus.", "type": "string", "default": "taxable", "enum": [ "taxable", "shipping", "none" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Maksuklass.", "type": "string", "context": [ "view", "edit" ] }, "manage_stock": { "description": "Varude haldamine variatsiooni tasemel.", "type": [ "boolean", "string" ], "default": false, "context": [ "view", "edit" ] }, "stock_quantity": { "description": "Lao kogus.", "type": "integer", "context": [ "view", "edit" ] }, "in_stock": { "description": "M\u00e4\u00e4rab, kas variatsiooni n\u00e4idatakse veebipoes kui \"laos\" v\u00f5i \"laost otsas\".", "type": "boolean", "default": true, "context": [ "view", "edit" ] }, "backorders": { "description": "Laoseisu haldamisel kontrollib see, kas j\u00e4reltellimused on lubatud.", "type": "string", "default": "no", "enum": [ "no", "notify", "yes" ], "context": [ "view", "edit" ] }, "backorders_allowed": { "description": "N\u00e4itab, kas j\u00e4reltellimused on lubatud.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "backordered": { "description": "N\u00e4itab, kas variatsioon on j\u00e4reltellimisel.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "weight": { "description": "Variatsiooni kaal (kg).", "type": "string", "context": [ "view", "edit" ] }, "dimensions": { "description": "Variatsiooni m\u00f5\u00f5tmed.", "type": "object", "context": [ "view", "edit" ], "properties": { "length": { "description": "Variatsiooni pikkus (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Variatsioonilaius (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Variatsioonik\u00f5rgus (cm).", "type": "string", "context": [ "view", "edit" ] } } }, "shipping_class": { "description": "Saatmisklassi n\u00e4lkjas.", "type": "string", "context": [ "view", "edit" ] }, "shipping_class_id": { "description": "Saatmisklassi ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Variatsioonipildi andmed.", "type": "object", "context": [ "view", "edit" ], "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Pildi positsioon. 0 t\u00e4hendab tunnuspilti.", "type": "integer", "context": [ "view", "edit" ] } } }, "attributes": { "description": "Atribuutide loend.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Atribuudi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atribuudi nimi.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Valitud atribuudi termini nimi.", "type": "string", "context": [ "view", "edit" ] } } } } } }, "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse toodete kohandatud sorteerimiseks.", "type": "integer", "required": false }, "supplier_id": { "description": "The ID of the ATUM Supplier that is linked to the product.", "type": "integer", "required": false }, "supplier_sku": { "description": "The Supplier's SKU for the product.", "type": "string", "required": false }, "barcode": { "description": "The product's barcode.", "type": "string", "required": false }, "atum_controlled": { "description": "Whether the product is being controlled by ATUM.", "type": "boolean", "required": false }, "out_stock_date": { "description": "The date when the product run out of stock.", "type": [ "null", "string" ], "required": false }, "out_stock_threshold": { "description": "Out of stock threshold at product level.", "type": "number", "required": false }, "inheritable": { "description": "Whether this product may have children.", "type": "boolean", "required": false }, "inbound_stock": { "description": "Product's inbound stock.", "type": "number", "required": false }, "stock_on_hold": { "description": "Product's stock on hold.", "type": "number", "required": false }, "sold_today": { "description": "Units sold today.", "type": "number", "required": false }, "sales_last_days": { "description": "Sales the last 14 days.", "type": "number", "required": false }, "reserved_stock": { "description": "Stock set as 'reserved_stock' within Inventory Logs.", "type": "number", "required": false }, "customer_returns": { "description": "Stock set as 'customer returns' within Inventory Logs.", "type": "number", "required": false }, "warehouse_damage": { "description": "Stock set as 'warehouse damage' within Inventory Logs.", "type": "number", "required": false }, "lost_in_post": { "description": "Stock set as 'lost in post' within Inventory Logs.", "type": "number", "required": false }, "other_logs": { "description": "Stock set as 'other' within Inventory Logs.", "type": "number", "required": false }, "out_stock_days": { "description": "The number of days that the product is Out of stock.", "type": "integer", "required": false }, "lost_sales": { "description": "Product lost sales.", "type": "number", "required": false }, "has_location": { "description": "Whether the product has any ATUM location set.", "type": "boolean", "required": false }, "update_date": { "description": "Last date when the ATUM product data was calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "atum_locations": { "description": "List of ATUM locations linked to the product.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Location ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Location name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Location slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "atum_stock_status": { "description": "Used to store the stock status (same as WC) but both values may differ for MI enable products.", "type": "string", "required": false }, "restock_status": { "description": "Indicates whether the stock will last soon and should be reordered.", "type": "boolean", "required": false }, "sales_update_date": { "description": "Last date when the sales fields on ATUM product data were calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "calc_backorders": { "description": "Backordered items (if backorders is enabled and it has a negative stock value).", "type": "number", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v1\/products\/batch" } ] } }, "\/wc\/v1\/reports\/sales": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "period": { "description": "Raporti ajavahemik.", "type": "string", "enum": [ "week", "month", "last_month", "year" ], "required": false }, "date_min": { "description": "Anna m\u00fc\u00fck alates kindlast kuup\u00e4evast, kuup\u00e4ev peab olema formaadis YYYY-MM-DD.", "type": "string", "format": "date", "required": false }, "date_max": { "description": "Anna m\u00fc\u00fck kuni kindla kuup\u00e4evani, kuup\u00e4ev peab olema formaadis YYYY-MM-DD.", "type": "string", "format": "date", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v1\/reports\/sales" } ] } }, "\/wc\/v1\/reports\/top_sellers": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "period": { "description": "Raporti ajavahemik.", "type": "string", "enum": [ "week", "month", "last_month", "year" ], "required": false }, "date_min": { "description": "Anna m\u00fc\u00fck alates kindlast kuup\u00e4evast, kuup\u00e4ev peab olema formaadis YYYY-MM-DD.", "type": "string", "format": "date", "required": false }, "date_max": { "description": "Anna m\u00fc\u00fck kuni kindla kuup\u00e4evani, kuup\u00e4ev peab olema formaadis YYYY-MM-DD.", "type": "string", "format": "date", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v1\/reports\/top_sellers" } ] } }, "\/wc\/v1\/reports": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v1\/reports" } ] } }, "\/wc\/v1\/taxes\/classes": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Maksuklassi nimi.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Ressursi unikaalne p\u00fcsiviite t\u00fcvi.", "type": "string", "required": false }, "force": { "default": false, "type": "boolean", "description": "N\u00f5utav, et see oleks t\u00f5ene, kuna ressurss ei toeta pr\u00fcgikasti viimist.", "required": false } } } ] }, "\/wc\/v1\/taxes": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "order", "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "enum": [ "id", "order", "priority" ], "type": "string", "required": false }, "class": { "description": "Sorteeri maksuklassi j\u00e4rgi.", "enum": [ "standard", "reduced-rate", "zero-rate" ], "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "country": { "description": "Riigi ISO 3166 kood.", "type": "string", "required": false }, "state": { "description": "Osariigi\/maakonna kood.", "type": "string", "required": false }, "postcode": { "description": "Postiindeks \/ sihtnumber.", "type": "string", "required": false }, "city": { "description": "Linna nimi.", "type": "string", "required": false }, "rate": { "description": "Maksum\u00e4\u00e4r.", "type": "string", "required": false }, "name": { "description": "Maksum\u00e4\u00e4ra nimi.", "type": "string", "required": false }, "priority": { "default": 1, "description": "Maksu prioriteet.", "type": "integer", "required": false }, "compound": { "default": false, "description": "Kas see on liitmaksum\u00e4\u00e4r.", "type": "boolean", "required": false }, "shipping": { "default": true, "description": "Kas see maksum\u00e4\u00e4r m\u00f5jub ka tarnele v\u00f5i mitte.", "type": "boolean", "required": false }, "order": { "description": "N\u00e4itab p\u00e4ringutes kasutatavat j\u00e4rjekorda.", "type": "integer", "required": false }, "class": { "default": "standard", "description": "Maksuklass.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "country": { "description": "Riigi ISO 3166 kood.", "type": "string", "required": false }, "state": { "description": "Osariigi\/maakonna kood.", "type": "string", "required": false }, "postcode": { "description": "Postiindeks \/ sihtnumber.", "type": "string", "required": false }, "city": { "description": "Linna nimi.", "type": "string", "required": false }, "rate": { "description": "Maksum\u00e4\u00e4r.", "type": "string", "required": false }, "name": { "description": "Maksum\u00e4\u00e4ra nimi.", "type": "string", "required": false }, "priority": { "description": "Maksu prioriteet.", "type": "integer", "required": false }, "compound": { "description": "Kas see on liitmaksum\u00e4\u00e4r.", "type": "boolean", "required": false }, "shipping": { "description": "Kas see maksum\u00e4\u00e4r m\u00f5jub ka tarnele v\u00f5i mitte.", "type": "boolean", "required": false }, "order": { "description": "N\u00e4itab p\u00e4ringutes kasutatavat j\u00e4rjekorda.", "type": "integer", "required": false }, "class": { "description": "Maksuklass.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "N\u00f5utav, et see oleks t\u00f5ene, kuna ressurss ei toeta pr\u00fcgikasti viimist.", "required": false } } } ] }, "\/wc\/v1\/taxes\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "country": { "description": "Riigi ISO 3166 kood.", "type": "string", "required": false }, "state": { "description": "Osariigi\/maakonna kood.", "type": "string", "required": false }, "postcode": { "description": "Postiindeks \/ sihtnumber.", "type": "string", "required": false }, "city": { "description": "Linna nimi.", "type": "string", "required": false }, "rate": { "description": "Maksum\u00e4\u00e4r.", "type": "string", "required": false }, "name": { "description": "Maksum\u00e4\u00e4ra nimi.", "type": "string", "required": false }, "priority": { "description": "Maksu prioriteet.", "type": "integer", "required": false }, "compound": { "description": "Kas see on liitmaksum\u00e4\u00e4r.", "type": "boolean", "required": false }, "shipping": { "description": "Kas see maksum\u00e4\u00e4r m\u00f5jub ka tarnele v\u00f5i mitte.", "type": "boolean", "required": false }, "order": { "description": "N\u00e4itab p\u00e4ringutes kasutatavat j\u00e4rjekorda.", "type": "integer", "required": false }, "class": { "description": "Maksuklass.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v1\/taxes\/batch" } ] } }, "\/wc\/v1\/webhooks": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "after": { "description": "Piirake vastuseid ressurssidega, mis on avaldatud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piirake vastust ressurssidega, mis on avaldatud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "id", "title" ], "required": false }, "status": { "default": "all", "description": "Piira tulemusi kindlas olekus veebikonksudele.", "type": "string", "enum": [ "all", "active", "paused", "disabled" ], "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Inims\u00f5bralik veebikonksu nimi.", "type": "string", "required": false }, "status": { "default": "active", "description": "Veebikonksu olek.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "type": "string", "description": "Veebikonksu pealkiri.", "required": true }, "secret": { "description": "Salav\u00f5ti, mida kasutatakse veebikonksu r\u00e4si genereerimiseks ning antakse p\u00e4ringu p\u00e4ises kaasa. Kui seda eraldi ei anta, on see vaikimisi k\u00e4esoleva kasutaja ID|kasutajanime MD5 r\u00e4si.", "type": "string", "required": false }, "delivery_url": { "type": "string", "description": "Veebikonksu sihtkoha URL.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "name": { "description": "Inims\u00f5bralik veebikonksu nimi.", "type": "string", "required": false }, "status": { "description": "Veebikonksu olek.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "description": "Veebikonksu pealkiri.", "type": "string", "required": false }, "secret": { "description": "Salav\u00f5ti, mida kasutatakse veebikonksu r\u00e4si genereerimiseks ning antakse p\u00e4ringu p\u00e4ises kaasa. Kui seda eraldi ei anta, on see vaikimisi k\u00e4esoleva kasutaja ID|kasutajanime MD5 r\u00e4si.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "N\u00f5utav, et see oleks t\u00f5ene, kuna ressurss ei toeta pr\u00fcgikasti viimist.", "required": false } } } ] }, "\/wc\/v1\/webhooks\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Inims\u00f5bralik veebikonksu nimi.", "type": "string", "required": false }, "status": { "description": "Veebikonksu olek.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "description": "Veebikonksu pealkiri.", "type": "string", "required": false }, "secret": { "description": "Salav\u00f5ti, mida kasutatakse veebikonksu r\u00e4si genereerimiseks ning antakse p\u00e4ringu p\u00e4ises kaasa. Kui seda eraldi ei anta, on see vaikimisi k\u00e4esoleva kasutaja ID|kasutajanime MD5 r\u00e4si.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v1\/webhooks\/batch" } ] } }, "\/wc\/v1\/webhooks\/(?P[\\d]+)\/deliveries": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "webhook_id": { "description": "Veebikonksu unikaalne identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "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": "Veebikonksu unikaalne identifikaator.", "type": "integer", "required": false }, "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/v2\/coupons": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piirake tulemusi nendega, mis vastavad stringile.", "type": "string", "required": false }, "after": { "description": "Piirake vastuseid ressurssidega, mis on avaldatud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piirake vastust ressurssidega, mis on avaldatud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Piirake reageerimist ressurssidega, mida on muudetud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Piirake reageerimist ressurssidega, mida on muudetud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Kas v\u00f5tta arvesse GMT postitamiskuup\u00e4evi, kui piirata vastuse avaldamise v\u00f5i muudetud kuup\u00e4evaga.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "code": { "description": "Piira tulemusi kindla koodiga ressurssidele.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "code": { "description": "Kupongi kood.", "type": "string", "required": true }, "amount": { "description": "Allahindluse v\u00e4\u00e4rtus. Peab alati olema number, isegi kui m\u00e4\u00e4ratakse protsenti.", "type": [ "number", "string" ], "required": false }, "status": { "description": "Kupongi olek. Peaks alati olema mustand, avaldatud v\u00f5i \u00fclevaatuse ootel", "type": "string", "required": false }, "discount_type": { "default": "fixed_cart", "description": "M\u00e4\u00e4rab rakendatava allahindluse t\u00fc\u00fcbi.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "description": { "description": "Kupongi kirjeldus.", "type": "string", "required": false }, "date_expires": { "description": "Kupongi aegumiskuup\u00e4ev, veebilehe ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "Kupongi aegumiskuup\u00e4ev, GMT v\u00e4\u00e4rtusena.", "type": [ "null", "string" ], "required": false }, "individual_use": { "default": false, "description": "Kui v\u00e4\u00e4rtus on t\u00f5ene, saab seda kupongi kasutada ainult \u00fcksinda. Teised kupongid eemaldatakse ostukorvist.", "type": "boolean", "required": false }, "product_ids": { "description": "Toodete ID-de nimekiri, millega seda kupongi saab kasutada.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "Toodete ID-de nimekiri, millega seda kupongi kasutada ei saa.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Kui mitu korda seda kupongi kasutada saab.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Mitu korda \u00fcks klient saab seda kupongi kasutada.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Maksimaalne toodete kogus ostukorvis, millele see kupong kehtib.", "type": "integer", "required": false }, "free_shipping": { "default": false, "description": "Kui t\u00f5ene ja tasuta tarne meetod vajab kupongi, aktiveerib see kupong tasuta tarne.", "type": "boolean", "required": false }, "product_categories": { "description": "Kategooriate ID-de nimekiri, millega koos seda kupongi saab kasutada.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Kategooriate ID-de nimekiri, millega koos seda kupongi ei saa kasutada.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "default": false, "description": "Kui t\u00f5ene, ei kehti see kupong soodushinnaga toodetele.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minimaalne tellimuse summa, mis peab olema selle kupongi kasutamiseks ostukorvis.", "type": [ "number", "string" ], "required": false }, "maximum_amount": { "description": "Maksimaalne lubatav tellimuse summa selle kupongi kasutamiseks.", "type": [ "number", "string" ], "required": false }, "email_restrictions": { "description": "E-posti aadresside nimekiri, kes saavad seda kupongi kasutada.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "code": { "description": "Kupongi kood.", "type": "string", "required": false }, "amount": { "description": "Allahindluse v\u00e4\u00e4rtus. Peab alati olema number, isegi kui m\u00e4\u00e4ratakse protsenti.", "type": [ "number", "string" ], "required": false }, "status": { "description": "Kupongi olek. Peaks alati olema mustand, avaldatud v\u00f5i \u00fclevaatuse ootel", "type": "string", "required": false }, "discount_type": { "description": "M\u00e4\u00e4rab rakendatava allahindluse t\u00fc\u00fcbi.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "description": { "description": "Kupongi kirjeldus.", "type": "string", "required": false }, "date_expires": { "description": "Kupongi aegumiskuup\u00e4ev, veebilehe ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "Kupongi aegumiskuup\u00e4ev, GMT v\u00e4\u00e4rtusena.", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "Kui v\u00e4\u00e4rtus on t\u00f5ene, saab seda kupongi kasutada ainult \u00fcksinda. Teised kupongid eemaldatakse ostukorvist.", "type": "boolean", "required": false }, "product_ids": { "description": "Toodete ID-de nimekiri, millega seda kupongi saab kasutada.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "Toodete ID-de nimekiri, millega seda kupongi kasutada ei saa.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Kui mitu korda seda kupongi kasutada saab.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Mitu korda \u00fcks klient saab seda kupongi kasutada.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Maksimaalne toodete kogus ostukorvis, millele see kupong kehtib.", "type": "integer", "required": false }, "free_shipping": { "description": "Kui t\u00f5ene ja tasuta tarne meetod vajab kupongi, aktiveerib see kupong tasuta tarne.", "type": "boolean", "required": false }, "product_categories": { "description": "Kategooriate ID-de nimekiri, millega koos seda kupongi saab kasutada.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Kategooriate ID-de nimekiri, millega koos seda kupongi ei saa kasutada.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "Kui t\u00f5ene, ei kehti see kupong soodushinnaga toodetele.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minimaalne tellimuse summa, mis peab olema selle kupongi kasutamiseks ostukorvis.", "type": [ "number", "string" ], "required": false }, "maximum_amount": { "description": "Maksimaalne lubatav tellimuse summa selle kupongi kasutamiseks.", "type": [ "number", "string" ], "required": false }, "email_restrictions": { "description": "E-posti aadresside nimekiri, kes saavad seda kupongi kasutada.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Kas j\u00e4tta pr\u00fcgikast m\u00f6\u00f6da ja sundida kustutamist.", "required": false } } } ] }, "\/wc\/v2\/coupons\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "code": { "description": "Kupongi kood.", "type": "string", "required": false }, "amount": { "description": "Allahindluse v\u00e4\u00e4rtus. Peab alati olema number, isegi kui m\u00e4\u00e4ratakse protsenti.", "type": [ "number", "string" ], "required": false }, "status": { "description": "Kupongi olek. Peaks alati olema mustand, avaldatud v\u00f5i \u00fclevaatuse ootel", "type": "string", "required": false }, "discount_type": { "description": "M\u00e4\u00e4rab rakendatava allahindluse t\u00fc\u00fcbi.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "description": { "description": "Kupongi kirjeldus.", "type": "string", "required": false }, "date_expires": { "description": "Kupongi aegumiskuup\u00e4ev, veebilehe ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "Kupongi aegumiskuup\u00e4ev, GMT v\u00e4\u00e4rtusena.", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "Kui v\u00e4\u00e4rtus on t\u00f5ene, saab seda kupongi kasutada ainult \u00fcksinda. Teised kupongid eemaldatakse ostukorvist.", "type": "boolean", "required": false }, "product_ids": { "description": "Toodete ID-de nimekiri, millega seda kupongi saab kasutada.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "Toodete ID-de nimekiri, millega seda kupongi kasutada ei saa.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Kui mitu korda seda kupongi kasutada saab.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Mitu korda \u00fcks klient saab seda kupongi kasutada.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Maksimaalne toodete kogus ostukorvis, millele see kupong kehtib.", "type": "integer", "required": false }, "free_shipping": { "description": "Kui t\u00f5ene ja tasuta tarne meetod vajab kupongi, aktiveerib see kupong tasuta tarne.", "type": "boolean", "required": false }, "product_categories": { "description": "Kategooriate ID-de nimekiri, millega koos seda kupongi saab kasutada.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Kategooriate ID-de nimekiri, millega koos seda kupongi ei saa kasutada.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "Kui t\u00f5ene, ei kehti see kupong soodushinnaga toodetele.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minimaalne tellimuse summa, mis peab olema selle kupongi kasutamiseks ostukorvis.", "type": [ "number", "string" ], "required": false }, "maximum_amount": { "description": "Maksimaalne lubatav tellimuse summa selle kupongi kasutamiseks.", "type": [ "number", "string" ], "required": false }, "email_restrictions": { "description": "E-posti aadresside nimekiri, kes saavad seda kupongi kasutada.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v2\/coupons\/batch" } ] } }, "\/wc\/v2\/customers\/(?P[\\d]+)\/downloads": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "customer_id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ] }, "\/wc\/v2\/customers": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piira tulemuste hulka kindlatele ID-dele.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "name", "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "enum": [ "id", "include", "name", "registered_date" ], "type": "string", "required": false }, "email": { "description": "Piira tulemusi kindla e-postiga ressurssidele.", "type": "string", "format": "email", "required": false }, "role": { "description": "Piira tulemusi kindla rolliga ressurssidele.", "type": "string", "default": "customer", "enum": [ "all", "administrator", "editor", "author", "contributor", "subscriber", "customer", "shop_manager" ], "required": false } } }, { "methods": [ "POST" ], "args": { "email": { "type": "string", "description": "Uus kasutaja e-posti aadress.", "required": true }, "first_name": { "description": "Kliendi eesnimi.", "type": "string", "required": false }, "last_name": { "description": "Kliendi perekonnanimi.", "type": "string", "required": false }, "username": { "description": "Uus kasutaja kasutajanimi.", "type": "string", "required": false }, "password": { "description": "Uus kasutaja salas\u00f5na.", "type": "string", "required": false }, "billing": { "description": "Arveaadressi andmete loetelu.", "type": "object", "properties": { "first_name": { "description": "Eesnimi.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Perekonnanimi.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ettev\u00f5tte nimi.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Aadressi rida 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "2. aadressirida", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Linna nimi.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Osariigi, provintsi v\u00f5i ringkonna ISO-kood v\u00f5i nimi.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postiindeks.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Riigi ISO kood.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "E-posti aadress.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Telefoninumber.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Tarneaadressi andmete loetelu.", "type": "object", "properties": { "first_name": { "description": "Eesnimi.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Perekonnanimi.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ettev\u00f5tte nimi.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Aadressi rida 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "2. aadressirida", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Linna nimi.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Osariigi, provintsi v\u00f5i ringkonna ISO-kood v\u00f5i nimi.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postiindeks.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Riigi ISO kood.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "email": { "description": "Kliendi e-post aadress.", "type": "string", "format": "email", "required": false }, "first_name": { "description": "Kliendi eesnimi.", "type": "string", "required": false }, "last_name": { "description": "Kliendi perekonnanimi.", "type": "string", "required": false }, "username": { "description": "Kliendi kasutajanimi.", "type": "string", "required": false }, "password": { "description": "Kliendi salas\u00f5na.", "type": "string", "required": false }, "billing": { "description": "Arveaadressi andmete loetelu.", "type": "object", "properties": { "first_name": { "description": "Eesnimi.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Perekonnanimi.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ettev\u00f5tte nimi.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Aadressi rida 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "2. aadressirida", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Linna nimi.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Osariigi, provintsi v\u00f5i ringkonna ISO-kood v\u00f5i nimi.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postiindeks.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Riigi ISO kood.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "E-posti aadress.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Telefoninumber.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Tarneaadressi andmete loetelu.", "type": "object", "properties": { "first_name": { "description": "Eesnimi.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Perekonnanimi.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ettev\u00f5tte nimi.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Aadressi rida 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "2. aadressirida", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Linna nimi.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Osariigi, provintsi v\u00f5i ringkonna ISO-kood v\u00f5i nimi.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postiindeks.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Riigi ISO kood.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "N\u00f5utav, et see oleks t\u00f5ene, kuna ressurss ei toeta pr\u00fcgikasti viimist.", "required": false }, "reassign": { "default": 0, "type": "integer", "description": "ID, mille k\u00fclge postitused \u00fcmber seostada.", "required": false } } } ] }, "\/wc\/v2\/customers\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "email": { "description": "Kliendi e-post aadress.", "type": "string", "format": "email", "required": false }, "first_name": { "description": "Kliendi eesnimi.", "type": "string", "required": false }, "last_name": { "description": "Kliendi perekonnanimi.", "type": "string", "required": false }, "username": { "description": "Kliendi kasutajanimi.", "type": "string", "required": false }, "password": { "description": "Kliendi salas\u00f5na.", "type": "string", "required": false }, "billing": { "description": "Arveaadressi andmete loetelu.", "type": "object", "properties": { "first_name": { "description": "Eesnimi.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Perekonnanimi.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ettev\u00f5tte nimi.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Aadressi rida 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "2. aadressirida", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Linna nimi.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Osariigi, provintsi v\u00f5i ringkonna ISO-kood v\u00f5i nimi.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postiindeks.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Riigi ISO kood.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "E-posti aadress.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Telefoninumber.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Tarneaadressi andmete loetelu.", "type": "object", "properties": { "first_name": { "description": "Eesnimi.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Perekonnanimi.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ettev\u00f5tte nimi.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Aadressi rida 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "2. aadressirida", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Linna nimi.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Osariigi, provintsi v\u00f5i ringkonna ISO-kood v\u00f5i nimi.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postiindeks.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Riigi ISO kood.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Tellimuse ID.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "type": { "default": "any", "description": "Piira tulemust klientidele v\u00f5i sisemistele m\u00e4rgetele.", "type": "string", "enum": [ "any", "customer", "internal" ], "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "Tellimuse ID.", "type": "integer", "required": false }, "note": { "type": "string", "description": "Telli m\u00e4rkme sisu.", "required": true }, "customer_note": { "default": false, "description": "Kui see on t\u00f5ene, n\u00e4idatakse m\u00e4rget klientidele ja neid teavitatakse. Kui see on vale, on m\u00e4rge ainult administraatorile viitamiseks.", "type": "boolean", "required": false } } } ] }, "\/wc\/v2\/orders\/(?P[\\d]+)\/notes\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "order_id": { "description": "Tellimuse ID.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "order_id": { "description": "Tellimuse ID.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "N\u00f5utav, et see oleks t\u00f5ene, kuna ressurss ei toeta pr\u00fcgikasti viimist.", "required": false } } } ] }, "\/wc\/v2\/orders\/(?P[\\d]+)\/refunds": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "Tellimuse ID.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piirake tulemusi nendega, mis vastavad stringile.", "type": "string", "required": false }, "after": { "description": "Piirake vastuseid ressurssidega, mis on avaldatud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piirake vastust ressurssidega, mis on avaldatud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Piirake reageerimist ressurssidega, mida on muudetud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Piirake reageerimist ressurssidega, mida on muudetud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Kas v\u00f5tta arvesse GMT postitamiskuup\u00e4evi, kui piirata vastuse avaldamise v\u00f5i muudetud kuup\u00e4evaga.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "parent": { "description": "Piirake tulemuste komplekt konkreetsete vanemate ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Piirake tulemuste komplekti k\u00f5igi \u00fcksustega, v\u00e4lja arvatud konkreetse \u00fclem-ID \u00fcksustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "dp": { "default": 0, "description": "Igas ressursis kasutatavate k\u00fcmnendkohtade arv.", "type": "integer", "required": false }, "order_item_display_meta": { "default": false, "description": "Kuva ainult meta, mis on ette n\u00e4htud tellimuse jaoks kuvamiseks.", "type": "boolean", "required": false }, "include_meta": { "default": [], "description": "Piirake meta_andmed konkreetsete v\u00f5tmetega.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Veenduge, et meta_andmed v\u00e4listaks teatud v\u00f5tmed.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "Tellimuse ID.", "type": "integer", "required": false }, "amount": { "description": "Tagasimakse summa.", "type": "string", "required": false }, "reason": { "description": "Tagastamise p\u00f5hjus.", "type": "string", "required": false }, "refunded_by": { "description": "Tagasimakse loonud kasutaja kasutaja ID.", "type": "integer", "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "shipping_lines": { "description": "Laevaliinide andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Saatmisviisi nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Saatmisviisi ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "Tarneeksemplari ID.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Tasuliinide andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Tasu nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Tasu maksuklass.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Tasu maksustaatus.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Maksude vahesumma.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "api_refund": { "default": true, "description": "Kui see on t\u00f5ene, kasutatakse tagasimakse genereerimiseks maksev\u00e4rava API-t.", "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": "Tellimuse ID.", "type": "integer", "required": false }, "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "order_id": { "description": "Tellimuse ID.", "type": "integer", "required": false }, "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "N\u00f5utav, et see oleks t\u00f5ene, kuna ressurss ei toeta pr\u00fcgikasti viimist.", "required": false } } } ] }, "\/wc\/v2\/orders": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piirake tulemusi nendega, mis vastavad stringile.", "type": "string", "required": false }, "after": { "description": "Piirake vastuseid ressurssidega, mis on avaldatud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piirake vastust ressurssidega, mis on avaldatud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Piirake reageerimist ressurssidega, mida on muudetud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Piirake reageerimist ressurssidega, mida on muudetud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Kas v\u00f5tta arvesse GMT postitamiskuup\u00e4evi, kui piirata vastuse avaldamise v\u00f5i muudetud kuup\u00e4evaga.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "parent": { "description": "Piirake tulemuste komplekt konkreetsete vanemate ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Piirake tulemuste komplekti k\u00f5igi \u00fcksustega, v\u00e4lja arvatud konkreetse \u00fclem-ID \u00fcksustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "status": { "default": "any", "description": "Piirake tulemuste komplekt tellimustele, millele on m\u00e4\u00e4ratud konkreetne olek.", "type": "string", "enum": [ "any", "trash", "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "mon-part-refund", "mon-label-printed", "checkout-draft" ], "required": false }, "customer": { "description": "Piirake tulemuste komplekt konkreetsele kliendile m\u00e4\u00e4ratud tellimustele.", "type": "integer", "required": false }, "product": { "description": "Piirake tulemuste komplekt konkreetsele tootele m\u00e4\u00e4ratud tellimustele.", "type": "integer", "required": false }, "dp": { "default": 0, "description": "Igas ressursis kasutatavate k\u00fcmnendkohtade arv.", "type": "integer", "required": false }, "order_item_display_meta": { "default": false, "description": "Kuva ainult meta, mis on ette n\u00e4htud tellimuse jaoks kuvamiseks.", "type": "boolean", "required": false }, "include_meta": { "default": [], "description": "Piirake meta_andmed konkreetsete v\u00f5tmetega.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Veenduge, et meta_andmed v\u00e4listaks teatud v\u00f5tmed.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "parent_id": { "description": "Vanema tellimuse ID.", "type": "integer", "required": false }, "status": { "default": "pending", "description": "Tellimuse olek.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "mon-part-refund", "mon-label-printed", "checkout-draft" ], "required": false }, "currency": { "default": "EUR", "description": "Valuuta, millega tellimus koostati, ISO-vormingus.", "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 }, "date_created": { "description": "Tellimuse loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Tellimuse loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "required": false }, "date_modified": { "description": "Tellimuse viimase muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_modified_gmt": { "description": "Tellimuse viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "required": false }, "customer_id": { "default": 0, "description": "Kasutaja ID, kellele tellimus kuulub. 0 k\u00fclalistele.", "type": "integer", "required": false }, "customer_note": { "description": "M\u00e4rkus, mille klient j\u00e4ttis kassas.", "type": "string", "required": false }, "billing": { "description": "Arveldusaadress.", "type": "object", "properties": { "first_name": { "description": "Eesnimi.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Perekonnanimi.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ettev\u00f5tte nimi.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Aadressi rida 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "2. aadressirida", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Linna nimi.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Osariigi, provintsi v\u00f5i ringkonna ISO-kood v\u00f5i nimi.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postiindeks.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Riigikood ISO 3166-1 alfa-2 formaadis.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "E-posti aadress.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Telefoninumber.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Tarneaadress.", "type": "object", "properties": { "first_name": { "description": "Eesnimi.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Perekonnanimi.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ettev\u00f5tte nimi.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Aadressi rida 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "2. aadressirida", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Linna nimi.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Osariigi, provintsi v\u00f5i ringkonna ISO-kood v\u00f5i nimi.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postiindeks.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Riigikood ISO 3166-1 alfa-2 formaadis.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "Makseviisi ID.", "type": "string", "required": false }, "payment_method_title": { "description": "Makseviisi pealkiri.", "type": "string", "required": false }, "transaction_id": { "description": "Unikaalne tehingu ID.", "type": "string", "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Rea\u00fcksuste andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Toote nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Ematoote nimi, kui toode on variatsioon.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "Toote ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Variatsiooni ID, kui see on kohaldatav.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Tellitud kogus.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Toote maksuklass.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Rea vahesumma (enne allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Rea vahesumma maks (enne allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Maksude vahesumma.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Metaklahv kasutajaliidese kuvamiseks.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Kasutajaliidese kuva metav\u00e4\u00e4rtus.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Toote SKU.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "global_unique_id": { "description": "GTIN, UPC, EAN v\u00f5i ISBN.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Toote hind.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Toote p\u00f5hipildi omadused.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Laevaliinide andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Saatmisviisi nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Saatmisviisi ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "Tarneeksemplari ID.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Tasuliinide andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Tasu nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Tasu maksuklass.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Tasu maksustaatus.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Maksude vahesumma.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Kupongide rea andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Kupongi kood.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Allahindlus kokku.", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "Allahindlus kogumaks.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Allahindluse t\u00fc\u00fcp.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Kupongis m\u00e4\u00e4ratletud allahindluse summa (absoluutv\u00e4\u00e4rtus v\u00f5i protsent, olenevalt allahindluse t\u00fc\u00fcbist).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Kas kupong tagab tasuta kohaletoimetamise v\u00f5i mitte.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "default": false, "description": "M\u00e4\u00e4rake, kas tellimus on tasutud. See seab olekuks t\u00f6\u00f6tlemise ja v\u00e4hendab laoartikleid.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "parent_id": { "description": "Vanema tellimuse ID.", "type": "integer", "required": false }, "status": { "description": "Tellimuse olek.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "mon-part-refund", "mon-label-printed", "checkout-draft" ], "required": false }, "currency": { "description": "Valuuta, millega tellimus koostati, ISO-vormingus.", "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 }, "date_created": { "description": "Tellimuse loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Tellimuse loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "required": false }, "date_modified": { "description": "Tellimuse viimase muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_modified_gmt": { "description": "Tellimuse viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "required": false }, "customer_id": { "description": "Kasutaja ID, kellele tellimus kuulub. 0 k\u00fclalistele.", "type": "integer", "required": false }, "customer_note": { "description": "M\u00e4rkus, mille klient j\u00e4ttis kassas.", "type": "string", "required": false }, "billing": { "description": "Arveldusaadress.", "type": "object", "properties": { "first_name": { "description": "Eesnimi.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Perekonnanimi.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ettev\u00f5tte nimi.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Aadressi rida 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "2. aadressirida", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Linna nimi.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Osariigi, provintsi v\u00f5i ringkonna ISO-kood v\u00f5i nimi.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postiindeks.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Riigikood ISO 3166-1 alfa-2 formaadis.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "E-posti aadress.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Telefoninumber.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Tarneaadress.", "type": "object", "properties": { "first_name": { "description": "Eesnimi.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Perekonnanimi.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ettev\u00f5tte nimi.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Aadressi rida 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "2. aadressirida", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Linna nimi.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Osariigi, provintsi v\u00f5i ringkonna ISO-kood v\u00f5i nimi.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postiindeks.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Riigikood ISO 3166-1 alfa-2 formaadis.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "Makseviisi ID.", "type": "string", "required": false }, "payment_method_title": { "description": "Makseviisi pealkiri.", "type": "string", "required": false }, "transaction_id": { "description": "Unikaalne tehingu ID.", "type": "string", "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Rea\u00fcksuste andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Toote nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Ematoote nimi, kui toode on variatsioon.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "Toote ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Variatsiooni ID, kui see on kohaldatav.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Tellitud kogus.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Toote maksuklass.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Rea vahesumma (enne allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Rea vahesumma maks (enne allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Maksude vahesumma.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Metaklahv kasutajaliidese kuvamiseks.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Kasutajaliidese kuva metav\u00e4\u00e4rtus.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Toote SKU.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "global_unique_id": { "description": "GTIN, UPC, EAN v\u00f5i ISBN.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Toote hind.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Toote p\u00f5hipildi omadused.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Laevaliinide andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Saatmisviisi nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Saatmisviisi ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "Tarneeksemplari ID.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Tasuliinide andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Tasu nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Tasu maksuklass.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Tasu maksustaatus.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Maksude vahesumma.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Kupongide rea andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Kupongi kood.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Allahindlus kokku.", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "Allahindlus kogumaks.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Allahindluse t\u00fc\u00fcp.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Kupongis m\u00e4\u00e4ratletud allahindluse summa (absoluutv\u00e4\u00e4rtus v\u00f5i protsent, olenevalt allahindluse t\u00fc\u00fcbist).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Kas kupong tagab tasuta kohaletoimetamise v\u00f5i mitte.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "description": "M\u00e4\u00e4rake, kas tellimus on tasutud. See seab olekuks t\u00f6\u00f6tlemise ja v\u00e4hendab laoartikleid.", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Kas j\u00e4tta pr\u00fcgikast m\u00f6\u00f6da ja sundida kustutamist.", "required": false } } } ] }, "\/wc\/v2\/orders\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "parent_id": { "description": "Vanema tellimuse ID.", "type": "integer", "required": false }, "status": { "description": "Tellimuse olek.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "mon-part-refund", "mon-label-printed", "checkout-draft" ], "required": false }, "currency": { "description": "Valuuta, millega tellimus koostati, ISO-vormingus.", "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 }, "date_created": { "description": "Tellimuse loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Tellimuse loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "required": false }, "date_modified": { "description": "Tellimuse viimase muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_modified_gmt": { "description": "Tellimuse viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "required": false }, "customer_id": { "description": "Kasutaja ID, kellele tellimus kuulub. 0 k\u00fclalistele.", "type": "integer", "required": false }, "customer_note": { "description": "M\u00e4rkus, mille klient j\u00e4ttis kassas.", "type": "string", "required": false }, "billing": { "description": "Arveldusaadress.", "type": "object", "properties": { "first_name": { "description": "Eesnimi.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Perekonnanimi.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ettev\u00f5tte nimi.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Aadressi rida 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "2. aadressirida", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Linna nimi.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Osariigi, provintsi v\u00f5i ringkonna ISO-kood v\u00f5i nimi.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postiindeks.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Riigikood ISO 3166-1 alfa-2 formaadis.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "E-posti aadress.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Telefoninumber.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Tarneaadress.", "type": "object", "properties": { "first_name": { "description": "Eesnimi.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Perekonnanimi.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ettev\u00f5tte nimi.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Aadressi rida 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "2. aadressirida", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Linna nimi.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Osariigi, provintsi v\u00f5i ringkonna ISO-kood v\u00f5i nimi.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postiindeks.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Riigikood ISO 3166-1 alfa-2 formaadis.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "Makseviisi ID.", "type": "string", "required": false }, "payment_method_title": { "description": "Makseviisi pealkiri.", "type": "string", "required": false }, "transaction_id": { "description": "Unikaalne tehingu ID.", "type": "string", "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Rea\u00fcksuste andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Toote nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Ematoote nimi, kui toode on variatsioon.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "Toote ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Variatsiooni ID, kui see on kohaldatav.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Tellitud kogus.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Toote maksuklass.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Rea vahesumma (enne allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Rea vahesumma maks (enne allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Maksude vahesumma.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Metaklahv kasutajaliidese kuvamiseks.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Kasutajaliidese kuva metav\u00e4\u00e4rtus.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Toote SKU.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "global_unique_id": { "description": "GTIN, UPC, EAN v\u00f5i ISBN.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Toote hind.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Toote p\u00f5hipildi omadused.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Laevaliinide andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Saatmisviisi nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Saatmisviisi ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "Tarneeksemplari ID.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Tasuliinide andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Tasu nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Tasu maksuklass.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Tasu maksustaatus.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Maksude vahesumma.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Kupongide rea andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Kupongi kood.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Allahindlus kokku.", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "Allahindlus kogumaks.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Allahindluse t\u00fc\u00fcp.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Kupongis m\u00e4\u00e4ratletud allahindluse summa (absoluutv\u00e4\u00e4rtus v\u00f5i protsent, olenevalt allahindluse t\u00fc\u00fcbist).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Kas kupong tagab tasuta kohaletoimetamise v\u00f5i mitte.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "description": "M\u00e4\u00e4rake, kas tellimus on tasutud. See seab olekuks t\u00f6\u00f6tlemise ja v\u00e4hendab laoartikleid.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Terminite atribuudi unikaalne identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra. Kehtib ainult hierarhiliste taksonoomiate puhul.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu ressursiatribuudi j\u00e4rgi.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Kas peita ressursid, mis pole \u00fchelegi tootele m\u00e4\u00e4ratud.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Piirake tulemuste komplekt konkreetsele vanemale m\u00e4\u00e4ratud ressurssidega. Kehtib ainult hierarhiliste taksonoomiate puhul.", "type": "integer", "required": false }, "product": { "description": "Piirake tulemuste komplekt konkreetsele tootele m\u00e4\u00e4ratud ressurssidega.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Piirake tulemuse komplekt konkreetse n\u00e4lkjaga ressurssidega.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "attribute_id": { "description": "Terminite atribuudi unikaalne identifikaator.", "type": "integer", "required": false }, "name": { "type": "string", "description": "Ressursi nimi.", "required": true }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse ressursi kohandatud sortimiseks.", "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": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "attribute_id": { "description": "Terminite atribuudi unikaalne identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "attribute_id": { "description": "Terminite atribuudi unikaalne identifikaator.", "type": "integer", "required": false }, "name": { "description": "Termini nimi.", "type": "string", "required": false }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse ressursi kohandatud sortimiseks.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "attribute_id": { "description": "Terminite atribuudi unikaalne identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "N\u00f5utav, et see oleks t\u00f5ene, kuna ressurss ei toeta pr\u00fcgikasti viimist.", "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": "Terminite atribuudi unikaalne identifikaator.", "type": "integer", "required": false }, "name": { "description": "Termini nimi.", "type": "string", "required": false }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse ressursi kohandatud sortimiseks.", "type": "integer", "required": false } } } ] }, "\/wc\/v2\/products\/attributes": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Ressursi nimi.", "type": "string", "required": true }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "type": { "default": "select", "description": "Omaduse t\u00fc\u00fcp.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "default": "menu_order", "description": "Vaikimisi sorteerimise j\u00e4rjekord.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "default": false, "description": "Luba\/keela omaduste arhiivid.", "type": "boolean", "required": false }, "terms": { "description": "List of terms linked to the attribute.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Term ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Term name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Term slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "name": { "description": "Atribuudi nimi.", "type": "string", "required": false }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "type": { "description": "Omaduse t\u00fc\u00fcp.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Vaikimisi sorteerimise j\u00e4rjekord.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "Luba\/keela omaduste arhiivid.", "type": "boolean", "required": false }, "terms": { "description": "List of terms linked to the attribute.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Term ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Term name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Term slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "N\u00f5utav, et see oleks t\u00f5ene, kuna ressurss ei toeta pr\u00fcgikasti viimist.", "required": false } } } ] }, "\/wc\/v2\/products\/attributes\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Atribuudi nimi.", "type": "string", "required": false }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "type": { "description": "Omaduse t\u00fc\u00fcp.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Vaikimisi sorteerimise j\u00e4rjekord.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "Luba\/keela omaduste arhiivid.", "type": "boolean", "required": false }, "terms": { "description": "List of terms linked to the attribute.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Term ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Term name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Term slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v2\/products\/attributes\/batch" } ] } }, "\/wc\/v2\/products\/categories": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra. Kehtib ainult hierarhiliste taksonoomiate puhul.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu ressursiatribuudi j\u00e4rgi.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Kas peita ressursid, mis pole \u00fchelegi tootele m\u00e4\u00e4ratud.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Piirake tulemuste komplekt konkreetsele vanemale m\u00e4\u00e4ratud ressurssidega. Kehtib ainult hierarhiliste taksonoomiate puhul.", "type": "integer", "required": false }, "product": { "description": "Piirake tulemuste komplekt konkreetsele tootele m\u00e4\u00e4ratud ressurssidega.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Piirake tulemuse komplekt konkreetse n\u00e4lkjaga ressurssidega.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Ressursi nimi.", "required": true }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "parent": { "description": "Ressursi vanema ID.", "type": "integer", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false }, "display": { "default": "default", "description": "Kategooria arhiivi kuvamise t\u00fc\u00fcp.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Pildi andmed.", "type": "object", "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Kujutise loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Kujutise viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse ressursi kohandatud sortimiseks.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "name": { "description": "Kategooria nimi.", "type": "string", "required": false }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "parent": { "description": "Ressursi vanema ID.", "type": "integer", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false }, "display": { "description": "Kategooria arhiivi kuvamise t\u00fc\u00fcp.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Pildi andmed.", "type": "object", "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Kujutise loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Kujutise viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse ressursi kohandatud sortimiseks.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "N\u00f5utav, et see oleks t\u00f5ene, kuna ressurss ei toeta pr\u00fcgikasti viimist.", "required": false } } } ] }, "\/wc\/v2\/products\/categories\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Kategooria nimi.", "type": "string", "required": false }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "parent": { "description": "Ressursi vanema ID.", "type": "integer", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false }, "display": { "description": "Kategooria arhiivi kuvamise t\u00fc\u00fcp.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Pildi andmed.", "type": "object", "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Kujutise loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Kujutise viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse ressursi kohandatud sortimiseks.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Varieeruva toote unikaalne identifikaator.", "type": "integer", "required": false }, "id": { "description": "Variatsiooni unikaalne identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Varieeruva toote unikaalne identifikaator.", "type": "integer", "required": false }, "id": { "description": "Variatsiooni unikaalne identifikaator.", "type": "integer", "required": false }, "review": { "type": "string", "description": "Arvustuse sisu.", "required": true }, "date_created": { "description": "Arvustuse loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Arvustuse loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "required": false }, "rating": { "description": "\u00dclevaate hinnang (0 kuni 5).", "type": "integer", "required": false }, "name": { "type": "string", "description": "Arvustaja nimi.", "required": true }, "email": { "type": "string", "description": "Arvustaja e-post.", "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": "Varieeruva toote unikaalne identifikaator.", "type": "integer", "required": false }, "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Varieeruva toote unikaalne identifikaator.", "type": "integer", "required": false }, "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "review": { "description": "Arvustuse sisu.", "type": "string", "required": false }, "date_created": { "description": "Arvustuse loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Arvustuse loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "required": false }, "rating": { "description": "\u00dclevaate hinnang (0 kuni 5).", "type": "integer", "required": false }, "name": { "description": "\u00dclevaataja nimi.", "type": "string", "required": false }, "email": { "description": "Arvustaja e-post.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "description": "Varieeruva toote unikaalne identifikaator.", "type": "integer", "required": false }, "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Kas j\u00e4tta pr\u00fcgikast m\u00f6\u00f6da ja sundida kustutamist.", "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": "Varieeruva toote unikaalne identifikaator.", "type": "integer", "required": false }, "review": { "description": "Arvustuse sisu.", "type": "string", "required": false }, "date_created": { "description": "Arvustuse loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Arvustuse loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "required": false }, "rating": { "description": "\u00dclevaate hinnang (0 kuni 5).", "type": "integer", "required": false }, "name": { "description": "\u00dclevaataja nimi.", "type": "string", "required": false }, "email": { "description": "Arvustaja e-post.", "type": "string", "required": false } } } ] }, "\/wc\/v2\/products\/shipping_classes": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra. Kehtib ainult hierarhiliste taksonoomiate puhul.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu ressursiatribuudi j\u00e4rgi.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Kas peita ressursid, mis pole \u00fchelegi tootele m\u00e4\u00e4ratud.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Piirake tulemuste komplekt konkreetsele vanemale m\u00e4\u00e4ratud ressurssidega. Kehtib ainult hierarhiliste taksonoomiate puhul.", "type": "integer", "required": false }, "product": { "description": "Piirake tulemuste komplekt konkreetsele tootele m\u00e4\u00e4ratud ressurssidega.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Piirake tulemuse komplekt konkreetse n\u00e4lkjaga ressurssidega.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Ressursi nimi.", "required": true }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "name": { "description": "Tarneklassi nimi.", "type": "string", "required": false }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "N\u00f5utav, et see oleks t\u00f5ene, kuna ressurss ei toeta pr\u00fcgikasti viimist.", "required": false } } } ] }, "\/wc\/v2\/products\/shipping_classes\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Tarneklassi nimi.", "type": "string", "required": false }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v2\/products\/shipping_classes\/batch" } ] } }, "\/wc\/v2\/products\/tags": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra. Kehtib ainult hierarhiliste taksonoomiate puhul.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu ressursiatribuudi j\u00e4rgi.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Kas peita ressursid, mis pole \u00fchelegi tootele m\u00e4\u00e4ratud.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Piirake tulemuste komplekt konkreetsele vanemale m\u00e4\u00e4ratud ressurssidega. Kehtib ainult hierarhiliste taksonoomiate puhul.", "type": "integer", "required": false }, "product": { "description": "Piirake tulemuste komplekt konkreetsele tootele m\u00e4\u00e4ratud ressurssidega.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Piirake tulemuse komplekt konkreetse n\u00e4lkjaga ressurssidega.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Ressursi nimi.", "required": true }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "name": { "description": "Sildi nimi.", "type": "string", "required": false }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "N\u00f5utav, et see oleks t\u00f5ene, kuna ressurss ei toeta pr\u00fcgikasti viimist.", "required": false } } } ] }, "\/wc\/v2\/products\/tags\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Sildi nimi.", "type": "string", "required": false }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v2\/products\/tags\/batch" } ] } }, "\/wc\/v2\/products": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piirake tulemusi nendega, mis vastavad stringile.", "type": "string", "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to products modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to products modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "popularity", "rating", "post__in", "price", "sales", "menu_order", "random", "popularity", "rating", "menu_order" ], "required": false }, "parent": { "description": "Piirake tulemuste komplekt konkreetsete vanemate ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Piirake tulemuste komplekti k\u00f5igi \u00fcksustega, v\u00e4lja arvatud konkreetse \u00fclem-ID \u00fcksustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "atum_post_status": { "description": "Limit response to products to the specified statuses. This param supports multiple statuses separated by commas.", "type": "string", "required": false }, "brand": { "description": "Piira tulemuste komplekti toodetega, millele on m\u00e4\u00e4ratud kindel br\u00e4ndi ID.", "type": "string", "required": false }, "slug": { "description": "Piirake tulemuste komplekt konkreetse n\u00e4lkjaga toodetega.", "type": "string", "required": false }, "status": { "default": "any", "description": "Piirake tulemuste komplekt toodetele, millele on m\u00e4\u00e4ratud konkreetne olek.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "Piirake tulemuste komplekt toodetele, millele on m\u00e4\u00e4ratud kindel t\u00fc\u00fcp.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "sku": { "description": "Piirake tulemuste komplekt konkreetsete SKU-dega toodetega. Kasutage eraldamiseks komasid.", "type": "string", "required": false }, "featured": { "description": "Piirake tulemuste komplekt esiletoodud toodetega.", "type": "boolean", "required": false }, "category": { "description": "Piirake tulemuste komplekt toodetega, millele on m\u00e4\u00e4ratud konkreetne kategooria ID.", "type": "string", "required": false }, "tag": { "description": "Piirake tulemuste komplekt toodetega, millele on m\u00e4\u00e4ratud konkreetne sildi ID.", "type": "string", "required": false }, "shipping_class": { "description": "Piirake tulemuse komplekt toodetele, millele on m\u00e4\u00e4ratud konkreetne tarneklassi ID.", "type": "string", "required": false }, "attribute": { "description": "Piirake tulemuste komplekt konkreetse atribuudiga toodetega. Kasutage taksonoomia nime\/atribuuti slug.", "type": "string", "required": false }, "attribute_term": { "description": "Piirake tulemuste komplekt toodetega, millel on spetsiifiline atribuuditermin ID (vajalik on m\u00e4\u00e4ratud atribuut).", "type": "string", "required": false }, "in_stock": { "description": "Piirake tulemusi laos olevatele v\u00f5i laost otsas olevatele toodetele.", "type": "boolean", "required": false }, "on_sale": { "description": "Piirake tulemuste komplekt m\u00fc\u00fcgil olevatele toodetele.", "type": "boolean", "required": false }, "min_price": { "description": "Piirake tulemuse komplekt toodetega miinimumhinna alusel.", "type": "string", "required": false }, "max_price": { "description": "Piirake tulemuse seatud toodetele maksimaalse hinna alusel.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Piirake meta_andmed konkreetsete v\u00f5tmetega.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Veenduge, et meta_andmed v\u00e4listaks teatud v\u00f5tmed.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Toote nimi.", "type": "string", "required": false }, "slug": { "description": "Toode n\u00e4lkjas.", "type": "string", "required": false }, "type": { "default": "simple", "description": "Toote t\u00fc\u00fcp.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "default": "publish", "description": "Toote staatus (postituse staatus).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false }, "featured": { "default": false, "description": "Esilet\u00f5stetud toode.", "type": "boolean", "required": false }, "catalog_visibility": { "default": "visible", "description": "N\u00e4htavus kataloogis.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Toote kirjeldus.", "type": "string", "required": false }, "short_description": { "description": "Toote l\u00fchikirjeldus.", "type": "string", "required": false }, "sku": { "description": "Unikaalne identifikaator.", "type": "string", "required": false }, "regular_price": { "description": "Toote tavahind.", "type": "string", "required": false }, "sale_price": { "description": "Toote soodushind.", "type": "string", "required": false }, "date_on_sale_from": { "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev, GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "M\u00fc\u00fcgihinna l\u00f5ppkuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Soodushinna kehtivuse l\u00f5pukuup\u00e4ev GMT kujul.", "type": [ "null", "string" ], "required": false }, "virtual": { "default": false, "description": "Kas toode on virtuaalne.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Kas toode on alla laaditav.", "type": "boolean", "required": false }, "downloads": { "description": "Allalaaditavate failide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faili ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faili nimi.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faili URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Allalaaditavate failide allalaadimiste arv p\u00e4rast ostmist.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "P\u00e4evade arv, kuni juurdep\u00e4\u00e4s allalaaditavatele failidele aegub.", "type": "integer", "required": false }, "external_url": { "description": "Toote v\u00e4line URL. Ainult v\u00e4listele toodetele.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Toote v\u00e4lise nupu tekst. Ainult v\u00e4listele toodetele.", "type": "string", "required": false }, "tax_status": { "default": "taxable", "description": "Maksustaatus.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Maksuklass.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Laohaldus toote tasemel.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Lao kogus.", "type": "integer", "required": false }, "in_stock": { "default": true, "description": "M\u00e4\u00e4rab, kas toode on v\u00f5i ei ole poe avalikus osas m\u00e4rgitud kui \"laos\" v\u00f5i \"otsas\".", "type": "boolean", "required": false }, "backorders": { "default": "no", "description": "Laoseisu haldamisel kontrollib see, kas j\u00e4reltellimused on lubatud.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "sold_individually": { "default": false, "description": "Luba \u00fches tellimuses osta vaid \u00fcks eksemplar.", "type": "boolean", "required": false }, "weight": { "description": "Toote kaal (kg).", "type": "string", "required": false }, "dimensions": { "description": "Toote m\u00f5\u00f5tmed.", "type": "object", "properties": { "length": { "description": "Toote pikkus (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Toote laius (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Toote k\u00f5rgus (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Saatmisklassi n\u00e4lkjas.", "type": "string", "required": false }, "reviews_allowed": { "default": true, "description": "Luba arvustused.", "type": "boolean", "required": false }, "upsell_ids": { "description": "\u00dclesm\u00fc\u00fcgi toodete ID-de nimekiri.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Ristm\u00fc\u00fcgi toodete ID-de nimekiri.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "\u00dclemtoote ID.", "type": "integer", "required": false }, "purchase_note": { "description": "Soovi korral kliendile peale ostu saadetav teade.", "type": "string", "required": false }, "categories": { "description": "Kategooriate nimekiri.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kategooria ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Kategooria nimi.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Kategooria p\u00fcsiviide.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Siltide nimekiri.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Sildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Sildi nimi.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Sildi p\u00fcsiviide.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Piltide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Kujutise loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Kujutise viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Pildi positsioon. 0 t\u00e4hendab tunnuspilti.", "type": "integer", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Atribuutide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atribuudi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atribuudi nimi.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Omaduse positsioon.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "M\u00e4\u00e4rab omaduse n\u00e4htavuse tootelehel olevas \"Lisainfo\" sakis.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "M\u00e4\u00e4ra, kas omadust v\u00f5ib kasutada variatsioonideks.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Omaduse olemasolevate terminite nimetuste loend.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "string" } } } }, "required": false }, "default_attributes": { "description": "Vaikimisi aktiivse variatsiooni omadused.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atribuudi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atribuudi nimi.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Valitud atribuudi termini nimi.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "grouped_products": { "description": "Grupeeritud toodete ID-de nimekiri.", "type": "array", "items": { "type": "integer" }, "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse toodete kohandatud sorteerimiseks.", "type": "integer", "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "supplier_id": { "description": "The ID of the ATUM Supplier that is linked to the product.", "type": "integer", "required": false }, "supplier_sku": { "description": "The Supplier's SKU for the product.", "type": "string", "required": false }, "barcode": { "description": "The product's barcode.", "type": "string", "required": false }, "atum_controlled": { "default": false, "description": "Whether the product is being controlled by ATUM.", "type": "boolean", "required": false }, "out_stock_date": { "description": "The date when the product run out of stock.", "type": [ "null", "string" ], "required": false }, "out_stock_threshold": { "description": "Out of stock threshold at product level.", "type": "number", "required": false }, "inheritable": { "default": false, "description": "Whether this product may have children.", "type": "boolean", "required": false }, "inbound_stock": { "description": "Product's inbound stock.", "type": "number", "required": false }, "stock_on_hold": { "description": "Product's stock on hold.", "type": "number", "required": false }, "sold_today": { "description": "Units sold today.", "type": "number", "required": false }, "sales_last_days": { "description": "Sales the last 14 days.", "type": "number", "required": false }, "reserved_stock": { "description": "Stock set as 'reserved_stock' within Inventory Logs.", "type": "number", "required": false }, "customer_returns": { "description": "Stock set as 'customer returns' within Inventory Logs.", "type": "number", "required": false }, "warehouse_damage": { "description": "Stock set as 'warehouse damage' within Inventory Logs.", "type": "number", "required": false }, "lost_in_post": { "description": "Stock set as 'lost in post' within Inventory Logs.", "type": "number", "required": false }, "other_logs": { "description": "Stock set as 'other' within Inventory Logs.", "type": "number", "required": false }, "out_stock_days": { "description": "The number of days that the product is Out of stock.", "type": "integer", "required": false }, "lost_sales": { "description": "Product lost sales.", "type": "number", "required": false }, "has_location": { "description": "Whether the product has any ATUM location set.", "type": "boolean", "required": false }, "update_date": { "description": "Last date when the ATUM product data was calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "atum_locations": { "description": "List of ATUM locations linked to the product.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Location ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Location name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Location slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "atum_stock_status": { "description": "Used to store the stock status (same as WC) but both values may differ for MI enable products.", "type": "string", "required": false }, "restock_status": { "description": "Indicates whether the stock will last soon and should be reordered.", "type": "boolean", "required": false }, "sales_update_date": { "description": "Last date when the sales fields on ATUM product data were calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "calc_backorders": { "description": "Backordered items (if backorders is enabled and it has a negative stock value).", "type": "number", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "name": { "description": "Toote nimi.", "type": "string", "required": false }, "slug": { "description": "Toode n\u00e4lkjas.", "type": "string", "required": false }, "type": { "description": "Toote t\u00fc\u00fcp.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "description": "Toote staatus (postituse staatus).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false }, "featured": { "description": "Esilet\u00f5stetud toode.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "N\u00e4htavus kataloogis.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Toote kirjeldus.", "type": "string", "required": false }, "short_description": { "description": "Toote l\u00fchikirjeldus.", "type": "string", "required": false }, "sku": { "description": "Unikaalne identifikaator.", "type": "string", "required": false }, "regular_price": { "description": "Toote tavahind.", "type": "string", "required": false }, "sale_price": { "description": "Toote soodushind.", "type": "string", "required": false }, "date_on_sale_from": { "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev, GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "M\u00fc\u00fcgihinna l\u00f5ppkuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Soodushinna kehtivuse l\u00f5pukuup\u00e4ev GMT kujul.", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "Kas toode on virtuaalne.", "type": "boolean", "required": false }, "downloadable": { "description": "Kas toode on alla laaditav.", "type": "boolean", "required": false }, "downloads": { "description": "Allalaaditavate failide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faili ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faili nimi.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faili URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Allalaaditavate failide allalaadimiste arv p\u00e4rast ostmist.", "type": "integer", "required": false }, "download_expiry": { "description": "P\u00e4evade arv, kuni juurdep\u00e4\u00e4s allalaaditavatele failidele aegub.", "type": "integer", "required": false }, "external_url": { "description": "Toote v\u00e4line URL. Ainult v\u00e4listele toodetele.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Toote v\u00e4lise nupu tekst. Ainult v\u00e4listele toodetele.", "type": "string", "required": false }, "tax_status": { "description": "Maksustaatus.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Maksuklass.", "type": "string", "required": false }, "manage_stock": { "description": "Laohaldus toote tasemel.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Lao kogus.", "type": "integer", "required": false }, "in_stock": { "description": "M\u00e4\u00e4rab, kas toode on v\u00f5i ei ole poe avalikus osas m\u00e4rgitud kui \"laos\" v\u00f5i \"otsas\".", "type": "boolean", "required": false }, "backorders": { "description": "Laoseisu haldamisel kontrollib see, kas j\u00e4reltellimused on lubatud.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "sold_individually": { "description": "Luba \u00fches tellimuses osta vaid \u00fcks eksemplar.", "type": "boolean", "required": false }, "weight": { "description": "Toote kaal (kg).", "type": "string", "required": false }, "dimensions": { "description": "Toote m\u00f5\u00f5tmed.", "type": "object", "properties": { "length": { "description": "Toote pikkus (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Toote laius (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Toote k\u00f5rgus (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Saatmisklassi n\u00e4lkjas.", "type": "string", "required": false }, "reviews_allowed": { "description": "Luba arvustused.", "type": "boolean", "required": false }, "upsell_ids": { "description": "\u00dclesm\u00fc\u00fcgi toodete ID-de nimekiri.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Ristm\u00fc\u00fcgi toodete ID-de nimekiri.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "\u00dclemtoote ID.", "type": "integer", "required": false }, "purchase_note": { "description": "Soovi korral kliendile peale ostu saadetav teade.", "type": "string", "required": false }, "categories": { "description": "Kategooriate nimekiri.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kategooria ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Kategooria nimi.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Kategooria p\u00fcsiviide.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Siltide nimekiri.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Sildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Sildi nimi.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Sildi p\u00fcsiviide.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Piltide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Kujutise loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Kujutise viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Pildi positsioon. 0 t\u00e4hendab tunnuspilti.", "type": "integer", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Atribuutide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atribuudi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atribuudi nimi.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Omaduse positsioon.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "M\u00e4\u00e4rab omaduse n\u00e4htavuse tootelehel olevas \"Lisainfo\" sakis.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "M\u00e4\u00e4ra, kas omadust v\u00f5ib kasutada variatsioonideks.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Omaduse olemasolevate terminite nimetuste loend.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "string" } } } }, "required": false }, "default_attributes": { "description": "Vaikimisi aktiivse variatsiooni omadused.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atribuudi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atribuudi nimi.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Valitud atribuudi termini nimi.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "grouped_products": { "description": "Grupeeritud toodete ID-de nimekiri.", "type": "array", "items": { "type": "integer" }, "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse toodete kohandatud sorteerimiseks.", "type": "integer", "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "supplier_id": { "description": "The ID of the ATUM Supplier that is linked to the product.", "type": "integer", "required": false }, "supplier_sku": { "description": "The Supplier's SKU for the product.", "type": "string", "required": false }, "barcode": { "description": "The product's barcode.", "type": "string", "required": false }, "atum_controlled": { "description": "Whether the product is being controlled by ATUM.", "type": "boolean", "required": false }, "out_stock_date": { "description": "The date when the product run out of stock.", "type": [ "null", "string" ], "required": false }, "out_stock_threshold": { "description": "Out of stock threshold at product level.", "type": "number", "required": false }, "inheritable": { "description": "Whether this product may have children.", "type": "boolean", "required": false }, "inbound_stock": { "description": "Product's inbound stock.", "type": "number", "required": false }, "stock_on_hold": { "description": "Product's stock on hold.", "type": "number", "required": false }, "sold_today": { "description": "Units sold today.", "type": "number", "required": false }, "sales_last_days": { "description": "Sales the last 14 days.", "type": "number", "required": false }, "reserved_stock": { "description": "Stock set as 'reserved_stock' within Inventory Logs.", "type": "number", "required": false }, "customer_returns": { "description": "Stock set as 'customer returns' within Inventory Logs.", "type": "number", "required": false }, "warehouse_damage": { "description": "Stock set as 'warehouse damage' within Inventory Logs.", "type": "number", "required": false }, "lost_in_post": { "description": "Stock set as 'lost in post' within Inventory Logs.", "type": "number", "required": false }, "other_logs": { "description": "Stock set as 'other' within Inventory Logs.", "type": "number", "required": false }, "out_stock_days": { "description": "The number of days that the product is Out of stock.", "type": "integer", "required": false }, "lost_sales": { "description": "Product lost sales.", "type": "number", "required": false }, "has_location": { "description": "Whether the product has any ATUM location set.", "type": "boolean", "required": false }, "update_date": { "description": "Last date when the ATUM product data was calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "atum_locations": { "description": "List of ATUM locations linked to the product.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Location ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Location name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Location slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "atum_stock_status": { "description": "Used to store the stock status (same as WC) but both values may differ for MI enable products.", "type": "string", "required": false }, "restock_status": { "description": "Indicates whether the stock will last soon and should be reordered.", "type": "boolean", "required": false }, "sales_update_date": { "description": "Last date when the sales fields on ATUM product data were calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "calc_backorders": { "description": "Backordered items (if backorders is enabled and it has a negative stock value).", "type": "number", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "description": "Kas j\u00e4tta pr\u00fcgikast m\u00f6\u00f6da ja sundida kustutamist.", "type": "boolean", "required": false } } } ] }, "\/wc\/v2\/products\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Toote nimi.", "type": "string", "required": false }, "slug": { "description": "Toode n\u00e4lkjas.", "type": "string", "required": false }, "type": { "description": "Toote t\u00fc\u00fcp.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "description": "Toote staatus (postituse staatus).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false }, "featured": { "description": "Esilet\u00f5stetud toode.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "N\u00e4htavus kataloogis.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Toote kirjeldus.", "type": "string", "required": false }, "short_description": { "description": "Toote l\u00fchikirjeldus.", "type": "string", "required": false }, "sku": { "description": "Unikaalne identifikaator.", "type": "string", "required": false }, "regular_price": { "description": "Toote tavahind.", "type": "string", "required": false }, "sale_price": { "description": "Toote soodushind.", "type": "string", "required": false }, "date_on_sale_from": { "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev, GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "M\u00fc\u00fcgihinna l\u00f5ppkuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Soodushinna kehtivuse l\u00f5pukuup\u00e4ev GMT kujul.", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "Kas toode on virtuaalne.", "type": "boolean", "required": false }, "downloadable": { "description": "Kas toode on alla laaditav.", "type": "boolean", "required": false }, "downloads": { "description": "Allalaaditavate failide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faili ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faili nimi.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faili URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Allalaaditavate failide allalaadimiste arv p\u00e4rast ostmist.", "type": "integer", "required": false }, "download_expiry": { "description": "P\u00e4evade arv, kuni juurdep\u00e4\u00e4s allalaaditavatele failidele aegub.", "type": "integer", "required": false }, "external_url": { "description": "Toote v\u00e4line URL. Ainult v\u00e4listele toodetele.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Toote v\u00e4lise nupu tekst. Ainult v\u00e4listele toodetele.", "type": "string", "required": false }, "tax_status": { "description": "Maksustaatus.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Maksuklass.", "type": "string", "required": false }, "manage_stock": { "description": "Laohaldus toote tasemel.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Lao kogus.", "type": "integer", "required": false }, "in_stock": { "description": "M\u00e4\u00e4rab, kas toode on v\u00f5i ei ole poe avalikus osas m\u00e4rgitud kui \"laos\" v\u00f5i \"otsas\".", "type": "boolean", "required": false }, "backorders": { "description": "Laoseisu haldamisel kontrollib see, kas j\u00e4reltellimused on lubatud.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "sold_individually": { "description": "Luba \u00fches tellimuses osta vaid \u00fcks eksemplar.", "type": "boolean", "required": false }, "weight": { "description": "Toote kaal (kg).", "type": "string", "required": false }, "dimensions": { "description": "Toote m\u00f5\u00f5tmed.", "type": "object", "properties": { "length": { "description": "Toote pikkus (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Toote laius (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Toote k\u00f5rgus (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Saatmisklassi n\u00e4lkjas.", "type": "string", "required": false }, "reviews_allowed": { "description": "Luba arvustused.", "type": "boolean", "required": false }, "upsell_ids": { "description": "\u00dclesm\u00fc\u00fcgi toodete ID-de nimekiri.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Ristm\u00fc\u00fcgi toodete ID-de nimekiri.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "\u00dclemtoote ID.", "type": "integer", "required": false }, "purchase_note": { "description": "Soovi korral kliendile peale ostu saadetav teade.", "type": "string", "required": false }, "categories": { "description": "Kategooriate nimekiri.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kategooria ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Kategooria nimi.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Kategooria p\u00fcsiviide.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Siltide nimekiri.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Sildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Sildi nimi.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Sildi p\u00fcsiviide.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Piltide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Kujutise loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Kujutise viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Pildi positsioon. 0 t\u00e4hendab tunnuspilti.", "type": "integer", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Atribuutide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atribuudi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atribuudi nimi.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Omaduse positsioon.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "M\u00e4\u00e4rab omaduse n\u00e4htavuse tootelehel olevas \"Lisainfo\" sakis.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "M\u00e4\u00e4ra, kas omadust v\u00f5ib kasutada variatsioonideks.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Omaduse olemasolevate terminite nimetuste loend.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "string" } } } }, "required": false }, "default_attributes": { "description": "Vaikimisi aktiivse variatsiooni omadused.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atribuudi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atribuudi nimi.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Valitud atribuudi termini nimi.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "grouped_products": { "description": "Grupeeritud toodete ID-de nimekiri.", "type": "array", "items": { "type": "integer" }, "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse toodete kohandatud sorteerimiseks.", "type": "integer", "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "supplier_id": { "description": "The ID of the ATUM Supplier that is linked to the product.", "type": "integer", "required": false }, "supplier_sku": { "description": "The Supplier's SKU for the product.", "type": "string", "required": false }, "barcode": { "description": "The product's barcode.", "type": "string", "required": false }, "atum_controlled": { "description": "Whether the product is being controlled by ATUM.", "type": "boolean", "required": false }, "out_stock_date": { "description": "The date when the product run out of stock.", "type": [ "null", "string" ], "required": false }, "out_stock_threshold": { "description": "Out of stock threshold at product level.", "type": "number", "required": false }, "inheritable": { "description": "Whether this product may have children.", "type": "boolean", "required": false }, "inbound_stock": { "description": "Product's inbound stock.", "type": "number", "required": false }, "stock_on_hold": { "description": "Product's stock on hold.", "type": "number", "required": false }, "sold_today": { "description": "Units sold today.", "type": "number", "required": false }, "sales_last_days": { "description": "Sales the last 14 days.", "type": "number", "required": false }, "reserved_stock": { "description": "Stock set as 'reserved_stock' within Inventory Logs.", "type": "number", "required": false }, "customer_returns": { "description": "Stock set as 'customer returns' within Inventory Logs.", "type": "number", "required": false }, "warehouse_damage": { "description": "Stock set as 'warehouse damage' within Inventory Logs.", "type": "number", "required": false }, "lost_in_post": { "description": "Stock set as 'lost in post' within Inventory Logs.", "type": "number", "required": false }, "other_logs": { "description": "Stock set as 'other' within Inventory Logs.", "type": "number", "required": false }, "out_stock_days": { "description": "The number of days that the product is Out of stock.", "type": "integer", "required": false }, "lost_sales": { "description": "Product lost sales.", "type": "number", "required": false }, "has_location": { "description": "Whether the product has any ATUM location set.", "type": "boolean", "required": false }, "update_date": { "description": "Last date when the ATUM product data was calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "atum_locations": { "description": "List of ATUM locations linked to the product.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Location ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Location name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Location slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "atum_stock_status": { "description": "Used to store the stock status (same as WC) but both values may differ for MI enable products.", "type": "string", "required": false }, "restock_status": { "description": "Indicates whether the stock will last soon and should be reordered.", "type": "boolean", "required": false }, "sales_update_date": { "description": "Last date when the sales fields on ATUM product data were calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "calc_backorders": { "description": "Backordered items (if backorders is enabled and it has a negative stock value).", "type": "number", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v2\/products\/batch" } ] } }, "\/wc\/v2\/products\/(?P[\\d]+)\/related": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false } } } ] }, "\/wc\/v2\/products\/(?P[\\d]+)\/variations": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "description": "Varieeruva toote unikaalne identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piirake tulemusi nendega, mis vastavad stringile.", "type": "string", "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to products modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to products modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "menu_order" ], "required": false }, "parent": { "description": "Piirake tulemuste komplekt konkreetsete vanemate ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Piirake tulemuste komplekti k\u00f5igi \u00fcksustega, v\u00e4lja arvatud konkreetse \u00fclem-ID \u00fcksustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "atum_post_status": { "description": "Limit response to products to the specified statuses. This param supports multiple statuses separated by commas.", "type": "string", "required": false }, "slug": { "description": "Piirake tulemuste komplekt konkreetse n\u00e4lkjaga toodetega.", "type": "string", "required": false }, "status": { "default": "any", "description": "Piirake tulemuste komplekt toodetele, millele on m\u00e4\u00e4ratud konkreetne olek.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "Piirake tulemuste komplekt toodetele, millele on m\u00e4\u00e4ratud kindel t\u00fc\u00fcp.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "sku": { "description": "Piirake tulemuste komplekt konkreetsete SKU-dega toodetega. Kasutage eraldamiseks komasid.", "type": "string", "required": false }, "featured": { "description": "Piirake tulemuste komplekt esiletoodud toodetega.", "type": "boolean", "required": false }, "category": { "description": "Piirake tulemuste komplekt toodetega, millele on m\u00e4\u00e4ratud konkreetne kategooria ID.", "type": "string", "required": false }, "tag": { "description": "Piirake tulemuste komplekt toodetega, millele on m\u00e4\u00e4ratud konkreetne sildi ID.", "type": "string", "required": false }, "shipping_class": { "description": "Piirake tulemuse komplekt toodetele, millele on m\u00e4\u00e4ratud konkreetne tarneklassi ID.", "type": "string", "required": false }, "attribute": { "description": "Piirake tulemuste komplekt konkreetse atribuudiga toodetega. Kasutage taksonoomia nime\/atribuuti slug.", "type": "string", "required": false }, "attribute_term": { "description": "Piirake tulemuste komplekt toodetega, millel on spetsiifiline atribuuditermin ID (vajalik on m\u00e4\u00e4ratud atribuut).", "type": "string", "required": false }, "in_stock": { "description": "Piirake tulemusi laos olevatele v\u00f5i laost otsas olevatele toodetele.", "type": "boolean", "required": false }, "on_sale": { "description": "Piirake tulemuste komplekt m\u00fc\u00fcgil olevatele toodetele.", "type": "boolean", "required": false }, "min_price": { "description": "Piirake tulemuse komplekt toodetega miinimumhinna alusel.", "type": "string", "required": false }, "max_price": { "description": "Piirake tulemuse seatud toodetele maksimaalse hinna alusel.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Piirake meta_andmed konkreetsete v\u00f5tmetega.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Veenduge, et meta_andmed v\u00e4listaks teatud v\u00f5tmed.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Varieeruva toote unikaalne identifikaator.", "type": "integer", "required": false }, "description": { "description": "Variatsiooni kirjeldus.", "type": "string", "required": false }, "sku": { "description": "Unikaalne identifikaator.", "type": "string", "required": false }, "regular_price": { "description": "Muutuv tavahind.", "type": "string", "required": false }, "sale_price": { "description": "Erinev m\u00fc\u00fcgihind.", "type": "string", "required": false }, "date_on_sale_from": { "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev, GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "M\u00fc\u00fcgihinna l\u00f5ppkuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Soodushinna kehtivuse l\u00f5pukuup\u00e4ev GMT kujul.", "type": [ "null", "string" ], "required": false }, "visible": { "default": true, "description": "M\u00e4\u00e4ra, kas see variatsioon on toote lehel n\u00e4htav.", "type": "boolean", "required": false }, "virtual": { "default": false, "description": "Kui variatsioon on virtuaalne.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Kui variatsioon on allalaaditav.", "type": "boolean", "required": false }, "downloads": { "description": "Allalaaditavate failide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faili ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faili nimi.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faili URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Allalaaditavate failide allalaadimiste arv p\u00e4rast ostmist.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "P\u00e4evade arv, kuni juurdep\u00e4\u00e4s allalaaditavatele failidele aegub.", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "Maksustaatus.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Maksuklass.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Varude haldamine variatsiooni tasemel.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false }, "stock_quantity": { "description": "Lao kogus.", "type": "integer", "required": false }, "in_stock": { "default": true, "description": "M\u00e4\u00e4rab, kas variatsiooni n\u00e4idatakse veebipoes kui \"laos\" v\u00f5i \"laost otsas\".", "type": "boolean", "required": false }, "backorders": { "default": "no", "description": "Laoseisu haldamisel kontrollib see, kas j\u00e4reltellimused on lubatud.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "weight": { "description": "Variatsiooni kaal (kg).", "type": "string", "required": false }, "dimensions": { "description": "Variatsiooni m\u00f5\u00f5tmed.", "type": "object", "properties": { "length": { "description": "Variatsiooni pikkus (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Variatsioonilaius (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Variatsioonik\u00f5rgus (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Saatmisklassi n\u00e4lkjas.", "type": "string", "required": false }, "image": { "description": "Variatsioonipildi andmed.", "type": "object", "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Kujutise loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Kujutise viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Pildi positsioon. 0 t\u00e4hendab tunnuspilti.", "type": "integer", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Atribuutide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atribuudi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atribuudi nimi.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Valitud atribuudi termini nimi.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse toodete kohandatud sorteerimiseks.", "type": "integer", "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "supplier_id": { "description": "The ID of the ATUM Supplier that is linked to the product.", "type": "integer", "required": false }, "supplier_sku": { "description": "The Supplier's SKU for the product.", "type": "string", "required": false }, "barcode": { "description": "The product's barcode.", "type": "string", "required": false }, "atum_controlled": { "default": false, "description": "Whether the product is being controlled by ATUM.", "type": "boolean", "required": false }, "out_stock_date": { "description": "The date when the product run out of stock.", "type": [ "null", "string" ], "required": false }, "out_stock_threshold": { "description": "Out of stock threshold at product level.", "type": "number", "required": false }, "inbound_stock": { "description": "Product's inbound stock.", "type": "number", "required": false }, "stock_on_hold": { "description": "Product's stock on hold.", "type": "number", "required": false }, "sold_today": { "description": "Units sold today.", "type": "number", "required": false }, "sales_last_days": { "description": "Sales the last 14 days.", "type": "number", "required": false }, "reserved_stock": { "description": "Stock set as 'reserved_stock' within Inventory Logs.", "type": "number", "required": false }, "customer_returns": { "description": "Stock set as 'customer returns' within Inventory Logs.", "type": "number", "required": false }, "warehouse_damage": { "description": "Stock set as 'warehouse damage' within Inventory Logs.", "type": "number", "required": false }, "lost_in_post": { "description": "Stock set as 'lost in post' within Inventory Logs.", "type": "number", "required": false }, "other_logs": { "description": "Stock set as 'other' within Inventory Logs.", "type": "number", "required": false }, "out_stock_days": { "description": "The number of days that the product is Out of stock.", "type": "integer", "required": false }, "lost_sales": { "description": "Product lost sales.", "type": "number", "required": false }, "update_date": { "description": "Last date when the ATUM product data was calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "atum_stock_status": { "description": "Used to store the stock status (same as WC) but both values may differ for MI enable products.", "type": "string", "required": false }, "restock_status": { "description": "Indicates whether the stock will last soon and should be reordered.", "type": "boolean", "required": false }, "sales_update_date": { "description": "Last date when the sales fields on ATUM product data were calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "calc_backorders": { "description": "Backordered items (if backorders is enabled and it has a negative stock value).", "type": "number", "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": "Varieeruva toote unikaalne identifikaator.", "type": "integer", "required": false }, "id": { "description": "Variatsiooni unikaalne identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Varieeruva toote unikaalne identifikaator.", "type": "integer", "required": false }, "id": { "description": "Variatsiooni unikaalne identifikaator.", "type": "integer", "required": false }, "description": { "description": "Variatsiooni kirjeldus.", "type": "string", "required": false }, "sku": { "description": "Unikaalne identifikaator.", "type": "string", "required": false }, "regular_price": { "description": "Muutuv tavahind.", "type": "string", "required": false }, "sale_price": { "description": "Erinev m\u00fc\u00fcgihind.", "type": "string", "required": false }, "date_on_sale_from": { "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev, GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "M\u00fc\u00fcgihinna l\u00f5ppkuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Soodushinna kehtivuse l\u00f5pukuup\u00e4ev GMT kujul.", "type": [ "null", "string" ], "required": false }, "visible": { "description": "M\u00e4\u00e4ra, kas see variatsioon on toote lehel n\u00e4htav.", "type": "boolean", "required": false }, "virtual": { "description": "Kui variatsioon on virtuaalne.", "type": "boolean", "required": false }, "downloadable": { "description": "Kui variatsioon on allalaaditav.", "type": "boolean", "required": false }, "downloads": { "description": "Allalaaditavate failide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faili ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faili nimi.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faili URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Allalaaditavate failide allalaadimiste arv p\u00e4rast ostmist.", "type": "integer", "required": false }, "download_expiry": { "description": "P\u00e4evade arv, kuni juurdep\u00e4\u00e4s allalaaditavatele failidele aegub.", "type": "integer", "required": false }, "tax_status": { "description": "Maksustaatus.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Maksuklass.", "type": "string", "required": false }, "manage_stock": { "description": "Varude haldamine variatsiooni tasemel.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false }, "stock_quantity": { "description": "Lao kogus.", "type": "integer", "required": false }, "in_stock": { "description": "M\u00e4\u00e4rab, kas variatsiooni n\u00e4idatakse veebipoes kui \"laos\" v\u00f5i \"laost otsas\".", "type": "boolean", "required": false }, "backorders": { "description": "Laoseisu haldamisel kontrollib see, kas j\u00e4reltellimused on lubatud.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "weight": { "description": "Variatsiooni kaal (kg).", "type": "string", "required": false }, "dimensions": { "description": "Variatsiooni m\u00f5\u00f5tmed.", "type": "object", "properties": { "length": { "description": "Variatsiooni pikkus (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Variatsioonilaius (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Variatsioonik\u00f5rgus (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Saatmisklassi n\u00e4lkjas.", "type": "string", "required": false }, "image": { "description": "Variatsioonipildi andmed.", "type": "object", "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Kujutise loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Kujutise viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Pildi positsioon. 0 t\u00e4hendab tunnuspilti.", "type": "integer", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Atribuutide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atribuudi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atribuudi nimi.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Valitud atribuudi termini nimi.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse toodete kohandatud sorteerimiseks.", "type": "integer", "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "supplier_id": { "description": "The ID of the ATUM Supplier that is linked to the product.", "type": "integer", "required": false }, "supplier_sku": { "description": "The Supplier's SKU for the product.", "type": "string", "required": false }, "barcode": { "description": "The product's barcode.", "type": "string", "required": false }, "atum_controlled": { "description": "Whether the product is being controlled by ATUM.", "type": "boolean", "required": false }, "out_stock_date": { "description": "The date when the product run out of stock.", "type": [ "null", "string" ], "required": false }, "out_stock_threshold": { "description": "Out of stock threshold at product level.", "type": "number", "required": false }, "inbound_stock": { "description": "Product's inbound stock.", "type": "number", "required": false }, "stock_on_hold": { "description": "Product's stock on hold.", "type": "number", "required": false }, "sold_today": { "description": "Units sold today.", "type": "number", "required": false }, "sales_last_days": { "description": "Sales the last 14 days.", "type": "number", "required": false }, "reserved_stock": { "description": "Stock set as 'reserved_stock' within Inventory Logs.", "type": "number", "required": false }, "customer_returns": { "description": "Stock set as 'customer returns' within Inventory Logs.", "type": "number", "required": false }, "warehouse_damage": { "description": "Stock set as 'warehouse damage' within Inventory Logs.", "type": "number", "required": false }, "lost_in_post": { "description": "Stock set as 'lost in post' within Inventory Logs.", "type": "number", "required": false }, "other_logs": { "description": "Stock set as 'other' within Inventory Logs.", "type": "number", "required": false }, "out_stock_days": { "description": "The number of days that the product is Out of stock.", "type": "integer", "required": false }, "lost_sales": { "description": "Product lost sales.", "type": "number", "required": false }, "update_date": { "description": "Last date when the ATUM product data was calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "atum_stock_status": { "description": "Used to store the stock status (same as WC) but both values may differ for MI enable products.", "type": "string", "required": false }, "restock_status": { "description": "Indicates whether the stock will last soon and should be reordered.", "type": "boolean", "required": false }, "sales_update_date": { "description": "Last date when the sales fields on ATUM product data were calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "calc_backorders": { "description": "Backordered items (if backorders is enabled and it has a negative stock value).", "type": "number", "required": false } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "description": "Varieeruva toote unikaalne identifikaator.", "type": "integer", "required": false }, "id": { "description": "Variatsiooni unikaalne identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Kas j\u00e4tta pr\u00fcgikast m\u00f6\u00f6da ja sundida kustutamist.", "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": "Varieeruva toote unikaalne identifikaator.", "type": "integer", "required": false }, "description": { "description": "Variatsiooni kirjeldus.", "type": "string", "required": false }, "sku": { "description": "Unikaalne identifikaator.", "type": "string", "required": false }, "regular_price": { "description": "Muutuv tavahind.", "type": "string", "required": false }, "sale_price": { "description": "Erinev m\u00fc\u00fcgihind.", "type": "string", "required": false }, "date_on_sale_from": { "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev, GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "M\u00fc\u00fcgihinna l\u00f5ppkuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Soodushinna kehtivuse l\u00f5pukuup\u00e4ev GMT kujul.", "type": [ "null", "string" ], "required": false }, "visible": { "description": "M\u00e4\u00e4ra, kas see variatsioon on toote lehel n\u00e4htav.", "type": "boolean", "required": false }, "virtual": { "description": "Kui variatsioon on virtuaalne.", "type": "boolean", "required": false }, "downloadable": { "description": "Kui variatsioon on allalaaditav.", "type": "boolean", "required": false }, "downloads": { "description": "Allalaaditavate failide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faili ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faili nimi.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faili URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Allalaaditavate failide allalaadimiste arv p\u00e4rast ostmist.", "type": "integer", "required": false }, "download_expiry": { "description": "P\u00e4evade arv, kuni juurdep\u00e4\u00e4s allalaaditavatele failidele aegub.", "type": "integer", "required": false }, "tax_status": { "description": "Maksustaatus.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Maksuklass.", "type": "string", "required": false }, "manage_stock": { "description": "Varude haldamine variatsiooni tasemel.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false }, "stock_quantity": { "description": "Lao kogus.", "type": "integer", "required": false }, "in_stock": { "description": "M\u00e4\u00e4rab, kas variatsiooni n\u00e4idatakse veebipoes kui \"laos\" v\u00f5i \"laost otsas\".", "type": "boolean", "required": false }, "backorders": { "description": "Laoseisu haldamisel kontrollib see, kas j\u00e4reltellimused on lubatud.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "weight": { "description": "Variatsiooni kaal (kg).", "type": "string", "required": false }, "dimensions": { "description": "Variatsiooni m\u00f5\u00f5tmed.", "type": "object", "properties": { "length": { "description": "Variatsiooni pikkus (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Variatsioonilaius (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Variatsioonik\u00f5rgus (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Saatmisklassi n\u00e4lkjas.", "type": "string", "required": false }, "image": { "description": "Variatsioonipildi andmed.", "type": "object", "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Kujutise loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Kujutise viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Pildi positsioon. 0 t\u00e4hendab tunnuspilti.", "type": "integer", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Atribuutide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atribuudi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atribuudi nimi.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Valitud atribuudi termini nimi.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse toodete kohandatud sorteerimiseks.", "type": "integer", "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "supplier_id": { "description": "The ID of the ATUM Supplier that is linked to the product.", "type": "integer", "required": false }, "supplier_sku": { "description": "The Supplier's SKU for the product.", "type": "string", "required": false }, "barcode": { "description": "The product's barcode.", "type": "string", "required": false }, "atum_controlled": { "description": "Whether the product is being controlled by ATUM.", "type": "boolean", "required": false }, "out_stock_date": { "description": "The date when the product run out of stock.", "type": [ "null", "string" ], "required": false }, "out_stock_threshold": { "description": "Out of stock threshold at product level.", "type": "number", "required": false }, "inbound_stock": { "description": "Product's inbound stock.", "type": "number", "required": false }, "stock_on_hold": { "description": "Product's stock on hold.", "type": "number", "required": false }, "sold_today": { "description": "Units sold today.", "type": "number", "required": false }, "sales_last_days": { "description": "Sales the last 14 days.", "type": "number", "required": false }, "reserved_stock": { "description": "Stock set as 'reserved_stock' within Inventory Logs.", "type": "number", "required": false }, "customer_returns": { "description": "Stock set as 'customer returns' within Inventory Logs.", "type": "number", "required": false }, "warehouse_damage": { "description": "Stock set as 'warehouse damage' within Inventory Logs.", "type": "number", "required": false }, "lost_in_post": { "description": "Stock set as 'lost in post' within Inventory Logs.", "type": "number", "required": false }, "other_logs": { "description": "Stock set as 'other' within Inventory Logs.", "type": "number", "required": false }, "out_stock_days": { "description": "The number of days that the product is Out of stock.", "type": "integer", "required": false }, "lost_sales": { "description": "Product lost sales.", "type": "number", "required": false }, "update_date": { "description": "Last date when the ATUM product data was calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "atum_stock_status": { "description": "Used to store the stock status (same as WC) but both values may differ for MI enable products.", "type": "string", "required": false }, "restock_status": { "description": "Indicates whether the stock will last soon and should be reordered.", "type": "boolean", "required": false }, "sales_update_date": { "description": "Last date when the sales fields on ATUM product data were calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "calc_backorders": { "description": "Backordered items (if backorders is enabled and it has a negative stock value).", "type": "number", "required": false } } } ] }, "\/wc\/v2\/reports\/sales": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "period": { "description": "Raporti ajavahemik.", "type": "string", "enum": [ "week", "month", "last_month", "year" ], "required": false }, "date_min": { "description": "Anna m\u00fc\u00fck alates kindlast kuup\u00e4evast, kuup\u00e4ev peab olema formaadis YYYY-MM-DD.", "type": "string", "format": "date", "required": false }, "date_max": { "description": "Anna m\u00fc\u00fck kuni kindla kuup\u00e4evani, kuup\u00e4ev peab olema formaadis YYYY-MM-DD.", "type": "string", "format": "date", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v2\/reports\/sales" } ] } }, "\/wc\/v2\/reports\/top_sellers": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "period": { "description": "Raporti ajavahemik.", "type": "string", "enum": [ "week", "month", "last_month", "year" ], "required": false }, "date_min": { "description": "Anna m\u00fc\u00fck alates kindlast kuup\u00e4evast, kuup\u00e4ev peab olema formaadis YYYY-MM-DD.", "type": "string", "format": "date", "required": false }, "date_max": { "description": "Anna m\u00fc\u00fck kuni kindla kuup\u00e4evani, kuup\u00e4ev peab olema formaadis YYYY-MM-DD.", "type": "string", "format": "date", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v2\/reports\/top_sellers" } ] } }, "\/wc\/v2\/reports": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v2\/reports" } ] } }, "\/wc\/v2\/settings": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v2\/settings" } ] } }, "\/wc\/v2\/settings\/(?P[\\w-]+)": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "group": { "description": "Seadete r\u00fchma ID.", "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": "Seadete r\u00fchma ID.", "type": "string", "required": false }, "value": { "description": "S\u00e4tte v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false } } } ] }, "\/wc\/v2\/settings\/(?P[\\w-]+)\/(?P[\\w-]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "group": { "description": "Seadete r\u00fchma ID.", "type": "string", "required": false }, "id": { "description": "Ressursi kordumatu identifikaator.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "description": "Seadete r\u00fchma ID.", "type": "string", "required": false }, "id": { "description": "Ressursi kordumatu identifikaator.", "type": "string", "required": false }, "value": { "description": "S\u00e4tte v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false } } } ] }, "\/wc\/v2\/shipping\/zones": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Tarnetsooni nimi.", "required": true }, "order": { "description": "Tarnetsooni j\u00e4rjekorranumber.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Ressursi unikaalne ID.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi unikaalne ID.", "type": "integer", "required": false }, "name": { "description": "Tarnetsooni nimi.", "type": "string", "required": false }, "order": { "description": "Tarnetsooni j\u00e4rjekorranumber.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi unikaalne ID.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Kas j\u00e4tta pr\u00fcgikast m\u00f6\u00f6da ja sundida kustutamist.", "required": false } } } ] }, "\/wc\/v2\/shipping\/zones\/(?P[\\d]+)\/locations": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Ressursi unikaalne ID.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi unikaalne ID.", "type": "integer", "required": false }, "code": { "description": "Tarnetsooni asukoha kood.", "type": "string", "required": false }, "type": { "description": "Tarnetsooni asukoha t\u00fc\u00fcp.", "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": "Tsooni unikaalne ID.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "zone_id": { "description": "Tsooni unikaalne ID.", "type": "integer", "required": false }, "order": { "description": "Tarnemeetodi asetus sorteerimisel.", "type": "integer", "required": false }, "enabled": { "description": "Tarnemeetodi aktiveerituse olek.", "type": "boolean", "required": false }, "settings": { "description": "Tarnemeetodi s\u00e4tted.", "type": "object", "properties": { "id": { "description": "S\u00e4tte unikaalne tunnus.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Inimesele loetav s\u00e4tte nimetus kasutajaliidestes.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "description": { "description": "Inimesele loetav s\u00e4tte kirjeldus kasutajaliidestes.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "type": { "description": "S\u00e4tte t\u00fc\u00fcp.", "type": "string", "context": [ "view", "edit" ], "enum": [ "text", "email", "number", "color", "password", "textarea", "select", "multiselect", "radio", "image_width", "checkbox" ], "readonly": true }, "value": { "description": "S\u00e4tte v\u00e4\u00e4rtus.", "type": "string", "context": [ "view", "edit" ] }, "default": { "description": "S\u00e4tte vaikev\u00e4\u00e4rtus.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "tip": { "description": "Kasutajatele n\u00e4idatav s\u00e4tte lisainfo tekst.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "placeholder": { "description": "Tekstisisendi t\u00fc\u00fcpi v\u00e4ljadel kasutatav kohat\u00e4ide.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "method_id": { "description": "Saatmisviisi ID.", "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": "Tsooni unikaalne ID.", "type": "integer", "required": false }, "instance_id": { "description": "Instantsi unikaalne ID.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "zone_id": { "description": "Tsooni unikaalne ID.", "type": "integer", "required": false }, "instance_id": { "description": "Instantsi unikaalne ID.", "type": "integer", "required": false }, "order": { "description": "Tarnemeetodi asetus sorteerimisel.", "type": "integer", "required": false }, "enabled": { "description": "Tarnemeetodi aktiveerituse olek.", "type": "boolean", "required": false }, "settings": { "description": "Tarnemeetodi s\u00e4tted.", "type": "object", "properties": { "id": { "description": "S\u00e4tte unikaalne tunnus.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Inimesele loetav s\u00e4tte nimetus kasutajaliidestes.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "description": { "description": "Inimesele loetav s\u00e4tte kirjeldus kasutajaliidestes.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "type": { "description": "S\u00e4tte t\u00fc\u00fcp.", "type": "string", "context": [ "view", "edit" ], "enum": [ "text", "email", "number", "color", "password", "textarea", "select", "multiselect", "radio", "image_width", "checkbox" ], "readonly": true }, "value": { "description": "S\u00e4tte v\u00e4\u00e4rtus.", "type": "string", "context": [ "view", "edit" ] }, "default": { "description": "S\u00e4tte vaikev\u00e4\u00e4rtus.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "tip": { "description": "Kasutajatele n\u00e4idatav s\u00e4tte lisainfo tekst.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "placeholder": { "description": "Tekstisisendi t\u00fc\u00fcpi v\u00e4ljadel kasutatav kohat\u00e4ide.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "zone_id": { "description": "Tsooni unikaalne ID.", "type": "integer", "required": false }, "instance_id": { "description": "Instantsi unikaalne ID.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Kas j\u00e4tta pr\u00fcgikast m\u00f6\u00f6da ja sundida kustutamist.", "required": false } } } ] }, "\/wc\/v2\/taxes\/classes": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Maksuklassi nimi.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v2\/taxes\/classes" } ] } }, "\/wc\/v2\/taxes\/classes\/(?P\\w[\\w\\s\\-]*)": { "namespace": "wc\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "description": "Ressursi unikaalne p\u00fcsiviite t\u00fcvi.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "slug": { "description": "Ressursi unikaalne p\u00fcsiviite t\u00fcvi.", "type": "string", "required": false }, "force": { "default": false, "type": "boolean", "description": "N\u00f5utav, et see oleks t\u00f5ene, kuna ressurss ei toeta pr\u00fcgikasti viimist.", "required": false } } } ] }, "\/wc\/v2\/taxes": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "order", "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "enum": [ "id", "order", "priority" ], "type": "string", "required": false }, "class": { "description": "Sorteeri maksuklassi j\u00e4rgi.", "enum": [ "standard", "reduced-rate", "zero-rate" ], "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "country": { "description": "Riigi ISO 3166 kood.", "type": "string", "required": false }, "state": { "description": "Osariigi\/maakonna kood.", "type": "string", "required": false }, "postcode": { "description": "Postiindeks \/ sihtnumber.", "type": "string", "required": false }, "city": { "description": "Linna nimi.", "type": "string", "required": false }, "rate": { "description": "Maksum\u00e4\u00e4r.", "type": "string", "required": false }, "name": { "description": "Maksum\u00e4\u00e4ra nimi.", "type": "string", "required": false }, "priority": { "default": 1, "description": "Maksu prioriteet.", "type": "integer", "required": false }, "compound": { "default": false, "description": "Kas see on liitmaksum\u00e4\u00e4r.", "type": "boolean", "required": false }, "shipping": { "default": true, "description": "Kas see maksum\u00e4\u00e4r m\u00f5jub ka tarnele v\u00f5i mitte.", "type": "boolean", "required": false }, "order": { "description": "N\u00e4itab p\u00e4ringutes kasutatavat j\u00e4rjekorda.", "type": "integer", "required": false }, "class": { "default": "standard", "description": "Maksuklass.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "country": { "description": "Riigi ISO 3166 kood.", "type": "string", "required": false }, "state": { "description": "Osariigi\/maakonna kood.", "type": "string", "required": false }, "postcode": { "description": "Postiindeks \/ sihtnumber.", "type": "string", "required": false }, "city": { "description": "Linna nimi.", "type": "string", "required": false }, "rate": { "description": "Maksum\u00e4\u00e4r.", "type": "string", "required": false }, "name": { "description": "Maksum\u00e4\u00e4ra nimi.", "type": "string", "required": false }, "priority": { "description": "Maksu prioriteet.", "type": "integer", "required": false }, "compound": { "description": "Kas see on liitmaksum\u00e4\u00e4r.", "type": "boolean", "required": false }, "shipping": { "description": "Kas see maksum\u00e4\u00e4r m\u00f5jub ka tarnele v\u00f5i mitte.", "type": "boolean", "required": false }, "order": { "description": "N\u00e4itab p\u00e4ringutes kasutatavat j\u00e4rjekorda.", "type": "integer", "required": false }, "class": { "description": "Maksuklass.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "N\u00f5utav, et see oleks t\u00f5ene, kuna ressurss ei toeta pr\u00fcgikasti viimist.", "required": false } } } ] }, "\/wc\/v2\/taxes\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "country": { "description": "Riigi ISO 3166 kood.", "type": "string", "required": false }, "state": { "description": "Osariigi\/maakonna kood.", "type": "string", "required": false }, "postcode": { "description": "Postiindeks \/ sihtnumber.", "type": "string", "required": false }, "city": { "description": "Linna nimi.", "type": "string", "required": false }, "rate": { "description": "Maksum\u00e4\u00e4r.", "type": "string", "required": false }, "name": { "description": "Maksum\u00e4\u00e4ra nimi.", "type": "string", "required": false }, "priority": { "description": "Maksu prioriteet.", "type": "integer", "required": false }, "compound": { "description": "Kas see on liitmaksum\u00e4\u00e4r.", "type": "boolean", "required": false }, "shipping": { "description": "Kas see maksum\u00e4\u00e4r m\u00f5jub ka tarnele v\u00f5i mitte.", "type": "boolean", "required": false }, "order": { "description": "N\u00e4itab p\u00e4ringutes kasutatavat j\u00e4rjekorda.", "type": "integer", "required": false }, "class": { "description": "Maksuklass.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v2\/taxes\/batch" } ] } }, "\/wc\/v2\/webhooks": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "after": { "description": "Piirake vastuseid ressurssidega, mis on avaldatud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piirake vastust ressurssidega, mis on avaldatud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "id", "title" ], "required": false }, "status": { "default": "all", "description": "Piira tulemusi kindlas olekus veebikonksudele.", "type": "string", "enum": [ "all", "active", "paused", "disabled" ], "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Inims\u00f5bralik veebikonksu nimi.", "type": "string", "required": false }, "status": { "default": "active", "description": "Veebikonksu olek.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "type": "string", "description": "Veebikonksu pealkiri.", "required": true }, "secret": { "description": "Salav\u00f5ti, mida kasutatakse veebikonksu r\u00e4si genereerimiseks ning antakse p\u00e4ringu p\u00e4ises kaasa. Kui seda eraldi ei anta, on see vaikimisi k\u00e4esoleva kasutaja ID|kasutajanime MD5 r\u00e4si.", "type": "string", "required": false }, "delivery_url": { "type": "string", "description": "Veebikonksu sihtkoha URL.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "name": { "description": "Inims\u00f5bralik veebikonksu nimi.", "type": "string", "required": false }, "status": { "description": "Veebikonksu olek.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "description": "Veebikonksu pealkiri.", "type": "string", "required": false }, "secret": { "description": "Salav\u00f5ti, mida kasutatakse veebikonksu r\u00e4si genereerimiseks ning antakse p\u00e4ringu p\u00e4ises kaasa. Kui seda eraldi ei anta, on see vaikimisi k\u00e4esoleva kasutaja ID|kasutajanime MD5 r\u00e4si.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "N\u00f5utav, et see oleks t\u00f5ene, kuna ressurss ei toeta pr\u00fcgikasti viimist.", "required": false } } } ] }, "\/wc\/v2\/webhooks\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Inims\u00f5bralik veebikonksu nimi.", "type": "string", "required": false }, "status": { "description": "Veebikonksu olek.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "description": "Veebikonksu pealkiri.", "type": "string", "required": false }, "secret": { "description": "Salav\u00f5ti, mida kasutatakse veebikonksu r\u00e4si genereerimiseks ning antakse p\u00e4ringu p\u00e4ises kaasa. Kui seda eraldi ei anta, on see vaikimisi k\u00e4esoleva kasutaja ID|kasutajanime MD5 r\u00e4si.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v2\/webhooks\/batch" } ] } }, "\/wc\/v2\/webhooks\/(?P[\\d]+)\/deliveries": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "webhook_id": { "description": "Veebikonksu unikaalne identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "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": "Veebikonksu unikaalne identifikaator.", "type": "integer", "required": false }, "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/v2\/system_status": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v2\/system_status" } ] } }, "\/wc\/v2\/system_status\/tools": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Ressursi kordumatu identifikaator.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "T\u00f6\u00f6riista unikaalne identifikaator.", "type": "string", "required": false }, "name": { "description": "T\u00f6\u00f6riista nimi.", "type": "string", "required": false }, "action": { "description": "Mida t\u00f6\u00f6riista k\u00e4ivitamine teeb.", "type": "string", "required": false }, "description": { "description": "T\u00f6\u00f6riista kirjeldus.", "type": "string", "required": false }, "success": { "description": "Kas t\u00f6\u00f6riist j\u00f5udis edukalt t\u00f6\u00f6ga valmis?", "type": "boolean", "required": false }, "message": { "description": "T\u00f6\u00f6riista tagasiside teade.", "type": "string", "required": false } } } ] }, "\/wc\/v2\/shipping_methods": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v2\/shipping_methods" } ] } }, "\/wc\/v2\/shipping_methods\/(?P[\\w-]+)": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "string", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ] }, "\/wc\/v2\/payment_gateways": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Ressursi kordumatu identifikaator.", "type": "string", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "string", "required": false }, "title": { "description": "Maksekanali nimetus kassas.", "type": "string", "required": false }, "description": { "description": "Maksekanali kirjeldus kassas.", "type": "string", "required": false }, "order": { "description": "Maksekanali sorteerimisj\u00e4rjestus.", "type": "integer", "required": false }, "enabled": { "description": "Maksekanali aktiveerituse olek.", "type": "boolean", "required": false }, "settings": { "description": "Maksekanali s\u00e4tted.", "type": "object", "properties": { "id": { "description": "S\u00e4tte unikaalne tunnus.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Inimesele loetav s\u00e4tte nimetus kasutajaliidestes.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "description": { "description": "Inimesele loetav s\u00e4tte kirjeldus kasutajaliidestes.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "type": { "description": "S\u00e4tte t\u00fc\u00fcp.", "type": "string", "context": [ "view", "edit" ], "enum": [ "text", "email", "number", "color", "password", "textarea", "select", "multiselect", "radio", "image_width", "checkbox" ], "readonly": true }, "value": { "description": "S\u00e4tte v\u00e4\u00e4rtus.", "type": "string", "context": [ "view", "edit" ] }, "default": { "description": "S\u00e4tte vaikev\u00e4\u00e4rtus.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "tip": { "description": "Kasutajatele n\u00e4idatav s\u00e4tte lisainfo tekst.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "placeholder": { "description": "Tekstisisendi t\u00fc\u00fcpi v\u00e4ljadel kasutatav kohat\u00e4ide.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false } } } ] }, "\/wc\/v3\/coupons": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piirake tulemusi nendega, mis vastavad stringile.", "type": "string", "required": false }, "after": { "description": "Piirake vastuseid ressurssidega, mis on avaldatud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piirake vastust ressurssidega, mis on avaldatud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Piirake reageerimist ressurssidega, mida on muudetud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Piirake reageerimist ressurssidega, mida on muudetud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Kas v\u00f5tta arvesse GMT postitamiskuup\u00e4evi, kui piirata vastuse avaldamise v\u00f5i muudetud kuup\u00e4evaga.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "code": { "description": "Piira tulemusi kindla koodiga ressurssidele.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "code": { "description": "Kupongi kood.", "type": "string", "required": true }, "amount": { "description": "Allahindluse v\u00e4\u00e4rtus. Peab alati olema number, isegi kui m\u00e4\u00e4ratakse protsenti.", "type": [ "number", "string" ], "required": false }, "status": { "description": "Kupongi olek. Peaks alati olema mustand, avaldatud v\u00f5i \u00fclevaatuse ootel", "type": "string", "required": false }, "discount_type": { "default": "fixed_cart", "description": "M\u00e4\u00e4rab rakendatava allahindluse t\u00fc\u00fcbi.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "description": { "description": "Kupongi kirjeldus.", "type": "string", "required": false }, "date_expires": { "description": "Kupongi aegumiskuup\u00e4ev, veebilehe ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "Kupongi aegumiskuup\u00e4ev, GMT v\u00e4\u00e4rtusena.", "type": [ "null", "string" ], "required": false }, "individual_use": { "default": false, "description": "Kui v\u00e4\u00e4rtus on t\u00f5ene, saab seda kupongi kasutada ainult \u00fcksinda. Teised kupongid eemaldatakse ostukorvist.", "type": "boolean", "required": false }, "product_ids": { "description": "Toodete ID-de nimekiri, millega seda kupongi saab kasutada.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "Toodete ID-de nimekiri, millega seda kupongi kasutada ei saa.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Kui mitu korda seda kupongi kasutada saab.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Mitu korda \u00fcks klient saab seda kupongi kasutada.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Maksimaalne toodete kogus ostukorvis, millele see kupong kehtib.", "type": "integer", "required": false }, "free_shipping": { "default": false, "description": "Kui t\u00f5ene ja tasuta tarne meetod vajab kupongi, aktiveerib see kupong tasuta tarne.", "type": "boolean", "required": false }, "product_categories": { "description": "Kategooriate ID-de nimekiri, millega koos seda kupongi saab kasutada.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Kategooriate ID-de nimekiri, millega koos seda kupongi ei saa kasutada.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "default": false, "description": "Kui t\u00f5ene, ei kehti see kupong soodushinnaga toodetele.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minimaalne tellimuse summa, mis peab olema selle kupongi kasutamiseks ostukorvis.", "type": [ "number", "string" ], "required": false }, "maximum_amount": { "description": "Maksimaalne lubatav tellimuse summa selle kupongi kasutamiseks.", "type": [ "number", "string" ], "required": false }, "email_restrictions": { "description": "E-posti aadresside nimekiri, kes saavad seda kupongi kasutada.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "code": { "description": "Kupongi kood.", "type": "string", "required": false }, "amount": { "description": "Allahindluse v\u00e4\u00e4rtus. Peab alati olema number, isegi kui m\u00e4\u00e4ratakse protsenti.", "type": [ "number", "string" ], "required": false }, "status": { "description": "Kupongi olek. Peaks alati olema mustand, avaldatud v\u00f5i \u00fclevaatuse ootel", "type": "string", "required": false }, "discount_type": { "description": "M\u00e4\u00e4rab rakendatava allahindluse t\u00fc\u00fcbi.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "description": { "description": "Kupongi kirjeldus.", "type": "string", "required": false }, "date_expires": { "description": "Kupongi aegumiskuup\u00e4ev, veebilehe ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "Kupongi aegumiskuup\u00e4ev, GMT v\u00e4\u00e4rtusena.", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "Kui v\u00e4\u00e4rtus on t\u00f5ene, saab seda kupongi kasutada ainult \u00fcksinda. Teised kupongid eemaldatakse ostukorvist.", "type": "boolean", "required": false }, "product_ids": { "description": "Toodete ID-de nimekiri, millega seda kupongi saab kasutada.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "Toodete ID-de nimekiri, millega seda kupongi kasutada ei saa.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Kui mitu korda seda kupongi kasutada saab.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Mitu korda \u00fcks klient saab seda kupongi kasutada.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Maksimaalne toodete kogus ostukorvis, millele see kupong kehtib.", "type": "integer", "required": false }, "free_shipping": { "description": "Kui t\u00f5ene ja tasuta tarne meetod vajab kupongi, aktiveerib see kupong tasuta tarne.", "type": "boolean", "required": false }, "product_categories": { "description": "Kategooriate ID-de nimekiri, millega koos seda kupongi saab kasutada.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Kategooriate ID-de nimekiri, millega koos seda kupongi ei saa kasutada.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "Kui t\u00f5ene, ei kehti see kupong soodushinnaga toodetele.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minimaalne tellimuse summa, mis peab olema selle kupongi kasutamiseks ostukorvis.", "type": [ "number", "string" ], "required": false }, "maximum_amount": { "description": "Maksimaalne lubatav tellimuse summa selle kupongi kasutamiseks.", "type": [ "number", "string" ], "required": false }, "email_restrictions": { "description": "E-posti aadresside nimekiri, kes saavad seda kupongi kasutada.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Kas j\u00e4tta pr\u00fcgikast m\u00f6\u00f6da ja sundida kustutamist.", "required": false } } } ] }, "\/wc\/v3\/coupons\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "code": { "description": "Kupongi kood.", "type": "string", "required": false }, "amount": { "description": "Allahindluse v\u00e4\u00e4rtus. Peab alati olema number, isegi kui m\u00e4\u00e4ratakse protsenti.", "type": [ "number", "string" ], "required": false }, "status": { "description": "Kupongi olek. Peaks alati olema mustand, avaldatud v\u00f5i \u00fclevaatuse ootel", "type": "string", "required": false }, "discount_type": { "description": "M\u00e4\u00e4rab rakendatava allahindluse t\u00fc\u00fcbi.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "description": { "description": "Kupongi kirjeldus.", "type": "string", "required": false }, "date_expires": { "description": "Kupongi aegumiskuup\u00e4ev, veebilehe ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "Kupongi aegumiskuup\u00e4ev, GMT v\u00e4\u00e4rtusena.", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "Kui v\u00e4\u00e4rtus on t\u00f5ene, saab seda kupongi kasutada ainult \u00fcksinda. Teised kupongid eemaldatakse ostukorvist.", "type": "boolean", "required": false }, "product_ids": { "description": "Toodete ID-de nimekiri, millega seda kupongi saab kasutada.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "Toodete ID-de nimekiri, millega seda kupongi kasutada ei saa.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Kui mitu korda seda kupongi kasutada saab.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Mitu korda \u00fcks klient saab seda kupongi kasutada.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Maksimaalne toodete kogus ostukorvis, millele see kupong kehtib.", "type": "integer", "required": false }, "free_shipping": { "description": "Kui t\u00f5ene ja tasuta tarne meetod vajab kupongi, aktiveerib see kupong tasuta tarne.", "type": "boolean", "required": false }, "product_categories": { "description": "Kategooriate ID-de nimekiri, millega koos seda kupongi saab kasutada.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Kategooriate ID-de nimekiri, millega koos seda kupongi ei saa kasutada.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "Kui t\u00f5ene, ei kehti see kupong soodushinnaga toodetele.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minimaalne tellimuse summa, mis peab olema selle kupongi kasutamiseks ostukorvis.", "type": [ "number", "string" ], "required": false }, "maximum_amount": { "description": "Maksimaalne lubatav tellimuse summa selle kupongi kasutamiseks.", "type": [ "number", "string" ], "required": false }, "email_restrictions": { "description": "E-posti aadresside nimekiri, kes saavad seda kupongi kasutada.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/coupons\/batch" } ] } }, "\/wc\/v3\/customers\/(?P[\\d]+)\/downloads": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "customer_id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ] }, "\/wc\/v3\/customers": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piira tulemuste hulka kindlatele ID-dele.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "name", "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "enum": [ "id", "include", "name", "registered_date" ], "type": "string", "required": false }, "email": { "description": "Piira tulemusi kindla e-postiga ressurssidele.", "type": "string", "format": "email", "required": false }, "role": { "description": "Piira tulemusi kindla rolliga ressurssidele.", "type": "string", "default": "customer", "enum": [ "all", "administrator", "editor", "author", "contributor", "subscriber", "customer", "shop_manager" ], "required": false } } }, { "methods": [ "POST" ], "args": { "email": { "type": "string", "description": "Uus kasutaja e-posti aadress.", "required": true }, "first_name": { "description": "Kliendi eesnimi.", "type": "string", "required": false }, "last_name": { "description": "Kliendi perekonnanimi.", "type": "string", "required": false }, "username": { "description": "Uus kasutaja kasutajanimi.", "type": "string", "required": false }, "password": { "description": "Uus kasutaja salas\u00f5na.", "type": "string", "required": false }, "billing": { "description": "Arveaadressi andmete loetelu.", "type": "object", "properties": { "first_name": { "description": "Eesnimi.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Perekonnanimi.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ettev\u00f5tte nimi.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Aadressi rida 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "2. aadressirida", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Linna nimi.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Osariigi, provintsi v\u00f5i ringkonna ISO-kood v\u00f5i nimi.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postiindeks.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Riigi ISO kood.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "E-posti aadress.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Telefoninumber.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Tarneaadressi andmete loetelu.", "type": "object", "properties": { "first_name": { "description": "Eesnimi.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Perekonnanimi.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ettev\u00f5tte nimi.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Aadressi rida 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "2. aadressirida", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Linna nimi.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Osariigi, provintsi v\u00f5i ringkonna ISO-kood v\u00f5i nimi.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postiindeks.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Riigi ISO kood.", "type": "string", "context": [ "view", "edit" ] }, "phone": { "description": "Telefoninumber.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "email": { "description": "Kliendi e-post aadress.", "type": "string", "format": "email", "required": false }, "first_name": { "description": "Kliendi eesnimi.", "type": "string", "required": false }, "last_name": { "description": "Kliendi perekonnanimi.", "type": "string", "required": false }, "username": { "description": "Kliendi kasutajanimi.", "type": "string", "required": false }, "password": { "description": "Kliendi salas\u00f5na.", "type": "string", "required": false }, "billing": { "description": "Arveaadressi andmete loetelu.", "type": "object", "properties": { "first_name": { "description": "Eesnimi.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Perekonnanimi.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ettev\u00f5tte nimi.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Aadressi rida 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "2. aadressirida", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Linna nimi.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Osariigi, provintsi v\u00f5i ringkonna ISO-kood v\u00f5i nimi.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postiindeks.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Riigi ISO kood.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "E-posti aadress.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Telefoninumber.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Tarneaadressi andmete loetelu.", "type": "object", "properties": { "first_name": { "description": "Eesnimi.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Perekonnanimi.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ettev\u00f5tte nimi.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Aadressi rida 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "2. aadressirida", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Linna nimi.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Osariigi, provintsi v\u00f5i ringkonna ISO-kood v\u00f5i nimi.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postiindeks.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Riigi ISO kood.", "type": "string", "context": [ "view", "edit" ] }, "phone": { "description": "Telefoninumber.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "N\u00f5utav, et see oleks t\u00f5ene, kuna ressurss ei toeta pr\u00fcgikasti viimist.", "required": false }, "reassign": { "default": 0, "type": "integer", "description": "ID, mille k\u00fclge postitused \u00fcmber seostada.", "required": false } } } ] }, "\/wc\/v3\/customers\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "email": { "description": "Kliendi e-post aadress.", "type": "string", "format": "email", "required": false }, "first_name": { "description": "Kliendi eesnimi.", "type": "string", "required": false }, "last_name": { "description": "Kliendi perekonnanimi.", "type": "string", "required": false }, "username": { "description": "Kliendi kasutajanimi.", "type": "string", "required": false }, "password": { "description": "Kliendi salas\u00f5na.", "type": "string", "required": false }, "billing": { "description": "Arveaadressi andmete loetelu.", "type": "object", "properties": { "first_name": { "description": "Eesnimi.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Perekonnanimi.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ettev\u00f5tte nimi.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Aadressi rida 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "2. aadressirida", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Linna nimi.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Osariigi, provintsi v\u00f5i ringkonna ISO-kood v\u00f5i nimi.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postiindeks.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Riigi ISO kood.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "E-posti aadress.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Telefoninumber.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Tarneaadressi andmete loetelu.", "type": "object", "properties": { "first_name": { "description": "Eesnimi.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Perekonnanimi.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ettev\u00f5tte nimi.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Aadressi rida 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "2. aadressirida", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Linna nimi.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Osariigi, provintsi v\u00f5i ringkonna ISO-kood v\u00f5i nimi.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postiindeks.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Riigi ISO kood.", "type": "string", "context": [ "view", "edit" ] }, "phone": { "description": "Telefoninumber.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/customers\/batch" } ] } }, "\/wc\/v3\/layout-templates": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "area": { "description": "Ala, mille jaoks mallid hankida.", "type": "string", "default": "", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/layout-templates" } ] } }, "\/wc\/v3\/layout-templates\/(?P\\w[\\w\\s\\-]*)": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "string", "required": false } } } ] }, "\/wc\/v3\/orders\/(?P[\\d]+)\/notes": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "Tellimuse ID.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "type": { "default": "any", "description": "Piira tulemust klientidele v\u00f5i sisemistele m\u00e4rgetele.", "type": "string", "enum": [ "any", "customer", "internal" ], "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "Tellimuse ID.", "type": "integer", "required": false }, "note": { "type": "string", "description": "Telli m\u00e4rkme sisu.", "required": true }, "customer_note": { "default": false, "description": "Kui see on t\u00f5ene, n\u00e4idatakse m\u00e4rget klientidele ja neid teavitatakse. Kui see on vale, on m\u00e4rge ainult administraatorile viitamiseks.", "type": "boolean", "required": false }, "added_by_user": { "default": false, "description": "Kui see on t\u00f5ene, omistatakse see m\u00e4rkus praegusele kasutajale. Kui see on vale, omistatakse m\u00e4rkus s\u00fcsteemile.", "type": "boolean", "required": false } } } ] }, "\/wc\/v3\/orders\/(?P[\\d]+)\/notes\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "order_id": { "description": "Tellimuse ID.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "order_id": { "description": "Tellimuse ID.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "N\u00f5utav, et see oleks t\u00f5ene, kuna ressurss ei toeta pr\u00fcgikasti viimist.", "required": false } } } ] }, "\/wc\/v3\/orders\/(?P[\\d]+)\/refunds": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "Tellimuse ID.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piirake tulemusi nendega, mis vastavad stringile.", "type": "string", "required": false }, "after": { "description": "Piirake vastuseid ressurssidega, mis on avaldatud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piirake vastust ressurssidega, mis on avaldatud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Piirake reageerimist ressurssidega, mida on muudetud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Piirake reageerimist ressurssidega, mida on muudetud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Kas v\u00f5tta arvesse GMT postitamiskuup\u00e4evi, kui piirata vastuse avaldamise v\u00f5i muudetud kuup\u00e4evaga.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "parent": { "description": "Piirake tulemuste komplekt konkreetsete vanemate ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Piirake tulemuste komplekti k\u00f5igi \u00fcksustega, v\u00e4lja arvatud konkreetse \u00fclem-ID \u00fcksustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "dp": { "default": 0, "description": "Igas ressursis kasutatavate k\u00fcmnendkohtade arv.", "type": "integer", "required": false }, "order_item_display_meta": { "default": false, "description": "Kuva ainult meta, mis on ette n\u00e4htud tellimuse jaoks kuvamiseks.", "type": "boolean", "required": false }, "include_meta": { "default": [], "description": "Piirake meta_andmed konkreetsete v\u00f5tmetega.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Veenduge, et meta_andmed v\u00e4listaks teatud v\u00f5tmed.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "Tellimuse ID.", "type": "integer", "required": false }, "amount": { "description": "Tagasimakse summa.", "type": "string", "required": false }, "reason": { "description": "Tagastamise p\u00f5hjus.", "type": "string", "required": false }, "refunded_by": { "description": "Tagasimakse loonud kasutaja kasutaja ID.", "type": "integer", "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "shipping_lines": { "description": "Laevaliinide andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Saatmisviisi nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Saatmisviisi ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "Tarneeksemplari ID.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Tasuliinide andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Tasu nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Tasu maksuklass.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Tasu maksustaatus.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Maksude vahesumma.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "api_refund": { "default": true, "description": "Kui see on t\u00f5ene, kasutatakse tagasimakse genereerimiseks maksev\u00e4rava API-t.", "type": "boolean", "required": false }, "api_restock": { "default": true, "description": "Kui see on t\u00f5ene, siis tagastatakse kaubad uuesti.", "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": "Tellimuse ID.", "type": "integer", "required": false }, "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "order_id": { "description": "Tellimuse ID.", "type": "integer", "required": false }, "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "N\u00f5utav, et see oleks t\u00f5ene, kuna ressurss ei toeta pr\u00fcgikasti viimist.", "required": false } } } ] }, "\/wc\/v3\/orders": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piirake tulemusi nendega, mis vastavad stringile.", "type": "string", "required": false }, "after": { "description": "Piirake vastuseid ressurssidega, mis on avaldatud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piirake vastust ressurssidega, mis on avaldatud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Piirake reageerimist ressurssidega, mida on muudetud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Piirake reageerimist ressurssidega, mida on muudetud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Kas v\u00f5tta arvesse GMT postitamiskuup\u00e4evi, kui piirata vastuse avaldamise v\u00f5i muudetud kuup\u00e4evaga.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "parent": { "description": "Piirake tulemuste komplekt konkreetsete vanemate ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Piirake tulemuste komplekti k\u00f5igi \u00fcksustega, v\u00e4lja arvatud konkreetse \u00fclem-ID \u00fcksustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "status": { "default": "any", "description": "Piira tulemuste komplekt konkreetsete olekutega tellimustele.", "type": "array", "items": { "type": "string", "enum": [ "any", "trash", "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "mon-part-refund", "mon-label-printed", "checkout-draft" ] }, "required": false }, "customer": { "description": "Piirake tulemuste komplekt konkreetsele kliendile m\u00e4\u00e4ratud tellimustele.", "type": "integer", "required": false }, "product": { "description": "Piirake tulemuste komplekt konkreetsele tootele m\u00e4\u00e4ratud tellimustele.", "type": "integer", "required": false }, "dp": { "default": 0, "description": "Igas ressursis kasutatavate k\u00fcmnendkohtade arv.", "type": "integer", "required": false }, "order_item_display_meta": { "default": false, "description": "Kuva ainult meta, mis on ette n\u00e4htud tellimuse jaoks kuvamiseks.", "type": "boolean", "required": false }, "include_meta": { "default": [], "description": "Piirake meta_andmed konkreetsete v\u00f5tmetega.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Veenduge, et meta_andmed v\u00e4listaks teatud v\u00f5tmed.", "type": "array", "items": { "type": "string" }, "required": false }, "created_via": { "description": "Limit result set to orders created via specific sources (e.g. checkout, admin).", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "parent_id": { "description": "Vanema tellimuse ID.", "type": "integer", "required": false }, "created_via": { "description": "N\u00e4itab, kus tellimus loodi.", "type": "string", "required": false }, "status": { "default": "pending", "description": "Tellimuse olek.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "mon-part-refund", "mon-label-printed", "checkout-draft" ], "required": false }, "currency": { "default": "EUR", "description": "Valuuta, millega tellimus koostati, ISO-vormingus.", "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 }, "date_created": { "description": "Tellimuse loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Tellimuse loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "required": false }, "date_modified": { "description": "Tellimuse viimase muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_modified_gmt": { "description": "Tellimuse viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "required": false }, "customer_id": { "default": 0, "description": "Kasutaja ID, kellele tellimus kuulub. 0 k\u00fclalistele.", "type": "integer", "required": false }, "customer_note": { "description": "M\u00e4rkus, mille klient j\u00e4ttis kassas.", "type": "string", "required": false }, "billing": { "description": "Arveldusaadress.", "type": "object", "properties": { "first_name": { "description": "Eesnimi.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Perekonnanimi.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ettev\u00f5tte nimi.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Aadressi rida 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "2. aadressirida", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Linna nimi.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Osariigi, provintsi v\u00f5i ringkonna ISO-kood v\u00f5i nimi.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postiindeks.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Riigikood ISO 3166-1 alfa-2 formaadis.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "E-posti aadress.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Telefoninumber.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Tarneaadress.", "type": "object", "properties": { "first_name": { "description": "Eesnimi.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Perekonnanimi.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ettev\u00f5tte nimi.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Aadressi rida 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "2. aadressirida", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Linna nimi.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Osariigi, provintsi v\u00f5i ringkonna ISO-kood v\u00f5i nimi.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postiindeks.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Riigikood ISO 3166-1 alfa-2 formaadis.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "Makseviisi ID.", "type": "string", "required": false }, "payment_method_title": { "description": "Makseviisi pealkiri.", "type": "string", "required": false }, "transaction_id": { "description": "Unikaalne tehingu ID.", "type": "string", "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Rea\u00fcksuste andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Toote nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Ematoote nimi, kui toode on variatsioon.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "Toote ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Variatsiooni ID, kui see on kohaldatav.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Tellitud kogus.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Toote maksuklass.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Rea vahesumma (enne allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Rea vahesumma maks (enne allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Maksude vahesumma.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Metaklahv kasutajaliidese kuvamiseks.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Kasutajaliidese kuva metav\u00e4\u00e4rtus.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Toote SKU.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "global_unique_id": { "description": "GTIN, UPC, EAN v\u00f5i ISBN.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Toote hind.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Toote p\u00f5hipildi omadused.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Laevaliinide andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Saatmisviisi nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Saatmisviisi ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "Tarneeksemplari ID.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Tasuliinide andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Tasu nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Tasu maksuklass.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Tasu maksustaatus.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Maksude vahesumma.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Kupongide rea andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Kupongi kood.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Allahindlus kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "Allahindlus kogumaks.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Allahindluse t\u00fc\u00fcp.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Kupongis m\u00e4\u00e4ratletud allahindluse summa (absoluutv\u00e4\u00e4rtus v\u00f5i protsent, olenevalt allahindluse t\u00fc\u00fcbist).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Kas kupong tagab tasuta kohaletoimetamise v\u00f5i mitte.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "default": false, "description": "M\u00e4\u00e4rake, kas tellimus on tasutud. See seab olekuks t\u00f6\u00f6tlemise ja v\u00e4hendab laoartikleid.", "type": "boolean", "required": false }, "manual_update": { "default": false, "description": "M\u00e4\u00e4rake toiming k\u00e4sitsi, nii et tellimuse m\u00e4rkus registreeritakse kui "kasutaja lisatud".", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "parent_id": { "description": "Vanema tellimuse ID.", "type": "integer", "required": false }, "created_via": { "description": "N\u00e4itab, kus tellimus loodi.", "type": "string", "required": false }, "status": { "description": "Tellimuse olek.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "mon-part-refund", "mon-label-printed", "checkout-draft" ], "required": false }, "currency": { "description": "Valuuta, millega tellimus koostati, ISO-vormingus.", "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 }, "date_created": { "description": "Tellimuse loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Tellimuse loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "required": false }, "date_modified": { "description": "Tellimuse viimase muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_modified_gmt": { "description": "Tellimuse viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "required": false }, "customer_id": { "description": "Kasutaja ID, kellele tellimus kuulub. 0 k\u00fclalistele.", "type": "integer", "required": false }, "customer_note": { "description": "M\u00e4rkus, mille klient j\u00e4ttis kassas.", "type": "string", "required": false }, "billing": { "description": "Arveldusaadress.", "type": "object", "properties": { "first_name": { "description": "Eesnimi.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Perekonnanimi.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ettev\u00f5tte nimi.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Aadressi rida 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "2. aadressirida", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Linna nimi.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Osariigi, provintsi v\u00f5i ringkonna ISO-kood v\u00f5i nimi.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postiindeks.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Riigikood ISO 3166-1 alfa-2 formaadis.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "E-posti aadress.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Telefoninumber.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Tarneaadress.", "type": "object", "properties": { "first_name": { "description": "Eesnimi.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Perekonnanimi.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ettev\u00f5tte nimi.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Aadressi rida 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "2. aadressirida", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Linna nimi.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Osariigi, provintsi v\u00f5i ringkonna ISO-kood v\u00f5i nimi.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postiindeks.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Riigikood ISO 3166-1 alfa-2 formaadis.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "Makseviisi ID.", "type": "string", "required": false }, "payment_method_title": { "description": "Makseviisi pealkiri.", "type": "string", "required": false }, "transaction_id": { "description": "Unikaalne tehingu ID.", "type": "string", "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Rea\u00fcksuste andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Toote nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Ematoote nimi, kui toode on variatsioon.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "Toote ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Variatsiooni ID, kui see on kohaldatav.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Tellitud kogus.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Toote maksuklass.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Rea vahesumma (enne allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Rea vahesumma maks (enne allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Maksude vahesumma.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Metaklahv kasutajaliidese kuvamiseks.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Kasutajaliidese kuva metav\u00e4\u00e4rtus.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Toote SKU.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "global_unique_id": { "description": "GTIN, UPC, EAN v\u00f5i ISBN.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Toote hind.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Toote p\u00f5hipildi omadused.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Laevaliinide andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Saatmisviisi nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Saatmisviisi ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "Tarneeksemplari ID.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Tasuliinide andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Tasu nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Tasu maksuklass.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Tasu maksustaatus.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Maksude vahesumma.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Kupongide rea andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Kupongi kood.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Allahindlus kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "Allahindlus kogumaks.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Allahindluse t\u00fc\u00fcp.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Kupongis m\u00e4\u00e4ratletud allahindluse summa (absoluutv\u00e4\u00e4rtus v\u00f5i protsent, olenevalt allahindluse t\u00fc\u00fcbist).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Kas kupong tagab tasuta kohaletoimetamise v\u00f5i mitte.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "description": "M\u00e4\u00e4rake, kas tellimus on tasutud. See seab olekuks t\u00f6\u00f6tlemise ja v\u00e4hendab laoartikleid.", "type": "boolean", "required": false }, "manual_update": { "description": "M\u00e4\u00e4rake toiming k\u00e4sitsi, nii et tellimuse m\u00e4rkus registreeritakse kui "kasutaja lisatud".", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Kas j\u00e4tta pr\u00fcgikast m\u00f6\u00f6da ja sundida kustutamist.", "required": false } } } ] }, "\/wc\/v3\/orders\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "parent_id": { "description": "Vanema tellimuse ID.", "type": "integer", "required": false }, "created_via": { "description": "N\u00e4itab, kus tellimus loodi.", "type": "string", "required": false }, "status": { "description": "Tellimuse olek.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "mon-part-refund", "mon-label-printed", "checkout-draft" ], "required": false }, "currency": { "description": "Valuuta, millega tellimus koostati, ISO-vormingus.", "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 }, "date_created": { "description": "Tellimuse loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Tellimuse loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "required": false }, "date_modified": { "description": "Tellimuse viimase muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_modified_gmt": { "description": "Tellimuse viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "required": false }, "customer_id": { "description": "Kasutaja ID, kellele tellimus kuulub. 0 k\u00fclalistele.", "type": "integer", "required": false }, "customer_note": { "description": "M\u00e4rkus, mille klient j\u00e4ttis kassas.", "type": "string", "required": false }, "billing": { "description": "Arveldusaadress.", "type": "object", "properties": { "first_name": { "description": "Eesnimi.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Perekonnanimi.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ettev\u00f5tte nimi.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Aadressi rida 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "2. aadressirida", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Linna nimi.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Osariigi, provintsi v\u00f5i ringkonna ISO-kood v\u00f5i nimi.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postiindeks.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Riigikood ISO 3166-1 alfa-2 formaadis.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "E-posti aadress.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Telefoninumber.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Tarneaadress.", "type": "object", "properties": { "first_name": { "description": "Eesnimi.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Perekonnanimi.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Ettev\u00f5tte nimi.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Aadressi rida 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "2. aadressirida", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Linna nimi.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Osariigi, provintsi v\u00f5i ringkonna ISO-kood v\u00f5i nimi.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Postiindeks.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Riigikood ISO 3166-1 alfa-2 formaadis.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "Makseviisi ID.", "type": "string", "required": false }, "payment_method_title": { "description": "Makseviisi pealkiri.", "type": "string", "required": false }, "transaction_id": { "description": "Unikaalne tehingu ID.", "type": "string", "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Rea\u00fcksuste andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Toote nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Ematoote nimi, kui toode on variatsioon.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "Toote ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Variatsiooni ID, kui see on kohaldatav.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Tellitud kogus.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Toote maksuklass.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Rea vahesumma (enne allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Rea vahesumma maks (enne allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Maksude vahesumma.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Metaklahv kasutajaliidese kuvamiseks.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Kasutajaliidese kuva metav\u00e4\u00e4rtus.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Toote SKU.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "global_unique_id": { "description": "GTIN, UPC, EAN v\u00f5i ISBN.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Toote hind.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Toote p\u00f5hipildi omadused.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Laevaliinide andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Saatmisviisi nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Saatmisviisi ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "Tarneeksemplari ID.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Tasuliinide andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Tasu nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Tasu maksuklass.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Tasu maksustaatus.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Maksude vahesumma.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Kupongide rea andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Kupongi kood.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Allahindlus kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "Allahindlus kogumaks.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Allahindluse t\u00fc\u00fcp.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Kupongis m\u00e4\u00e4ratletud allahindluse summa (absoluutv\u00e4\u00e4rtus v\u00f5i protsent, olenevalt allahindluse t\u00fc\u00fcbist).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Kas kupong tagab tasuta kohaletoimetamise v\u00f5i mitte.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "description": "M\u00e4\u00e4rake, kas tellimus on tasutud. See seab olekuks t\u00f6\u00f6tlemise ja v\u00e4hendab laoartikleid.", "type": "boolean", "required": false }, "manual_update": { "description": "M\u00e4\u00e4rake toiming k\u00e4sitsi, nii et tellimuse m\u00e4rkus registreeritakse kui "kasutaja lisatud".", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Terminite atribuudi unikaalne identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra. Kehtib ainult hierarhiliste taksonoomiate puhul.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu ressursiatribuudi j\u00e4rgi.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Kas peita ressursid, mis pole \u00fchelegi tootele m\u00e4\u00e4ratud.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Piirake tulemuste komplekt konkreetsele vanemale m\u00e4\u00e4ratud ressurssidega. Kehtib ainult hierarhiliste taksonoomiate puhul.", "type": "integer", "required": false }, "product": { "description": "Piirake tulemuste komplekt konkreetsele tootele m\u00e4\u00e4ratud ressurssidega.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Piirake tulemuse komplekt konkreetse n\u00e4lkjaga ressurssidega.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "attribute_id": { "description": "Terminite atribuudi unikaalne identifikaator.", "type": "integer", "required": false }, "name": { "type": "string", "description": "Ressursi nimi.", "required": true }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse ressursi kohandatud sortimiseks.", "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": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "attribute_id": { "description": "Terminite atribuudi unikaalne identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "attribute_id": { "description": "Terminite atribuudi unikaalne identifikaator.", "type": "integer", "required": false }, "name": { "description": "Termini nimi.", "type": "string", "required": false }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse ressursi kohandatud sortimiseks.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "attribute_id": { "description": "Terminite atribuudi unikaalne identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "N\u00f5utav, et see oleks t\u00f5ene, kuna ressurss ei toeta pr\u00fcgikasti viimist.", "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": "Terminite atribuudi unikaalne identifikaator.", "type": "integer", "required": false }, "name": { "description": "Termini nimi.", "type": "string", "required": false }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse ressursi kohandatud sortimiseks.", "type": "integer", "required": false } } } ] }, "\/wc\/v3\/products\/attributes": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Ressursi nimi.", "type": "string", "required": true }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "type": { "default": "select", "description": "Omaduse t\u00fc\u00fcp.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "default": "menu_order", "description": "Vaikimisi sorteerimise j\u00e4rjekord.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "default": false, "description": "Luba\/keela omaduste arhiivid.", "type": "boolean", "required": false }, "terms": { "description": "List of terms linked to the attribute.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Term ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Term name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Term slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "name": { "description": "Atribuudi nimi.", "type": "string", "required": false }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "type": { "description": "Omaduse t\u00fc\u00fcp.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Vaikimisi sorteerimise j\u00e4rjekord.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "Luba\/keela omaduste arhiivid.", "type": "boolean", "required": false }, "terms": { "description": "List of terms linked to the attribute.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Term ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Term name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Term slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "N\u00f5utav, et see oleks t\u00f5ene, kuna ressurss ei toeta pr\u00fcgikasti viimist.", "required": false } } } ] }, "\/wc\/v3\/products\/attributes\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Atribuudi nimi.", "type": "string", "required": false }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "type": { "description": "Omaduse t\u00fc\u00fcp.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Vaikimisi sorteerimise j\u00e4rjekord.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "Luba\/keela omaduste arhiivid.", "type": "boolean", "required": false }, "terms": { "description": "List of terms linked to the attribute.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Term ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Term name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Term slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/products\/attributes\/batch" } ] } }, "\/wc\/v3\/products\/categories": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra. Kehtib ainult hierarhiliste taksonoomiate puhul.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu ressursiatribuudi j\u00e4rgi.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Kas peita ressursid, mis pole \u00fchelegi tootele m\u00e4\u00e4ratud.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Piirake tulemuste komplekt konkreetsele vanemale m\u00e4\u00e4ratud ressurssidega. Kehtib ainult hierarhiliste taksonoomiate puhul.", "type": "integer", "required": false }, "product": { "description": "Piirake tulemuste komplekt konkreetsele tootele m\u00e4\u00e4ratud ressurssidega.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Piirake tulemuse komplekt konkreetse n\u00e4lkjaga ressurssidega.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Ressursi nimi.", "required": true }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "parent": { "description": "Ressursi vanema ID.", "type": "integer", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false }, "display": { "default": "default", "description": "Kategooria arhiivi kuvamise t\u00fc\u00fcp.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Pildi andmed.", "type": "object", "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Kujutise loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Kujutise viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse ressursi kohandatud sortimiseks.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "name": { "description": "Kategooria nimi.", "type": "string", "required": false }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "parent": { "description": "Ressursi vanema ID.", "type": "integer", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false }, "display": { "description": "Kategooria arhiivi kuvamise t\u00fc\u00fcp.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Pildi andmed.", "type": "object", "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Kujutise loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Kujutise viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse ressursi kohandatud sortimiseks.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "N\u00f5utav, et see oleks t\u00f5ene, kuna ressurss ei toeta pr\u00fcgikasti viimist.", "required": false } } } ] }, "\/wc\/v3\/products\/categories\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Kategooria nimi.", "type": "string", "required": false }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "parent": { "description": "Ressursi vanema ID.", "type": "integer", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false }, "display": { "description": "Kategooria arhiivi kuvamise t\u00fc\u00fcp.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Pildi andmed.", "type": "object", "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Kujutise loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Kujutise viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse ressursi kohandatud sortimiseks.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/products\/categories\/batch" } ] } }, "\/wc\/v3\/products\/custom-fields\/names": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "order": { "description": "J\u00e4rjestage \u00fcksusi kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/products\/custom-fields\/names" } ] } }, "\/wc\/v3\/products\/reviews": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "after": { "description": "Piirake vastuseid ressurssidega, mis on avaldatud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piirake vastuseid arvustustele, mis on avaldatud enne ISO8601 n\u00f5uetele vastavuse kuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piira tulemuste hulka kindlatele ID-dele.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date_gmt", "enum": [ "date", "date_gmt", "id", "include", "product" ], "required": false }, "reviewer": { "description": "Piirake tulemuste komplekt arvustustega, mis on m\u00e4\u00e4ratud konkreetsetele kasutaja-ID-dele.", "type": "array", "items": { "type": "integer" }, "required": false }, "reviewer_exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsetele kasutaja-ID-dele m\u00e4\u00e4ratud arvustused.", "type": "array", "items": { "type": "integer" }, "required": false }, "reviewer_email": { "default": null, "description": "Piirake konkreetse autori meili tulemus.", "format": "email", "type": "string", "required": false }, "product": { "default": [], "description": "Piira tulemusi kindlate toote ID'dega arvustustele.", "type": "array", "items": { "type": "integer" }, "required": false }, "status": { "default": "approved", "description": "Piira tulemusi kindla staatusega arvustustele.", "type": "string", "enum": [ "all", "hold", "approved", "spam", "trash" ], "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Toote unikaalne tunnus.", "type": "integer", "required": true }, "product_name": { "description": "Toote nimi.", "type": "string", "required": false }, "status": { "default": "approved", "description": "Arvustuse staatus.", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "type": "string", "description": "Arvustaja nimi.", "required": true }, "reviewer_email": { "type": "string", "description": "Arvustaja e-post.", "required": true }, "review": { "type": "string", "description": "Arvustuse sisu.", "required": true }, "rating": { "description": "\u00dclevaate hinnang (0 kuni 5).", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "product_id": { "description": "Selle toote kordumatu identifikaator, millele arvustus kuulub.", "type": "integer", "required": false }, "product_name": { "description": "Toote nimi.", "type": "string", "required": false }, "status": { "description": "Arvustuse staatus.", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "description": "\u00dclevaataja nimi.", "type": "string", "required": false }, "reviewer_email": { "description": "Arvustaja e-post.", "type": "string", "format": "email", "required": false }, "review": { "description": "Arvustuse sisu.", "type": "string", "required": false }, "rating": { "description": "\u00dclevaate hinnang (0 kuni 5).", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Kas j\u00e4tta pr\u00fcgikast m\u00f6\u00f6da ja sundida kustutamist.", "required": false } } } ] }, "\/wc\/v3\/products\/reviews\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Selle toote kordumatu identifikaator, millele arvustus kuulub.", "type": "integer", "required": false }, "product_name": { "description": "Toote nimi.", "type": "string", "required": false }, "status": { "description": "Arvustuse staatus.", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "description": "\u00dclevaataja nimi.", "type": "string", "required": false }, "reviewer_email": { "description": "Arvustaja e-post.", "type": "string", "format": "email", "required": false }, "review": { "description": "Arvustuse sisu.", "type": "string", "required": false }, "rating": { "description": "\u00dclevaate hinnang (0 kuni 5).", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/products\/reviews\/batch" } ] } }, "\/wc\/v3\/products\/shipping_classes": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra. Kehtib ainult hierarhiliste taksonoomiate puhul.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu ressursiatribuudi j\u00e4rgi.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Kas peita ressursid, mis pole \u00fchelegi tootele m\u00e4\u00e4ratud.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Piirake tulemuste komplekt konkreetsele vanemale m\u00e4\u00e4ratud ressurssidega. Kehtib ainult hierarhiliste taksonoomiate puhul.", "type": "integer", "required": false }, "product": { "description": "Piirake tulemuste komplekt konkreetsele tootele m\u00e4\u00e4ratud ressurssidega.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Piirake tulemuse komplekt konkreetse n\u00e4lkjaga ressurssidega.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Ressursi nimi.", "required": true }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "name": { "description": "Tarneklassi nimi.", "type": "string", "required": false }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "N\u00f5utav, et see oleks t\u00f5ene, kuna ressurss ei toeta pr\u00fcgikasti viimist.", "required": false } } } ] }, "\/wc\/v3\/products\/shipping_classes\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Tarneklassi nimi.", "type": "string", "required": false }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/products\/shipping_classes\/batch" } ] } }, "\/wc\/v3\/products\/shipping_classes\/slug-suggestion": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "name": { "description": "Tarneklassi nimi.", "type": "string", "required": false }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/products\/shipping_classes\/slug-suggestion" } ] } }, "\/wc\/v3\/products\/tags": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra. Kehtib ainult hierarhiliste taksonoomiate puhul.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu ressursiatribuudi j\u00e4rgi.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Kas peita ressursid, mis pole \u00fchelegi tootele m\u00e4\u00e4ratud.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Piirake tulemuste komplekt konkreetsele vanemale m\u00e4\u00e4ratud ressurssidega. Kehtib ainult hierarhiliste taksonoomiate puhul.", "type": "integer", "required": false }, "product": { "description": "Piirake tulemuste komplekt konkreetsele tootele m\u00e4\u00e4ratud ressurssidega.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Piirake tulemuse komplekt konkreetse n\u00e4lkjaga ressurssidega.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Ressursi nimi.", "required": true }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "name": { "description": "Sildi nimi.", "type": "string", "required": false }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "N\u00f5utav, et see oleks t\u00f5ene, kuna ressurss ei toeta pr\u00fcgikasti viimist.", "required": false } } } ] }, "\/wc\/v3\/products\/tags\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Sildi nimi.", "type": "string", "required": false }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/products\/tags\/batch" } ] } }, "\/wc\/v3\/products": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piirake tulemusi nendega, mis vastavad stringile.", "type": "string", "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to products modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to products modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "popularity", "rating", "post__in", "price", "sales", "menu_order", "random", "popularity", "rating", "menu_order", "price", "popularity", "rating" ], "required": false }, "parent": { "description": "Piirake tulemuste komplekt konkreetsete vanemate ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Piirake tulemuste komplekti k\u00f5igi \u00fcksustega, v\u00e4lja arvatud konkreetse \u00fclem-ID \u00fcksustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "atum_post_status": { "description": "Limit response to products to the specified statuses. This param supports multiple statuses separated by commas.", "type": "string", "required": false }, "brand": { "description": "Piira tulemuste komplekti toodetega, millele on m\u00e4\u00e4ratud kindel br\u00e4ndi ID.", "type": "string", "required": false }, "slug": { "description": "Piirake tulemuste komplekt konkreetse n\u00e4lkjaga toodetega.", "type": "string", "required": false }, "status": { "default": "any", "description": "Piirake tulemuste komplekt toodetele, millele on m\u00e4\u00e4ratud konkreetne olek.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "Piirake tulemuste komplekt toodetele, millele on m\u00e4\u00e4ratud kindel t\u00fc\u00fcp.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "sku": { "description": "Piirake tulemuste komplekt konkreetsete SKU-dega toodetega. Kasutage eraldamiseks komasid.", "type": "string", "required": false }, "featured": { "description": "Piirake tulemuste komplekt esiletoodud toodetega.", "type": "boolean", "required": false }, "category": { "description": "Piirake tulemuste komplekt toodetega, millele on m\u00e4\u00e4ratud konkreetne kategooria ID.", "type": "string", "required": false }, "tag": { "description": "Piirake tulemuste komplekt toodetega, millele on m\u00e4\u00e4ratud konkreetne sildi ID.", "type": "string", "required": false }, "shipping_class": { "description": "Piirake tulemuse komplekt toodetele, millele on m\u00e4\u00e4ratud konkreetne tarneklassi ID.", "type": "string", "required": false }, "attribute": { "description": "Piirake tulemuste komplekt konkreetse atribuudiga toodetega. Kasutage taksonoomia nime\/atribuuti slug.", "type": "string", "required": false }, "attribute_term": { "description": "Piirake tulemuste komplekt toodetega, millel on spetsiifiline atribuuditermin ID (vajalik on m\u00e4\u00e4ratud atribuut).", "type": "string", "required": false }, "on_sale": { "description": "Piirake tulemuste komplekt m\u00fc\u00fcgil olevatele toodetele.", "type": "boolean", "required": false }, "min_price": { "description": "Piirake tulemuse komplekt toodetega miinimumhinna alusel.", "type": "string", "required": false }, "max_price": { "description": "Piirake tulemuse seatud toodetele maksimaalse hinna alusel.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Piirake meta_andmed konkreetsete v\u00f5tmetega.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Veenduge, et meta_andmed v\u00e4listaks teatud v\u00f5tmed.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Piirake tulemus m\u00e4\u00e4ratud toodetele, mille laos on m\u00e4\u00e4ratud.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "search_sku": { "description": "Limit results to those with a SKU that partial matches a string. This argument takes precedence over 'sku'.", "type": "string", "required": false }, "search_name_or_sku": { "description": "Limit results to those with a name or SKU that partial matches a string. This argument takes precedence over 'search', 'sku' and 'search_sku'.", "type": "string", "required": false }, "search_fields": { "description": "Limit search to specific fields when used with search parameter. Available fields: name, sku, global_unique_id, description, short_description. This argument takes precedence over all other search parameters.", "type": "array", "items": { "type": "string", "enum": [ "name", "global_unique_id", "description", "short_description", "sku" ] }, "default": [], "required": false }, "include_status": { "description": "Piira tulemuste komplekti toodetega, millel on mis tahes olek.", "type": "array", "items": { "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "exclude_status": { "description": "J\u00e4ta tulemuste hulgast v\u00e4lja tooted, millel on m\u00f5ni j\u00e4rgmistest staatustest.", "type": "array", "items": { "type": "string", "enum": [ "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "include_types": { "description": "Piira tulemuste komplekti mis tahes t\u00fc\u00fcbiga toodetega.", "type": "array", "items": { "type": "string", "enum": [ "simple", "grouped", "external", "variable" ] }, "required": false }, "exclude_types": { "description": "J\u00e4ta tulemuste hulgast v\u00e4lja mis tahes t\u00fc\u00fcbiga tooted.", "type": "array", "items": { "type": "string", "enum": [ "simple", "grouped", "external", "variable" ] }, "required": false }, "downloadable": { "description": "Piira tulemuste komplekti allalaaditavate toodetega.", "type": "boolean", "required": false }, "virtual": { "description": "Piira tulemuste komplekti virtuaalsete toodetega.", "type": "boolean", "required": false }, "pos_products_only": { "description": "Limit result set to products visible in Point of Sale.", "type": "boolean", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Toote nimi.", "type": "string", "required": false }, "slug": { "description": "Toode n\u00e4lkjas.", "type": "string", "required": false }, "date_created": { "description": "Toote loomise kuup\u00e4ev, veebilehe ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Toote loomise kuup\u00e4ev, GMT v\u00e4\u00e4rtusena.", "type": [ "null", "string" ], "required": false }, "type": { "default": "simple", "description": "Toote t\u00fc\u00fcp.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "default": "publish", "description": "Toote staatus (postituse staatus).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "default": false, "description": "Esilet\u00f5stetud toode.", "type": "boolean", "required": false }, "catalog_visibility": { "default": "visible", "description": "N\u00e4htavus kataloogis.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Toote kirjeldus.", "type": "string", "required": false }, "short_description": { "description": "Toote l\u00fchikirjeldus.", "type": "string", "required": false }, "sku": { "description": "Varude hoidmise \u00fcksus.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN v\u00f5i ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Toote tavahind.", "type": "string", "required": false }, "sale_price": { "description": "Toote soodushind.", "type": "string", "required": false }, "date_on_sale_from": { "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev, GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "M\u00fc\u00fcgihinna l\u00f5ppkuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "M\u00fc\u00fcgihinna l\u00f5ppkuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "virtual": { "default": false, "description": "Kas toode on virtuaalne.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Kas toode on alla laaditav.", "type": "boolean", "required": false }, "downloads": { "description": "Allalaaditavate failide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faili ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faili nimi.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faili URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Allalaaditavate failide allalaadimiste arv p\u00e4rast ostmist.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "P\u00e4evade arv, kuni juurdep\u00e4\u00e4s allalaaditavatele failidele aegub.", "type": "integer", "required": false }, "external_url": { "description": "Toote v\u00e4line URL. Ainult v\u00e4listele toodetele.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Toote v\u00e4lise nupu tekst. Ainult v\u00e4listele toodetele.", "type": "string", "required": false }, "tax_status": { "default": "taxable", "description": "Maksustaatus.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Maksuklass.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Laohaldus toote tasemel.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Lao kogus.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Kontrollib toote laoseisu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "Laoseisu haldamisel kontrollib see, kas j\u00e4reltellimused on lubatud.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Toote v\u00e4ike laokogus.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "default": false, "description": "Luba \u00fches tellimuses osta vaid \u00fcks eksemplar.", "type": "boolean", "required": false }, "weight": { "description": "Toote kaal (kg).", "type": "string", "required": false }, "dimensions": { "description": "Toote m\u00f5\u00f5tmed.", "type": "object", "properties": { "length": { "description": "Toote pikkus (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Toote laius (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Toote k\u00f5rgus (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Saatmisklassi n\u00e4lkjas.", "type": "string", "required": false }, "reviews_allowed": { "default": true, "description": "Luba arvustused.", "type": "boolean", "required": false }, "post_password": { "description": "Postitage parool.", "type": "string", "required": false }, "upsell_ids": { "description": "\u00dclesm\u00fc\u00fcgi toodete ID-de nimekiri.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Ristm\u00fc\u00fcgi toodete ID-de nimekiri.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "\u00dclemtoote ID.", "type": "integer", "required": false }, "purchase_note": { "description": "Soovi korral kliendile peale ostu saadetav teade.", "type": "string", "required": false }, "categories": { "description": "Kategooriate nimekiri.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kategooria ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Kategooria nimi.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Kategooria p\u00fcsiviide.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "brands": { "description": "List of brands.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Brand ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Brand name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Brand slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Siltide nimekiri.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Sildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Sildi nimi.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Sildi p\u00fcsiviide.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Piltide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Kujutise loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Kujutise viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Atribuutide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atribuudi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atribuudi nimi.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Omaduse positsioon.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "M\u00e4\u00e4rab omaduse n\u00e4htavuse tootelehel olevas \"Lisainfo\" sakis.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "M\u00e4\u00e4ra, kas omadust v\u00f5ib kasutada variatsioonideks.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Omaduse olemasolevate terminite nimetuste loend.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Vaikimisi aktiivse variatsiooni omadused.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atribuudi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atribuudi nimi.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Valitud atribuudi termini nimi.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse toodete kohandatud sorteerimiseks.", "type": "integer", "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "supplier_id": { "description": "The ID of the ATUM Supplier that is linked to the product.", "type": "integer", "required": false }, "supplier_sku": { "description": "The Supplier's SKU for the product.", "type": "string", "required": false }, "barcode": { "description": "The product's barcode.", "type": "string", "required": false }, "atum_controlled": { "default": false, "description": "Whether the product is being controlled by ATUM.", "type": "boolean", "required": false }, "out_stock_date": { "description": "The date when the product run out of stock.", "type": [ "null", "string" ], "required": false }, "out_stock_threshold": { "description": "Out of stock threshold at product level.", "type": "number", "required": false }, "inheritable": { "default": false, "description": "Whether this product may have children.", "type": "boolean", "required": false }, "inbound_stock": { "description": "Product's inbound stock.", "type": "number", "required": false }, "stock_on_hold": { "description": "Product's stock on hold.", "type": "number", "required": false }, "sold_today": { "description": "Units sold today.", "type": "number", "required": false }, "sales_last_days": { "description": "Sales the last 14 days.", "type": "number", "required": false }, "reserved_stock": { "description": "Stock set as 'reserved_stock' within Inventory Logs.", "type": "number", "required": false }, "customer_returns": { "description": "Stock set as 'customer returns' within Inventory Logs.", "type": "number", "required": false }, "warehouse_damage": { "description": "Stock set as 'warehouse damage' within Inventory Logs.", "type": "number", "required": false }, "lost_in_post": { "description": "Stock set as 'lost in post' within Inventory Logs.", "type": "number", "required": false }, "other_logs": { "description": "Stock set as 'other' within Inventory Logs.", "type": "number", "required": false }, "out_stock_days": { "description": "The number of days that the product is Out of stock.", "type": "integer", "required": false }, "lost_sales": { "description": "Product lost sales.", "type": "number", "required": false }, "has_location": { "description": "Whether the product has any ATUM location set.", "type": "boolean", "required": false }, "update_date": { "description": "Last date when the ATUM product data was calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "atum_locations": { "description": "List of ATUM locations linked to the product.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Location ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Location name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Location slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "atum_stock_status": { "description": "Used to store the stock status (same as WC) but both values may differ for MI enable products.", "type": "string", "required": false }, "restock_status": { "description": "Indicates whether the stock will last soon and should be reordered.", "type": "boolean", "required": false }, "sales_update_date": { "description": "Last date when the sales fields on ATUM product data were calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "calc_backorders": { "description": "Backordered items (if backorders is enabled and it has a negative stock value).", "type": "number", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "name": { "description": "Toote nimi.", "type": "string", "required": false }, "slug": { "description": "Toode n\u00e4lkjas.", "type": "string", "required": false }, "date_created": { "description": "Toote loomise kuup\u00e4ev, veebilehe ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Toote loomise kuup\u00e4ev, GMT v\u00e4\u00e4rtusena.", "type": [ "null", "string" ], "required": false }, "type": { "description": "Toote t\u00fc\u00fcp.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "description": "Toote staatus (postituse staatus).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "description": "Esilet\u00f5stetud toode.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "N\u00e4htavus kataloogis.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Toote kirjeldus.", "type": "string", "required": false }, "short_description": { "description": "Toote l\u00fchikirjeldus.", "type": "string", "required": false }, "sku": { "description": "Varude hoidmise \u00fcksus.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN v\u00f5i ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Toote tavahind.", "type": "string", "required": false }, "sale_price": { "description": "Toote soodushind.", "type": "string", "required": false }, "date_on_sale_from": { "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev, GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "M\u00fc\u00fcgihinna l\u00f5ppkuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "M\u00fc\u00fcgihinna l\u00f5ppkuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "Kas toode on virtuaalne.", "type": "boolean", "required": false }, "downloadable": { "description": "Kas toode on alla laaditav.", "type": "boolean", "required": false }, "downloads": { "description": "Allalaaditavate failide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faili ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faili nimi.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faili URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Allalaaditavate failide allalaadimiste arv p\u00e4rast ostmist.", "type": "integer", "required": false }, "download_expiry": { "description": "P\u00e4evade arv, kuni juurdep\u00e4\u00e4s allalaaditavatele failidele aegub.", "type": "integer", "required": false }, "external_url": { "description": "Toote v\u00e4line URL. Ainult v\u00e4listele toodetele.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Toote v\u00e4lise nupu tekst. Ainult v\u00e4listele toodetele.", "type": "string", "required": false }, "tax_status": { "description": "Maksustaatus.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Maksuklass.", "type": "string", "required": false }, "manage_stock": { "description": "Laohaldus toote tasemel.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Lao kogus.", "type": "integer", "required": false }, "stock_status": { "description": "Kontrollib toote laoseisu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Laoseisu haldamisel kontrollib see, kas j\u00e4reltellimused on lubatud.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Toote v\u00e4ike laokogus.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "description": "Luba \u00fches tellimuses osta vaid \u00fcks eksemplar.", "type": "boolean", "required": false }, "weight": { "description": "Toote kaal (kg).", "type": "string", "required": false }, "dimensions": { "description": "Toote m\u00f5\u00f5tmed.", "type": "object", "properties": { "length": { "description": "Toote pikkus (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Toote laius (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Toote k\u00f5rgus (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Saatmisklassi n\u00e4lkjas.", "type": "string", "required": false }, "reviews_allowed": { "description": "Luba arvustused.", "type": "boolean", "required": false }, "post_password": { "description": "Postitage parool.", "type": "string", "required": false }, "upsell_ids": { "description": "\u00dclesm\u00fc\u00fcgi toodete ID-de nimekiri.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Ristm\u00fc\u00fcgi toodete ID-de nimekiri.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "\u00dclemtoote ID.", "type": "integer", "required": false }, "purchase_note": { "description": "Soovi korral kliendile peale ostu saadetav teade.", "type": "string", "required": false }, "categories": { "description": "Kategooriate nimekiri.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kategooria ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Kategooria nimi.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Kategooria p\u00fcsiviide.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "brands": { "description": "List of brands.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Brand ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Brand name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Brand slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Siltide nimekiri.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Sildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Sildi nimi.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Sildi p\u00fcsiviide.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Piltide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Kujutise loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Kujutise viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Atribuutide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atribuudi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atribuudi nimi.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Omaduse positsioon.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "M\u00e4\u00e4rab omaduse n\u00e4htavuse tootelehel olevas \"Lisainfo\" sakis.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "M\u00e4\u00e4ra, kas omadust v\u00f5ib kasutada variatsioonideks.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Omaduse olemasolevate terminite nimetuste loend.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Vaikimisi aktiivse variatsiooni omadused.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atribuudi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atribuudi nimi.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Valitud atribuudi termini nimi.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse toodete kohandatud sorteerimiseks.", "type": "integer", "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "supplier_id": { "description": "The ID of the ATUM Supplier that is linked to the product.", "type": "integer", "required": false }, "supplier_sku": { "description": "The Supplier's SKU for the product.", "type": "string", "required": false }, "barcode": { "description": "The product's barcode.", "type": "string", "required": false }, "atum_controlled": { "description": "Whether the product is being controlled by ATUM.", "type": "boolean", "required": false }, "out_stock_date": { "description": "The date when the product run out of stock.", "type": [ "null", "string" ], "required": false }, "out_stock_threshold": { "description": "Out of stock threshold at product level.", "type": "number", "required": false }, "inheritable": { "description": "Whether this product may have children.", "type": "boolean", "required": false }, "inbound_stock": { "description": "Product's inbound stock.", "type": "number", "required": false }, "stock_on_hold": { "description": "Product's stock on hold.", "type": "number", "required": false }, "sold_today": { "description": "Units sold today.", "type": "number", "required": false }, "sales_last_days": { "description": "Sales the last 14 days.", "type": "number", "required": false }, "reserved_stock": { "description": "Stock set as 'reserved_stock' within Inventory Logs.", "type": "number", "required": false }, "customer_returns": { "description": "Stock set as 'customer returns' within Inventory Logs.", "type": "number", "required": false }, "warehouse_damage": { "description": "Stock set as 'warehouse damage' within Inventory Logs.", "type": "number", "required": false }, "lost_in_post": { "description": "Stock set as 'lost in post' within Inventory Logs.", "type": "number", "required": false }, "other_logs": { "description": "Stock set as 'other' within Inventory Logs.", "type": "number", "required": false }, "out_stock_days": { "description": "The number of days that the product is Out of stock.", "type": "integer", "required": false }, "lost_sales": { "description": "Product lost sales.", "type": "number", "required": false }, "has_location": { "description": "Whether the product has any ATUM location set.", "type": "boolean", "required": false }, "update_date": { "description": "Last date when the ATUM product data was calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "atum_locations": { "description": "List of ATUM locations linked to the product.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Location ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Location name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Location slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "atum_stock_status": { "description": "Used to store the stock status (same as WC) but both values may differ for MI enable products.", "type": "string", "required": false }, "restock_status": { "description": "Indicates whether the stock will last soon and should be reordered.", "type": "boolean", "required": false }, "sales_update_date": { "description": "Last date when the sales fields on ATUM product data were calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "calc_backorders": { "description": "Backordered items (if backorders is enabled and it has a negative stock value).", "type": "number", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "description": "Kas j\u00e4tta pr\u00fcgikast m\u00f6\u00f6da ja sundida kustutamist.", "type": "boolean", "required": false } } } ] }, "\/wc\/v3\/products\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Toote nimi.", "type": "string", "required": false }, "slug": { "description": "Toode n\u00e4lkjas.", "type": "string", "required": false }, "date_created": { "description": "Toote loomise kuup\u00e4ev, veebilehe ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Toote loomise kuup\u00e4ev, GMT v\u00e4\u00e4rtusena.", "type": [ "null", "string" ], "required": false }, "type": { "description": "Toote t\u00fc\u00fcp.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "description": "Toote staatus (postituse staatus).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "description": "Esilet\u00f5stetud toode.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "N\u00e4htavus kataloogis.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Toote kirjeldus.", "type": "string", "required": false }, "short_description": { "description": "Toote l\u00fchikirjeldus.", "type": "string", "required": false }, "sku": { "description": "Varude hoidmise \u00fcksus.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN v\u00f5i ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Toote tavahind.", "type": "string", "required": false }, "sale_price": { "description": "Toote soodushind.", "type": "string", "required": false }, "date_on_sale_from": { "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev, GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "M\u00fc\u00fcgihinna l\u00f5ppkuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "M\u00fc\u00fcgihinna l\u00f5ppkuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "Kas toode on virtuaalne.", "type": "boolean", "required": false }, "downloadable": { "description": "Kas toode on alla laaditav.", "type": "boolean", "required": false }, "downloads": { "description": "Allalaaditavate failide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faili ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faili nimi.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faili URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Allalaaditavate failide allalaadimiste arv p\u00e4rast ostmist.", "type": "integer", "required": false }, "download_expiry": { "description": "P\u00e4evade arv, kuni juurdep\u00e4\u00e4s allalaaditavatele failidele aegub.", "type": "integer", "required": false }, "external_url": { "description": "Toote v\u00e4line URL. Ainult v\u00e4listele toodetele.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Toote v\u00e4lise nupu tekst. Ainult v\u00e4listele toodetele.", "type": "string", "required": false }, "tax_status": { "description": "Maksustaatus.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Maksuklass.", "type": "string", "required": false }, "manage_stock": { "description": "Laohaldus toote tasemel.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Lao kogus.", "type": "integer", "required": false }, "stock_status": { "description": "Kontrollib toote laoseisu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Laoseisu haldamisel kontrollib see, kas j\u00e4reltellimused on lubatud.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Toote v\u00e4ike laokogus.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "description": "Luba \u00fches tellimuses osta vaid \u00fcks eksemplar.", "type": "boolean", "required": false }, "weight": { "description": "Toote kaal (kg).", "type": "string", "required": false }, "dimensions": { "description": "Toote m\u00f5\u00f5tmed.", "type": "object", "properties": { "length": { "description": "Toote pikkus (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Toote laius (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Toote k\u00f5rgus (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Saatmisklassi n\u00e4lkjas.", "type": "string", "required": false }, "reviews_allowed": { "description": "Luba arvustused.", "type": "boolean", "required": false }, "post_password": { "description": "Postitage parool.", "type": "string", "required": false }, "upsell_ids": { "description": "\u00dclesm\u00fc\u00fcgi toodete ID-de nimekiri.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Ristm\u00fc\u00fcgi toodete ID-de nimekiri.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "\u00dclemtoote ID.", "type": "integer", "required": false }, "purchase_note": { "description": "Soovi korral kliendile peale ostu saadetav teade.", "type": "string", "required": false }, "categories": { "description": "Kategooriate nimekiri.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kategooria ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Kategooria nimi.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Kategooria p\u00fcsiviide.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "brands": { "description": "List of brands.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Brand ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Brand name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Brand slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Siltide nimekiri.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Sildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Sildi nimi.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Sildi p\u00fcsiviide.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Piltide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Kujutise loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Kujutise viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Atribuutide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atribuudi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atribuudi nimi.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Omaduse positsioon.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "M\u00e4\u00e4rab omaduse n\u00e4htavuse tootelehel olevas \"Lisainfo\" sakis.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "M\u00e4\u00e4ra, kas omadust v\u00f5ib kasutada variatsioonideks.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Omaduse olemasolevate terminite nimetuste loend.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Vaikimisi aktiivse variatsiooni omadused.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atribuudi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atribuudi nimi.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Valitud atribuudi termini nimi.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse toodete kohandatud sorteerimiseks.", "type": "integer", "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "supplier_id": { "description": "The ID of the ATUM Supplier that is linked to the product.", "type": "integer", "required": false }, "supplier_sku": { "description": "The Supplier's SKU for the product.", "type": "string", "required": false }, "barcode": { "description": "The product's barcode.", "type": "string", "required": false }, "atum_controlled": { "description": "Whether the product is being controlled by ATUM.", "type": "boolean", "required": false }, "out_stock_date": { "description": "The date when the product run out of stock.", "type": [ "null", "string" ], "required": false }, "out_stock_threshold": { "description": "Out of stock threshold at product level.", "type": "number", "required": false }, "inheritable": { "description": "Whether this product may have children.", "type": "boolean", "required": false }, "inbound_stock": { "description": "Product's inbound stock.", "type": "number", "required": false }, "stock_on_hold": { "description": "Product's stock on hold.", "type": "number", "required": false }, "sold_today": { "description": "Units sold today.", "type": "number", "required": false }, "sales_last_days": { "description": "Sales the last 14 days.", "type": "number", "required": false }, "reserved_stock": { "description": "Stock set as 'reserved_stock' within Inventory Logs.", "type": "number", "required": false }, "customer_returns": { "description": "Stock set as 'customer returns' within Inventory Logs.", "type": "number", "required": false }, "warehouse_damage": { "description": "Stock set as 'warehouse damage' within Inventory Logs.", "type": "number", "required": false }, "lost_in_post": { "description": "Stock set as 'lost in post' within Inventory Logs.", "type": "number", "required": false }, "other_logs": { "description": "Stock set as 'other' within Inventory Logs.", "type": "number", "required": false }, "out_stock_days": { "description": "The number of days that the product is Out of stock.", "type": "integer", "required": false }, "lost_sales": { "description": "Product lost sales.", "type": "number", "required": false }, "has_location": { "description": "Whether the product has any ATUM location set.", "type": "boolean", "required": false }, "update_date": { "description": "Last date when the ATUM product data was calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "atum_locations": { "description": "List of ATUM locations linked to the product.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Location ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Location name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Location slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "atum_stock_status": { "description": "Used to store the stock status (same as WC) but both values may differ for MI enable products.", "type": "string", "required": false }, "restock_status": { "description": "Indicates whether the stock will last soon and should be reordered.", "type": "boolean", "required": false }, "sales_update_date": { "description": "Last date when the sales fields on ATUM product data were calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "calc_backorders": { "description": "Backordered items (if backorders is enabled and it has a negative stock value).", "type": "number", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/products\/batch" } ] } }, "\/wc\/v3\/products\/(?P[\\d]+)\/related": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false } } } ] }, "\/wc\/v3\/products\/suggested-products": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piirake tulemusi nendega, mis vastavad stringile.", "type": "string", "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to products modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to products modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "popularity", "rating", "post__in", "price", "sales", "menu_order", "random", "popularity", "rating", "menu_order" ], "required": false }, "parent": { "description": "Piirake tulemuste komplekt konkreetsete vanemate ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Piirake tulemuste komplekti k\u00f5igi \u00fcksustega, v\u00e4lja arvatud konkreetse \u00fclem-ID \u00fcksustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "atum_post_status": { "description": "Limit response to products to the specified statuses. This param supports multiple statuses separated by commas.", "type": "string", "required": false }, "brand": { "description": "Piira tulemuste komplekti toodetega, millele on m\u00e4\u00e4ratud kindel br\u00e4ndi ID.", "type": "string", "required": false }, "slug": { "description": "Piirake tulemuste komplekt konkreetse n\u00e4lkjaga toodetega.", "type": "string", "required": false }, "status": { "default": "any", "description": "Piirake tulemuste komplekt toodetele, millele on m\u00e4\u00e4ratud konkreetne olek.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "Piirake tulemuste komplekt toodetele, millele on m\u00e4\u00e4ratud kindel t\u00fc\u00fcp.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "sku": { "description": "Piirake tulemuste komplekt konkreetsete SKU-dega toodetega. Kasutage eraldamiseks komasid.", "type": "string", "required": false }, "featured": { "description": "Piirake tulemuste komplekt esiletoodud toodetega.", "type": "boolean", "required": false }, "category": { "description": "Piirake tulemuste komplekt toodetega, millele on m\u00e4\u00e4ratud konkreetne kategooria ID.", "type": "string", "required": false }, "tag": { "description": "Piirake tulemuste komplekt toodetega, millele on m\u00e4\u00e4ratud konkreetne sildi ID.", "type": "string", "required": false }, "shipping_class": { "description": "Piirake tulemuse komplekt toodetele, millele on m\u00e4\u00e4ratud konkreetne tarneklassi ID.", "type": "string", "required": false }, "attribute": { "description": "Piirake tulemuste komplekt konkreetse atribuudiga toodetega. Kasutage taksonoomia nime\/atribuuti slug.", "type": "string", "required": false }, "attribute_term": { "description": "Piirake tulemuste komplekt toodetega, millel on spetsiifiline atribuuditermin ID (vajalik on m\u00e4\u00e4ratud atribuut).", "type": "string", "required": false }, "in_stock": { "description": "Piirake tulemusi laos olevatele v\u00f5i laost otsas olevatele toodetele.", "type": "boolean", "required": false }, "on_sale": { "description": "Piirake tulemuste komplekt m\u00fc\u00fcgil olevatele toodetele.", "type": "boolean", "required": false }, "min_price": { "description": "Piirake tulemuse komplekt toodetega miinimumhinna alusel.", "type": "string", "required": false }, "max_price": { "description": "Piirake tulemuse seatud toodetele maksimaalse hinna alusel.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Piirake meta_andmed konkreetsete v\u00f5tmetega.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Veenduge, et meta_andmed v\u00e4listaks teatud v\u00f5tmed.", "type": "array", "items": { "type": "string" }, "required": false }, "categories": { "description": "Piirake tulemuste komplekt konkreetse tootekategooria ID-ga.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "tags": { "description": "Piirake tulemuste komplekt konkreetsete tootem\u00e4rgendi ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "limit": { "description": "Piirake tulemuse komplekt konkreetse soovitatud toodete kogusega.", "type": "integer", "default": 5, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/products\/suggested-products" } ] } }, "\/wc\/v3\/products\/(?P[\\d]+)\/duplicate": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "name": { "description": "Toote nimi.", "type": "string", "required": false }, "slug": { "description": "Toode n\u00e4lkjas.", "type": "string", "required": false }, "date_created": { "description": "Toote loomise kuup\u00e4ev, veebilehe ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Toote loomise kuup\u00e4ev, GMT v\u00e4\u00e4rtusena.", "type": [ "null", "string" ], "required": false }, "type": { "description": "Toote t\u00fc\u00fcp.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "description": "Toote staatus (postituse staatus).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "description": "Esilet\u00f5stetud toode.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "N\u00e4htavus kataloogis.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Toote kirjeldus.", "type": "string", "required": false }, "short_description": { "description": "Toote l\u00fchikirjeldus.", "type": "string", "required": false }, "sku": { "description": "Varude hoidmise \u00fcksus.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN v\u00f5i ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Toote tavahind.", "type": "string", "required": false }, "sale_price": { "description": "Toote soodushind.", "type": "string", "required": false }, "date_on_sale_from": { "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev, GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "M\u00fc\u00fcgihinna l\u00f5ppkuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "M\u00fc\u00fcgihinna l\u00f5ppkuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "Kas toode on virtuaalne.", "type": "boolean", "required": false }, "downloadable": { "description": "Kas toode on alla laaditav.", "type": "boolean", "required": false }, "downloads": { "description": "Allalaaditavate failide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faili ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faili nimi.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faili URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Allalaaditavate failide allalaadimiste arv p\u00e4rast ostmist.", "type": "integer", "required": false }, "download_expiry": { "description": "P\u00e4evade arv, kuni juurdep\u00e4\u00e4s allalaaditavatele failidele aegub.", "type": "integer", "required": false }, "external_url": { "description": "Toote v\u00e4line URL. Ainult v\u00e4listele toodetele.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Toote v\u00e4lise nupu tekst. Ainult v\u00e4listele toodetele.", "type": "string", "required": false }, "tax_status": { "description": "Maksustaatus.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Maksuklass.", "type": "string", "required": false }, "manage_stock": { "description": "Laohaldus toote tasemel.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Lao kogus.", "type": "integer", "required": false }, "stock_status": { "description": "Kontrollib toote laoseisu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Laoseisu haldamisel kontrollib see, kas j\u00e4reltellimused on lubatud.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Toote v\u00e4ike laokogus.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "description": "Luba \u00fches tellimuses osta vaid \u00fcks eksemplar.", "type": "boolean", "required": false }, "weight": { "description": "Toote kaal (kg).", "type": "string", "required": false }, "dimensions": { "description": "Toote m\u00f5\u00f5tmed.", "type": "object", "properties": { "length": { "description": "Toote pikkus (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Toote laius (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Toote k\u00f5rgus (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Saatmisklassi n\u00e4lkjas.", "type": "string", "required": false }, "reviews_allowed": { "description": "Luba arvustused.", "type": "boolean", "required": false }, "post_password": { "description": "Postitage parool.", "type": "string", "required": false }, "upsell_ids": { "description": "\u00dclesm\u00fc\u00fcgi toodete ID-de nimekiri.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Ristm\u00fc\u00fcgi toodete ID-de nimekiri.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "\u00dclemtoote ID.", "type": "integer", "required": false }, "purchase_note": { "description": "Soovi korral kliendile peale ostu saadetav teade.", "type": "string", "required": false }, "categories": { "description": "Kategooriate nimekiri.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kategooria ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Kategooria nimi.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Kategooria p\u00fcsiviide.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "brands": { "description": "List of brands.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Brand ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Brand name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Brand slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Siltide nimekiri.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Sildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Sildi nimi.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Sildi p\u00fcsiviide.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Piltide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Kujutise loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Kujutise viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Atribuutide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atribuudi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atribuudi nimi.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Omaduse positsioon.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "M\u00e4\u00e4rab omaduse n\u00e4htavuse tootelehel olevas \"Lisainfo\" sakis.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "M\u00e4\u00e4ra, kas omadust v\u00f5ib kasutada variatsioonideks.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Omaduse olemasolevate terminite nimetuste loend.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Vaikimisi aktiivse variatsiooni omadused.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atribuudi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atribuudi nimi.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Valitud atribuudi termini nimi.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse toodete kohandatud sorteerimiseks.", "type": "integer", "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "supplier_id": { "description": "The ID of the ATUM Supplier that is linked to the product.", "type": "integer", "required": false }, "supplier_sku": { "description": "The Supplier's SKU for the product.", "type": "string", "required": false }, "barcode": { "description": "The product's barcode.", "type": "string", "required": false }, "atum_controlled": { "description": "Whether the product is being controlled by ATUM.", "type": "boolean", "required": false }, "out_stock_date": { "description": "The date when the product run out of stock.", "type": [ "null", "string" ], "required": false }, "out_stock_threshold": { "description": "Out of stock threshold at product level.", "type": "number", "required": false }, "inheritable": { "description": "Whether this product may have children.", "type": "boolean", "required": false }, "inbound_stock": { "description": "Product's inbound stock.", "type": "number", "required": false }, "stock_on_hold": { "description": "Product's stock on hold.", "type": "number", "required": false }, "sold_today": { "description": "Units sold today.", "type": "number", "required": false }, "sales_last_days": { "description": "Sales the last 14 days.", "type": "number", "required": false }, "reserved_stock": { "description": "Stock set as 'reserved_stock' within Inventory Logs.", "type": "number", "required": false }, "customer_returns": { "description": "Stock set as 'customer returns' within Inventory Logs.", "type": "number", "required": false }, "warehouse_damage": { "description": "Stock set as 'warehouse damage' within Inventory Logs.", "type": "number", "required": false }, "lost_in_post": { "description": "Stock set as 'lost in post' within Inventory Logs.", "type": "number", "required": false }, "other_logs": { "description": "Stock set as 'other' within Inventory Logs.", "type": "number", "required": false }, "out_stock_days": { "description": "The number of days that the product is Out of stock.", "type": "integer", "required": false }, "lost_sales": { "description": "Product lost sales.", "type": "number", "required": false }, "has_location": { "description": "Whether the product has any ATUM location set.", "type": "boolean", "required": false }, "update_date": { "description": "Last date when the ATUM product data was calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "atum_locations": { "description": "List of ATUM locations linked to the product.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Location ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Location name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Location slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "atum_stock_status": { "description": "Used to store the stock status (same as WC) but both values may differ for MI enable products.", "type": "string", "required": false }, "restock_status": { "description": "Indicates whether the stock will last soon and should be reordered.", "type": "boolean", "required": false }, "sales_update_date": { "description": "Last date when the sales fields on ATUM product data were calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "calc_backorders": { "description": "Backordered items (if backorders is enabled and it has a negative stock value).", "type": "number", "required": false } } } ] }, "\/wc\/v3\/products\/(?P[\\d]+)\/variations": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "description": "Varieeruva toote unikaalne identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piirake tulemusi nendega, mis vastavad stringile.", "type": "string", "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to products modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to products modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "menu_order" ], "required": false }, "parent": { "description": "Piirake tulemuste komplekt konkreetsete vanemate ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Piirake tulemuste komplekti k\u00f5igi \u00fcksustega, v\u00e4lja arvatud konkreetse \u00fclem-ID \u00fcksustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "atum_post_status": { "description": "Limit response to products to the specified statuses. This param supports multiple statuses separated by commas.", "type": "string", "required": false }, "slug": { "description": "Piirake tulemuste komplekt konkreetse n\u00e4lkjaga toodetega.", "type": "string", "required": false }, "status": { "default": "any", "description": "Piirake tulemuste komplekt toodetele, millele on m\u00e4\u00e4ratud konkreetne olek.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "sku": { "description": "Piirake tulemuste komplekt konkreetsete SKU-dega toodetega. Kasutage eraldamiseks komasid.", "type": "string", "required": false }, "on_sale": { "description": "Piirake tulemuste komplekt m\u00fc\u00fcgil olevatele toodetele.", "type": "boolean", "required": false }, "min_price": { "description": "Piirake tulemuse komplekt toodetega miinimumhinna alusel.", "type": "string", "required": false }, "max_price": { "description": "Piirake tulemuse seatud toodetele maksimaalse hinna alusel.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Piirake meta_andmed konkreetsete v\u00f5tmetega.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Veenduge, et meta_andmed v\u00e4listaks teatud v\u00f5tmed.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Piirake tulemus m\u00e4\u00e4ratud toodetele, mille laos on m\u00e4\u00e4ratud.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "has_price": { "description": "Piirake tulemust toodetega, millel on hind v\u00f5i ilma.", "type": "boolean", "required": false }, "attributes": { "description": "Piirake tulemuste komplekt m\u00e4\u00e4ratud atribuutidega toodetega.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "type": "string", "description": "Omaduse p\u00fcsiviide." }, "term": { "type": "string", "description": "Atribuudi termin." }, "terms": { "type": "array", "description": "Atribuutide tingimused." } } }, "required": false }, "virtual": { "description": "Piira tulemuste komplekti virtuaalsete tootevariatsioonidega.", "type": "boolean", "required": false }, "downloadable": { "description": "Piira tulemuste komplekti allalaaditavate tootevariatsioonidega.", "type": "boolean", "required": false }, "include_status": { "description": "Piira tulemuste komplekti mis tahes olekuga tootevariatsioonidele.", "type": "array", "items": { "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "exclude_status": { "description": "J\u00e4ta tulemuste hulgast v\u00e4lja mis tahes olekuga tootevariatsioonid.", "type": "array", "items": { "type": "string", "enum": [ "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "pos_products_only": { "description": "Limit result set to variations visible in Point of Sale.", "type": "boolean", "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Varieeruva toote unikaalne identifikaator.", "type": "integer", "required": false }, "description": { "description": "Variatsiooni kirjeldus.", "type": "string", "required": false }, "sku": { "description": "Varude hoidmise \u00fcksus.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN v\u00f5i ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Muutuv tavahind.", "type": "string", "required": false }, "sale_price": { "description": "Erinev m\u00fc\u00fcgihind.", "type": "string", "required": false }, "date_on_sale_from": { "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev, GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "M\u00fc\u00fcgihinna l\u00f5ppkuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "M\u00fc\u00fcgihinna l\u00f5ppkuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "status": { "default": "publish", "description": "Variatsiooni olek.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "default": false, "description": "Kui variatsioon on virtuaalne.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Kui variatsioon on allalaaditav.", "type": "boolean", "required": false }, "downloads": { "description": "Allalaaditavate failide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faili ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faili nimi.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faili URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Allalaaditavate failide allalaadimiste arv p\u00e4rast ostmist.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "P\u00e4evade arv, kuni juurdep\u00e4\u00e4s allalaaditavatele failidele aegub.", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "Maksustaatus.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Maksuklass.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Varude haldamine variatsiooni tasemel.", "type": [ "boolean", "string" ], "required": false }, "stock_quantity": { "description": "Lao kogus.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Kontrollib toote laoseisu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "Laoseisu haldamisel kontrollib see, kas j\u00e4reltellimused on lubatud.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Variatsiooni jaoks v\u00e4ike laokogus.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Variatsiooni kaal (kg).", "type": "string", "required": false }, "dimensions": { "description": "Variatsiooni m\u00f5\u00f5tmed.", "type": "object", "properties": { "length": { "description": "Variatsiooni pikkus (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Variatsioonilaius (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Variatsioonik\u00f5rgus (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Saatmisklassi n\u00e4lkjas.", "type": "string", "required": false }, "image": { "description": "Variatsioonipildi andmed.", "type": "object", "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Kujutise loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Kujutise viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Atribuutide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atribuudi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atribuudi nimi.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Valitud atribuudi termini nimi.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse toodete kohandatud sorteerimiseks.", "type": "integer", "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "supplier_id": { "description": "The ID of the ATUM Supplier that is linked to the product.", "type": "integer", "required": false }, "supplier_sku": { "description": "The Supplier's SKU for the product.", "type": "string", "required": false }, "barcode": { "description": "The product's barcode.", "type": "string", "required": false }, "atum_controlled": { "default": false, "description": "Whether the product is being controlled by ATUM.", "type": "boolean", "required": false }, "out_stock_date": { "description": "The date when the product run out of stock.", "type": [ "null", "string" ], "required": false }, "out_stock_threshold": { "description": "Out of stock threshold at product level.", "type": "number", "required": false }, "inbound_stock": { "description": "Product's inbound stock.", "type": "number", "required": false }, "stock_on_hold": { "description": "Product's stock on hold.", "type": "number", "required": false }, "sold_today": { "description": "Units sold today.", "type": "number", "required": false }, "sales_last_days": { "description": "Sales the last 14 days.", "type": "number", "required": false }, "reserved_stock": { "description": "Stock set as 'reserved_stock' within Inventory Logs.", "type": "number", "required": false }, "customer_returns": { "description": "Stock set as 'customer returns' within Inventory Logs.", "type": "number", "required": false }, "warehouse_damage": { "description": "Stock set as 'warehouse damage' within Inventory Logs.", "type": "number", "required": false }, "lost_in_post": { "description": "Stock set as 'lost in post' within Inventory Logs.", "type": "number", "required": false }, "other_logs": { "description": "Stock set as 'other' within Inventory Logs.", "type": "number", "required": false }, "out_stock_days": { "description": "The number of days that the product is Out of stock.", "type": "integer", "required": false }, "lost_sales": { "description": "Product lost sales.", "type": "number", "required": false }, "update_date": { "description": "Last date when the ATUM product data was calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "atum_stock_status": { "description": "Used to store the stock status (same as WC) but both values may differ for MI enable products.", "type": "string", "required": false }, "restock_status": { "description": "Indicates whether the stock will last soon and should be reordered.", "type": "boolean", "required": false }, "sales_update_date": { "description": "Last date when the sales fields on ATUM product data were calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "calc_backorders": { "description": "Backordered items (if backorders is enabled and it has a negative stock value).", "type": "number", "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": "Varieeruva toote unikaalne identifikaator.", "type": "integer", "required": false }, "id": { "description": "Variatsiooni unikaalne identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Varieeruva toote unikaalne identifikaator.", "type": "integer", "required": false }, "id": { "description": "Variatsiooni unikaalne identifikaator.", "type": "integer", "required": false }, "description": { "description": "Variatsiooni kirjeldus.", "type": "string", "required": false }, "sku": { "description": "Varude hoidmise \u00fcksus.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN v\u00f5i ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Muutuv tavahind.", "type": "string", "required": false }, "sale_price": { "description": "Erinev m\u00fc\u00fcgihind.", "type": "string", "required": false }, "date_on_sale_from": { "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev, GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "M\u00fc\u00fcgihinna l\u00f5ppkuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "M\u00fc\u00fcgihinna l\u00f5ppkuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "status": { "description": "Variatsiooni olek.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "description": "Kui variatsioon on virtuaalne.", "type": "boolean", "required": false }, "downloadable": { "description": "Kui variatsioon on allalaaditav.", "type": "boolean", "required": false }, "downloads": { "description": "Allalaaditavate failide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faili ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faili nimi.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faili URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Allalaaditavate failide allalaadimiste arv p\u00e4rast ostmist.", "type": "integer", "required": false }, "download_expiry": { "description": "P\u00e4evade arv, kuni juurdep\u00e4\u00e4s allalaaditavatele failidele aegub.", "type": "integer", "required": false }, "tax_status": { "description": "Maksustaatus.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Maksuklass.", "type": "string", "required": false }, "manage_stock": { "description": "Varude haldamine variatsiooni tasemel.", "type": [ "boolean", "string" ], "required": false }, "stock_quantity": { "description": "Lao kogus.", "type": "integer", "required": false }, "stock_status": { "description": "Kontrollib toote laoseisu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Laoseisu haldamisel kontrollib see, kas j\u00e4reltellimused on lubatud.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Variatsiooni jaoks v\u00e4ike laokogus.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Variatsiooni kaal (kg).", "type": "string", "required": false }, "dimensions": { "description": "Variatsiooni m\u00f5\u00f5tmed.", "type": "object", "properties": { "length": { "description": "Variatsiooni pikkus (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Variatsioonilaius (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Variatsioonik\u00f5rgus (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Saatmisklassi n\u00e4lkjas.", "type": "string", "required": false }, "image": { "description": "Variatsioonipildi andmed.", "type": "object", "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Kujutise loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Kujutise viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Atribuutide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atribuudi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atribuudi nimi.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Valitud atribuudi termini nimi.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse toodete kohandatud sorteerimiseks.", "type": "integer", "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "supplier_id": { "description": "The ID of the ATUM Supplier that is linked to the product.", "type": "integer", "required": false }, "supplier_sku": { "description": "The Supplier's SKU for the product.", "type": "string", "required": false }, "barcode": { "description": "The product's barcode.", "type": "string", "required": false }, "atum_controlled": { "description": "Whether the product is being controlled by ATUM.", "type": "boolean", "required": false }, "out_stock_date": { "description": "The date when the product run out of stock.", "type": [ "null", "string" ], "required": false }, "out_stock_threshold": { "description": "Out of stock threshold at product level.", "type": "number", "required": false }, "inbound_stock": { "description": "Product's inbound stock.", "type": "number", "required": false }, "stock_on_hold": { "description": "Product's stock on hold.", "type": "number", "required": false }, "sold_today": { "description": "Units sold today.", "type": "number", "required": false }, "sales_last_days": { "description": "Sales the last 14 days.", "type": "number", "required": false }, "reserved_stock": { "description": "Stock set as 'reserved_stock' within Inventory Logs.", "type": "number", "required": false }, "customer_returns": { "description": "Stock set as 'customer returns' within Inventory Logs.", "type": "number", "required": false }, "warehouse_damage": { "description": "Stock set as 'warehouse damage' within Inventory Logs.", "type": "number", "required": false }, "lost_in_post": { "description": "Stock set as 'lost in post' within Inventory Logs.", "type": "number", "required": false }, "other_logs": { "description": "Stock set as 'other' within Inventory Logs.", "type": "number", "required": false }, "out_stock_days": { "description": "The number of days that the product is Out of stock.", "type": "integer", "required": false }, "lost_sales": { "description": "Product lost sales.", "type": "number", "required": false }, "update_date": { "description": "Last date when the ATUM product data was calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "atum_stock_status": { "description": "Used to store the stock status (same as WC) but both values may differ for MI enable products.", "type": "string", "required": false }, "restock_status": { "description": "Indicates whether the stock will last soon and should be reordered.", "type": "boolean", "required": false }, "sales_update_date": { "description": "Last date when the sales fields on ATUM product data were calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "calc_backorders": { "description": "Backordered items (if backorders is enabled and it has a negative stock value).", "type": "number", "required": false } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "description": "Varieeruva toote unikaalne identifikaator.", "type": "integer", "required": false }, "id": { "description": "Variatsiooni unikaalne identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Kas j\u00e4tta pr\u00fcgikast m\u00f6\u00f6da ja sundida kustutamist.", "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": "Varieeruva toote unikaalne identifikaator.", "type": "integer", "required": false }, "description": { "description": "Variatsiooni kirjeldus.", "type": "string", "required": false }, "sku": { "description": "Varude hoidmise \u00fcksus.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN v\u00f5i ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Muutuv tavahind.", "type": "string", "required": false }, "sale_price": { "description": "Erinev m\u00fc\u00fcgihind.", "type": "string", "required": false }, "date_on_sale_from": { "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev, GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "M\u00fc\u00fcgihinna l\u00f5ppkuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "M\u00fc\u00fcgihinna l\u00f5ppkuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "status": { "description": "Variatsiooni olek.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "description": "Kui variatsioon on virtuaalne.", "type": "boolean", "required": false }, "downloadable": { "description": "Kui variatsioon on allalaaditav.", "type": "boolean", "required": false }, "downloads": { "description": "Allalaaditavate failide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faili ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faili nimi.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faili URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Allalaaditavate failide allalaadimiste arv p\u00e4rast ostmist.", "type": "integer", "required": false }, "download_expiry": { "description": "P\u00e4evade arv, kuni juurdep\u00e4\u00e4s allalaaditavatele failidele aegub.", "type": "integer", "required": false }, "tax_status": { "description": "Maksustaatus.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Maksuklass.", "type": "string", "required": false }, "manage_stock": { "description": "Varude haldamine variatsiooni tasemel.", "type": [ "boolean", "string" ], "required": false }, "stock_quantity": { "description": "Lao kogus.", "type": "integer", "required": false }, "stock_status": { "description": "Kontrollib toote laoseisu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Laoseisu haldamisel kontrollib see, kas j\u00e4reltellimused on lubatud.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Variatsiooni jaoks v\u00e4ike laokogus.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Variatsiooni kaal (kg).", "type": "string", "required": false }, "dimensions": { "description": "Variatsiooni m\u00f5\u00f5tmed.", "type": "object", "properties": { "length": { "description": "Variatsiooni pikkus (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Variatsioonilaius (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Variatsioonik\u00f5rgus (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Saatmisklassi n\u00e4lkjas.", "type": "string", "required": false }, "image": { "description": "Variatsioonipildi andmed.", "type": "object", "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Kujutise loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Kujutise viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Atribuutide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atribuudi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atribuudi nimi.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Valitud atribuudi termini nimi.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse toodete kohandatud sorteerimiseks.", "type": "integer", "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "supplier_id": { "description": "The ID of the ATUM Supplier that is linked to the product.", "type": "integer", "required": false }, "supplier_sku": { "description": "The Supplier's SKU for the product.", "type": "string", "required": false }, "barcode": { "description": "The product's barcode.", "type": "string", "required": false }, "atum_controlled": { "description": "Whether the product is being controlled by ATUM.", "type": "boolean", "required": false }, "out_stock_date": { "description": "The date when the product run out of stock.", "type": [ "null", "string" ], "required": false }, "out_stock_threshold": { "description": "Out of stock threshold at product level.", "type": "number", "required": false }, "inbound_stock": { "description": "Product's inbound stock.", "type": "number", "required": false }, "stock_on_hold": { "description": "Product's stock on hold.", "type": "number", "required": false }, "sold_today": { "description": "Units sold today.", "type": "number", "required": false }, "sales_last_days": { "description": "Sales the last 14 days.", "type": "number", "required": false }, "reserved_stock": { "description": "Stock set as 'reserved_stock' within Inventory Logs.", "type": "number", "required": false }, "customer_returns": { "description": "Stock set as 'customer returns' within Inventory Logs.", "type": "number", "required": false }, "warehouse_damage": { "description": "Stock set as 'warehouse damage' within Inventory Logs.", "type": "number", "required": false }, "lost_in_post": { "description": "Stock set as 'lost in post' within Inventory Logs.", "type": "number", "required": false }, "other_logs": { "description": "Stock set as 'other' within Inventory Logs.", "type": "number", "required": false }, "out_stock_days": { "description": "The number of days that the product is Out of stock.", "type": "integer", "required": false }, "lost_sales": { "description": "Product lost sales.", "type": "number", "required": false }, "update_date": { "description": "Last date when the ATUM product data was calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "atum_stock_status": { "description": "Used to store the stock status (same as WC) but both values may differ for MI enable products.", "type": "string", "required": false }, "restock_status": { "description": "Indicates whether the stock will last soon and should be reordered.", "type": "boolean", "required": false }, "sales_update_date": { "description": "Last date when the sales fields on ATUM product data were calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "calc_backorders": { "description": "Backordered items (if backorders is enabled and it has a negative stock value).", "type": "number", "required": false } } } ] }, "\/wc\/v3\/products\/(?P[\\d]+)\/variations\/generate": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "product_id": { "description": "Varieeruva toote unikaalne identifikaator.", "type": "integer", "required": false }, "delete": { "description": "Kustutab kasutamata variatsioonid.", "type": "boolean", "required": false }, "default_values": { "description": "Loodud variatsioonide vaikev\u00e4\u00e4rtused.", "type": "object", "properties": { "description": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Variatsiooni kirjeldus.", "type": "string" }, "sku": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Varude hoidmise \u00fcksus.", "type": "string" }, "global_unique_id": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "GTIN, UPC, EAN v\u00f5i ISBN.", "type": "string" }, "regular_price": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Muutuv tavahind.", "type": "string" }, "sale_price": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Erinev m\u00fc\u00fcgihind.", "type": "string" }, "date_on_sale_from": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ] }, "date_on_sale_from_gmt": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev, GMT.", "type": [ "null", "string" ] }, "date_on_sale_to": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "M\u00fc\u00fcgihinna l\u00f5ppkuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ] }, "date_on_sale_to_gmt": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "M\u00fc\u00fcgihinna l\u00f5ppkuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ] }, "status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Variatsiooni olek.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ] }, "virtual": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Kui variatsioon on virtuaalne.", "type": "boolean" }, "downloadable": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Kui variatsioon on allalaaditav.", "type": "boolean" }, "downloads": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Allalaaditavate failide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faili ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faili nimi.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faili URL.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Allalaaditavate failide allalaadimiste arv p\u00e4rast ostmist.", "type": "integer" }, "download_expiry": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "P\u00e4evade arv, kuni juurdep\u00e4\u00e4s allalaaditavatele failidele aegub.", "type": "integer" }, "tax_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Maksustaatus.", "type": "string", "enum": [ "taxable", "shipping", "none" ] }, "tax_class": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Maksuklass.", "type": "string" }, "manage_stock": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Varude haldamine variatsiooni tasemel.", "type": [ "boolean", "string" ] }, "stock_quantity": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Lao kogus.", "type": "integer" }, "stock_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Kontrollib toote laoseisu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ] }, "backorders": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Laoseisu haldamisel kontrollib see, kas j\u00e4reltellimused on lubatud.", "type": "string", "enum": [ "no", "notify", "yes" ] }, "low_stock_amount": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Variatsiooni jaoks v\u00e4ike laokogus.", "type": [ "integer", "null" ] }, "weight": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Variatsiooni kaal (kg).", "type": "string" }, "dimensions": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Variatsiooni m\u00f5\u00f5tmed.", "type": "object", "properties": { "length": { "description": "Variatsiooni pikkus (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Variatsioonilaius (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Variatsioonik\u00f5rgus (cm).", "type": "string", "context": [ "view", "edit" ] } } }, "shipping_class": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Saatmisklassi n\u00e4lkjas.", "type": "string" }, "image": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Variatsioonipildi andmed.", "type": "object", "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Kujutise loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Kujutise viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] } } }, "attributes": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Atribuutide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atribuudi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atribuudi nimi.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Valitud atribuudi termini nimi.", "type": "string", "context": [ "view", "edit" ] } } } }, "menu_order": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse toodete kohandatud sorteerimiseks.", "type": "integer" }, "meta_data": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } }, "supplier_id": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "The ID of the ATUM Supplier that is linked to the product.", "type": "integer" }, "supplier_sku": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "The Supplier's SKU for the product.", "type": "string" }, "barcode": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "The product's barcode.", "type": "string" }, "atum_controlled": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Whether the product is being controlled by ATUM.", "type": "boolean" }, "out_stock_date": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "The date when the product run out of stock.", "type": [ "null", "string" ] }, "out_stock_threshold": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Out of stock threshold at product level.", "type": "number" }, "inbound_stock": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Product's inbound stock.", "type": "number" }, "stock_on_hold": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Product's stock on hold.", "type": "number" }, "sold_today": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Units sold today.", "type": "number" }, "sales_last_days": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Sales the last 14 days.", "type": "number" }, "reserved_stock": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Stock set as 'reserved_stock' within Inventory Logs.", "type": "number" }, "customer_returns": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Stock set as 'customer returns' within Inventory Logs.", "type": "number" }, "warehouse_damage": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Stock set as 'warehouse damage' within Inventory Logs.", "type": "number" }, "lost_in_post": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Stock set as 'lost in post' within Inventory Logs.", "type": "number" }, "other_logs": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Stock set as 'other' within Inventory Logs.", "type": "number" }, "out_stock_days": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "The number of days that the product is Out of stock.", "type": "integer" }, "lost_sales": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Product lost sales.", "type": "number" }, "update_date": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Last date when the ATUM product data was calculated and saved for the product.", "type": [ "null", "string" ] }, "atum_stock_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Used to store the stock status (same as WC) but both values may differ for MI enable products.", "type": "string" }, "restock_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Indicates whether the stock will last soon and should be reordered.", "type": "boolean" }, "sales_update_date": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Last date when the sales fields on ATUM product data were calculated and saved for the product.", "type": [ "null", "string" ] }, "calc_backorders": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Backordered items (if backorders is enabled and it has a negative stock value).", "type": "number" } }, "required": false }, "description": { "description": "Variatsiooni kirjeldus.", "type": "string", "required": false }, "sku": { "description": "Varude hoidmise \u00fcksus.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN v\u00f5i ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Muutuv tavahind.", "type": "string", "required": false }, "sale_price": { "description": "Erinev m\u00fc\u00fcgihind.", "type": "string", "required": false }, "date_on_sale_from": { "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev, GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "M\u00fc\u00fcgihinna l\u00f5ppkuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "M\u00fc\u00fcgihinna l\u00f5ppkuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "status": { "default": "publish", "description": "Variatsiooni olek.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "default": false, "description": "Kui variatsioon on virtuaalne.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Kui variatsioon on allalaaditav.", "type": "boolean", "required": false }, "downloads": { "description": "Allalaaditavate failide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faili ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faili nimi.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faili URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Allalaaditavate failide allalaadimiste arv p\u00e4rast ostmist.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "P\u00e4evade arv, kuni juurdep\u00e4\u00e4s allalaaditavatele failidele aegub.", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "Maksustaatus.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Maksuklass.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Varude haldamine variatsiooni tasemel.", "type": [ "boolean", "string" ], "required": false }, "stock_quantity": { "description": "Lao kogus.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Kontrollib toote laoseisu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "Laoseisu haldamisel kontrollib see, kas j\u00e4reltellimused on lubatud.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Variatsiooni jaoks v\u00e4ike laokogus.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Variatsiooni kaal (kg).", "type": "string", "required": false }, "dimensions": { "description": "Variatsiooni m\u00f5\u00f5tmed.", "type": "object", "properties": { "length": { "description": "Variatsiooni pikkus (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Variatsioonilaius (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Variatsioonik\u00f5rgus (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Saatmisklassi n\u00e4lkjas.", "type": "string", "required": false }, "image": { "description": "Variatsioonipildi andmed.", "type": "object", "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Kujutise loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Kujutise viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Atribuutide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atribuudi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atribuudi nimi.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Valitud atribuudi termini nimi.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse toodete kohandatud sorteerimiseks.", "type": "integer", "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "supplier_id": { "description": "The ID of the ATUM Supplier that is linked to the product.", "type": "integer", "required": false }, "supplier_sku": { "description": "The Supplier's SKU for the product.", "type": "string", "required": false }, "barcode": { "description": "The product's barcode.", "type": "string", "required": false }, "atum_controlled": { "default": false, "description": "Whether the product is being controlled by ATUM.", "type": "boolean", "required": false }, "out_stock_date": { "description": "The date when the product run out of stock.", "type": [ "null", "string" ], "required": false }, "out_stock_threshold": { "description": "Out of stock threshold at product level.", "type": "number", "required": false }, "inbound_stock": { "description": "Product's inbound stock.", "type": "number", "required": false }, "stock_on_hold": { "description": "Product's stock on hold.", "type": "number", "required": false }, "sold_today": { "description": "Units sold today.", "type": "number", "required": false }, "sales_last_days": { "description": "Sales the last 14 days.", "type": "number", "required": false }, "reserved_stock": { "description": "Stock set as 'reserved_stock' within Inventory Logs.", "type": "number", "required": false }, "customer_returns": { "description": "Stock set as 'customer returns' within Inventory Logs.", "type": "number", "required": false }, "warehouse_damage": { "description": "Stock set as 'warehouse damage' within Inventory Logs.", "type": "number", "required": false }, "lost_in_post": { "description": "Stock set as 'lost in post' within Inventory Logs.", "type": "number", "required": false }, "other_logs": { "description": "Stock set as 'other' within Inventory Logs.", "type": "number", "required": false }, "out_stock_days": { "description": "The number of days that the product is Out of stock.", "type": "integer", "required": false }, "lost_sales": { "description": "Product lost sales.", "type": "number", "required": false }, "update_date": { "description": "Last date when the ATUM product data was calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "atum_stock_status": { "description": "Used to store the stock status (same as WC) but both values may differ for MI enable products.", "type": "string", "required": false }, "restock_status": { "description": "Indicates whether the stock will last soon and should be reordered.", "type": "boolean", "required": false }, "sales_update_date": { "description": "Last date when the sales fields on ATUM product data were calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "calc_backorders": { "description": "Backordered items (if backorders is enabled and it has a negative stock value).", "type": "number", "required": false } } } ] }, "\/wc\/v3\/refunds": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piirake tulemusi nendega, mis vastavad stringile.", "type": "string", "required": false }, "after": { "description": "Piirake vastuseid ressurssidega, mis on avaldatud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piirake vastust ressurssidega, mis on avaldatud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Piirake reageerimist ressurssidega, mida on muudetud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Piirake reageerimist ressurssidega, mida on muudetud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Kas v\u00f5tta arvesse GMT postitamiskuup\u00e4evi, kui piirata vastuse avaldamise v\u00f5i muudetud kuup\u00e4evaga.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "parent": { "description": "Piirake tulemuste komplekt konkreetsete vanemate ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Piirake tulemuste komplekti k\u00f5igi \u00fcksustega, v\u00e4lja arvatud konkreetse \u00fclem-ID \u00fcksustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "dp": { "default": 0, "description": "Igas ressursis kasutatavate k\u00fcmnendkohtade arv.", "type": "integer", "required": false }, "order_item_display_meta": { "default": false, "description": "Kuva ainult meta, mis on ette n\u00e4htud tellimuse jaoks kuvamiseks.", "type": "boolean", "required": false }, "include_meta": { "default": [], "description": "Piirake meta_andmed konkreetsete v\u00f5tmetega.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Veenduge, et meta_andmed v\u00e4listaks teatud v\u00f5tmed.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/refunds" } ] } }, "\/wc\/v3\/reports\/sales": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "period": { "description": "Raporti ajavahemik.", "type": "string", "enum": [ "week", "month", "last_month", "year" ], "required": false }, "date_min": { "description": "Anna m\u00fc\u00fck alates kindlast kuup\u00e4evast, kuup\u00e4ev peab olema formaadis YYYY-MM-DD.", "type": "string", "format": "date", "required": false }, "date_max": { "description": "Anna m\u00fc\u00fck kuni kindla kuup\u00e4evani, kuup\u00e4ev peab olema formaadis YYYY-MM-DD.", "type": "string", "format": "date", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/reports\/sales" } ] } }, "\/wc\/v3\/reports\/top_sellers": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "period": { "description": "Raporti ajavahemik.", "type": "string", "enum": [ "week", "month", "last_month", "year" ], "required": false }, "date_min": { "description": "Anna m\u00fc\u00fck alates kindlast kuup\u00e4evast, kuup\u00e4ev peab olema formaadis YYYY-MM-DD.", "type": "string", "format": "date", "required": false }, "date_max": { "description": "Anna m\u00fc\u00fck kuni kindla kuup\u00e4evani, kuup\u00e4ev peab olema formaadis YYYY-MM-DD.", "type": "string", "format": "date", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/reports\/top_sellers" } ] } }, "\/wc\/v3\/reports\/orders\/totals": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/reports\/orders\/totals" } ] } }, "\/wc\/v3\/reports\/products\/totals": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/reports\/products\/totals" } ] } }, "\/wc\/v3\/reports\/customers\/totals": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/reports\/customers\/totals" } ] } }, "\/wc\/v3\/reports\/coupons\/totals": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/reports\/coupons\/totals" } ] } }, "\/wc\/v3\/reports\/reviews\/totals": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/reports\/reviews\/totals" } ] } }, "\/wc\/v3\/reports": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/reports" } ] } }, "\/wc\/v3\/settings": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/settings\/batch" } ] } }, "\/wc\/v3\/settings\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "group": { "description": "Seadete r\u00fchma ID.", "type": "string", "required": false } } } ] }, "\/wc\/v3\/settings\/(?P[\\w-]+)\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "description": "Seadete r\u00fchma ID.", "type": "string", "required": false }, "value": { "description": "S\u00e4tte v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false } } } ] }, "\/wc\/v3\/settings\/(?P[\\w-]+)\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "group": { "description": "Seadete r\u00fchma ID.", "type": "string", "required": false }, "id": { "description": "Ressursi kordumatu identifikaator.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "description": "Seadete r\u00fchma ID.", "type": "string", "required": false }, "id": { "description": "Ressursi kordumatu identifikaator.", "type": "string", "required": false }, "value": { "description": "S\u00e4tte v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false } } } ] }, "\/wc\/v3\/shipping\/zones": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Tarnetsooni nimi.", "required": true }, "order": { "description": "Tarnetsooni j\u00e4rjekorranumber.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Ressursi unikaalne ID.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi unikaalne ID.", "type": "integer", "required": false }, "name": { "description": "Tarnetsooni nimi.", "type": "string", "required": false }, "order": { "description": "Tarnetsooni j\u00e4rjekorranumber.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi unikaalne ID.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Kas j\u00e4tta pr\u00fcgikast m\u00f6\u00f6da ja sundida kustutamist.", "required": false } } } ] }, "\/wc\/v3\/shipping\/zones\/(?P[\\d]+)\/locations": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Ressursi unikaalne ID.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi unikaalne ID.", "type": "integer", "required": false }, "code": { "description": "Tarnetsooni asukoha kood.", "type": "string", "required": false }, "type": { "description": "Tarnetsooni asukoha t\u00fc\u00fcp.", "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": "Tsooni unikaalne ID.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "zone_id": { "description": "Tsooni unikaalne ID.", "type": "integer", "required": false }, "order": { "description": "Tarnemeetodi asetus sorteerimisel.", "type": "integer", "required": false }, "enabled": { "description": "Tarnemeetodi aktiveerituse olek.", "type": "boolean", "required": false }, "settings": { "description": "Tarnemeetodi s\u00e4tted.", "type": "object", "properties": { "id": { "description": "S\u00e4tte unikaalne tunnus.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Inimesele loetav s\u00e4tte nimetus kasutajaliidestes.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "description": { "description": "Inimesele loetav s\u00e4tte kirjeldus kasutajaliidestes.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "type": { "description": "S\u00e4tte t\u00fc\u00fcp.", "type": "string", "context": [ "view", "edit" ], "enum": [ "text", "email", "number", "color", "password", "textarea", "select", "multiselect", "radio", "image_width", "checkbox", "class", "order" ], "readonly": true }, "value": { "description": "S\u00e4tte v\u00e4\u00e4rtus.", "type": "string", "context": [ "view", "edit" ] }, "default": { "description": "S\u00e4tte vaikev\u00e4\u00e4rtus.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "tip": { "description": "Kasutajatele n\u00e4idatav s\u00e4tte lisainfo tekst.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "placeholder": { "description": "Tekstisisendi t\u00fc\u00fcpi v\u00e4ljadel kasutatav kohat\u00e4ide.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "method_id": { "description": "Saatmisviisi ID.", "required": true } } } ] }, "\/wc\/v3\/shipping\/zones\/(?P[\\d]+)\/methods\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "zone_id": { "description": "Tsooni unikaalne ID.", "type": "integer", "required": false }, "instance_id": { "description": "Instantsi unikaalne ID.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "zone_id": { "description": "Tsooni unikaalne ID.", "type": "integer", "required": false }, "instance_id": { "description": "Instantsi unikaalne ID.", "type": "integer", "required": false }, "order": { "description": "Tarnemeetodi asetus sorteerimisel.", "type": "integer", "required": false }, "enabled": { "description": "Tarnemeetodi aktiveerituse olek.", "type": "boolean", "required": false }, "settings": { "description": "Tarnemeetodi s\u00e4tted.", "type": "object", "properties": { "id": { "description": "S\u00e4tte unikaalne tunnus.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Inimesele loetav s\u00e4tte nimetus kasutajaliidestes.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "description": { "description": "Inimesele loetav s\u00e4tte kirjeldus kasutajaliidestes.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "type": { "description": "S\u00e4tte t\u00fc\u00fcp.", "type": "string", "context": [ "view", "edit" ], "enum": [ "text", "email", "number", "color", "password", "textarea", "select", "multiselect", "radio", "image_width", "checkbox", "class", "order" ], "readonly": true }, "value": { "description": "S\u00e4tte v\u00e4\u00e4rtus.", "type": "string", "context": [ "view", "edit" ] }, "default": { "description": "S\u00e4tte vaikev\u00e4\u00e4rtus.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "tip": { "description": "Kasutajatele n\u00e4idatav s\u00e4tte lisainfo tekst.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "placeholder": { "description": "Tekstisisendi t\u00fc\u00fcpi v\u00e4ljadel kasutatav kohat\u00e4ide.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "zone_id": { "description": "Tsooni unikaalne ID.", "type": "integer", "required": false }, "instance_id": { "description": "Instantsi unikaalne ID.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Kas j\u00e4tta pr\u00fcgikast m\u00f6\u00f6da ja sundida kustutamist.", "required": false } } } ] }, "\/wc\/v3\/taxes\/classes": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Maksuklassi nimi.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/taxes\/classes" } ] } }, "\/wc\/v3\/taxes\/classes\/(?P\\w[\\w\\s\\-]*)": { "namespace": "wc\/v3", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "description": "Ressursi unikaalne p\u00fcsiviite t\u00fcvi.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "slug": { "description": "Ressursi unikaalne p\u00fcsiviite t\u00fcvi.", "type": "string", "required": false }, "force": { "default": false, "type": "boolean", "description": "N\u00f5utav, et see oleks t\u00f5ene, kuna ressurss ei toeta pr\u00fcgikasti viimist.", "required": false } } } ] }, "\/wc\/v3\/taxes": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "order", "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "enum": [ "id", "order", "priority" ], "type": "string", "required": false }, "class": { "description": "Sorteeri maksuklassi j\u00e4rgi.", "enum": [ "standard", "reduced-rate", "zero-rate" ], "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "country": { "description": "Riigi ISO 3166 kood.", "type": "string", "required": false }, "state": { "description": "Osariigi\/maakonna kood.", "type": "string", "required": false }, "postcode": { "description": "Sihtnumber\/ZIP, see ei toeta mitut v\u00e4\u00e4rtust. WooCommerce 5.3 seisuga aegunud, tuleks selle asemel kasutada sihtindekseid.", "type": "string", "required": false }, "city": { "description": "Linna nimi, see ei toeta mitut v\u00e4\u00e4rtust. WooCommerce 5.3 seisuga aegunud, tuleks selle asemel kasutada 'linnad'.", "type": "string", "required": false }, "rate": { "description": "Maksum\u00e4\u00e4r.", "type": "string", "required": false }, "name": { "description": "Maksum\u00e4\u00e4ra nimi.", "type": "string", "required": false }, "priority": { "default": 1, "description": "Maksu prioriteet.", "type": "integer", "required": false }, "compound": { "default": false, "description": "Kas see on liitmaksum\u00e4\u00e4r.", "type": "boolean", "required": false }, "shipping": { "default": true, "description": "Kas see maksum\u00e4\u00e4r m\u00f5jub ka tarnele v\u00f5i mitte.", "type": "boolean", "required": false }, "order": { "description": "N\u00e4itab p\u00e4ringutes kasutatavat j\u00e4rjekorda.", "type": "integer", "required": false }, "class": { "default": "standard", "description": "Maksuklass.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false }, "postcodes": { "description": "Sihtnumbrite \/ sihtnumbrite loend. Tutvustatakse WooCommerce 5.3-s.", "type": "array", "items": { "type": "string" }, "required": false }, "cities": { "description": "Linnanimede loetelu. Tutvustatakse WooCommerce 5.3-s.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "country": { "description": "Riigi ISO 3166 kood.", "type": "string", "required": false }, "state": { "description": "Osariigi\/maakonna kood.", "type": "string", "required": false }, "postcode": { "description": "Sihtnumber\/ZIP, see ei toeta mitut v\u00e4\u00e4rtust. WooCommerce 5.3 seisuga aegunud, tuleks selle asemel kasutada sihtindekseid.", "type": "string", "required": false }, "city": { "description": "Linna nimi, see ei toeta mitut v\u00e4\u00e4rtust. WooCommerce 5.3 seisuga aegunud, tuleks selle asemel kasutada 'linnad'.", "type": "string", "required": false }, "rate": { "description": "Maksum\u00e4\u00e4r.", "type": "string", "required": false }, "name": { "description": "Maksum\u00e4\u00e4ra nimi.", "type": "string", "required": false }, "priority": { "description": "Maksu prioriteet.", "type": "integer", "required": false }, "compound": { "description": "Kas see on liitmaksum\u00e4\u00e4r.", "type": "boolean", "required": false }, "shipping": { "description": "Kas see maksum\u00e4\u00e4r m\u00f5jub ka tarnele v\u00f5i mitte.", "type": "boolean", "required": false }, "order": { "description": "N\u00e4itab p\u00e4ringutes kasutatavat j\u00e4rjekorda.", "type": "integer", "required": false }, "class": { "description": "Maksuklass.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false }, "postcodes": { "description": "Sihtnumbrite \/ sihtnumbrite loend. Tutvustatakse WooCommerce 5.3-s.", "type": "array", "items": { "type": "string" }, "required": false }, "cities": { "description": "Linnanimede loetelu. Tutvustatakse WooCommerce 5.3-s.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "N\u00f5utav, et see oleks t\u00f5ene, kuna ressurss ei toeta pr\u00fcgikasti viimist.", "required": false } } } ] }, "\/wc\/v3\/taxes\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "country": { "description": "Riigi ISO 3166 kood.", "type": "string", "required": false }, "state": { "description": "Osariigi\/maakonna kood.", "type": "string", "required": false }, "postcode": { "description": "Sihtnumber\/ZIP, see ei toeta mitut v\u00e4\u00e4rtust. WooCommerce 5.3 seisuga aegunud, tuleks selle asemel kasutada sihtindekseid.", "type": "string", "required": false }, "city": { "description": "Linna nimi, see ei toeta mitut v\u00e4\u00e4rtust. WooCommerce 5.3 seisuga aegunud, tuleks selle asemel kasutada 'linnad'.", "type": "string", "required": false }, "rate": { "description": "Maksum\u00e4\u00e4r.", "type": "string", "required": false }, "name": { "description": "Maksum\u00e4\u00e4ra nimi.", "type": "string", "required": false }, "priority": { "description": "Maksu prioriteet.", "type": "integer", "required": false }, "compound": { "description": "Kas see on liitmaksum\u00e4\u00e4r.", "type": "boolean", "required": false }, "shipping": { "description": "Kas see maksum\u00e4\u00e4r m\u00f5jub ka tarnele v\u00f5i mitte.", "type": "boolean", "required": false }, "order": { "description": "N\u00e4itab p\u00e4ringutes kasutatavat j\u00e4rjekorda.", "type": "integer", "required": false }, "class": { "description": "Maksuklass.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false }, "postcodes": { "description": "Sihtnumbrite \/ sihtnumbrite loend. Tutvustatakse WooCommerce 5.3-s.", "type": "array", "items": { "type": "string" }, "required": false }, "cities": { "description": "Linnanimede loetelu. Tutvustatakse WooCommerce 5.3-s.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/taxes\/batch" } ] } }, "\/wc\/v3\/variations": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piirake tulemusi nendega, mis vastavad stringile.", "type": "string", "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to products modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to products modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "menu_order" ], "required": false }, "parent": { "description": "Piirake tulemuste komplekt konkreetsete vanemate ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Piirake tulemuste komplekti k\u00f5igi \u00fcksustega, v\u00e4lja arvatud konkreetse \u00fclem-ID \u00fcksustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "atum_post_status": { "description": "Limit response to products to the specified statuses. This param supports multiple statuses separated by commas.", "type": "string", "required": false }, "slug": { "description": "Piirake tulemuste komplekt konkreetse n\u00e4lkjaga toodetega.", "type": "string", "required": false }, "status": { "default": "any", "description": "Piirake tulemuste komplekt toodetele, millele on m\u00e4\u00e4ratud konkreetne olek.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "sku": { "description": "Piirake tulemuste komplekt konkreetsete SKU-dega toodetega. Kasutage eraldamiseks komasid.", "type": "string", "required": false }, "on_sale": { "description": "Piirake tulemuste komplekt m\u00fc\u00fcgil olevatele toodetele.", "type": "boolean", "required": false }, "min_price": { "description": "Piirake tulemuse komplekt toodetega miinimumhinna alusel.", "type": "string", "required": false }, "max_price": { "description": "Piirake tulemuse seatud toodetele maksimaalse hinna alusel.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Piirake meta_andmed konkreetsete v\u00f5tmetega.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Veenduge, et meta_andmed v\u00e4listaks teatud v\u00f5tmed.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Piirake tulemus m\u00e4\u00e4ratud toodetele, mille laos on m\u00e4\u00e4ratud.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "has_price": { "description": "Piirake tulemust toodetega, millel on hind v\u00f5i ilma.", "type": "boolean", "required": false }, "attributes": { "description": "Piirake tulemuste komplekt m\u00e4\u00e4ratud atribuutidega toodetega.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "type": "string", "description": "Omaduse p\u00fcsiviide." }, "term": { "type": "string", "description": "Atribuudi termin." }, "terms": { "type": "array", "description": "Atribuutide tingimused." } } }, "required": false }, "virtual": { "description": "Piira tulemuste komplekti virtuaalsete tootevariatsioonidega.", "type": "boolean", "required": false }, "downloadable": { "description": "Piira tulemuste komplekti allalaaditavate tootevariatsioonidega.", "type": "boolean", "required": false }, "include_status": { "description": "Piira tulemuste komplekti mis tahes olekuga tootevariatsioonidele.", "type": "array", "items": { "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "exclude_status": { "description": "J\u00e4ta tulemuste hulgast v\u00e4lja mis tahes olekuga tootevariatsioonid.", "type": "array", "items": { "type": "string", "enum": [ "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "pos_products_only": { "description": "Limit result set to variations visible in Point of Sale.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/variations" } ] } }, "\/wc\/v3\/webhooks": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "after": { "description": "Piirake vastuseid ressurssidega, mis on avaldatud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piirake vastust ressurssidega, mis on avaldatud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "id", "title" ], "required": false }, "status": { "default": "all", "description": "Piira tulemusi kindlas olekus veebikonksudele.", "type": "string", "enum": [ "all", "active", "paused", "disabled" ], "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Inims\u00f5bralik veebikonksu nimi.", "type": "string", "required": false }, "status": { "default": "active", "description": "Veebikonksu olek.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "type": "string", "description": "Veebikonksu pealkiri.", "required": true }, "secret": { "description": "Salav\u00f5ti, mida kasutatakse veebikonksu r\u00e4si genereerimiseks ning antakse p\u00e4ringu p\u00e4ises kaasa. Kui seda eraldi ei anta, on see vaikimisi k\u00e4esoleva kasutaja ID|kasutajanime MD5 r\u00e4si.", "type": "string", "required": false }, "delivery_url": { "type": "string", "description": "Veebikonksu sihtkoha URL.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "name": { "description": "Inims\u00f5bralik veebikonksu nimi.", "type": "string", "required": false }, "status": { "description": "Veebikonksu olek.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "description": "Veebikonksu pealkiri.", "type": "string", "required": false }, "secret": { "description": "Salav\u00f5ti, mida kasutatakse veebikonksu r\u00e4si genereerimiseks ning antakse p\u00e4ringu p\u00e4ises kaasa. Kui seda eraldi ei anta, on see vaikimisi k\u00e4esoleva kasutaja ID|kasutajanime MD5 r\u00e4si.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "N\u00f5utav, et see oleks t\u00f5ene, kuna ressurss ei toeta pr\u00fcgikasti viimist.", "required": false } } } ] }, "\/wc\/v3\/webhooks\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Inims\u00f5bralik veebikonksu nimi.", "type": "string", "required": false }, "status": { "description": "Veebikonksu olek.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "description": "Veebikonksu pealkiri.", "type": "string", "required": false }, "secret": { "description": "Salav\u00f5ti, mida kasutatakse veebikonksu r\u00e4si genereerimiseks ning antakse p\u00e4ringu p\u00e4ises kaasa. Kui seda eraldi ei anta, on see vaikimisi k\u00e4esoleva kasutaja ID|kasutajanime MD5 r\u00e4si.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/webhooks\/batch" } ] } }, "\/wc\/v3\/system_status": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/system_status" } ] } }, "\/wc\/v3\/system_status\/tools": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Ressursi kordumatu identifikaator.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "T\u00f6\u00f6riista unikaalne identifikaator.", "type": "string", "required": false }, "name": { "description": "T\u00f6\u00f6riista nimi.", "type": "string", "required": false }, "action": { "description": "Mida t\u00f6\u00f6riista k\u00e4ivitamine teeb.", "type": "string", "required": false }, "description": { "description": "T\u00f6\u00f6riista kirjeldus.", "type": "string", "required": false }, "success": { "description": "Kas t\u00f6\u00f6riist j\u00f5udis edukalt t\u00f6\u00f6ga valmis?", "type": "boolean", "required": false }, "message": { "description": "T\u00f6\u00f6riista tagasiside teade.", "type": "string", "required": false } } } ] }, "\/wc\/v3\/shipping_methods": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/shipping_methods" } ] } }, "\/wc\/v3\/shipping_methods\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "string", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ] }, "\/wc\/v3\/payment_gateways": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Ressursi kordumatu identifikaator.", "type": "string", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "string", "required": false }, "title": { "description": "Maksekanali nimetus kassas.", "type": "string", "required": false }, "description": { "description": "Maksekanali kirjeldus kassas.", "type": "string", "required": false }, "order": { "description": "Maksekanali sorteerimisj\u00e4rjestus.", "type": "integer", "required": false }, "enabled": { "description": "Maksekanali aktiveerituse olek.", "type": "boolean", "required": false }, "settings": { "description": "Maksekanali s\u00e4tted.", "type": "object", "properties": { "id": { "description": "S\u00e4tte unikaalne tunnus.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Inimesele loetav s\u00e4tte nimetus kasutajaliidestes.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "description": { "description": "Inimesele loetav s\u00e4tte kirjeldus kasutajaliidestes.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "type": { "description": "S\u00e4tte t\u00fc\u00fcp.", "type": "string", "context": [ "view", "edit" ], "enum": [ "text", "email", "number", "color", "password", "textarea", "select", "multiselect", "radio", "image_width", "checkbox" ], "readonly": true }, "value": { "description": "S\u00e4tte v\u00e4\u00e4rtus.", "type": "string", "context": [ "view", "edit" ] }, "default": { "description": "S\u00e4tte vaikev\u00e4\u00e4rtus.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "tip": { "description": "Kasutajatele n\u00e4idatav s\u00e4tte lisainfo tekst.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "placeholder": { "description": "Tekstisisendi t\u00fc\u00fcpi v\u00e4ljadel kasutatav kohat\u00e4ide.", "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:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/data" } ] } }, "\/wc\/v3\/data\/continents": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/data\/continents" } ] } }, "\/wc\/v3\/data\/continents\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "continent": { "description": "2 t\u00e4hem\u00e4rgiline kontinendi kood.", "type": "string", "required": false } } } ] }, "\/wc\/v3\/data\/countries": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/data\/countries" } ] } }, "\/wc\/v3\/data\/countries\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "location": { "description": "ISO3166 alpha-2 riigi kood.", "type": "string", "required": false } } } ] }, "\/wc\/v3\/data\/currencies": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/data\/currencies" } ] } }, "\/wc\/v3\/data\/currencies\/current": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "ISO4217 valuuta kood.", "type": "string", "required": false } } } ] }, "\/wc\/v3\/paypal-standard\/update-shipping": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/paypal-standard\/update-shipping" } ] } }, "\/wc\/v3\/paypal-webhooks": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/paypal-webhooks" } ] } }, "\/wc\/v3\/paypal-buttons\/create-order": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/paypal-buttons\/create-order" } ] } }, "\/wc\/v3\/paypal-buttons\/cancel-payment": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/paypal-buttons\/cancel-payment" } ] } }, "\/wc\/v3\/orders\/(?P[\\d]+)\/receipt": { "namespace": "wc\/v3", "methods": [ "POST", "GET" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "Tellimuse kordumatu identifikaator.", "type": "integer", "required": false }, "expiration_date": { "description": "Aegumiskuup\u00e4ev on vormindatud kujul yyyy-mm-dd.", "type": "string", "default": null, "required": false }, "expiration_days": { "description": "P\u00e4evade arv, mis tuleb aegumiskuup\u00e4eva saamiseks praegusele kuup\u00e4evale lisada.", "type": "integer", "default": 1, "required": false }, "force_new": { "description": "\u00d5ige uue kviitungi loomise sundimiseks, isegi kui see on juba olemas ja ei ole veel aegunud.", "type": "boolean", "default": false, "required": false } } }, { "methods": [ "GET" ], "args": { "id": { "description": "Tellimuse kordumatu identifikaator.", "type": "integer", "required": false } } } ] }, "\/wc\/v3\/orders\/(?P[\\d]+)\/actions\/email_templates": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Tellimuse kordumatu identifikaator.", "type": "integer", "required": false } } } ] }, "\/wc\/v3\/orders\/(?P[\\d]+)\/actions\/send_email": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "Tellimuse kordumatu identifikaator.", "type": "integer", "required": false }, "email": { "description": "E-posti aadress, kuhu saata tellimuse \u00fcksikasjad.", "type": "string", "format": "email", "required": false }, "force_email_update": { "description": "Whether to update the billing email of the order, even if it already has one.", "type": "boolean", "required": false }, "template_id": { "description": "The ID of the template to use for sending the email.", "type": "string", "enum": [ "new_order", "cancelled_order", "customer_cancelled_order", "failed_order", "customer_failed_order", "customer_on_hold_order", "customer_processing_order", "customer_completed_order", "customer_refunded_order", "customer_invoice", "customer_note", "customer_reset_password", "customer_new_account", "customer_pos_completed_order", "customer_pos_refunded_order" ], "required": true } } } ] }, "\/wc\/v3\/orders\/(?P[\\d]+)\/actions\/send_order_details": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "Tellimuse kordumatu identifikaator.", "type": "integer", "required": false }, "email": { "description": "E-posti aadress, kuhu saata tellimuse \u00fcksikasjad.", "type": "string", "format": "email", "required": false }, "force_email_update": { "description": "Whether to update the billing email of the order, even if it already has one.", "type": "boolean", "required": false } } } ] }, "\/wc\/v3\/orders\/statuses": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/orders\/statuses" } ] } }, "\/wc-admin\/settings\/payments\/country": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "location": { "description": "Praeguse kasutaja jaoks salvestatav ISO3166 alfa-2 riigikood.", "type": "string", "pattern": "[a-zA-Z]{2}", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/settings\/payments\/country" } ] } }, "\/wc-admin\/settings\/payments\/providers": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "location": { "description": "ISO3166 alfa-2 riigikood. Vaikimisi WooCommerce'i baasasukoha riik.", "type": "string", "pattern": "[a-zA-Z]{2}", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/settings\/payments\/providers" } ] } }, "\/wc-admin\/settings\/payments\/providers\/order": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "order_map": { "description": "Pakkuja ID ja sortimisj\u00e4rjestust esindavate t\u00e4isarvuliste v\u00e4\u00e4rtuste vaheline seos.", "type": "object", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/settings\/payments\/providers\/order" } ] } }, "\/wc-admin\/settings\/payments\/suggestion\/(?P[\\w\\d\\-]+)\/attach": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/wc-admin\/settings\/payments\/suggestion\/(?P[\\w\\d\\-]+)\/hide": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/wc-admin\/settings\/payments\/suggestion\/(?P[\\w\\d\\-]+)\/incentive\/(?P[\\w\\d\\-]+)\/dismiss": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "context": { "description": "Konteksti ID, mille puhul stiimul t\u00fchistada. Kui seda ei esitata, t\u00fchistatakse stiimul k\u00f5igis kontekstides.", "type": "string", "required": false }, "do_not_track": { "description": "If true, the incentive dismissal will be ignored by tracking.", "type": "boolean", "default": false, "required": false } } } ] }, "\/wc-admin\/settings\/payments\/woopayments\/onboarding": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "location": { "description": "ISO3166 alpha-2 country code. Defaults to the stored providers business location country code.", "type": "string", "pattern": "[a-zA-Z]{2}", "required": false }, "source": { "description": "The upmost entry point from where the merchant entered the onboarding flow.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/settings\/payments\/woopayments\/onboarding" } ] } }, "\/wc-admin\/settings\/payments\/woopayments\/onboarding\/step\/(?P[a-zA-Z0-9_-]+)\/start": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "location": { "description": "ISO3166 alpha-2 country code. Defaults to the stored providers business location country code.", "type": "string", "pattern": "[a-zA-Z]{2}", "required": false }, "source": { "description": "The upmost entry point from where the merchant entered the onboarding flow.", "type": "string", "required": false } } } ] }, "\/wc-admin\/settings\/payments\/woopayments\/onboarding\/step\/(?P[a-zA-Z0-9_-]+)\/save": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "location": { "description": "ISO3166 alpha-2 country code. Defaults to the stored providers business location country code.", "type": "string", "pattern": "[a-zA-Z]{2}", "required": false }, "source": { "description": "The upmost entry point from where the merchant entered the onboarding flow.", "type": "string", "required": false } } } ] }, "\/wc-admin\/settings\/payments\/woopayments\/onboarding\/step\/(?P[a-zA-Z0-9_-]+)\/check": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "location": { "description": "ISO3166 alpha-2 country code. Defaults to the stored providers business location country code.", "type": "string", "pattern": "[a-zA-Z]{2}", "required": false } } } ] }, "\/wc-admin\/settings\/payments\/woopayments\/onboarding\/step\/(?P[a-zA-Z0-9_-]+)\/finish": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "location": { "description": "ISO3166 alpha-2 country code. Defaults to the stored providers business location country code.", "type": "string", "pattern": "[a-zA-Z]{2}", "required": false }, "source": { "description": "The upmost entry point from where the merchant entered the onboarding flow.", "type": "string", "required": false } } } ] }, "\/wc-admin\/settings\/payments\/woopayments\/onboarding\/step\/(?P[a-zA-Z0-9_-]+)\/clean": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "location": { "description": "ISO3166 alpha-2 country code. Defaults to the stored providers business location country code.", "type": "string", "pattern": "[a-zA-Z]{2}", "required": false } } } ] }, "\/wc-admin\/settings\/payments\/woopayments\/onboarding\/step\/test_account\/init": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "location": { "description": "ISO3166 alpha-2 country code. Defaults to the stored providers business location country code.", "type": "string", "pattern": "[a-zA-Z]{2}", "required": false }, "source": { "description": "The upmost entry point from where the merchant entered the onboarding flow.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/settings\/payments\/woopayments\/onboarding\/step\/test_account\/init" } ] } }, "\/wc-admin\/settings\/payments\/woopayments\/onboarding\/step\/test_account\/reset": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "location": { "description": "ISO3166 alpha-2 country code. Defaults to the stored providers business location country code.", "type": "string", "pattern": "[a-zA-Z]{2}", "required": false }, "source": { "description": "The upmost entry point from where the merchant entered the onboarding flow.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/settings\/payments\/woopayments\/onboarding\/step\/test_account\/reset" } ] } }, "\/wc-admin\/settings\/payments\/woopayments\/onboarding\/step\/business_verification\/kyc_session": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "location": { "description": "ISO3166 alpha-2 country code. Defaults to the stored providers business location country code.", "type": "string", "pattern": "[a-zA-Z]{2}", "required": false }, "source": { "description": "The upmost entry point from where the merchant entered the onboarding flow.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/settings\/payments\/woopayments\/onboarding\/step\/business_verification\/kyc_session" } ] } }, "\/wc-admin\/settings\/payments\/woopayments\/onboarding\/step\/business_verification\/kyc_session\/finish": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "location": { "description": "ISO3166 alpha-2 country code. Defaults to the stored providers business location country code.", "type": "string", "pattern": "[a-zA-Z]{2}", "required": false }, "source": { "description": "The upmost entry point from where the merchant entered the onboarding flow.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/settings\/payments\/woopayments\/onboarding\/step\/business_verification\/kyc_session\/finish" } ] } }, "\/wc-admin\/settings\/payments\/woopayments\/onboarding\/step\/business_verification\/test_account\/disable": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "location": { "description": "ISO3166 alpha-2 country code. Defaults to the stored providers business location country code.", "type": "string", "pattern": "[a-zA-Z]{2}", "required": false }, "from": { "description": "Where from in the onboarding flow this request was triggered.", "type": "string", "required": false }, "source": { "description": "The upmost entry point from where the merchant entered the onboarding flow.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/settings\/payments\/woopayments\/onboarding\/step\/business_verification\/test_account\/disable" } ] } }, "\/wc-admin\/settings\/payments\/woopayments\/onboarding\/preload": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "location": { "description": "ISO3166 alpha-2 country code. Defaults to the stored providers business location country code.", "type": "string", "pattern": "[a-zA-Z]{2}", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/settings\/payments\/woopayments\/onboarding\/preload" } ] } }, "\/wc-admin\/settings\/payments\/woopayments\/onboarding\/reset": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "location": { "description": "ISO3166 alpha-2 country code. Defaults to the stored providers business location country code.", "type": "string", "pattern": "[a-zA-Z]{2}", "required": false }, "from": { "description": "Where from in the onboarding flow this request was triggered.", "type": "string", "required": false }, "source": { "description": "The upmost entry point from where the merchant entered the onboarding flow.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/settings\/payments\/woopayments\/onboarding\/reset" } ] } }, "\/wc-admin\/settings\/payments\/woopayments\/woopay-eligibility": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/settings\/payments\/woopayments\/woopay-eligibility" } ] } }, "\/wc-admin\/settings\/payments\/woopayments\/onboarding\/test_account\/disable": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "location": { "description": "ISO3166 alpha-2 country code. Defaults to the stored providers business location country code.", "type": "string", "pattern": "[a-zA-Z]{2}", "required": false }, "from": { "description": "Where from in the onboarding flow this request was triggered.", "type": "string", "required": false }, "source": { "description": "The upmost entry point from where the merchant entered the onboarding flow.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin\/settings\/payments\/woopayments\/onboarding\/test_account\/disable" } ] } }, "\/wc-admin-email": { "namespace": "wc-admin-email", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wc-admin-email", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin-email" } ] } }, "\/wc-admin-email\/settings\/email\/send-preview": { "namespace": "wc-admin-email", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "type": { "description": "Eelvaateks meili t\u00fc\u00fcp.", "type": "string", "required": true }, "email": { "description": "E-posti aadress, kuhu saata e-posti eelvaade.", "type": "string", "format": "email", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin-email\/settings\/email\/send-preview" } ] } }, "\/wc-admin-email\/settings\/email\/preview-subject": { "namespace": "wc-admin-email", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "type": { "description": "Meilis\u00f5numi t\u00fc\u00fcp, mille teemat soovite.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin-email\/settings\/email\/preview-subject" } ] } }, "\/wc-admin-email\/settings\/email\/save-transient": { "namespace": "wc-admin-email", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "key": { "type": "string", "description": "The key for the transient. Must be one of the allowed options.", "required": true }, "value": { "type": "string", "description": "The value to be saved for the transient.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin-email\/settings\/email\/save-transient" } ] } }, "\/wc-admin-email\/settings\/email\/listing\/recreate-email-post": { "namespace": "wc-admin-email", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "email_id": { "description": "The email ID to recreate the post for.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-admin-email\/settings\/email\/listing\/recreate-email-post" } ] } }, "\/wc\/v3\/atum\/addons": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/atum\/addons" } ] } }, "\/wc\/v3\/atum\/dashboard": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/atum\/dashboard" } ] } }, "\/wc\/v3\/atum\/dashboard\/current-stock-value": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/atum\/dashboard\/current-stock-value" } ] } }, "\/wc\/v3\/atum\/dashboard\/lost-sales": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "period": { "description": "The period to get lost sales data from.", "type": "string", "enum": [ "today", "month" ], "default": "today", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/atum\/dashboard\/lost-sales" } ] } }, "\/wc\/v3\/atum\/dashboard\/orders": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "period": { "description": "The period to get o data from.", "type": "string", "enum": [ "this_month", "previous_month", "this_week", "today" ], "default": "this_month", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/atum\/dashboard\/orders" } ] } }, "\/wc\/v3\/atum\/dashboard\/promo-sales": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "period": { "description": "The period to get the promo sales data from.", "type": "string", "enum": [ "this_month", "previous_month", "this_week", "today" ], "default": "this_month", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/atum\/dashboard\/promo-sales" } ] } }, "\/wc\/v3\/atum\/dashboard\/sales": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "period": { "description": "The period to get sales data from.", "type": "string", "enum": [ "today", "month" ], "default": "today", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/atum\/dashboard\/sales" } ] } }, "\/wc\/v3\/atum\/dashboard\/statistics": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "data": { "description": "The type of data to return.", "type": "string", "enum": [ "sales", "lost-sales", "promo-sales", "orders" ], "default": "sales", "required": false }, "period": { "description": "The period to get statistics from.", "type": "string", "enum": [ "this_year", "previous_year", "this_month", "previous_month", "this_week", "previous_week" ], "default": "this_year", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/atum\/dashboard\/statistics" } ] } }, "\/wc\/v3\/atum\/dashboard\/stock-control": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/atum\/dashboard\/stock-control" } ] } }, "\/wc\/v3\/atum\/inbound-stock": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piirake tulemusi nendega, mis vastavad stringile.", "type": "string", "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "popularity", "rating", "post__in", "price", "sales", "menu_order", "random", "popularity", "rating", "menu_order", "price", "popularity", "rating" ], "required": false }, "include_po": { "description": "Limit result set to products with specified Purchase Order IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "exclude_po": { "description": "Ensure result set excludes specific Purchasr Order IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "expected_after": { "description": "Limit response to purchase orders expected after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "expected_before": { "description": "Limit response to purchase orders expected before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/atum\/inbound-stock" } ] } }, "\/wc\/v3\/atum\/inbound-stock\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/v3\/atum\/inventory-logs": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piirake tulemusi nendega, mis vastavad stringile.", "type": "string", "required": false }, "after": { "description": "Piirake vastuseid ressurssidega, mis on avaldatud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piirake vastust ressurssidega, mis on avaldatud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Piirake reageerimist ressurssidega, mida on muudetud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Piirake reageerimist ressurssidega, mida on muudetud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Kas v\u00f5tta arvesse GMT postitamiskuup\u00e4evi, kui piirata vastuse avaldamise v\u00f5i muudetud kuup\u00e4evaga.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "parent": { "description": "Piirake tulemuste komplekt konkreetsete vanemate ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Piirake tulemuste komplekti k\u00f5igi \u00fcksustega, v\u00e4lja arvatud konkreetse \u00fclem-ID \u00fcksustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "status": { "default": "any", "description": "Limit result set to ATUM orders which have specific statuses.", "type": "array", "items": { "type": "string", "enum": [ "atum_pending", "atum_completed", "any", "trash" ] }, "required": false }, "product": { "description": "Piirake tulemuste komplekt konkreetsele tootele m\u00e4\u00e4ratud tellimustele.", "type": "integer", "required": false }, "dp": { "default": 0, "description": "Igas ressursis kasutatavate k\u00fcmnendkohtade arv.", "type": "integer", "required": false }, "order_item_display_meta": { "default": false, "description": "Kuva ainult meta, mis on ette n\u00e4htud tellimuse jaoks kuvamiseks.", "type": "boolean", "required": false }, "include_meta": { "default": [], "description": "Piirake meta_andmed konkreetsete v\u00f5tmetega.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Veenduge, et meta_andmed v\u00e4listaks teatud v\u00f5tmed.", "type": "array", "items": { "type": "string" }, "required": false }, "created_via": { "description": "Limit result set to orders created via specific sources (e.g. checkout, admin).", "type": "array", "items": { "type": "string" }, "required": false }, "type": { "description": "Limit result set to inventory logs of the specified type(s).", "type": "array", "items": { "type": "string", "enum": [ "reserved-stock", "customer-returns", "warehouse-damage", "lost-in-post", "other" ] }, "required": false }, "order_id": { "description": "Limit result set to inventory logs linked to the specified WC order ID.", "type": "integer", "required": false }, "reservation_date": { "description": "Limit result set to inventory logs with the reservation date set on a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "return_date": { "description": "Limit result set to inventory logs with the return date set on a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "damage_date": { "description": "Limit result set to inventory logs with the damage date set on a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "shipping_company": { "description": "Limit result set to the inventory logs where the specified company lost the stock in post.", "type": "string", "required": false }, "custom_name": { "description": "Limit result set to the inventory logs with type 'other' and the specified custom name.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "status": { "default": "atum_pending", "description": "Tellimuse olek.", "type": "string", "enum": [ "atum_pending", "atum_completed", "any", "trash" ], "required": false }, "currency": { "default": "EUR", "description": "Valuuta, millega tellimus koostati, ISO-vormingus.", "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 }, "date_created": { "description": "Tellimuse loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Tellimuse loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "required": false }, "date_completed": { "description": "Tellimuse t\u00e4itmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_completed_gmt": { "description": "Tellimuse t\u00e4itmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Rea\u00fcksuste andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Toote nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Ematoote nimi, kui toode on variatsioon.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "Toote ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Variatsiooni ID, kui see on kohaldatav.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Tellitud kogus.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Toote maksuklass.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Rea vahesumma (enne allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Rea vahesumma maks (enne allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Maksude vahesumma.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Metaklahv kasutajaliidese kuvamiseks.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Kasutajaliidese kuva metav\u00e4\u00e4rtus.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Toote SKU.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "global_unique_id": { "description": "GTIN, UPC, EAN v\u00f5i ISBN.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Toote hind.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Toote p\u00f5hipildi omadused.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Laevaliinide andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Saatmisviisi nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Saatmisviisi ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "Tarneeksemplari ID.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Tasuliinide andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Tasu nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Tasu maksuklass.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Tasu maksustaatus.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Maksude vahesumma.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "description": { "description": "The ATUM order description.", "type": "string", "required": false }, "type": { "description": "The log type.", "type": "string", "enum": [ "reserved-stock", "customer-returns", "warehouse-damage", "lost-in-post", "other" ], "required": false }, "order": { "description": "The WooCommerce's order ID to which this Log is linked to.", "type": "integer", "required": false }, "reservation_date": { "description": "The date for when the stock is reserved, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "reservation_date_gmt": { "description": "The date for when the stock is reserved, as GMT.", "type": [ "null", "string" ], "required": false }, "return_date": { "description": "The date for when the customer returned the stock, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "return_date_gmt": { "description": "The date for when the customer returned the stock, as GMT.", "type": [ "null", "string" ], "required": false }, "damage_date": { "description": "The date for when the stock was damaged at warehouse, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "damage_date_gmt": { "description": "The date for when the stock was damaged at warehouse, as GMT.", "type": [ "null", "string" ], "required": false }, "shipping_company": { "description": "The name of the company that lost in post.", "type": "string", "required": false }, "custom_name": { "description": "The custom name for the 'other' log types.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/atum\/inventory-logs" } ] } }, "\/wc\/v3\/atum\/inventory-logs\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "status": { "description": "Tellimuse olek.", "type": "string", "enum": [ "atum_pending", "atum_completed", "any", "trash" ], "required": false }, "currency": { "description": "Valuuta, millega tellimus koostati, ISO-vormingus.", "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 }, "date_created": { "description": "Tellimuse loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Tellimuse loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "required": false }, "date_completed": { "description": "Tellimuse t\u00e4itmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_completed_gmt": { "description": "Tellimuse t\u00e4itmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Rea\u00fcksuste andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Toote nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Ematoote nimi, kui toode on variatsioon.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "Toote ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Variatsiooni ID, kui see on kohaldatav.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Tellitud kogus.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Toote maksuklass.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Rea vahesumma (enne allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Rea vahesumma maks (enne allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Maksude vahesumma.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Metaklahv kasutajaliidese kuvamiseks.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Kasutajaliidese kuva metav\u00e4\u00e4rtus.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Toote SKU.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "global_unique_id": { "description": "GTIN, UPC, EAN v\u00f5i ISBN.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Toote hind.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Toote p\u00f5hipildi omadused.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Laevaliinide andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Saatmisviisi nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Saatmisviisi ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "Tarneeksemplari ID.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Tasuliinide andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Tasu nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Tasu maksuklass.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Tasu maksustaatus.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Maksude vahesumma.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "description": { "description": "The ATUM order description.", "type": "string", "required": false }, "type": { "description": "The log type.", "type": "string", "enum": [ "reserved-stock", "customer-returns", "warehouse-damage", "lost-in-post", "other" ], "required": false }, "order": { "description": "The WooCommerce's order ID to which this Log is linked to.", "type": "integer", "required": false }, "reservation_date": { "description": "The date for when the stock is reserved, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "reservation_date_gmt": { "description": "The date for when the stock is reserved, as GMT.", "type": [ "null", "string" ], "required": false }, "return_date": { "description": "The date for when the customer returned the stock, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "return_date_gmt": { "description": "The date for when the customer returned the stock, as GMT.", "type": [ "null", "string" ], "required": false }, "damage_date": { "description": "The date for when the stock was damaged at warehouse, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "damage_date_gmt": { "description": "The date for when the stock was damaged at warehouse, as GMT.", "type": [ "null", "string" ], "required": false }, "shipping_company": { "description": "The name of the company that lost in post.", "type": "string", "required": false }, "custom_name": { "description": "The custom name for the 'other' log types.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Kas j\u00e4tta pr\u00fcgikast m\u00f6\u00f6da ja sundida kustutamist.", "required": false } } } ] }, "\/wc\/v3\/atum\/inventory-logs\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "status": { "description": "Tellimuse olek.", "type": "string", "enum": [ "atum_pending", "atum_completed", "any", "trash" ], "required": false }, "currency": { "description": "Valuuta, millega tellimus koostati, ISO-vormingus.", "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 }, "date_created": { "description": "Tellimuse loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Tellimuse loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "required": false }, "date_completed": { "description": "Tellimuse t\u00e4itmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_completed_gmt": { "description": "Tellimuse t\u00e4itmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Rea\u00fcksuste andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Toote nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Ematoote nimi, kui toode on variatsioon.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "Toote ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Variatsiooni ID, kui see on kohaldatav.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Tellitud kogus.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Toote maksuklass.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Rea vahesumma (enne allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Rea vahesumma maks (enne allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Maksude vahesumma.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Metaklahv kasutajaliidese kuvamiseks.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Kasutajaliidese kuva metav\u00e4\u00e4rtus.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Toote SKU.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "global_unique_id": { "description": "GTIN, UPC, EAN v\u00f5i ISBN.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Toote hind.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Toote p\u00f5hipildi omadused.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Laevaliinide andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Saatmisviisi nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Saatmisviisi ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "Tarneeksemplari ID.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Tasuliinide andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Tasu nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Tasu maksuklass.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Tasu maksustaatus.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Maksude vahesumma.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "description": { "description": "The ATUM order description.", "type": "string", "required": false }, "type": { "description": "The log type.", "type": "string", "enum": [ "reserved-stock", "customer-returns", "warehouse-damage", "lost-in-post", "other" ], "required": false }, "order": { "description": "The WooCommerce's order ID to which this Log is linked to.", "type": "integer", "required": false }, "reservation_date": { "description": "The date for when the stock is reserved, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "reservation_date_gmt": { "description": "The date for when the stock is reserved, as GMT.", "type": [ "null", "string" ], "required": false }, "return_date": { "description": "The date for when the customer returned the stock, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "return_date_gmt": { "description": "The date for when the customer returned the stock, as GMT.", "type": [ "null", "string" ], "required": false }, "damage_date": { "description": "The date for when the stock was damaged at warehouse, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "damage_date_gmt": { "description": "The date for when the stock was damaged at warehouse, as GMT.", "type": [ "null", "string" ], "required": false }, "shipping_company": { "description": "The name of the company that lost in post.", "type": "string", "required": false }, "custom_name": { "description": "The custom name for the 'other' log types.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/atum\/inventory-logs\/batch" } ] } }, "\/wc\/v3\/atum\/inventory-logs\/(?P[\\d]+)\/notes": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "Tellimuse ID.", "type": "integer", "required": false }, "type": { "default": "any", "description": "Limit result to user or system notes.", "type": "string", "enum": [ "any", "user", "system" ], "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "Tellimuse ID.", "type": "integer", "required": false }, "note": { "type": "string", "description": "Telli m\u00e4rkme sisu.", "required": true }, "added_by_user": { "default": false, "description": "Kui see on t\u00f5ene, omistatakse see m\u00e4rkus praegusele kasutajale. Kui see on vale, omistatakse m\u00e4rkus s\u00fcsteemile.", "type": "boolean", "required": false } } } ] }, "\/wc\/v3\/atum\/inventory-logs\/(?P[\\d]+)\/notes\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "order_id": { "description": "Tellimuse ID.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "order_id": { "description": "Tellimuse ID.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "N\u00f5utav, et see oleks t\u00f5ene, kuna ressurss ei toeta pr\u00fcgikasti viimist.", "required": false } } } ] }, "\/wc\/v3\/products\/atum-locations": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra. Kehtib ainult hierarhiliste taksonoomiate puhul.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu ressursiatribuudi j\u00e4rgi.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Kas peita ressursid, mis pole \u00fchelegi tootele m\u00e4\u00e4ratud.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Piirake tulemuste komplekt konkreetsele vanemale m\u00e4\u00e4ratud ressurssidega. Kehtib ainult hierarhiliste taksonoomiate puhul.", "type": "integer", "required": false }, "product": { "description": "Piirake tulemuste komplekt konkreetsele tootele m\u00e4\u00e4ratud ressurssidega.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Piirake tulemuse komplekt konkreetse n\u00e4lkjaga ressurssidega.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Ressursi nimi.", "required": true }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "parent": { "description": "Ressursi vanema ID.", "type": "integer", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/products\/atum-locations" } ] } }, "\/wc\/v3\/products\/atum-locations\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "name": { "description": "Kategooria nimi.", "type": "string", "required": false }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "parent": { "description": "Ressursi vanema ID.", "type": "integer", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "N\u00f5utav, et see oleks t\u00f5ene, kuna ressurss ei toeta pr\u00fcgikasti viimist.", "required": false } } } ] }, "\/wc\/v3\/products\/atum-locations\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Kategooria nimi.", "type": "string", "required": false }, "slug": { "description": "Ressursi t\u00fc\u00fcbile ainulaadne t\u00e4htnumbriline identifikaator.", "type": "string", "required": false }, "parent": { "description": "Ressursi vanema ID.", "type": "integer", "required": false }, "description": { "description": "Ressursi HTML-i kirjeldus.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/products\/atum-locations\/batch" } ] } }, "\/wc\/v3\/atum\/product-variations\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "description": { "description": "Variatsiooni kirjeldus.", "type": "string", "required": false }, "sku": { "description": "Varude hoidmise \u00fcksus.", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN v\u00f5i ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Muutuv tavahind.", "type": "string", "required": false }, "sale_price": { "description": "Erinev m\u00fc\u00fcgihind.", "type": "string", "required": false }, "date_on_sale_from": { "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "M\u00fc\u00fcgihinna alguskuup\u00e4ev, GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "M\u00fc\u00fcgihinna l\u00f5ppkuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "M\u00fc\u00fcgihinna l\u00f5ppkuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "status": { "description": "Variatsiooni olek.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "description": "Kui variatsioon on virtuaalne.", "type": "boolean", "required": false }, "downloadable": { "description": "Kui variatsioon on allalaaditav.", "type": "boolean", "required": false }, "downloads": { "description": "Allalaaditavate failide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faili ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faili nimi.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faili URL.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Allalaaditavate failide allalaadimiste arv p\u00e4rast ostmist.", "type": "integer", "required": false }, "download_expiry": { "description": "P\u00e4evade arv, kuni juurdep\u00e4\u00e4s allalaaditavatele failidele aegub.", "type": "integer", "required": false }, "tax_status": { "description": "Maksustaatus.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Maksuklass.", "type": "string", "required": false }, "manage_stock": { "description": "Varude haldamine variatsiooni tasemel.", "type": [ "boolean", "string" ], "required": false }, "stock_quantity": { "description": "Lao kogus.", "type": "integer", "required": false }, "stock_status": { "description": "Kontrollib toote laoseisu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Laoseisu haldamisel kontrollib see, kas j\u00e4reltellimused on lubatud.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Variatsiooni jaoks v\u00e4ike laokogus.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Variatsiooni kaal (kg).", "type": "string", "required": false }, "dimensions": { "description": "Variatsiooni m\u00f5\u00f5tmed.", "type": "object", "properties": { "length": { "description": "Variatsiooni pikkus (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Variatsioonilaius (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Variatsioonik\u00f5rgus (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Saatmisklassi n\u00e4lkjas.", "type": "string", "required": false }, "image": { "description": "Variatsioonipildi andmed.", "type": "object", "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Kujutise loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Kujutise loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Kujutise viimati muutmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Kujutise viimati muutmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Pildi nimi.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Pildi alternatiivne tekst.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Atribuutide loend.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atribuudi ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atribuudi nimi.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Valitud atribuudi termini nimi.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Men\u00fc\u00fc j\u00e4rjekord, mida kasutatakse toodete kohandatud sorteerimiseks.", "type": "integer", "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "supplier_id": { "description": "The ID of the ATUM Supplier that is linked to the product.", "type": "integer", "required": false }, "supplier_sku": { "description": "The Supplier's SKU for the product.", "type": "string", "required": false }, "barcode": { "description": "The product's barcode.", "type": "string", "required": false }, "atum_controlled": { "description": "Whether the product is being controlled by ATUM.", "type": "boolean", "required": false }, "out_stock_date": { "description": "The date when the product run out of stock.", "type": [ "null", "string" ], "required": false }, "out_stock_threshold": { "description": "Out of stock threshold at product level.", "type": "number", "required": false }, "inbound_stock": { "description": "Product's inbound stock.", "type": "number", "required": false }, "stock_on_hold": { "description": "Product's stock on hold.", "type": "number", "required": false }, "sold_today": { "description": "Units sold today.", "type": "number", "required": false }, "sales_last_days": { "description": "Sales the last 14 days.", "type": "number", "required": false }, "reserved_stock": { "description": "Stock set as 'reserved_stock' within Inventory Logs.", "type": "number", "required": false }, "customer_returns": { "description": "Stock set as 'customer returns' within Inventory Logs.", "type": "number", "required": false }, "warehouse_damage": { "description": "Stock set as 'warehouse damage' within Inventory Logs.", "type": "number", "required": false }, "lost_in_post": { "description": "Stock set as 'lost in post' within Inventory Logs.", "type": "number", "required": false }, "other_logs": { "description": "Stock set as 'other' within Inventory Logs.", "type": "number", "required": false }, "out_stock_days": { "description": "The number of days that the product is Out of stock.", "type": "integer", "required": false }, "lost_sales": { "description": "Product lost sales.", "type": "number", "required": false }, "update_date": { "description": "Last date when the ATUM product data was calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "atum_stock_status": { "description": "Used to store the stock status (same as WC) but both values may differ for MI enable products.", "type": "string", "required": false }, "restock_status": { "description": "Indicates whether the stock will last soon and should be reordered.", "type": "boolean", "required": false }, "sales_update_date": { "description": "Last date when the sales fields on ATUM product data were calculated and saved for the product.", "type": [ "null", "string" ], "required": false }, "calc_backorders": { "description": "Backordered items (if backorders is enabled and it has a negative stock value).", "type": "number", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/atum\/product-variations\/batch" } ] } }, "\/wc\/v3\/atum\/product-variations": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/atum\/product-variations" } ] } }, "\/wc\/v3\/atum\/purchase-orders": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piirake tulemusi nendega, mis vastavad stringile.", "type": "string", "required": false }, "after": { "description": "Piirake vastuseid ressurssidega, mis on avaldatud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piirake vastust ressurssidega, mis on avaldatud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Piirake reageerimist ressurssidega, mida on muudetud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Piirake reageerimist ressurssidega, mida on muudetud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Kas v\u00f5tta arvesse GMT postitamiskuup\u00e4evi, kui piirata vastuse avaldamise v\u00f5i muudetud kuup\u00e4evaga.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "parent": { "description": "Piirake tulemuste komplekt konkreetsete vanemate ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Piirake tulemuste komplekti k\u00f5igi \u00fcksustega, v\u00e4lja arvatud konkreetse \u00fclem-ID \u00fcksustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "status": { "default": "any", "description": "Limit result set to ATUM orders which have specific statuses.", "type": "array", "items": { "type": "string", "enum": [ "atum_pending", "atum_ordered", "atum_onthewayin", "atum_receiving", "atum_received", "any", "trash" ] }, "required": false }, "product": { "description": "Piirake tulemuste komplekt konkreetsele tootele m\u00e4\u00e4ratud tellimustele.", "type": "integer", "required": false }, "dp": { "default": 0, "description": "Igas ressursis kasutatavate k\u00fcmnendkohtade arv.", "type": "integer", "required": false }, "order_item_display_meta": { "default": false, "description": "Kuva ainult meta, mis on ette n\u00e4htud tellimuse jaoks kuvamiseks.", "type": "boolean", "required": false }, "include_meta": { "default": [], "description": "Piirake meta_andmed konkreetsete v\u00f5tmetega.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Veenduge, et meta_andmed v\u00e4listaks teatud v\u00f5tmed.", "type": "array", "items": { "type": "string" }, "required": false }, "created_via": { "description": "Limit result set to orders created via specific sources (e.g. checkout, admin).", "type": "array", "items": { "type": "string" }, "required": false }, "date_expected": { "description": "Limit result set to purchase orders expected at location on a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "supplier": { "description": "Limit result set to purchase orders linked to the specified supplier ID.", "type": "integer", "required": false }, "multiple_suppliers": { "description": "Limit result set to purchase orders depending on their multiple_suppliers switch status.", "type": "boolean", "required": false } } }, { "methods": [ "POST" ], "args": { "status": { "default": "atum_pending", "description": "Tellimuse olek.", "type": "string", "enum": [ "atum_pending", "atum_ordered", "atum_onthewayin", "atum_receiving", "atum_received", "any", "trash" ], "required": false }, "currency": { "default": "EUR", "description": "Valuuta, millega tellimus koostati, ISO-vormingus.", "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 }, "date_created": { "description": "Tellimuse loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Tellimuse loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "required": false }, "date_completed": { "description": "Tellimuse t\u00e4itmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_completed_gmt": { "description": "Tellimuse t\u00e4itmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Rea\u00fcksuste andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Toote nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Ematoote nimi, kui toode on variatsioon.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "Toote ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Variatsiooni ID, kui see on kohaldatav.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Tellitud kogus.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Toote maksuklass.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Rea vahesumma (enne allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Rea vahesumma maks (enne allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Maksude vahesumma.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Metaklahv kasutajaliidese kuvamiseks.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Kasutajaliidese kuva metav\u00e4\u00e4rtus.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Toote SKU.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "global_unique_id": { "description": "GTIN, UPC, EAN v\u00f5i ISBN.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Toote hind.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Toote p\u00f5hipildi omadused.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Laevaliinide andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Saatmisviisi nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Saatmisviisi ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "Tarneeksemplari ID.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Tasuliinide andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Tasu nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Tasu maksuklass.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Tasu maksustaatus.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Maksude vahesumma.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "description": { "description": "The ATUM order description.", "type": "string", "required": false }, "date_expected": { "description": "The date when the purchase order is expected at location in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_expected_gmt": { "description": "The date when the purchase order is expected at location, as GMT.", "type": [ "null", "string" ], "required": false }, "supplier": { "description": "The supplier ID linked to the purchase order.", "type": "integer", "required": false }, "multiple_suppliers": { "description": "Whether the multiple_suppliers switch is enabled or not.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/atum\/purchase-orders" } ] } }, "\/wc\/v3\/atum\/purchase-orders\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "status": { "description": "Tellimuse olek.", "type": "string", "enum": [ "atum_pending", "atum_ordered", "atum_onthewayin", "atum_receiving", "atum_received", "any", "trash" ], "required": false }, "currency": { "description": "Valuuta, millega tellimus koostati, ISO-vormingus.", "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 }, "date_created": { "description": "Tellimuse loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Tellimuse loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "required": false }, "date_completed": { "description": "Tellimuse t\u00e4itmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_completed_gmt": { "description": "Tellimuse t\u00e4itmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Rea\u00fcksuste andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Toote nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Ematoote nimi, kui toode on variatsioon.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "Toote ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Variatsiooni ID, kui see on kohaldatav.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Tellitud kogus.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Toote maksuklass.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Rea vahesumma (enne allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Rea vahesumma maks (enne allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Maksude vahesumma.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Metaklahv kasutajaliidese kuvamiseks.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Kasutajaliidese kuva metav\u00e4\u00e4rtus.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Toote SKU.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "global_unique_id": { "description": "GTIN, UPC, EAN v\u00f5i ISBN.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Toote hind.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Toote p\u00f5hipildi omadused.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Laevaliinide andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Saatmisviisi nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Saatmisviisi ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "Tarneeksemplari ID.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Tasuliinide andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Tasu nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Tasu maksuklass.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Tasu maksustaatus.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Maksude vahesumma.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "description": { "description": "The ATUM order description.", "type": "string", "required": false }, "date_expected": { "description": "The date when the purchase order is expected at location in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_expected_gmt": { "description": "The date when the purchase order is expected at location, as GMT.", "type": [ "null", "string" ], "required": false }, "supplier": { "description": "The supplier ID linked to the purchase order.", "type": "integer", "required": false }, "multiple_suppliers": { "description": "Whether the multiple_suppliers switch is enabled or not.", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Kas j\u00e4tta pr\u00fcgikast m\u00f6\u00f6da ja sundida kustutamist.", "required": false } } } ] }, "\/wc\/v3\/atum\/purchase-orders\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "status": { "description": "Tellimuse olek.", "type": "string", "enum": [ "atum_pending", "atum_ordered", "atum_onthewayin", "atum_receiving", "atum_received", "any", "trash" ], "required": false }, "currency": { "description": "Valuuta, millega tellimus koostati, ISO-vormingus.", "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 }, "date_created": { "description": "Tellimuse loomise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Tellimuse loomise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "required": false }, "date_completed": { "description": "Tellimuse t\u00e4itmise kuup\u00e4ev saidi ajav\u00f6\u00f6ndis.", "type": [ "null", "string" ], "required": false }, "date_completed_gmt": { "description": "Tellimuse t\u00e4itmise kuup\u00e4ev (GMT).", "type": [ "null", "string" ], "required": false }, "meta_data": { "description": "Metaandmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Rea\u00fcksuste andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Toote nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Ematoote nimi, kui toode on variatsioon.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "Toote ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Variatsiooni ID, kui see on kohaldatav.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Tellitud kogus.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Toote maksuklass.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Rea vahesumma (enne allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Rea vahesumma maks (enne allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Maksude vahesumma.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Metaklahv kasutajaliidese kuvamiseks.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Kasutajaliidese kuva metav\u00e4\u00e4rtus.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Toote SKU.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "global_unique_id": { "description": "GTIN, UPC, EAN v\u00f5i ISBN.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Toote hind.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Toote p\u00f5hipildi omadused.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "Pildi ID.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "Pildi URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Laevaliinide andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Saatmisviisi nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Saatmisviisi ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "Tarneeksemplari ID.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Tasuliinide andmed.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kauba ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Tasu nimi.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Tasu maksuklass.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Tasu maksustaatus.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Rida kokku (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rea kogumaks (p\u00e4rast allahindlusi).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Rea maksud.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Maksum\u00e4\u00e4ra ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Maksusumma kokku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Maksude vahesumma.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metaandmed.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta v\u00f5ti.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u00e4\u00e4rtus.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "description": { "description": "The ATUM order description.", "type": "string", "required": false }, "date_expected": { "description": "The date when the purchase order is expected at location in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_expected_gmt": { "description": "The date when the purchase order is expected at location, as GMT.", "type": [ "null", "string" ], "required": false }, "supplier": { "description": "The supplier ID linked to the purchase order.", "type": "integer", "required": false }, "multiple_suppliers": { "description": "Whether the multiple_suppliers switch is enabled or not.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/atum\/purchase-orders\/batch" } ] } }, "\/wc\/v3\/atum\/purchase-orders\/(?P[\\d]+)\/notes": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "Tellimuse ID.", "type": "integer", "required": false }, "type": { "default": "any", "description": "Limit result to user or system notes.", "type": "string", "enum": [ "any", "user", "system" ], "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "Tellimuse ID.", "type": "integer", "required": false }, "note": { "type": "string", "description": "Telli m\u00e4rkme sisu.", "required": true }, "added_by_user": { "default": false, "description": "Kui see on t\u00f5ene, omistatakse see m\u00e4rkus praegusele kasutajale. Kui see on vale, omistatakse m\u00e4rkus s\u00fcsteemile.", "type": "boolean", "required": false } } } ] }, "\/wc\/v3\/atum\/purchase-orders\/(?P[\\d]+)\/notes\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "order_id": { "description": "Tellimuse ID.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Ressursi kordumatu identifikaator.", "type": "integer", "required": false }, "order_id": { "description": "Tellimuse ID.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "N\u00f5utav, et see oleks t\u00f5ene, kuna ressurss ei toeta pr\u00fcgikasti viimist.", "required": false } } } ] }, "\/wc\/v3\/atum\/settings": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/atum\/settings" } ] } }, "\/wc\/v3\/atum\/settings\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/atum\/settings\/batch" } ] } }, "\/wc\/v3\/atum\/settings\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "group": { "description": "Seadete r\u00fchma ID.", "type": "string", "required": false } } } ] }, "\/wc\/v3\/atum\/settings\/(?P[\\w-]+)\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "description": "Seadete r\u00fchma ID.", "type": "string", "required": false }, "value": { "description": "Setting value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false } } } ] }, "\/wc\/v3\/atum\/settings\/(?P[\\w-]+)\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "group": { "description": "Seadete r\u00fchma ID.", "type": "string", "required": false }, "id": { "description": "Ressursi kordumatu identifikaator.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "description": "Seadete r\u00fchma ID.", "type": "string", "required": false }, "id": { "description": "Ressursi kordumatu identifikaator.", "type": "string", "required": false }, "value": { "description": "Setting value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false } } } ] }, "\/wc\/v3\/atum\/suppliers": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "slug": { "description": "Limit result set to suppliers with a specific slug.", "type": "string", "required": false }, "status": { "default": "any", "description": "Limit result set to suppliers assigned a specific status.", "type": "string", "enum": [ "draft", "pending", "private", "publish", "any", "trash" ], "required": false }, "currency": { "description": "Limit result set to suppliers using the specified currency code.", "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 }, "country": { "description": "Limit result set to suppliers from the specified country code.", "type": "string", "enum": [ "AF", "AX", "AL", "DZ", "AS", "US", "AD", "AO", "AI", "AQ", "AG", "AE", "AR", "AM", "AW", "AZ", "AU", "AT", "BS", "BH", "BD", "BB", "PW", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "CV", "CK", "CR", "CW", "DJ", "DM", "DO", "EC", "EE", "EG", "GQ", "SV", "CI", "ER", "SZ", "ET", "FK", "FJ", "PH", "FO", "GA", "GM", "GH", "GI", "GD", "GE", "GL", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "CN", "ES", "NL", "HN", "HK", "HR", "TL", "IE", "IL", "IN", "ID", "IQ", "IR", "IS", "IM", "IT", "JP", "JM", "YE", "JE", "JO", "CX", "KY", "KH", "CM", "CA", "KZ", "QA", "KE", "CF", "KI", "CO", "KM", "CG", "CD", "CC", "XK", "GR", "CU", "KW", "KG", "CY", "LA", "LT", "LS", "LR", "LI", "LB", "LY", "LU", "ZA", "GS", "KR", "SS", "LV", "EH", "MO", "MG", "MY", "MW", "MV", "ML", "MT", "MA", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MZ", "MM", "NA", "NR", "VG", "VI", "NP", "NI", "NG", "NE", "NU", "NF", "NO", "OM", "PG", "PK", "PS", "PA", "PY", "PE", "PN", "PL", "PT", "GF", "TF", "PF", "FR", "PR", "KP", "MK", "MP", "RE", "SE", "RO", "RW", "SB", "BL", "SH", "KN", "LC", "SX", "MF", "VC", "PM", "DE", "ZM", "WS", "SM", "ST", "SA", "SC", "SN", "RS", "SL", "SG", "SK", "SI", "SO", "FI", "LK", "SD", "SR", "SJ", "SY", "CH", "ZW", "DK", "TJ", "TH", "TW", "TZ", "TG", "TK", "TO", "TT", "TD", "CZ", "CL", "TN", "TM", "TC", "TV", "TR", "UG", "UA", "HU", "UY", "UZ", "NC", "NZ", "BY", "VU", "VA", "RU", "VE", "VN", "WF", "GB", "UM" ], "required": false }, "assigned_to": { "description": "Limit result set to suppliers assigned to the specified user ID.", "type": "integer", "required": false }, "product": { "description": "Limit result set to suppliers assigned to the specific product ID.", "type": "integer", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "modified_before": { "description": "Limit response to orders modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to orders modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Supplier name.", "type": "string", "required": false }, "slug": { "description": "Supplier slug.", "type": "string", "required": false }, "date_created": { "description": "The date the supplier was created, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "The date the supplier was created, as GMT.", "type": [ "null", "string" ], "required": false }, "status": { "default": "publish", "description": "Supplier status (post status).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "any", "trash" ], "required": false }, "code": { "description": "Supplier code.", "type": "string", "required": false }, "tax_number": { "description": "Supplier tax\/VAT number.", "type": "string", "required": false }, "phone": { "description": "Supplier phone number.", "type": "string", "required": false }, "fax": { "description": "Supplier fax number.", "type": "string", "required": false }, "website": { "description": "Supplier website.", "type": "string", "required": false }, "ordering_url": { "description": "Supplier ordering URL.", "type": "string", "required": false }, "general_email": { "description": "Supplier general email.", "type": "string", "required": false }, "ordering_email": { "description": "Supplier ordering email.", "type": "string", "required": false }, "description": { "description": "Supplier description.", "type": "string", "required": false }, "currency": { "description": "Supplier currency.", "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 }, "address": { "description": "Supplier address.", "type": "string", "required": false }, "city": { "description": "Supplier city.", "type": "string", "required": false }, "country": { "description": "Supplier country.", "type": "string", "enum": [ "AF", "AX", "AL", "DZ", "AS", "US", "AD", "AO", "AI", "AQ", "AG", "AE", "AR", "AM", "AW", "AZ", "AU", "AT", "BS", "BH", "BD", "BB", "PW", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "CV", "CK", "CR", "CW", "DJ", "DM", "DO", "EC", "EE", "EG", "GQ", "SV", "CI", "ER", "SZ", "ET", "FK", "FJ", "PH", "FO", "GA", "GM", "GH", "GI", "GD", "GE", "GL", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "CN", "ES", "NL", "HN", "HK", "HR", "TL", "IE", "IL", "IN", "ID", "IQ", "IR", "IS", "IM", "IT", "JP", "JM", "YE", "JE", "JO", "CX", "KY", "KH", "CM", "CA", "KZ", "QA", "KE", "CF", "KI", "CO", "KM", "CG", "CD", "CC", "XK", "GR", "CU", "KW", "KG", "CY", "LA", "LT", "LS", "LR", "LI", "LB", "LY", "LU", "ZA", "GS", "KR", "SS", "LV", "EH", "MO", "MG", "MY", "MW", "MV", "ML", "MT", "MA", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MZ", "MM", "NA", "NR", "VG", "VI", "NP", "NI", "NG", "NE", "NU", "NF", "NO", "OM", "PG", "PK", "PS", "PA", "PY", "PE", "PN", "PL", "PT", "GF", "TF", "PF", "FR", "PR", "KP", "MK", "MP", "RE", "SE", "RO", "RW", "SB", "BL", "SH", "KN", "LC", "SX", "MF", "VC", "PM", "DE", "ZM", "WS", "SM", "ST", "SA", "SC", "SN", "RS", "SL", "SG", "SK", "SI", "SO", "FI", "LK", "SD", "SR", "SJ", "SY", "CH", "ZW", "DK", "TJ", "TH", "TW", "TZ", "TG", "TK", "TO", "TT", "TD", "CZ", "CL", "TN", "TM", "TC", "TV", "TR", "UG", "UA", "HU", "UY", "UZ", "NC", "NZ", "BY", "VU", "VA", "RU", "VE", "VN", "WF", "GB", "UM" ], "required": false }, "state": { "description": "Supplier state.", "type": "string", "required": false }, "zip_code": { "description": "Supplier ZIP code.", "type": "string", "required": false }, "assigned_to": { "description": "The user ID that this supplier is assigned to.", "type": "integer", "required": false }, "location": { "description": "The location used in Purchase Orders assigned to this supplier.", "type": "string", "required": false }, "discount": { "description": "Discount applied by the supplier.", "type": "number", "required": false }, "tax_rate": { "description": "Tax rate applied by the supplier.", "type": "number", "required": false }, "lead_time": { "description": "Lead time (in days).", "type": "integer", "required": false }, "delivery_terms": { "description": "Delivery terms.", "type": "string", "required": false }, "days_to_cancel": { "description": "Days to cancel.", "type": "integer", "required": false }, "cancelation_policy": { "description": "Cancelation policy.", "type": "string", "required": false }, "image": { "description": "Supplier featured image.", "type": "object", "items": { "type": "object", "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "The date the image was created, as GMT", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "The date the image was modified, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/atum\/suppliers" } ] } }, "\/wc\/v3\/atum\/suppliers\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "Supplier name.", "type": "string", "required": false }, "slug": { "description": "Supplier slug.", "type": "string", "required": false }, "date_created": { "description": "The date the supplier was created, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "The date the supplier was created, as GMT.", "type": [ "null", "string" ], "required": false }, "status": { "description": "Supplier status (post status).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "any", "trash" ], "required": false }, "code": { "description": "Supplier code.", "type": "string", "required": false }, "tax_number": { "description": "Supplier tax\/VAT number.", "type": "string", "required": false }, "phone": { "description": "Supplier phone number.", "type": "string", "required": false }, "fax": { "description": "Supplier fax number.", "type": "string", "required": false }, "website": { "description": "Supplier website.", "type": "string", "required": false }, "ordering_url": { "description": "Supplier ordering URL.", "type": "string", "required": false }, "general_email": { "description": "Supplier general email.", "type": "string", "required": false }, "ordering_email": { "description": "Supplier ordering email.", "type": "string", "required": false }, "description": { "description": "Supplier description.", "type": "string", "required": false }, "currency": { "description": "Supplier currency.", "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 }, "address": { "description": "Supplier address.", "type": "string", "required": false }, "city": { "description": "Supplier city.", "type": "string", "required": false }, "country": { "description": "Supplier country.", "type": "string", "enum": [ "AF", "AX", "AL", "DZ", "AS", "US", "AD", "AO", "AI", "AQ", "AG", "AE", "AR", "AM", "AW", "AZ", "AU", "AT", "BS", "BH", "BD", "BB", "PW", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "CV", "CK", "CR", "CW", "DJ", "DM", "DO", "EC", "EE", "EG", "GQ", "SV", "CI", "ER", "SZ", "ET", "FK", "FJ", "PH", "FO", "GA", "GM", "GH", "GI", "GD", "GE", "GL", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "CN", "ES", "NL", "HN", "HK", "HR", "TL", "IE", "IL", "IN", "ID", "IQ", "IR", "IS", "IM", "IT", "JP", "JM", "YE", "JE", "JO", "CX", "KY", "KH", "CM", "CA", "KZ", "QA", "KE", "CF", "KI", "CO", "KM", "CG", "CD", "CC", "XK", "GR", "CU", "KW", "KG", "CY", "LA", "LT", "LS", "LR", "LI", "LB", "LY", "LU", "ZA", "GS", "KR", "SS", "LV", "EH", "MO", "MG", "MY", "MW", "MV", "ML", "MT", "MA", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MZ", "MM", "NA", "NR", "VG", "VI", "NP", "NI", "NG", "NE", "NU", "NF", "NO", "OM", "PG", "PK", "PS", "PA", "PY", "PE", "PN", "PL", "PT", "GF", "TF", "PF", "FR", "PR", "KP", "MK", "MP", "RE", "SE", "RO", "RW", "SB", "BL", "SH", "KN", "LC", "SX", "MF", "VC", "PM", "DE", "ZM", "WS", "SM", "ST", "SA", "SC", "SN", "RS", "SL", "SG", "SK", "SI", "SO", "FI", "LK", "SD", "SR", "SJ", "SY", "CH", "ZW", "DK", "TJ", "TH", "TW", "TZ", "TG", "TK", "TO", "TT", "TD", "CZ", "CL", "TN", "TM", "TC", "TV", "TR", "UG", "UA", "HU", "UY", "UZ", "NC", "NZ", "BY", "VU", "VA", "RU", "VE", "VN", "WF", "GB", "UM" ], "required": false }, "state": { "description": "Supplier state.", "type": "string", "required": false }, "zip_code": { "description": "Supplier ZIP code.", "type": "string", "required": false }, "assigned_to": { "description": "The user ID that this supplier is assigned to.", "type": "integer", "required": false }, "location": { "description": "The location used in Purchase Orders assigned to this supplier.", "type": "string", "required": false }, "discount": { "description": "Discount applied by the supplier.", "type": "number", "required": false }, "tax_rate": { "description": "Tax rate applied by the supplier.", "type": "number", "required": false }, "lead_time": { "description": "Lead time (in days).", "type": "integer", "required": false }, "delivery_terms": { "description": "Delivery terms.", "type": "string", "required": false }, "days_to_cancel": { "description": "Days to cancel.", "type": "integer", "required": false }, "cancelation_policy": { "description": "Cancelation policy.", "type": "string", "required": false }, "image": { "description": "Supplier featured image.", "type": "object", "items": { "type": "object", "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "The date the image was created, as GMT", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "The date the image was modified, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "force": { "default": false, "description": "Whether to bypass trash and force deletion.", "type": "boolean", "required": false } } } ] }, "\/wc\/v3\/atum\/suppliers\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Supplier name.", "type": "string", "required": false }, "slug": { "description": "Supplier slug.", "type": "string", "required": false }, "date_created": { "description": "The date the supplier was created, in the site's timezone.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "The date the supplier was created, as GMT.", "type": [ "null", "string" ], "required": false }, "status": { "description": "Supplier status (post status).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "any", "trash" ], "required": false }, "code": { "description": "Supplier code.", "type": "string", "required": false }, "tax_number": { "description": "Supplier tax\/VAT number.", "type": "string", "required": false }, "phone": { "description": "Supplier phone number.", "type": "string", "required": false }, "fax": { "description": "Supplier fax number.", "type": "string", "required": false }, "website": { "description": "Supplier website.", "type": "string", "required": false }, "ordering_url": { "description": "Supplier ordering URL.", "type": "string", "required": false }, "general_email": { "description": "Supplier general email.", "type": "string", "required": false }, "ordering_email": { "description": "Supplier ordering email.", "type": "string", "required": false }, "description": { "description": "Supplier description.", "type": "string", "required": false }, "currency": { "description": "Supplier currency.", "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 }, "address": { "description": "Supplier address.", "type": "string", "required": false }, "city": { "description": "Supplier city.", "type": "string", "required": false }, "country": { "description": "Supplier country.", "type": "string", "enum": [ "AF", "AX", "AL", "DZ", "AS", "US", "AD", "AO", "AI", "AQ", "AG", "AE", "AR", "AM", "AW", "AZ", "AU", "AT", "BS", "BH", "BD", "BB", "PW", "BE", "BZ", "BJ", "BM", "BT", "BO", "BQ", "BA", "BW", "BV", "BR", "IO", "BN", "BG", "BF", "BI", "CV", "CK", "CR", "CW", "DJ", "DM", "DO", "EC", "EE", "EG", "GQ", "SV", "CI", "ER", "SZ", "ET", "FK", "FJ", "PH", "FO", "GA", "GM", "GH", "GI", "GD", "GE", "GL", "GP", "GU", "GT", "GG", "GN", "GW", "GY", "HT", "HM", "CN", "ES", "NL", "HN", "HK", "HR", "TL", "IE", "IL", "IN", "ID", "IQ", "IR", "IS", "IM", "IT", "JP", "JM", "YE", "JE", "JO", "CX", "KY", "KH", "CM", "CA", "KZ", "QA", "KE", "CF", "KI", "CO", "KM", "CG", "CD", "CC", "XK", "GR", "CU", "KW", "KG", "CY", "LA", "LT", "LS", "LR", "LI", "LB", "LY", "LU", "ZA", "GS", "KR", "SS", "LV", "EH", "MO", "MG", "MY", "MW", "MV", "ML", "MT", "MA", "MH", "MQ", "MR", "MU", "YT", "MX", "FM", "MD", "MC", "MN", "ME", "MS", "MZ", "MM", "NA", "NR", "VG", "VI", "NP", "NI", "NG", "NE", "NU", "NF", "NO", "OM", "PG", "PK", "PS", "PA", "PY", "PE", "PN", "PL", "PT", "GF", "TF", "PF", "FR", "PR", "KP", "MK", "MP", "RE", "SE", "RO", "RW", "SB", "BL", "SH", "KN", "LC", "SX", "MF", "VC", "PM", "DE", "ZM", "WS", "SM", "ST", "SA", "SC", "SN", "RS", "SL", "SG", "SK", "SI", "SO", "FI", "LK", "SD", "SR", "SJ", "SY", "CH", "ZW", "DK", "TJ", "TH", "TW", "TZ", "TG", "TK", "TO", "TT", "TD", "CZ", "CL", "TN", "TM", "TC", "TV", "TR", "UG", "UA", "HU", "UY", "UZ", "NC", "NZ", "BY", "VU", "VA", "RU", "VE", "VN", "WF", "GB", "UM" ], "required": false }, "state": { "description": "Supplier state.", "type": "string", "required": false }, "zip_code": { "description": "Supplier ZIP code.", "type": "string", "required": false }, "assigned_to": { "description": "The user ID that this supplier is assigned to.", "type": "integer", "required": false }, "location": { "description": "The location used in Purchase Orders assigned to this supplier.", "type": "string", "required": false }, "discount": { "description": "Discount applied by the supplier.", "type": "number", "required": false }, "tax_rate": { "description": "Tax rate applied by the supplier.", "type": "number", "required": false }, "lead_time": { "description": "Lead time (in days).", "type": "integer", "required": false }, "delivery_terms": { "description": "Delivery terms.", "type": "string", "required": false }, "days_to_cancel": { "description": "Days to cancel.", "type": "integer", "required": false }, "cancelation_policy": { "description": "Cancelation policy.", "type": "string", "required": false }, "image": { "description": "Supplier featured image.", "type": "object", "items": { "type": "object", "properties": { "id": { "description": "Image ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "The date the image was created, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "The date the image was created, as GMT", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "The date the image was modified, in the site's timezone.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "The date the image was modified, as GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Image URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Image name.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Image alternative text.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "meta_data": { "description": "Meta data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/atum\/suppliers\/batch" } ] } }, "\/wc\/v3\/atum\/tools": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/atum\/tools" } ] } }, "\/wc\/v3\/atum\/tools\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "A unique identifier for the tool.", "type": "string", "required": false }, "name": { "description": "Tool nice name.", "type": "string", "required": false }, "description": { "description": "Tool description.", "type": "string", "required": false }, "config": { "description": "If the tool needs config in order to work.", "type": "object", "required": false }, "success": { "description": "Did the tool run successfully?", "type": "boolean", "required": false }, "message": { "description": "Tool return message.", "type": "string", "required": false }, "result": { "description": "Data returned in case there were.", "type": "array", "required": false } } } ] }, "\/wc\/v3\/atum\/order-refunds": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kollektsiooni praegune leht.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Tulemuste komplektis tagastatavate \u00fcksuste maksimaalne arv.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piirake tulemusi nendega, mis vastavad stringile.", "type": "string", "required": false }, "after": { "description": "Piirake vastuseid ressurssidega, mis on avaldatud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piirake vastust ressurssidega, mis on avaldatud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Piirake reageerimist ressurssidega, mida on muudetud p\u00e4rast ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Piirake reageerimist ressurssidega, mida on muudetud enne ISO8601-ga \u00fchilduvuskuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Kas v\u00f5tta arvesse GMT postitamiskuup\u00e4evi, kui piirata vastuse avaldamise v\u00f5i muudetud kuup\u00e4evaga.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Veenduge, et tulemuste komplekt v\u00e4listaks konkreetsed ID-d.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piirake tulemuste komplekt konkreetsete ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Tasuge m\u00e4\u00e4ratud tulemus kindla arvu \u00fcksuste v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjestuse sortimise atribuut kasvavalt v\u00f5i kahanevalt.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sorteeri kogu objekti atribuudi j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "parent": { "description": "Piirake tulemuste komplekt konkreetsete vanemate ID-dega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Piirake tulemuste komplekti k\u00f5igi \u00fcksustega, v\u00e4lja arvatud konkreetse \u00fclem-ID \u00fcksustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "dp": { "default": 0, "description": "Igas ressursis kasutatavate k\u00fcmnendkohtade arv.", "type": "integer", "required": false }, "order_item_display_meta": { "default": false, "description": "Kuva ainult meta, mis on ette n\u00e4htud tellimuse jaoks kuvamiseks.", "type": "boolean", "required": false }, "include_meta": { "default": [], "description": "Piirake meta_andmed konkreetsete v\u00f5tmetega.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Veenduge, et meta_andmed v\u00e4listaks teatud v\u00f5tmed.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc\/v3\/atum\/order-refunds" } ] } }, "\/wc\/v3\/atum\/order-refunds\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc-telemetry": { "namespace": "wc-telemetry", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wc-telemetry", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-telemetry" } ] } }, "\/wc-telemetry\/tracker": { "namespace": "wc-telemetry", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "platform": { "description": "J\u00e4lgitav platvorm.", "type": "string", "required": true }, "version": { "description": "Platvormi versioon, mida j\u00e4lgida.", "type": "string", "required": true }, "installation_date": { "description": "WooCommerce'i mobiilirakenduse installimise kuup\u00e4ev.", "type": "string", "format": "date-time", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wc-telemetry\/tracker" } ] } }, "\/wccom-site\/v3": { "namespace": "wccom-site\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wccom-site\/v3", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wccom-site\/v3" } ] } }, "\/wccom-site\/v3\/installer\/(?P\\d+)\/state": { "namespace": "wccom-site\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "type": "integer", "required": true } } } ] }, "\/wccom-site\/v3\/installer": { "namespace": "wccom-site\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product-id": { "type": "integer", "required": true }, "run-until-step": { "type": "string", "enum": [ "get_product_info", "download_product", "unpack_product", "move_product", "activate_product" ], "required": true }, "idempotency-key": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wccom-site\/v3\/installer" } ] } }, "\/wccom-site\/v3\/installer\/reset": { "namespace": "wccom-site\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product-id": { "type": "integer", "required": true }, "idempotency-key": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wccom-site\/v3\/installer\/reset" } ] } }, "\/wccom-site\/v3\/ssr": { "namespace": "wccom-site\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wccom-site\/v3\/ssr" } ] } }, "\/wccom-site\/v3\/status": { "namespace": "wccom-site\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wccom-site\/v3\/status" } ] } }, "\/wccom-site\/v3\/connection\/disconnect": { "namespace": "wccom-site\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wccom-site\/v3\/connection\/disconnect" } ] } }, "\/wccom-site\/v3\/connection\/status": { "namespace": "wccom-site\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wccom-site\/v3\/connection\/status" } ] } }, "\/bsf-core\/v1": { "namespace": "bsf-core\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "bsf-core\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/bsf-core\/v1" } ] } }, "\/bsf-core\/v1\/license\/activate": { "namespace": "bsf-core\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "product-id": { "type": "string", "required": true }, "license-key": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/bsf-core\/v1\/license\/activate" } ] } }, "\/nps-survey\/v1": { "namespace": "nps-survey\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "nps-survey\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/nps-survey\/v1" } ] } }, "\/nps-survey\/v1\/rating": { "namespace": "nps-survey\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/nps-survey\/v1\/rating" } ] } }, "\/nps-survey\/v1\/dismiss-nps-survey": { "namespace": "nps-survey\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/nps-survey\/v1\/dismiss-nps-survey" } ] } }, "\/elementor\/v1\/library\/connect": { "namespace": "elementor\/v1", "methods": [ "POST", "DELETE" ], "endpoints": [ { "methods": [ "POST" ], "args": { "token": { "type": "string", "description": "Connect CLI token", "required": true } } }, { "methods": [ "DELETE" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor\/v1\/library\/connect" } ] } }, "\/elementor\/v1\/send-event": { "namespace": "elementor\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "event_data": { "description": "All the recorded event data in JSON format", "type": "object", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/elementor\/v1\/send-event" } ] } }, "\/wp-abilities\/v1": { "namespace": "wp-abilities\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wp-abilities\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp-abilities\/v1" } ] } }, "\/wp-abilities\/v1\/categories": { "namespace": "wp-abilities\/v1", "methods": [ "GET", "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 50, "minimum": 1, "maximum": 100, "required": false } } }, { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 50, "minimum": 1, "maximum": 100, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp-abilities\/v1\/categories" } ] } }, "\/wp-abilities\/v1\/categories\/(?P[a-z0-9]+(?:-[a-z0-9]+)*)": { "namespace": "wp-abilities\/v1", "methods": [ "GET", "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "description": "V\u00f5imekuse kategooria kordumatu identifikaator.", "type": "string", "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$", "required": false } } }, { "methods": [ "GET" ], "args": { "slug": { "description": "V\u00f5imekuse kategooria kordumatu identifikaator.", "type": "string", "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$", "required": false } } } ] }, "\/wp-abilities\/v1\/abilities\/(?P[a-zA-Z0-9\\-\\\/]+?)\/run": { "namespace": "wp-abilities\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE", "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "args": { "name": { "description": "V\u00f5ime unikaalne identifikaator.", "type": "string", "pattern": "^[a-zA-Z0-9\\-\\\/]+$", "required": false }, "input": { "description": "V\u00f5ime t\u00e4itmise sisendparameetrid.", "type": [ "integer", "number", "boolean", "string", "array", "object", "null" ], "default": null, "required": false } } }, { "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "args": { "name": { "description": "V\u00f5ime unikaalne identifikaator.", "type": "string", "pattern": "^[a-zA-Z0-9\\-\\\/]+$", "required": false }, "input": { "description": "V\u00f5ime t\u00e4itmise sisendparameetrid.", "type": [ "integer", "number", "boolean", "string", "array", "object", "null" ], "default": null, "required": false } } } ] }, "\/wp-abilities\/v1\/abilities": { "namespace": "wp-abilities\/v1", "methods": [ "GET", "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 50, "minimum": 1, "maximum": 100, "required": false }, "category": { "description": "Piira tulemusi kindla v\u00f5imekuse kategooria v\u00f5imekustega.", "type": "string", "required": false }, "namespace": { "description": "Piira tulemusi kindlas nimeruumis olevate v\u00f5imetega.", "type": "string", "required": false }, "meta": { "description": "Piira tulemusi v\u00f5imetega, mis vastavad k\u00f5igile antud metav\u00e4ljadele.", "type": "object", "properties": { "annotations": { "description": "Piira tulemusi v\u00f5imetega, mis vastavad antud k\u00e4itumuslikele annotatsioonidele.", "type": "object", "properties": { "readonly": { "description": "Kas v\u00f5ime ei muuda oma keskkonda.", "type": [ "boolean", "null" ] }, "destructive": { "description": "Kas v\u00f5ime v\u00f5ib teha oma keskkonnas destruktiivseid uuendusi.", "type": [ "boolean", "null" ] }, "idempotent": { "description": "Kas korduvatel kutsetel samade argumentidega pole t\u00e4iendavat m\u00f5ju.", "type": [ "boolean", "null" ] } }, "additionalProperties": true } }, "additionalProperties": true, "required": false } } }, { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 50, "minimum": 1, "maximum": 100, "required": false }, "category": { "description": "Piira tulemusi kindla v\u00f5imekuse kategooria v\u00f5imekustega.", "type": "string", "required": false }, "namespace": { "description": "Piira tulemusi kindlas nimeruumis olevate v\u00f5imetega.", "type": "string", "required": false }, "meta": { "description": "Piira tulemusi v\u00f5imetega, mis vastavad k\u00f5igile antud metav\u00e4ljadele.", "type": "object", "properties": { "annotations": { "description": "Piira tulemusi v\u00f5imetega, mis vastavad antud k\u00e4itumuslikele annotatsioonidele.", "type": "object", "properties": { "readonly": { "description": "Kas v\u00f5ime ei muuda oma keskkonda.", "type": [ "boolean", "null" ] }, "destructive": { "description": "Kas v\u00f5ime v\u00f5ib teha oma keskkonnas destruktiivseid uuendusi.", "type": [ "boolean", "null" ] }, "idempotent": { "description": "Kas korduvatel kutsetel samade argumentidega pole t\u00e4iendavat m\u00f5ju.", "type": [ "boolean", "null" ] } }, "additionalProperties": true } }, "additionalProperties": true, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp-abilities\/v1\/abilities" } ] } }, "\/wp-abilities\/v1\/abilities\/(?P[a-zA-Z0-9\\-\\\/]+)": { "namespace": "wp-abilities\/v1", "methods": [ "GET", "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "name": { "description": "V\u00f5ime unikaalne identifikaator.", "type": "string", "pattern": "^[a-zA-Z0-9\\-\\\/]+$", "required": false } } }, { "methods": [ "GET" ], "args": { "name": { "description": "V\u00f5ime unikaalne identifikaator.", "type": "string", "pattern": "^[a-zA-Z0-9\\-\\\/]+$", "required": false } } } ] }, "\/jetpack\/v4\/verify_registration": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/jetpack\/v4\/verify_registration" } ] } }, "\/jetpack\/v4\/remote_authorize": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/jetpack\/v4\/remote_authorize" } ] } }, "\/jetpack\/v4\/remote_provision": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/jetpack\/v4\/remote_provision" } ] } }, "\/jetpack\/v4\/remote_register": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/jetpack\/v4\/remote_register" } ] } }, "\/jetpack\/v4\/remote_connect": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/jetpack\/v4\/remote_connect" } ] } }, "\/jetpack\/v4\/connection\/check": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/jetpack\/v4\/connection\/check" } ] } }, "\/jetpack\/v4\/connection": { "namespace": "jetpack\/v4", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "isActive": { "description": "Set to false will trigger the site to disconnect.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/jetpack\/v4\/connection" } ] } }, "\/jetpack\/v4\/connection\/user": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/jetpack\/v4\/connection\/user" } ] } }, "\/jetpack\/v4\/connection\/data": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/jetpack\/v4\/connection\/data" } ] } }, "\/jetpack\/v4\/connection\/plugins": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/jetpack\/v4\/connection\/plugins" } ] } }, "\/jetpack\/v4\/connection\/reconnect": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/jetpack\/v4\/connection\/reconnect" } ] } }, "\/jetpack\/v4\/connection\/register": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "from": { "description": "Indicates where the registration action was triggered for tracking\/segmentation purposes", "type": "string", "required": false }, "redirect_uri": { "description": "URI of the admin page where the user should be redirected after connection flow", "type": "string", "required": false }, "plugin_slug": { "description": "Indicates from what plugin the request is coming from", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/jetpack\/v4\/connection\/register" } ] } }, "\/jetpack\/v4\/connection\/authorize_url": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "redirect_uri": { "description": "URI of the admin page where the user should be redirected after connection flow", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/jetpack\/v4\/connection\/authorize_url" } ] } }, "\/jetpack\/v4\/user-token": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "user_token": { "description": "New user token", "type": "string", "required": true }, "is_connection_owner": { "description": "Is connection owner", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/jetpack\/v4\/user-token" } ] } }, "\/jetpack\/v4\/connection\/owner": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "owner": { "description": "New owner", "type": "integer", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/jetpack\/v4\/connection\/owner" } ] } }, "\/mcp": { "namespace": "mcp", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "mcp", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/mcp" } ] } }, "\/mcp\/mcp-adapter-default-server": { "namespace": "mcp", "methods": [ "POST", "GET", "DELETE" ], "endpoints": [ { "methods": [ "POST", "GET", "DELETE" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/mcp\/mcp-adapter-default-server" } ] } }, "\/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:\/\/nakedspirit.ee\/est\/wp-json\/wp\/v2" } ] } }, "\/wp\/v2\/posts": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "after": { "description": "Piira vastamist postitustega, mis avaldati peale m\u00e4\u00e4ratud kuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Piirdu postitustega, mida on muudetud p\u00e4rast ISO8601 vormingus m\u00e4\u00e4ratud kuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Piira tulemusi konkreetsete autorite postitustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "J\u00e4ta tulemustest v\u00e4lja konkreetsete autorite postitused.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Piira vastamist postitustega, mis avaldati enne m\u00e4\u00e4ratud kuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Piirdu postitustega, mida on muudetud enne ISO8601 vormingus m\u00e4\u00e4ratud kuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "J\u00e4ta tulemustest v\u00e4lja konkreetsed tunnused.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piira tulemusi konkreetsete tunnustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "Kuidas otsingusisestust t\u00f5lgendada.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Nihuta tulemust edasi mingi arvu elementide v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjesta atribuudi kasvamise v\u00f5i kahanemise alusel.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sordi postituse atribuutide j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "Otsinguveergude nimede massiiv.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Piira tulemusi \u00fche v\u00f5i mitme spetsiifilise p\u00fcsiviitega postitusega.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Piira tulemusi mingis olekus postitustega.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-mon-part-refund", "wc-checkout-draft", "dp-rewrite-republish", "wc-mon-label-printed", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "Piira tulemusi eri taksonoomiate suhtega.", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "categories": { "description": "Piira tulemusi k\u00f5igi elementidega, millele on taksonoomias categories m\u00e4\u00e4ratud konkreetne termin.", "type": [ "object", "array" ], "oneOf": [ { "title": "Termini tunnusteloend", "description": "Vii terminid vastavuse loendis olevate tunnustega.", "type": "array", "items": { "type": "integer" } }, { "title": "Termini tunnuse taksonoomia p\u00e4ring", "description": "K\u00e4ivita keerukam terminip\u00e4ring.", "type": "object", "properties": { "terms": { "description": "Termini tunnused.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Kas arvestada tulemuste piiritlemisel ka alamterminitega.", "type": "boolean", "default": false }, "operator": { "description": "Kas objektidele tuleb m\u00e4\u00e4rata \u00fcks v\u00f5i k\u00f5ik m\u00e4\u00e4ratud terminid.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "categories_exclude": { "description": "Piira tulemusi k\u00f5igi elementidega peale nende, millele on taksonoomias categories m\u00e4\u00e4ratud konkreetne termin.", "type": [ "object", "array" ], "oneOf": [ { "title": "Termini tunnusteloend", "description": "Vii terminid vastavuse loendis olevate tunnustega.", "type": "array", "items": { "type": "integer" } }, { "title": "Termini tunnuse taksonoomia p\u00e4ring", "description": "K\u00e4ivita keerukam terminip\u00e4ring.", "type": "object", "properties": { "terms": { "description": "Termini tunnused.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Kas arvestada tulemuste piiritlemisel ka alamterminitega.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "tags": { "description": "Piira tulemusi k\u00f5igi elementidega, millele on taksonoomias tags m\u00e4\u00e4ratud konkreetne termin.", "type": [ "object", "array" ], "oneOf": [ { "title": "Termini tunnusteloend", "description": "Vii terminid vastavuse loendis olevate tunnustega.", "type": "array", "items": { "type": "integer" } }, { "title": "Termini tunnuse taksonoomia p\u00e4ring", "description": "K\u00e4ivita keerukam terminip\u00e4ring.", "type": "object", "properties": { "terms": { "description": "Termini tunnused.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Kas objektidele tuleb m\u00e4\u00e4rata \u00fcks v\u00f5i k\u00f5ik m\u00e4\u00e4ratud terminid.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "tags_exclude": { "description": "Piira tulemusi k\u00f5igi elementidega peale nende, millele on taksonoomias tags m\u00e4\u00e4ratud konkreetne termin.", "type": [ "object", "array" ], "oneOf": [ { "title": "Termini tunnusteloend", "description": "Vii terminid vastavuse loendis olevate tunnustega.", "type": "array", "items": { "type": "integer" } }, { "title": "Termini tunnuse taksonoomia p\u00e4ring", "description": "K\u00e4ivita keerukam terminip\u00e4ring.", "type": "object", "properties": { "terms": { "description": "Termini tunnused.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false }, "sticky": { "description": "Piira tulemusi kleepsudega.", "type": "boolean", "required": false }, "ignore_sticky": { "description": "Kas eirata esilet\u00f5stetud postitusi v\u00f5i mitte.", "type": "boolean", "default": true, "required": false }, "format": { "description": "Piira tulemuste hulka esemetega, millele on m\u00e4\u00e4ratud \u00fcks v\u00f5i mitu etteantud vormingut.", "type": "array", "uniqueItems": true, "items": { "enum": [ "standard", "aside", "chat", "gallery", "link", "image", "quote", "status", "video", "audio" ], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "Postituse avaldamise aeg (kohalik).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Postituse avaldamise aeg, GMT ajatsoonis.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Postituse t\u00fc\u00fcpi m\u00e4\u00e4rav tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "status": { "description": "Nimega postituseolek.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-mon-part-refund", "wc-checkout-draft", "wc-mon-label-printed" ], "required": false }, "password": { "description": "Parool ligip\u00e4\u00e4su piiramiseks.", "type": "string", "required": false }, "title": { "description": "Postituse pealkiri.", "type": "object", "properties": { "raw": { "description": "Postituse pealkiri, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-pealkiri ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Postituse sisu.", "type": "object", "properties": { "raw": { "description": "Postituse sisu, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-sisu ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Selle postituse kasutatava sisuplokivormingu versioon.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Kas sisu on parooliga kaitstud.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "Postituse autori tunnus.", "type": "integer", "required": false }, "excerpt": { "description": "Postituse v\u00e4ljav\u00f5te.", "type": "object", "properties": { "raw": { "description": "Postituse v\u00e4ljav\u00f5te, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-v\u00e4ljav\u00f5te ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Kas katkend on parooliga kaitstud.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "Postituses kasutatud meediafaili tunnus.", "type": "integer", "required": false }, "comment_status": { "description": "Kas postituse kommenteerimine on lubatud.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Kas postitusele saab teha pingback-viiteid.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "format": { "description": "Postituse vorming.", "type": "string", "enum": [ "standard", "aside", "chat", "gallery", "link", "image", "quote", "status", "video", "audio" ], "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": { "_acf_changed": { "type": "boolean", "title": "", "description": "", "default": false }, "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-4)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "container", "floating-buttons", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "product-post", "product", "product-archive", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "sticky": { "description": "Kas m\u00e4\u00e4rata postitus kinnistatuks (kleepuvaks).", "type": "boolean", "required": false }, "template": { "description": "Postituse kuvamiseks kasutatav teemafail.", "type": "string", "required": false }, "categories": { "description": "Objektiga category taksonoomias seotud terminid.", "type": "array", "items": { "type": "integer" }, "required": false }, "tags": { "description": "Objektiga post_tag taksonoomias seotud terminid.", "type": "array", "items": { "type": "integer" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp\/v2\/posts" } ] } }, "\/wp\/v2\/posts\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Postituse unikaalne tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "excerpt_length": { "description": "Muuda vaikimisi v\u00e4ljav\u00f5tte pikkus.", "type": "integer", "required": false }, "password": { "description": "Postituse parool (kui see on parooliga kaitstud)", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Postituse unikaalne tunnus.", "type": "integer", "required": false }, "date": { "description": "Postituse avaldamise aeg (kohalik).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Postituse avaldamise aeg, GMT ajatsoonis.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Postituse t\u00fc\u00fcpi m\u00e4\u00e4rav tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "status": { "description": "Nimega postituseolek.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-mon-part-refund", "wc-checkout-draft", "wc-mon-label-printed" ], "required": false }, "password": { "description": "Parool ligip\u00e4\u00e4su piiramiseks.", "type": "string", "required": false }, "title": { "description": "Postituse pealkiri.", "type": "object", "properties": { "raw": { "description": "Postituse pealkiri, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-pealkiri ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Postituse sisu.", "type": "object", "properties": { "raw": { "description": "Postituse sisu, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-sisu ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Selle postituse kasutatava sisuplokivormingu versioon.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Kas sisu on parooliga kaitstud.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "Postituse autori tunnus.", "type": "integer", "required": false }, "excerpt": { "description": "Postituse v\u00e4ljav\u00f5te.", "type": "object", "properties": { "raw": { "description": "Postituse v\u00e4ljav\u00f5te, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-v\u00e4ljav\u00f5te ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Kas katkend on parooliga kaitstud.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "Postituses kasutatud meediafaili tunnus.", "type": "integer", "required": false }, "comment_status": { "description": "Kas postituse kommenteerimine on lubatud.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Kas postitusele saab teha pingback-viiteid.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "format": { "description": "Postituse vorming.", "type": "string", "enum": [ "standard", "aside", "chat", "gallery", "link", "image", "quote", "status", "video", "audio" ], "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": { "_acf_changed": { "type": "boolean", "title": "", "description": "", "default": false }, "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-4)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "container", "floating-buttons", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "product-post", "product", "product-archive", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "sticky": { "description": "Kas m\u00e4\u00e4rata postitus kinnistatuks (kleepuvaks).", "type": "boolean", "required": false }, "template": { "description": "Postituse kuvamiseks kasutatav teemafail.", "type": "string", "required": false }, "categories": { "description": "Objektiga category taksonoomias seotud terminid.", "type": "array", "items": { "type": "integer" }, "required": false }, "tags": { "description": "Objektiga post_tag taksonoomias seotud terminid.", "type": "array", "items": { "type": "integer" }, "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Postituse unikaalne tunnus.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Kas eirata pr\u00fcgikasti ja sundida koheselt kustutama.", "required": false } } } ] }, "\/wp\/v2\/posts\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Versiooni \u00fclemversiooni tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "exclude": { "description": "J\u00e4ta tulemustest v\u00e4lja konkreetsed tunnused.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piira tulemusi konkreetsete tunnustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Nihuta tulemust edasi mingi arvu elementide v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjesta atribuudi kasvamise v\u00f5i kahanemise alusel.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sordi objekti atribuutide j\u00e4rgi.", "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": "Versiooni \u00fclemversiooni tunnus.", "type": "integer", "required": false }, "id": { "description": "Versiooni unikaalne tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "Versiooni \u00fclemversiooni tunnus.", "type": "integer", "required": false }, "id": { "description": "Versiooni unikaalne tunnus.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Peab olema t\u00f5ene, kuna versioone ei saa pr\u00fcgikasti saata.", "required": false } } } ] }, "\/wp\/v2\/posts\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Automaatsalvestuse \u00fclemobjekti tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "Automaatsalvestuse \u00fclemobjekti tunnus.", "type": "integer", "required": false }, "date": { "description": "Postituse avaldamise aeg (kohalik).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Postituse avaldamise aeg, GMT ajatsoonis.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Postituse t\u00fc\u00fcpi m\u00e4\u00e4rav tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "status": { "description": "Nimega postituseolek.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-mon-part-refund", "wc-checkout-draft", "wc-mon-label-printed" ], "required": false }, "password": { "description": "Parool ligip\u00e4\u00e4su piiramiseks.", "type": "string", "required": false }, "title": { "description": "Postituse pealkiri.", "type": "object", "properties": { "raw": { "description": "Postituse pealkiri, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-pealkiri ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Postituse sisu.", "type": "object", "properties": { "raw": { "description": "Postituse sisu, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-sisu ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Selle postituse kasutatava sisuplokivormingu versioon.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Kas sisu on parooliga kaitstud.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "Postituse autori tunnus.", "type": "integer", "required": false }, "excerpt": { "description": "Postituse v\u00e4ljav\u00f5te.", "type": "object", "properties": { "raw": { "description": "Postituse v\u00e4ljav\u00f5te, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-v\u00e4ljav\u00f5te ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Kas katkend on parooliga kaitstud.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "Postituses kasutatud meediafaili tunnus.", "type": "integer", "required": false }, "comment_status": { "description": "Kas postituse kommenteerimine on lubatud.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Kas postitusele saab teha pingback-viiteid.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "format": { "description": "Postituse vorming.", "type": "string", "enum": [ "standard", "aside", "chat", "gallery", "link", "image", "quote", "status", "video", "audio" ], "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": { "_acf_changed": { "type": "boolean", "title": "", "description": "", "default": false }, "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-4)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "container", "floating-buttons", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "product-post", "product", "product-archive", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "sticky": { "description": "Kas m\u00e4\u00e4rata postitus kinnistatuks (kleepuvaks).", "type": "boolean", "required": false }, "template": { "description": "Postituse kuvamiseks kasutatav teemafail.", "type": "string", "required": false }, "categories": { "description": "Objektiga category taksonoomias seotud terminid.", "type": "array", "items": { "type": "integer" }, "required": false }, "tags": { "description": "Objektiga post_tag taksonoomias seotud terminid.", "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": "Automaatsalvestuse \u00fclemobjekti tunnus.", "type": "integer", "required": false }, "id": { "description": "Automaatsalvestuse tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/pages": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "after": { "description": "Piira vastamist postitustega, mis avaldati peale m\u00e4\u00e4ratud kuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Piirdu postitustega, mida on muudetud p\u00e4rast ISO8601 vormingus m\u00e4\u00e4ratud kuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Piira tulemusi konkreetsete autorite postitustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "J\u00e4ta tulemustest v\u00e4lja konkreetsete autorite postitused.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Piira vastamist postitustega, mis avaldati enne m\u00e4\u00e4ratud kuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Piirdu postitustega, mida on muudetud enne ISO8601 vormingus m\u00e4\u00e4ratud kuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "J\u00e4ta tulemustest v\u00e4lja konkreetsed tunnused.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piira tulemusi konkreetsete tunnustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "menu_order": { "description": "Piira tulemusi postitustega, millel on konkreetne men\u00fc\u00fc j\u00e4rjekorranumber.", "type": "integer", "required": false }, "search_semantics": { "description": "Kuidas otsingusisestust t\u00f5lgendada.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Nihuta tulemust edasi mingi arvu elementide v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjesta atribuudi kasvamise v\u00f5i kahanemise alusel.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sordi postituse atribuutide j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "menu_order" ], "required": false }, "parent": { "description": "Piira tulemusi elementidega, millel on konkreetne \u00fclemelemendi tunnus.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Piira tulemusi k\u00f5igi elementidega peale nende, millel on konkreetne \u00fclemelemendi tunnus.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_columns": { "default": [], "description": "Otsinguveergude nimede massiiv.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Piira tulemusi \u00fche v\u00f5i mitme spetsiifilise p\u00fcsiviitega postitusega.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Piira tulemusi mingis olekus postitustega.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-mon-part-refund", "wc-checkout-draft", "dp-rewrite-republish", "wc-mon-label-printed", "any" ], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "Postituse avaldamise aeg (kohalik).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Postituse avaldamise aeg, GMT ajatsoonis.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Postituse t\u00fc\u00fcpi m\u00e4\u00e4rav tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "status": { "description": "Nimega postituseolek.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-mon-part-refund", "wc-checkout-draft", "wc-mon-label-printed" ], "required": false }, "password": { "description": "Parool ligip\u00e4\u00e4su piiramiseks.", "type": "string", "required": false }, "parent": { "description": "\u00dclempostituse tunnus.", "type": "integer", "required": false }, "title": { "description": "Postituse pealkiri.", "type": "object", "properties": { "raw": { "description": "Postituse pealkiri, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-pealkiri ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Postituse sisu.", "type": "object", "properties": { "raw": { "description": "Postituse sisu, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-sisu ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Selle postituse kasutatava sisuplokivormingu versioon.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Kas sisu on parooliga kaitstud.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "Postituse autori tunnus.", "type": "integer", "required": false }, "excerpt": { "description": "Postituse v\u00e4ljav\u00f5te.", "type": "object", "properties": { "raw": { "description": "Postituse v\u00e4ljav\u00f5te, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-v\u00e4ljav\u00f5te ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Kas katkend on parooliga kaitstud.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "Postituses kasutatud meediafaili tunnus.", "type": "integer", "required": false }, "comment_status": { "description": "Kas postituse kommenteerimine on lubatud.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Kas postitusele saab teha pingback-viiteid.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "menu_order": { "description": "Postituse j\u00e4rjenumber teiste postituste hulgas.", "type": "integer", "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": { "_acf_changed": { "type": "boolean", "title": "", "description": "", "default": false }, "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-4)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "container", "floating-buttons", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "product-post", "product", "product-archive", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "template": { "description": "Postituse kuvamiseks kasutatav teemafail.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp\/v2\/pages" } ] } }, "\/wp\/v2\/pages\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Postituse unikaalne tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "excerpt_length": { "description": "Muuda vaikimisi v\u00e4ljav\u00f5tte pikkus.", "type": "integer", "required": false }, "password": { "description": "Postituse parool (kui see on parooliga kaitstud)", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Postituse unikaalne tunnus.", "type": "integer", "required": false }, "date": { "description": "Postituse avaldamise aeg (kohalik).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Postituse avaldamise aeg, GMT ajatsoonis.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Postituse t\u00fc\u00fcpi m\u00e4\u00e4rav tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "status": { "description": "Nimega postituseolek.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-mon-part-refund", "wc-checkout-draft", "wc-mon-label-printed" ], "required": false }, "password": { "description": "Parool ligip\u00e4\u00e4su piiramiseks.", "type": "string", "required": false }, "parent": { "description": "\u00dclempostituse tunnus.", "type": "integer", "required": false }, "title": { "description": "Postituse pealkiri.", "type": "object", "properties": { "raw": { "description": "Postituse pealkiri, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-pealkiri ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Postituse sisu.", "type": "object", "properties": { "raw": { "description": "Postituse sisu, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-sisu ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Selle postituse kasutatava sisuplokivormingu versioon.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Kas sisu on parooliga kaitstud.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "Postituse autori tunnus.", "type": "integer", "required": false }, "excerpt": { "description": "Postituse v\u00e4ljav\u00f5te.", "type": "object", "properties": { "raw": { "description": "Postituse v\u00e4ljav\u00f5te, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-v\u00e4ljav\u00f5te ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Kas katkend on parooliga kaitstud.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "Postituses kasutatud meediafaili tunnus.", "type": "integer", "required": false }, "comment_status": { "description": "Kas postituse kommenteerimine on lubatud.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Kas postitusele saab teha pingback-viiteid.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "menu_order": { "description": "Postituse j\u00e4rjenumber teiste postituste hulgas.", "type": "integer", "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": { "_acf_changed": { "type": "boolean", "title": "", "description": "", "default": false }, "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-4)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "container", "floating-buttons", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "product-post", "product", "product-archive", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "template": { "description": "Postituse kuvamiseks kasutatav teemafail.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Postituse unikaalne tunnus.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Kas eirata pr\u00fcgikasti ja sundida koheselt kustutama.", "required": false } } } ] }, "\/wp\/v2\/pages\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Versiooni \u00fclemversiooni tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "exclude": { "description": "J\u00e4ta tulemustest v\u00e4lja konkreetsed tunnused.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piira tulemusi konkreetsete tunnustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Nihuta tulemust edasi mingi arvu elementide v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjesta atribuudi kasvamise v\u00f5i kahanemise alusel.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sordi objekti atribuutide j\u00e4rgi.", "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": "Versiooni \u00fclemversiooni tunnus.", "type": "integer", "required": false }, "id": { "description": "Versiooni unikaalne tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "Versiooni \u00fclemversiooni tunnus.", "type": "integer", "required": false }, "id": { "description": "Versiooni unikaalne tunnus.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Peab olema t\u00f5ene, kuna versioone ei saa pr\u00fcgikasti saata.", "required": false } } } ] }, "\/wp\/v2\/pages\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Automaatsalvestuse \u00fclemobjekti tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "\u00dclempostituse tunnus.", "type": "integer", "required": false }, "date": { "description": "Postituse avaldamise aeg (kohalik).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Postituse avaldamise aeg, GMT ajatsoonis.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Postituse t\u00fc\u00fcpi m\u00e4\u00e4rav tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "status": { "description": "Nimega postituseolek.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-mon-part-refund", "wc-checkout-draft", "wc-mon-label-printed" ], "required": false }, "password": { "description": "Parool ligip\u00e4\u00e4su piiramiseks.", "type": "string", "required": false }, "title": { "description": "Postituse pealkiri.", "type": "object", "properties": { "raw": { "description": "Postituse pealkiri, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-pealkiri ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Postituse sisu.", "type": "object", "properties": { "raw": { "description": "Postituse sisu, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-sisu ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Selle postituse kasutatava sisuplokivormingu versioon.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Kas sisu on parooliga kaitstud.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "Postituse autori tunnus.", "type": "integer", "required": false }, "excerpt": { "description": "Postituse v\u00e4ljav\u00f5te.", "type": "object", "properties": { "raw": { "description": "Postituse v\u00e4ljav\u00f5te, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-v\u00e4ljav\u00f5te ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Kas katkend on parooliga kaitstud.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "Postituses kasutatud meediafaili tunnus.", "type": "integer", "required": false }, "comment_status": { "description": "Kas postituse kommenteerimine on lubatud.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Kas postitusele saab teha pingback-viiteid.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "menu_order": { "description": "Postituse j\u00e4rjenumber teiste postituste hulgas.", "type": "integer", "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": { "_acf_changed": { "type": "boolean", "title": "", "description": "", "default": false }, "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-4)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "container", "floating-buttons", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "product-post", "product", "product-archive", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "template": { "description": "Postituse kuvamiseks kasutatav teemafail.", "type": "string", "required": false } } } ] }, "\/wp\/v2\/pages\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Automaatsalvestuse \u00fclemobjekti tunnus.", "type": "integer", "required": false }, "id": { "description": "Automaatsalvestuse tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "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": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "after": { "description": "Piira vastamist postitustega, mis avaldati peale m\u00e4\u00e4ratud kuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Piirdu postitustega, mida on muudetud p\u00e4rast ISO8601 vormingus m\u00e4\u00e4ratud kuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Piira tulemusi konkreetsete autorite postitustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "J\u00e4ta tulemustest v\u00e4lja konkreetsete autorite postitused.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Piira vastamist postitustega, mis avaldati enne m\u00e4\u00e4ratud kuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Piirdu postitustega, mida on muudetud enne ISO8601 vormingus m\u00e4\u00e4ratud kuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "J\u00e4ta tulemustest v\u00e4lja konkreetsed tunnused.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piira tulemusi konkreetsete tunnustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "Kuidas otsingusisestust t\u00f5lgendada.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Nihuta tulemust edasi mingi arvu elementide v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjesta atribuudi kasvamise v\u00f5i kahanemise alusel.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sordi postituse atribuutide j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "parent": { "description": "Piira tulemusi elementidega, millel on konkreetne \u00fclemelemendi tunnus.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Piira tulemusi k\u00f5igi elementidega peale nende, millel on konkreetne \u00fclemelemendi tunnus.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_columns": { "default": [], "description": "Otsinguveergude nimede massiiv.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Piira tulemusi \u00fche v\u00f5i mitme spetsiifilise p\u00fcsiviitega postitusega.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "inherit", "description": "Piira tulemusi mingis olekus postitustega.", "type": "array", "items": { "enum": [ "inherit", "private", "trash" ], "type": "string" }, "required": false }, "linked_post_type": { "default": null, "description": "Limit result set to attachments linked to a particular post type.", "type": "string", "required": false }, "media_type": { "default": null, "description": "Piira tulemuste hulka kindla meediat\u00fc\u00fcbi v\u00f5i meediat\u00fc\u00fcpide manustele.", "type": "array", "items": { "type": "string", "enum": [ "image", "video", "text", "application", "audio" ] }, "required": false }, "mime_type": { "default": null, "description": "Piira tulemuste hulka kindla MIME-t\u00fc\u00fcbi v\u00f5i MIME-t\u00fc\u00fcpidega manustele.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "date": { "description": "Postituse avaldamise aeg (kohalik).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Postituse avaldamise aeg, GMT ajatsoonis.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Postituse t\u00fc\u00fcpi m\u00e4\u00e4rav tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "status": { "description": "Nimega postituseolek.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-mon-part-refund", "wc-checkout-draft", "wc-mon-label-printed" ], "required": false }, "title": { "description": "Postituse pealkiri.", "type": "object", "properties": { "raw": { "description": "Postituse pealkiri, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-pealkiri ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "Postituse autori tunnus.", "type": "integer", "required": false }, "featured_media": { "description": "Postituses kasutatud meediafaili tunnus.", "type": "integer", "required": false }, "comment_status": { "description": "Kas postituse kommenteerimine on lubatud.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Kas postitusele saab teha pingback-viiteid.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": { "_acf_changed": { "type": "boolean", "title": "", "description": "", "default": false }, "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-4)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false } }, "required": false }, "template": { "description": "Postituse kuvamiseks kasutatav teemafail.", "type": "string", "required": false }, "alt_text": { "description": "Alternatiivtekst, mida kuvatakse manuse asemel.", "type": "string", "required": false }, "caption": { "description": "Manuse pealdis.", "type": "object", "properties": { "raw": { "description": "Manuse pealdis, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Manuse HTML-pealdis ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "description": "Manuse kirjeldus.", "type": "object", "properties": { "raw": { "description": "Manuse kirjeldus, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Manuse HTML-kirjeldus ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "post": { "description": "Manusega seotud postituse tunnus.", "type": "integer", "required": false }, "generate_sub_sizes": { "type": "boolean", "default": true, "description": "Kas genereerida pildi alam\u00f5\u00f5dud.", "required": false }, "convert_format": { "type": "boolean", "default": true, "description": "Kas teisendada pildiformaate.", "required": false }, "url": { "type": "string", "format": "uri", "description": "V\u00e4lise pildi URL, mis laaditakse meediateeki faili \u00fcleslaadimise asemel.", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Postituse unikaalne tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Postituse unikaalne tunnus.", "type": "integer", "required": false }, "date": { "description": "Postituse avaldamise aeg (kohalik).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Postituse avaldamise aeg, GMT ajatsoonis.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Postituse t\u00fc\u00fcpi m\u00e4\u00e4rav tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "status": { "description": "Nimega postituseolek.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-mon-part-refund", "wc-checkout-draft", "wc-mon-label-printed" ], "required": false }, "title": { "description": "Postituse pealkiri.", "type": "object", "properties": { "raw": { "description": "Postituse pealkiri, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-pealkiri ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "Postituse autori tunnus.", "type": "integer", "required": false }, "featured_media": { "description": "Postituses kasutatud meediafaili tunnus.", "type": "integer", "required": false }, "comment_status": { "description": "Kas postituse kommenteerimine on lubatud.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Kas postitusele saab teha pingback-viiteid.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": { "_acf_changed": { "type": "boolean", "title": "", "description": "", "default": false }, "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-4)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false } }, "required": false }, "template": { "description": "Postituse kuvamiseks kasutatav teemafail.", "type": "string", "required": false }, "alt_text": { "description": "Alternatiivtekst, mida kuvatakse manuse asemel.", "type": "string", "required": false }, "caption": { "description": "Manuse pealdis.", "type": "object", "properties": { "raw": { "description": "Manuse pealdis, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Manuse HTML-pealdis ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "description": "Manuse kirjeldus.", "type": "object", "properties": { "raw": { "description": "Manuse kirjeldus, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Manuse HTML-kirjeldus ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "post": { "description": "Manusega seotud postituse tunnus.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Postituse unikaalne tunnus.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Kas eirata pr\u00fcgikasti ja sundida koheselt kustutama.", "required": false } } } ] }, "\/wp\/v2\/media\/(?P[\\d]+)\/post-process": { "namespace": "wp\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "Manuse unikaalne tunnus.", "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": "Muudetud pildifaili URL.", "type": "string", "format": "uri", "required": true }, "modifiers": { "description": "Pildi muutmiste massiiv.", "type": "array", "minItems": 1, "items": { "description": "Pildi muutmine.", "type": "object", "required": [ "type", "args" ], "oneOf": [ { "title": "P\u00f6\u00f6ra", "properties": { "type": { "description": "P\u00f6\u00f6ramise t\u00fc\u00fcp.", "type": "string", "enum": [ "flip" ] }, "args": { "description": "Argumendid \u00fcmber p\u00f6\u00f6rata.", "type": "object", "required": [ "flip" ], "properties": { "flip": { "description": "P\u00f6\u00f6ramise suund.", "type": "object", "required": [ "horizontal", "vertical" ], "properties": { "horizontal": { "description": "Kas p\u00f6\u00f6rata horisontaalsuunas.", "type": "boolean" }, "vertical": { "description": "Kas p\u00f6\u00f6rata vertikaalsuunas.", "type": "boolean" } } } } } } }, { "title": "P\u00f6\u00f6ramine", "properties": { "type": { "description": "P\u00f6\u00f6ramise t\u00fc\u00fcp.", "type": "string", "enum": [ "rotate" ] }, "args": { "description": "P\u00f6\u00f6ramise argumendid.", "type": "object", "required": [ "angle" ], "properties": { "angle": { "description": "P\u00e4rip\u00e4eva p\u00f6\u00f6ramise nurk kraadides.", "type": "number" } } } } }, { "title": "K\u00e4rbi", "properties": { "type": { "description": "K\u00e4rpe t\u00fc\u00fcp.", "type": "string", "enum": [ "crop" ] }, "args": { "description": "K\u00e4rpimise argumendid.", "type": "object", "required": [ "left", "top", "width", "height" ], "properties": { "left": { "description": "K\u00e4rpimise algpositsiooni kaugus pildi vasakust servast protsendina pildi laiusest.", "type": "number" }, "top": { "description": "K\u00e4rpimise algpositsiooni kaugus pildi \u00fclaservast protsendina pildi k\u00f5rgusest.", "type": "number" }, "width": { "description": "K\u00e4rbitud pildi laius protsendina algsest.", "type": "number" }, "height": { "description": "K\u00e4rbitud pildi k\u00f5rgus protsendina algsest.", "type": "number" } } } } } ] }, "required": false }, "rotation": { "description": "Pildi p\u00e4rip\u00e4eva p\u00f6\u00f6ramise nurk kraadides. VANANENUD: kasuta v\u00e4\u00e4rtuste muutmist.", "type": "integer", "minimum": 0, "exclusiveMinimum": true, "maximum": 360, "exclusiveMaximum": true, "required": false }, "x": { "description": "K\u00e4rpimise alustamise laius protsendina pildi laiusest. VANANENUD: kasuta v\u00e4\u00e4rtuste muutmist.", "type": "number", "minimum": 0, "maximum": 100, "required": false }, "y": { "description": "K\u00e4rpimise alustamise k\u00f5rgus protsendina pildi k\u00f5rgusest. VANANENUD: kasuta v\u00e4\u00e4rtuste muutmist.", "type": "number", "minimum": 0, "maximum": 100, "required": false }, "width": { "description": "K\u00e4rbitud pildi laius protsendina. VANANENUD: kasuta v\u00e4\u00e4rtuste muutmist.", "type": "number", "minimum": 0, "maximum": 100, "required": false }, "height": { "description": "K\u00e4rbitud pildi k\u00f5rgus protsendina. VANANENUD: kasuta v\u00e4\u00e4rtuste muutmist.", "type": "number", "minimum": 0, "maximum": 100, "required": false }, "caption": { "description": "Manuse pealdis.", "type": "object", "properties": { "raw": { "description": "Manuse pealdis, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Manuse HTML-pealdis ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "description": "Manuse kirjeldus.", "type": "object", "properties": { "raw": { "description": "Manuse kirjeldus, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Manuse HTML-kirjeldus ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "title": { "description": "Postituse pealkiri.", "type": "object", "properties": { "raw": { "description": "Postituse pealkiri, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-pealkiri ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "post": { "description": "Manusega seotud postituse tunnus.", "type": "integer", "required": false }, "alt_text": { "description": "Alternatiivtekst, mida kuvatakse manuse asemel.", "type": "string", "required": false } } } ] }, "\/wp\/v2\/media\/(?P[\\d]+)\/sideload": { "namespace": "wp\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "Manuse unikaalne tunnus.", "type": "integer", "required": false }, "image_size": { "description": "Pildi suurus. V\u00f5ib olla \u00fcks suuruse nimi v\u00f5i suuruste nimede massiiv, et registreerida sama fail mitme suuruse alla.", "type": [ "string", "array" ], "items": { "type": "string", "minLength": 1 }, "minItems": 1, "minLength": 1, "required": true }, "convert_format": { "type": "boolean", "default": true, "description": "Kas teisendada pildiformaate.", "required": false } } } ] }, "\/wp\/v2\/media\/(?P[\\d]+)\/finalize": { "namespace": "wp\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "Manuse unikaalne tunnus.", "type": "integer", "required": false }, "sub_sizes": { "description": "K\u00fclglaadimise vastustest kogutud alamsuuruse metaandmete massiiv.", "type": "array", "default": [], "maxItems": 100, "items": { "type": "object", "properties": { "image_size": { "description": "Suuruse nimi v\u00f5i suuruste nimede massiiv, kui \u00fcks fail on registreeritud mitme suuruse all, mille m\u00f5\u00f5tmed kattuvad.", "type": [ "string", "array" ], "items": { "type": "string", "minLength": 1 }, "minItems": 1, "minLength": 1, "required": true }, "width": { "type": "integer", "minimum": 1 }, "height": { "type": "integer", "minimum": 1 }, "file": { "type": "string", "minLength": 1 }, "mime_type": { "type": "string", "pattern": "^image\/.*" }, "filesize": { "type": "integer", "minimum": 1 }, "original_image": { "type": "string", "minLength": 1 } } }, "required": false } } } ] }, "\/wp\/v2\/menu-items": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 100, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "after": { "description": "Piira vastamist postitustega, mis avaldati peale m\u00e4\u00e4ratud kuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Piirdu postitustega, mida on muudetud p\u00e4rast ISO8601 vormingus m\u00e4\u00e4ratud kuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piira vastamist postitustega, mis avaldati enne m\u00e4\u00e4ratud kuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Piirdu postitustega, mida on muudetud enne ISO8601 vormingus m\u00e4\u00e4ratud kuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "J\u00e4ta tulemustest v\u00e4lja konkreetsed tunnused.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piira tulemusi konkreetsete tunnustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "Kuidas otsingusisestust t\u00f5lgendada.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Nihuta tulemust edasi mingi arvu elementide v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjesta atribuudi kasvamise v\u00f5i kahanemise alusel.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sordi objekti atribuutide j\u00e4rgi.", "type": "string", "default": "menu_order", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "menu_order" ], "required": false }, "search_columns": { "default": [], "description": "Otsinguveergude nimede massiiv.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Piira tulemusi \u00fche v\u00f5i mitme spetsiifilise p\u00fcsiviitega postitusega.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Piira tulemusi mingis olekus postitustega.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-mon-part-refund", "wc-checkout-draft", "dp-rewrite-republish", "wc-mon-label-printed", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "Piira tulemusi eri taksonoomiate suhtega.", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "menus": { "description": "Piira tulemusi k\u00f5igi elementidega, millele on taksonoomias menus m\u00e4\u00e4ratud konkreetne termin.", "type": [ "object", "array" ], "oneOf": [ { "title": "Termini tunnusteloend", "description": "Vii terminid vastavuse loendis olevate tunnustega.", "type": "array", "items": { "type": "integer" } }, { "title": "Termini tunnuse taksonoomia p\u00e4ring", "description": "K\u00e4ivita keerukam terminip\u00e4ring.", "type": "object", "properties": { "terms": { "description": "Termini tunnused.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Kas objektidele tuleb m\u00e4\u00e4rata \u00fcks v\u00f5i k\u00f5ik m\u00e4\u00e4ratud terminid.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "menus_exclude": { "description": "Piira tulemusi k\u00f5igi elementidega peale nende, millele on taksonoomias menus m\u00e4\u00e4ratud konkreetne termin.", "type": [ "object", "array" ], "oneOf": [ { "title": "Termini tunnusteloend", "description": "Vii terminid vastavuse loendis olevate tunnustega.", "type": "array", "items": { "type": "integer" } }, { "title": "Termini tunnuse taksonoomia p\u00e4ring", "description": "K\u00e4ivita keerukam terminip\u00e4ring.", "type": "object", "properties": { "terms": { "description": "Termini tunnused.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false }, "menu_order": { "description": "Piira tulemusi postitustega, millel on konkreetne men\u00fc\u00fc j\u00e4rjekorranumber.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "title": { "description": "Objekti pealkiri.", "type": [ "string", "object" ], "properties": { "raw": { "description": "Objekti pealkiri, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Objekti HTML-pealkiri ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "type": { "default": "custom", "description": "Algselt esindatud objektir\u00fchm, n\u00e4iteks postituset\u00fc\u00fcp v\u00f5i taksonoomia.", "type": "string", "enum": [ "taxonomy", "post_type", "post_type_archive", "custom" ], "required": false }, "status": { "default": "publish", "description": "Nimega objektiolek.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-mon-part-refund", "wc-checkout-draft", "wc-mon-label-printed" ], "required": false }, "parent": { "default": 0, "description": "Objekti \u00fclemobjekti tunnus.", "type": "integer", "minimum": 0, "required": false }, "attr_title": { "description": "Selle men\u00fc\u00fcelemendi viite title-atribuudi tekst.", "type": "string", "required": false }, "classes": { "description": "Selle men\u00fc\u00fcelemendi viite klassinimed.", "type": "array", "items": { "type": "string" }, "required": false }, "description": { "description": "Selle men\u00fc\u00fcelemendi kirjeldus.", "type": "string", "required": false }, "menu_order": { "default": 1, "description": "Selle men\u00fc\u00fcelemendi \u00fclemelemendi nav_menu_item -andmebaasitunnus, kui see on olemas; vastasel juhul 0.", "type": "integer", "minimum": 1, "required": false }, "object": { "description": "Algne objektit\u00fc\u00fcp, n\u00e4iteks \"rubriik\", \"postitus\" v\u00f5i \"manus\".", "type": "string", "required": false }, "object_id": { "default": 0, "description": "Selle men\u00fc\u00fcelemendi esindatud algse objekti andmebaasitunnus, n\u00e4iteks postituse v\u00f5i rubriigi tunnus.", "type": "integer", "minimum": 0, "required": false }, "target": { "description": "Selle men\u00fc\u00fcelemendi viite target-atribuut.", "type": "string", "enum": [ "_blank", "" ], "required": false }, "url": { "description": "Men\u00fc\u00fcelemendilt viidatud URL.", "type": "string", "format": "uri", "required": false }, "xfn": { "description": "Selle men\u00fc\u00fcelemendiga viidatud XFN-suhe.", "type": "array", "items": { "type": "string" }, "required": false }, "menus": { "description": "Objektiga nav_menu taksonoomias seotud terminid.", "type": "integer", "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": { "_acf_changed": { "type": "boolean", "title": "", "description": "", "default": false }, "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-4)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp\/v2\/menu-items" } ] } }, "\/wp\/v2\/menu-items\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Postituse unikaalne tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Postituse unikaalne tunnus.", "type": "integer", "required": false }, "title": { "description": "Objekti pealkiri.", "type": [ "string", "object" ], "properties": { "raw": { "description": "Objekti pealkiri, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Objekti HTML-pealkiri ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "type": { "description": "Algselt esindatud objektir\u00fchm, n\u00e4iteks postituset\u00fc\u00fcp v\u00f5i taksonoomia.", "type": "string", "enum": [ "taxonomy", "post_type", "post_type_archive", "custom" ], "required": false }, "status": { "description": "Nimega objektiolek.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-mon-part-refund", "wc-checkout-draft", "wc-mon-label-printed" ], "required": false }, "parent": { "description": "Objekti \u00fclemobjekti tunnus.", "type": "integer", "minimum": 0, "required": false }, "attr_title": { "description": "Selle men\u00fc\u00fcelemendi viite title-atribuudi tekst.", "type": "string", "required": false }, "classes": { "description": "Selle men\u00fc\u00fcelemendi viite klassinimed.", "type": "array", "items": { "type": "string" }, "required": false }, "description": { "description": "Selle men\u00fc\u00fcelemendi kirjeldus.", "type": "string", "required": false }, "menu_order": { "description": "Selle men\u00fc\u00fcelemendi \u00fclemelemendi nav_menu_item -andmebaasitunnus, kui see on olemas; vastasel juhul 0.", "type": "integer", "minimum": 1, "required": false }, "object": { "description": "Algne objektit\u00fc\u00fcp, n\u00e4iteks \"rubriik\", \"postitus\" v\u00f5i \"manus\".", "type": "string", "required": false }, "object_id": { "description": "Selle men\u00fc\u00fcelemendi esindatud algse objekti andmebaasitunnus, n\u00e4iteks postituse v\u00f5i rubriigi tunnus.", "type": "integer", "minimum": 0, "required": false }, "target": { "description": "Selle men\u00fc\u00fcelemendi viite target-atribuut.", "type": "string", "enum": [ "_blank", "" ], "required": false }, "url": { "description": "Men\u00fc\u00fcelemendilt viidatud URL.", "type": "string", "format": "uri", "required": false }, "xfn": { "description": "Selle men\u00fc\u00fcelemendiga viidatud XFN-suhe.", "type": "array", "items": { "type": "string" }, "required": false }, "menus": { "description": "Objektiga nav_menu taksonoomias seotud terminid.", "type": "integer", "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": { "_acf_changed": { "type": "boolean", "title": "", "description": "", "default": false }, "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-4)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false } }, "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Postituse unikaalne tunnus.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Kas eirata pr\u00fcgikasti ja sundida koheselt kustutama.", "required": false } } } ] }, "\/wp\/v2\/menu-items\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Automaatsalvestuse \u00fclemobjekti tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "Objekti \u00fclemobjekti tunnus.", "type": "integer", "minimum": 0, "required": false }, "title": { "description": "Objekti pealkiri.", "type": [ "string", "object" ], "properties": { "raw": { "description": "Objekti pealkiri, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Objekti HTML-pealkiri ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "type": { "description": "Algselt esindatud objektir\u00fchm, n\u00e4iteks postituset\u00fc\u00fcp v\u00f5i taksonoomia.", "type": "string", "enum": [ "taxonomy", "post_type", "post_type_archive", "custom" ], "required": false }, "status": { "description": "Nimega objektiolek.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-mon-part-refund", "wc-checkout-draft", "wc-mon-label-printed" ], "required": false }, "attr_title": { "description": "Selle men\u00fc\u00fcelemendi viite title-atribuudi tekst.", "type": "string", "required": false }, "classes": { "description": "Selle men\u00fc\u00fcelemendi viite klassinimed.", "type": "array", "items": { "type": "string" }, "required": false }, "description": { "description": "Selle men\u00fc\u00fcelemendi kirjeldus.", "type": "string", "required": false }, "menu_order": { "description": "Selle men\u00fc\u00fcelemendi \u00fclemelemendi nav_menu_item -andmebaasitunnus, kui see on olemas; vastasel juhul 0.", "type": "integer", "minimum": 1, "required": false }, "object": { "description": "Algne objektit\u00fc\u00fcp, n\u00e4iteks \"rubriik\", \"postitus\" v\u00f5i \"manus\".", "type": "string", "required": false }, "object_id": { "description": "Selle men\u00fc\u00fcelemendi esindatud algse objekti andmebaasitunnus, n\u00e4iteks postituse v\u00f5i rubriigi tunnus.", "type": "integer", "minimum": 0, "required": false }, "target": { "description": "Selle men\u00fc\u00fcelemendi viite target-atribuut.", "type": "string", "enum": [ "_blank", "" ], "required": false }, "url": { "description": "Men\u00fc\u00fcelemendilt viidatud URL.", "type": "string", "format": "uri", "required": false }, "xfn": { "description": "Selle men\u00fc\u00fcelemendiga viidatud XFN-suhe.", "type": "array", "items": { "type": "string" }, "required": false }, "menus": { "description": "Objektiga nav_menu taksonoomias seotud terminid.", "type": "integer", "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": { "_acf_changed": { "type": "boolean", "title": "", "description": "", "default": false }, "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-4)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false } }, "required": false } } } ] }, "\/wp\/v2\/menu-items\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Automaatsalvestuse \u00fclemobjekti tunnus.", "type": "integer", "required": false }, "id": { "description": "Automaatsalvestuse tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/blocks": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "after": { "description": "Piira vastamist postitustega, mis avaldati peale m\u00e4\u00e4ratud kuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Piirdu postitustega, mida on muudetud p\u00e4rast ISO8601 vormingus m\u00e4\u00e4ratud kuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piira vastamist postitustega, mis avaldati enne m\u00e4\u00e4ratud kuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Piirdu postitustega, mida on muudetud enne ISO8601 vormingus m\u00e4\u00e4ratud kuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "J\u00e4ta tulemustest v\u00e4lja konkreetsed tunnused.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piira tulemusi konkreetsete tunnustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "Kuidas otsingusisestust t\u00f5lgendada.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Nihuta tulemust edasi mingi arvu elementide v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjesta atribuudi kasvamise v\u00f5i kahanemise alusel.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sordi postituse atribuutide j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "Otsinguveergude nimede massiiv.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Piira tulemusi \u00fche v\u00f5i mitme spetsiifilise p\u00fcsiviitega postitusega.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Piira tulemusi mingis olekus postitustega.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-mon-part-refund", "wc-checkout-draft", "dp-rewrite-republish", "wc-mon-label-printed", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "Piira tulemusi eri taksonoomiate suhtega.", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "wp_pattern_category": { "description": "Piira tulemusi k\u00f5igi elementidega, millele on taksonoomias wp_pattern_category m\u00e4\u00e4ratud konkreetne termin.", "type": [ "object", "array" ], "oneOf": [ { "title": "Termini tunnusteloend", "description": "Vii terminid vastavuse loendis olevate tunnustega.", "type": "array", "items": { "type": "integer" } }, { "title": "Termini tunnuse taksonoomia p\u00e4ring", "description": "K\u00e4ivita keerukam terminip\u00e4ring.", "type": "object", "properties": { "terms": { "description": "Termini tunnused.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Kas objektidele tuleb m\u00e4\u00e4rata \u00fcks v\u00f5i k\u00f5ik m\u00e4\u00e4ratud terminid.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "wp_pattern_category_exclude": { "description": "Piira tulemusi k\u00f5igi elementidega peale nende, millele on taksonoomias wp_pattern_category m\u00e4\u00e4ratud konkreetne termin.", "type": [ "object", "array" ], "oneOf": [ { "title": "Termini tunnusteloend", "description": "Vii terminid vastavuse loendis olevate tunnustega.", "type": "array", "items": { "type": "integer" } }, { "title": "Termini tunnuse taksonoomia p\u00e4ring", "description": "K\u00e4ivita keerukam terminip\u00e4ring.", "type": "object", "properties": { "terms": { "description": "Termini tunnused.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "Postituse avaldamise aeg (kohalik).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Postituse avaldamise aeg, GMT ajatsoonis.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Postituse t\u00fc\u00fcpi m\u00e4\u00e4rav tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "status": { "description": "Nimega postituseolek.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-mon-part-refund", "wc-checkout-draft", "wc-mon-label-printed" ], "required": false }, "password": { "description": "Parool ligip\u00e4\u00e4su piiramiseks.", "type": "string", "required": false }, "title": { "description": "Postituse pealkiri.", "type": "object", "properties": { "raw": { "description": "Postituse pealkiri, nagu see andmebaasis esineb.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "content": { "description": "Postituse sisu.", "type": "object", "properties": { "raw": { "description": "Postituse sisu, nagu see andmebaasis esineb.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Selle postituse kasutatava sisuplokivormingu versioon.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Kas sisu on parooliga kaitstud.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "excerpt": { "description": "Postituse v\u00e4ljav\u00f5te.", "type": "object", "properties": { "raw": { "description": "Postituse v\u00e4ljav\u00f5te, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-v\u00e4ljav\u00f5te ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Kas katkend on parooliga kaitstud.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": { "_acf_changed": { "type": "boolean", "title": "", "description": "", "default": false }, "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-4)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "wp_pattern_sync_status": { "type": "string", "title": "", "description": "", "default": "", "enum": [ "partial", "unsynced" ] }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" } }, "required": false }, "template": { "description": "Postituse kuvamiseks kasutatav teemafail.", "type": "string", "required": false }, "wp_pattern_category": { "description": "Objektiga wp_pattern_category taksonoomias seotud terminid.", "type": "array", "items": { "type": "integer" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp\/v2\/blocks" } ] } }, "\/wp\/v2\/blocks\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Postituse unikaalne tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "excerpt_length": { "description": "Muuda vaikimisi v\u00e4ljav\u00f5tte pikkus.", "type": "integer", "required": false }, "password": { "description": "Postituse parool (kui see on parooliga kaitstud)", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Postituse unikaalne tunnus.", "type": "integer", "required": false }, "date": { "description": "Postituse avaldamise aeg (kohalik).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Postituse avaldamise aeg, GMT ajatsoonis.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Postituse t\u00fc\u00fcpi m\u00e4\u00e4rav tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "status": { "description": "Nimega postituseolek.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-mon-part-refund", "wc-checkout-draft", "wc-mon-label-printed" ], "required": false }, "password": { "description": "Parool ligip\u00e4\u00e4su piiramiseks.", "type": "string", "required": false }, "title": { "description": "Postituse pealkiri.", "type": "object", "properties": { "raw": { "description": "Postituse pealkiri, nagu see andmebaasis esineb.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "content": { "description": "Postituse sisu.", "type": "object", "properties": { "raw": { "description": "Postituse sisu, nagu see andmebaasis esineb.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Selle postituse kasutatava sisuplokivormingu versioon.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Kas sisu on parooliga kaitstud.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "excerpt": { "description": "Postituse v\u00e4ljav\u00f5te.", "type": "object", "properties": { "raw": { "description": "Postituse v\u00e4ljav\u00f5te, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-v\u00e4ljav\u00f5te ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Kas katkend on parooliga kaitstud.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": { "_acf_changed": { "type": "boolean", "title": "", "description": "", "default": false }, "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-4)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "wp_pattern_sync_status": { "type": "string", "title": "", "description": "", "default": "", "enum": [ "partial", "unsynced" ] }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" } }, "required": false }, "template": { "description": "Postituse kuvamiseks kasutatav teemafail.", "type": "string", "required": false }, "wp_pattern_category": { "description": "Objektiga wp_pattern_category taksonoomias seotud terminid.", "type": "array", "items": { "type": "integer" }, "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Postituse unikaalne tunnus.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Kas eirata pr\u00fcgikasti ja sundida koheselt kustutama.", "required": false } } } ] }, "\/wp\/v2\/blocks\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Versiooni \u00fclemversiooni tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "exclude": { "description": "J\u00e4ta tulemustest v\u00e4lja konkreetsed tunnused.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piira tulemusi konkreetsete tunnustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Nihuta tulemust edasi mingi arvu elementide v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjesta atribuudi kasvamise v\u00f5i kahanemise alusel.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sordi objekti atribuutide j\u00e4rgi.", "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": "Versiooni \u00fclemversiooni tunnus.", "type": "integer", "required": false }, "id": { "description": "Versiooni unikaalne tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "Versiooni \u00fclemversiooni tunnus.", "type": "integer", "required": false }, "id": { "description": "Versiooni unikaalne tunnus.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Peab olema t\u00f5ene, kuna versioone ei saa pr\u00fcgikasti saata.", "required": false } } } ] }, "\/wp\/v2\/blocks\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Automaatsalvestuse \u00fclemobjekti tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "Automaatsalvestuse \u00fclemobjekti tunnus.", "type": "integer", "required": false }, "date": { "description": "Postituse avaldamise aeg (kohalik).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Postituse avaldamise aeg, GMT ajatsoonis.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Postituse t\u00fc\u00fcpi m\u00e4\u00e4rav tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "status": { "description": "Nimega postituseolek.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-mon-part-refund", "wc-checkout-draft", "wc-mon-label-printed" ], "required": false }, "password": { "description": "Parool ligip\u00e4\u00e4su piiramiseks.", "type": "string", "required": false }, "title": { "description": "Postituse pealkiri.", "type": "object", "properties": { "raw": { "description": "Postituse pealkiri, nagu see andmebaasis esineb.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "content": { "description": "Postituse sisu.", "type": "object", "properties": { "raw": { "description": "Postituse sisu, nagu see andmebaasis esineb.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Selle postituse kasutatava sisuplokivormingu versioon.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Kas sisu on parooliga kaitstud.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "excerpt": { "description": "Postituse v\u00e4ljav\u00f5te.", "type": "object", "properties": { "raw": { "description": "Postituse v\u00e4ljav\u00f5te, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-v\u00e4ljav\u00f5te ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Kas katkend on parooliga kaitstud.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": { "_acf_changed": { "type": "boolean", "title": "", "description": "", "default": false }, "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-4)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "wp_pattern_sync_status": { "type": "string", "title": "", "description": "", "default": "", "enum": [ "partial", "unsynced" ] }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" } }, "required": false }, "template": { "description": "Postituse kuvamiseks kasutatav teemafail.", "type": "string", "required": false }, "wp_pattern_category": { "description": "Objektiga wp_pattern_category taksonoomias seotud terminid.", "type": "array", "items": { "type": "integer" }, "required": false } } } ] }, "\/wp\/v2\/blocks\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Automaatsalvestuse \u00fclemobjekti tunnus.", "type": "integer", "required": false }, "id": { "description": "Automaatsalvestuse tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/templates\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Malli tunnus", "type": "string", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "exclude": { "description": "J\u00e4ta tulemustest v\u00e4lja konkreetsed tunnused.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piira tulemusi konkreetsete tunnustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Nihuta tulemust edasi mingi arvu elementide v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjesta atribuudi kasvamise v\u00f5i kahanemise alusel.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sordi objekti atribuutide j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "relevance", "slug", "include_slugs", "title" ], "required": false } } } ] }, "\/wp\/v2\/templates\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Malli tunnus", "type": "string", "required": false }, "id": { "description": "Versiooni unikaalne tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "Malli tunnus", "type": "string", "required": false }, "id": { "description": "Versiooni unikaalne tunnus.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Peab olema t\u00f5ene, kuna versioone ei saa pr\u00fcgikasti saata.", "required": false } } } ] }, "\/wp\/v2\/templates\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Malli tunnus", "type": "string", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "id": { "description": "Malli tunnus", "type": "string", "required": false }, "slug": { "description": "Malli unikaalne p\u00fcsiviide.", "type": "string", "minLength": 1, "pattern": "[a-zA-Z0-9_\\%-]+", "required": false }, "theme": { "description": "Malli teematunnus.", "type": "string", "required": false }, "type": { "description": "Malli t\u00fc\u00fcp.", "type": "string", "required": false }, "content": { "description": "Malli sisu.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Malli sisu, nagu see andmebaasis esineb.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Mallis kasutatava sisuplokivormingu versioon.", "type": "integer", "context": [ "edit" ], "readonly": true } }, "required": false }, "title": { "description": "Malli pealkiri.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Malli pealkiri, nagu see andmebaasis esineb.", "type": "string", "context": [ "view", "edit", "embed" ] }, "rendered": { "description": "Malli HTML-pealkiri ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "description": "Malli kirjeldus.", "type": "string", "required": false }, "status": { "description": "Malli olek.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-mon-part-refund", "wc-checkout-draft", "wc-mon-label-printed" ], "required": false }, "author": { "description": "Malli autori tunnus.", "type": "integer", "required": false } } } ] }, "\/wp\/v2\/templates\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Malli tunnus", "type": "string", "required": false }, "id": { "description": "Automaatsalvestuse tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "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": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "wp_id": { "description": "Piira konkreetse postitusetunnusega.", "type": "integer", "required": false }, "area": { "description": "Piirdu konkreetse malliosade alaga.", "type": "string", "required": false }, "post_type": { "description": "Postituset\u00fc\u00fcp, mille jaoks malli soovitakse.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "slug": { "description": "Malli unikaalne p\u00fcsiviide.", "type": "string", "minLength": 1, "pattern": "[a-zA-Z0-9_\\%-]+", "required": true }, "theme": { "description": "Malli teematunnus.", "type": "string", "required": false }, "type": { "description": "Malli t\u00fc\u00fcp.", "type": "string", "required": false }, "content": { "default": "", "description": "Malli sisu.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Malli sisu, nagu see andmebaasis esineb.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Mallis kasutatava sisuplokivormingu versioon.", "type": "integer", "context": [ "edit" ], "readonly": true } }, "required": false }, "title": { "default": "", "description": "Malli pealkiri.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Malli pealkiri, nagu see andmebaasis esineb.", "type": "string", "context": [ "view", "edit", "embed" ] }, "rendered": { "description": "Malli HTML-pealkiri ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "default": "", "description": "Malli kirjeldus.", "type": "string", "required": false }, "status": { "default": "publish", "description": "Malli olek.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-mon-part-refund", "wc-checkout-draft", "wc-mon-label-printed" ], "required": false }, "author": { "description": "Malli autori tunnus.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp\/v2\/templates" } ] } }, "\/wp\/v2\/templates\/lookup": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "description": "Varuvariandina kasutatava malli p\u00fcsiviide", "type": "string", "required": true }, "is_custom": { "description": "N\u00e4itab, kas mall on kohandatud v\u00f5i kuulub mallihierarhiasse", "type": "boolean", "required": false }, "template_prefix": { "description": "Eesliide loodud mallidele. Seda kasutatakse peat\u00fc\u00fcbi valimisel, n\u00e4iteks 'taksonoomia-raamatud' annab 'taksonoomia'", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp\/v2\/templates\/lookup" } ] } }, "\/wp\/v2\/templates\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Malli tunnus", "type": "string", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Malli tunnus", "type": "string", "required": false }, "slug": { "description": "Malli unikaalne p\u00fcsiviide.", "type": "string", "minLength": 1, "pattern": "[a-zA-Z0-9_\\%-]+", "required": false }, "theme": { "description": "Malli teematunnus.", "type": "string", "required": false }, "type": { "description": "Malli t\u00fc\u00fcp.", "type": "string", "required": false }, "content": { "description": "Malli sisu.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Malli sisu, nagu see andmebaasis esineb.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Mallis kasutatava sisuplokivormingu versioon.", "type": "integer", "context": [ "edit" ], "readonly": true } }, "required": false }, "title": { "description": "Malli pealkiri.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Malli pealkiri, nagu see andmebaasis esineb.", "type": "string", "context": [ "view", "edit", "embed" ] }, "rendered": { "description": "Malli HTML-pealkiri ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "description": "Malli kirjeldus.", "type": "string", "required": false }, "status": { "description": "Malli olek.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-mon-part-refund", "wc-checkout-draft", "wc-mon-label-printed" ], "required": false }, "author": { "description": "Malli autori tunnus.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Malli tunnus", "type": "string", "required": false }, "force": { "type": "boolean", "default": false, "description": "Kas eirata pr\u00fcgikasti ja sundida koheselt kustutama.", "required": false } } } ] }, "\/wp\/v2\/template-parts\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Malli tunnus", "type": "string", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "exclude": { "description": "J\u00e4ta tulemustest v\u00e4lja konkreetsed tunnused.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piira tulemusi konkreetsete tunnustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Nihuta tulemust edasi mingi arvu elementide v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjesta atribuudi kasvamise v\u00f5i kahanemise alusel.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sordi objekti atribuutide j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "relevance", "slug", "include_slugs", "title" ], "required": false } } } ] }, "\/wp\/v2\/template-parts\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Malli tunnus", "type": "string", "required": false }, "id": { "description": "Versiooni unikaalne tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "Malli tunnus", "type": "string", "required": false }, "id": { "description": "Versiooni unikaalne tunnus.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Peab olema t\u00f5ene, kuna versioone ei saa pr\u00fcgikasti saata.", "required": false } } } ] }, "\/wp\/v2\/template-parts\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Malli tunnus", "type": "string", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "id": { "description": "Malli tunnus", "type": "string", "required": false }, "slug": { "description": "Malli unikaalne p\u00fcsiviide.", "type": "string", "minLength": 1, "pattern": "[a-zA-Z0-9_\\%-]+", "required": false }, "theme": { "description": "Malli teematunnus.", "type": "string", "required": false }, "type": { "description": "Malli t\u00fc\u00fcp.", "type": "string", "required": false }, "content": { "description": "Malli sisu.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Malli sisu, nagu see andmebaasis esineb.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Mallis kasutatava sisuplokivormingu versioon.", "type": "integer", "context": [ "edit" ], "readonly": true } }, "required": false }, "title": { "description": "Malli pealkiri.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Malli pealkiri, nagu see andmebaasis esineb.", "type": "string", "context": [ "view", "edit", "embed" ] }, "rendered": { "description": "Malli HTML-pealkiri ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "description": "Malli kirjeldus.", "type": "string", "required": false }, "status": { "description": "Malli olek.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-mon-part-refund", "wc-checkout-draft", "wc-mon-label-printed" ], "required": false }, "author": { "description": "Malli autori tunnus.", "type": "integer", "required": false }, "area": { "description": "Kus seda malliosa kasutatakse (p\u00e4is, jalus jne)", "type": "string", "required": false } } } ] }, "\/wp\/v2\/template-parts\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Malli tunnus", "type": "string", "required": false }, "id": { "description": "Automaatsalvestuse tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/template-parts": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "wp_id": { "description": "Piira konkreetse postitusetunnusega.", "type": "integer", "required": false }, "area": { "description": "Piirdu konkreetse malliosade alaga.", "type": "string", "required": false }, "post_type": { "description": "Postituset\u00fc\u00fcp, mille jaoks malli soovitakse.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "slug": { "description": "Malli unikaalne p\u00fcsiviide.", "type": "string", "minLength": 1, "pattern": "[a-zA-Z0-9_\\%-]+", "required": true }, "theme": { "description": "Malli teematunnus.", "type": "string", "required": false }, "type": { "description": "Malli t\u00fc\u00fcp.", "type": "string", "required": false }, "content": { "default": "", "description": "Malli sisu.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Malli sisu, nagu see andmebaasis esineb.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Mallis kasutatava sisuplokivormingu versioon.", "type": "integer", "context": [ "edit" ], "readonly": true } }, "required": false }, "title": { "default": "", "description": "Malli pealkiri.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Malli pealkiri, nagu see andmebaasis esineb.", "type": "string", "context": [ "view", "edit", "embed" ] }, "rendered": { "description": "Malli HTML-pealkiri ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "default": "", "description": "Malli kirjeldus.", "type": "string", "required": false }, "status": { "default": "publish", "description": "Malli olek.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-mon-part-refund", "wc-checkout-draft", "wc-mon-label-printed" ], "required": false }, "author": { "description": "Malli autori tunnus.", "type": "integer", "required": false }, "area": { "description": "Kus seda malliosa kasutatakse (p\u00e4is, jalus jne)", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp\/v2\/template-parts" } ] } }, "\/wp\/v2\/template-parts\/lookup": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "description": "Varuvariandina kasutatava malli p\u00fcsiviide", "type": "string", "required": true }, "is_custom": { "description": "N\u00e4itab, kas mall on kohandatud v\u00f5i kuulub mallihierarhiasse", "type": "boolean", "required": false }, "template_prefix": { "description": "Eesliide loodud mallidele. Seda kasutatakse peat\u00fc\u00fcbi valimisel, n\u00e4iteks 'taksonoomia-raamatud' annab 'taksonoomia'", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp\/v2\/template-parts\/lookup" } ] } }, "\/wp\/v2\/template-parts\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Malli tunnus", "type": "string", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Malli tunnus", "type": "string", "required": false }, "slug": { "description": "Malli unikaalne p\u00fcsiviide.", "type": "string", "minLength": 1, "pattern": "[a-zA-Z0-9_\\%-]+", "required": false }, "theme": { "description": "Malli teematunnus.", "type": "string", "required": false }, "type": { "description": "Malli t\u00fc\u00fcp.", "type": "string", "required": false }, "content": { "description": "Malli sisu.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Malli sisu, nagu see andmebaasis esineb.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Mallis kasutatava sisuplokivormingu versioon.", "type": "integer", "context": [ "edit" ], "readonly": true } }, "required": false }, "title": { "description": "Malli pealkiri.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Malli pealkiri, nagu see andmebaasis esineb.", "type": "string", "context": [ "view", "edit", "embed" ] }, "rendered": { "description": "Malli HTML-pealkiri ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "description": "Malli kirjeldus.", "type": "string", "required": false }, "status": { "description": "Malli olek.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-mon-part-refund", "wc-checkout-draft", "wc-mon-label-printed" ], "required": false }, "author": { "description": "Malli autori tunnus.", "type": "integer", "required": false }, "area": { "description": "Kus seda malliosa kasutatakse (p\u00e4is, jalus jne)", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Malli tunnus", "type": "string", "required": false }, "force": { "type": "boolean", "default": false, "description": "Kas eirata pr\u00fcgikasti ja sundida koheselt kustutama.", "required": false } } } ] }, "\/wp\/v2\/global-styles\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Versiooni \u00fclemversiooni tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "offset": { "description": "Nihuta tulemust edasi mingi arvu elementide v\u00f5rra.", "type": "integer", "required": false } } } ] }, "\/wp\/v2\/global-styles\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "\u00dcldiste stiilide muudatuse vanema ID.", "type": "integer", "required": false }, "id": { "description": "Globaalsete stiilide versiooni unikaalne identifikaator.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/global-styles\/themes\/(?P[\\\/\\s%\\w\\.\\(\\)\\[\\]\\@_\\-]+)\/variations": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": false }, "args": { "stylesheet": { "description": "Teema tunnus", "type": "string", "required": false } } } ] }, "\/wp\/v2\/global-styles\/themes\/(?P[^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": false }, "args": { "stylesheet": { "description": "Teema tunnus", "type": "string", "required": false } } } ] }, "\/wp\/v2\/global-styles\/(?P[\\\/\\d+]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": false }, "args": { "id": { "description": "Stiilis\u00e4tete tunnus.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": false }, "args": { "styles": { "description": "Stiilid.", "type": [ "object" ], "required": false }, "settings": { "description": "\u00dclds\u00e4tted.", "type": [ "object" ], "required": false }, "title": { "description": "Stiilivariandi pealkiri.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Stiilivariandi pealkiri, nagu see andmebaasis esineb.", "type": "string", "context": [ "view", "edit", "embed" ] }, "rendered": { "description": "Postituse HTML-pealkiri ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false } } } ] }, "\/wp\/v2\/navigation": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "after": { "description": "Piira vastamist postitustega, mis avaldati peale m\u00e4\u00e4ratud kuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Piirdu postitustega, mida on muudetud p\u00e4rast ISO8601 vormingus m\u00e4\u00e4ratud kuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piira vastamist postitustega, mis avaldati enne m\u00e4\u00e4ratud kuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Piirdu postitustega, mida on muudetud enne ISO8601 vormingus m\u00e4\u00e4ratud kuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "J\u00e4ta tulemustest v\u00e4lja konkreetsed tunnused.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piira tulemusi konkreetsete tunnustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "Kuidas otsingusisestust t\u00f5lgendada.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Nihuta tulemust edasi mingi arvu elementide v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjesta atribuudi kasvamise v\u00f5i kahanemise alusel.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sordi postituse atribuutide j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "Otsinguveergude nimede massiiv.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Piira tulemusi \u00fche v\u00f5i mitme spetsiifilise p\u00fcsiviitega postitusega.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Piira tulemusi mingis olekus postitustega.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-mon-part-refund", "wc-checkout-draft", "dp-rewrite-republish", "wc-mon-label-printed", "any" ], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "Postituse avaldamise aeg (kohalik).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Postituse avaldamise aeg, GMT ajatsoonis.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Postituse t\u00fc\u00fcpi m\u00e4\u00e4rav tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "status": { "description": "Nimega postituseolek.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-mon-part-refund", "wc-checkout-draft", "wc-mon-label-printed" ], "required": false }, "password": { "description": "Parool ligip\u00e4\u00e4su piiramiseks.", "type": "string", "required": false }, "title": { "description": "Postituse pealkiri.", "type": "object", "properties": { "raw": { "description": "Postituse pealkiri, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit", "embed" ] }, "rendered": { "description": "Postituse HTML-pealkiri ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Postituse sisu.", "type": "object", "properties": { "raw": { "description": "Postituse sisu, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit", "embed" ] }, "rendered": { "description": "Postituse HTML-sisu ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "block_version": { "description": "Selle postituse kasutatava sisuplokivormingu versioon.", "type": "integer", "context": [ "edit", "embed" ], "readonly": true }, "protected": { "description": "Kas sisu on parooliga kaitstud.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "template": { "description": "Postituse kuvamiseks kasutatav teemafail.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp\/v2\/navigation" } ] } }, "\/wp\/v2\/navigation\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Postituse unikaalne tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "Postituse parool (kui see on parooliga kaitstud)", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Postituse unikaalne tunnus.", "type": "integer", "required": false }, "date": { "description": "Postituse avaldamise aeg (kohalik).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Postituse avaldamise aeg, GMT ajatsoonis.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Postituse t\u00fc\u00fcpi m\u00e4\u00e4rav tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "status": { "description": "Nimega postituseolek.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-mon-part-refund", "wc-checkout-draft", "wc-mon-label-printed" ], "required": false }, "password": { "description": "Parool ligip\u00e4\u00e4su piiramiseks.", "type": "string", "required": false }, "title": { "description": "Postituse pealkiri.", "type": "object", "properties": { "raw": { "description": "Postituse pealkiri, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit", "embed" ] }, "rendered": { "description": "Postituse HTML-pealkiri ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Postituse sisu.", "type": "object", "properties": { "raw": { "description": "Postituse sisu, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit", "embed" ] }, "rendered": { "description": "Postituse HTML-sisu ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "block_version": { "description": "Selle postituse kasutatava sisuplokivormingu versioon.", "type": "integer", "context": [ "edit", "embed" ], "readonly": true }, "protected": { "description": "Kas sisu on parooliga kaitstud.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "template": { "description": "Postituse kuvamiseks kasutatav teemafail.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Postituse unikaalne tunnus.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Kas eirata pr\u00fcgikasti ja sundida koheselt kustutama.", "required": false } } } ] }, "\/wp\/v2\/navigation\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Versiooni \u00fclemversiooni tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "exclude": { "description": "J\u00e4ta tulemustest v\u00e4lja konkreetsed tunnused.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piira tulemusi konkreetsete tunnustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Nihuta tulemust edasi mingi arvu elementide v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjesta atribuudi kasvamise v\u00f5i kahanemise alusel.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sordi objekti atribuutide j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "relevance", "slug", "include_slugs", "title" ], "required": false } } } ] }, "\/wp\/v2\/navigation\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Versiooni \u00fclemversiooni tunnus.", "type": "integer", "required": false }, "id": { "description": "Versiooni unikaalne tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "Versiooni \u00fclemversiooni tunnus.", "type": "integer", "required": false }, "id": { "description": "Versiooni unikaalne tunnus.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Peab olema t\u00f5ene, kuna versioone ei saa pr\u00fcgikasti saata.", "required": false } } } ] }, "\/wp\/v2\/navigation\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Automaatsalvestuse \u00fclemobjekti tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "Automaatsalvestuse \u00fclemobjekti tunnus.", "type": "integer", "required": false }, "date": { "description": "Postituse avaldamise aeg (kohalik).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Postituse avaldamise aeg, GMT ajatsoonis.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Postituse t\u00fc\u00fcpi m\u00e4\u00e4rav tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "status": { "description": "Nimega postituseolek.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-mon-part-refund", "wc-checkout-draft", "wc-mon-label-printed" ], "required": false }, "password": { "description": "Parool ligip\u00e4\u00e4su piiramiseks.", "type": "string", "required": false }, "title": { "description": "Postituse pealkiri.", "type": "object", "properties": { "raw": { "description": "Postituse pealkiri, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit", "embed" ] }, "rendered": { "description": "Postituse HTML-pealkiri ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Postituse sisu.", "type": "object", "properties": { "raw": { "description": "Postituse sisu, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit", "embed" ] }, "rendered": { "description": "Postituse HTML-sisu ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "block_version": { "description": "Selle postituse kasutatava sisuplokivormingu versioon.", "type": "integer", "context": [ "edit", "embed" ], "readonly": true }, "protected": { "description": "Kas sisu on parooliga kaitstud.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "template": { "description": "Postituse kuvamiseks kasutatav teemafail.", "type": "string", "required": false } } } ] }, "\/wp\/v2\/navigation\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Automaatsalvestuse \u00fclemobjekti tunnus.", "type": "integer", "required": false }, "id": { "description": "Automaatsalvestuse tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/font-families": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "exclude": { "description": "J\u00e4ta tulemustest v\u00e4lja konkreetsed tunnused.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piira tulemusi konkreetsete tunnustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "Kuidas otsingusisestust t\u00f5lgendada.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Nihuta tulemust edasi mingi arvu elementide v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjesta atribuudi kasvamise v\u00f5i kahanemise alusel.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sordi postituse atribuutide j\u00e4rgi.", "type": "string", "default": "id", "enum": [ "id", "include" ], "required": false }, "slug": { "description": "Piira tulemusi \u00fche v\u00f5i mitme spetsiifilise p\u00fcsiviitega postitusega.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "theme_json_version": { "description": "T\u00fcpograafias\u00e4tete jaoks kasutatava theme.json skeemi versioon.", "type": "integer", "default": 3, "minimum": 2, "maximum": 3, "required": false }, "font_family_settings": { "description": "font-family deklaratsioon theme.json-vormingus, kodeeritud stringina.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp\/v2\/font-families" } ] } }, "\/wp\/v2\/font-families\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Postituse unikaalne tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Postituse unikaalne tunnus.", "type": "integer", "required": false }, "theme_json_version": { "description": "T\u00fcpograafias\u00e4tete jaoks kasutatava theme.json skeemi versioon.", "type": "integer", "default": 3, "minimum": 2, "maximum": 3, "required": false }, "font_family_settings": { "description": "font-family deklaratsioon theme.json-vormingus, kodeeritud stringina.", "type": "string", "required": true } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Postituse unikaalne tunnus.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Kas eirata pr\u00fcgikasti ja sundida koheselt kustutama.", "required": false } } } ] }, "\/wp\/v2\/font-families\/(?P[\\d]+)\/font-faces": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "font_family_id": { "description": "Fondilaadi p\u00f5hifondipere ID.", "type": "integer", "required": true }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "exclude": { "description": "J\u00e4ta tulemustest v\u00e4lja konkreetsed tunnused.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piira tulemusi konkreetsete tunnustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "Kuidas otsingusisestust t\u00f5lgendada.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Nihuta tulemust edasi mingi arvu elementide v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjesta atribuudi kasvamise v\u00f5i kahanemise alusel.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sordi postituse atribuutide j\u00e4rgi.", "type": "string", "default": "id", "enum": [ "id", "include" ], "required": false } } }, { "methods": [ "POST" ], "args": { "font_family_id": { "description": "Fondilaadi p\u00f5hifondipere ID.", "type": "integer", "required": true }, "theme_json_version": { "description": "T\u00fcpograafias\u00e4tete jaoks kasutatava theme.json skeemi versioon.", "type": "integer", "default": 3, "minimum": 2, "maximum": 3, "required": false }, "font_face_settings": { "description": "font-face deklaratsioon theme.json-vormingus, kodeeritud stringina.", "type": "string", "required": true } } } ] }, "\/wp\/v2\/font-families\/(?P[\\d]+)\/font-faces\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "font_family_id": { "description": "Fondilaadi p\u00f5hifondipere ID.", "type": "integer", "required": true }, "id": { "description": "Fondi kirjastiili kordumatu identifikaator.", "type": "integer", "required": true }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "font_family_id": { "description": "Fondilaadi p\u00f5hifondipere ID.", "type": "integer", "required": true }, "id": { "description": "Fondi kirjastiili kordumatu identifikaator.", "type": "integer", "required": true }, "force": { "type": "boolean", "default": false, "description": "Kas eirata pr\u00fcgikasti ja sundida koheselt kustutama.", "required": false } } } ] }, "\/wp\/v2\/e-floating-buttons": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "after": { "description": "Piira vastamist postitustega, mis avaldati peale m\u00e4\u00e4ratud kuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Piirdu postitustega, mida on muudetud p\u00e4rast ISO8601 vormingus m\u00e4\u00e4ratud kuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Piira tulemusi konkreetsete autorite postitustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "J\u00e4ta tulemustest v\u00e4lja konkreetsete autorite postitused.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Piira vastamist postitustega, mis avaldati enne m\u00e4\u00e4ratud kuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Piirdu postitustega, mida on muudetud enne ISO8601 vormingus m\u00e4\u00e4ratud kuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "J\u00e4ta tulemustest v\u00e4lja konkreetsed tunnused.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piira tulemusi konkreetsete tunnustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "menu_order": { "description": "Piira tulemusi postitustega, millel on konkreetne men\u00fc\u00fc j\u00e4rjekorranumber.", "type": "integer", "required": false }, "search_semantics": { "description": "Kuidas otsingusisestust t\u00f5lgendada.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Nihuta tulemust edasi mingi arvu elementide v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjesta atribuudi kasvamise v\u00f5i kahanemise alusel.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sordi postituse atribuutide j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "menu_order" ], "required": false }, "search_columns": { "default": [], "description": "Otsinguveergude nimede massiiv.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Piira tulemusi \u00fche v\u00f5i mitme spetsiifilise p\u00fcsiviitega postitusega.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Piira tulemusi mingis olekus postitustega.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-mon-part-refund", "wc-checkout-draft", "dp-rewrite-republish", "wc-mon-label-printed", "any" ], "type": "string" }, "required": false }, "format": { "description": "Piira tulemuste hulka esemetega, millele on m\u00e4\u00e4ratud \u00fcks v\u00f5i mitu etteantud vormingut.", "type": "array", "uniqueItems": true, "items": { "enum": [ "standard", "aside", "chat", "gallery", "link", "image", "quote", "status", "video", "audio" ], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "Postituse avaldamise aeg (kohalik).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Postituse avaldamise aeg, GMT ajatsoonis.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Postituse t\u00fc\u00fcpi m\u00e4\u00e4rav tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "status": { "description": "Nimega postituseolek.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-mon-part-refund", "wc-checkout-draft", "wc-mon-label-printed" ], "required": false }, "password": { "description": "Parool ligip\u00e4\u00e4su piiramiseks.", "type": "string", "required": false }, "title": { "description": "Postituse pealkiri.", "type": "object", "properties": { "raw": { "description": "Postituse pealkiri, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-pealkiri ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Postituse sisu.", "type": "object", "properties": { "raw": { "description": "Postituse sisu, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-sisu ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Selle postituse kasutatava sisuplokivormingu versioon.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Kas sisu on parooliga kaitstud.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "Postituse autori tunnus.", "type": "integer", "required": false }, "excerpt": { "description": "Postituse v\u00e4ljav\u00f5te.", "type": "object", "properties": { "raw": { "description": "Postituse v\u00e4ljav\u00f5te, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-v\u00e4ljav\u00f5te ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Kas katkend on parooliga kaitstud.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "Postituses kasutatud meediafaili tunnus.", "type": "integer", "required": false }, "comment_status": { "description": "Kas postituse kommenteerimine on lubatud.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Kas postitusele saab teha pingback-viiteid.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "menu_order": { "description": "Postituse j\u00e4rjenumber teiste postituste hulgas.", "type": "integer", "required": false }, "format": { "description": "Postituse vorming.", "type": "string", "enum": [ "standard", "aside", "chat", "gallery", "link", "image", "quote", "status", "video", "audio" ], "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": { "_acf_changed": { "type": "boolean", "title": "", "description": "", "default": false }, "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-4)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "container", "floating-buttons", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "product-post", "product", "product-archive", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "template": { "description": "Postituse kuvamiseks kasutatav teemafail.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp\/v2\/e-floating-buttons" } ] } }, "\/wp\/v2\/e-floating-buttons\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Postituse unikaalne tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "excerpt_length": { "description": "Muuda vaikimisi v\u00e4ljav\u00f5tte pikkus.", "type": "integer", "required": false }, "password": { "description": "Postituse parool (kui see on parooliga kaitstud)", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Postituse unikaalne tunnus.", "type": "integer", "required": false }, "date": { "description": "Postituse avaldamise aeg (kohalik).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Postituse avaldamise aeg, GMT ajatsoonis.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Postituse t\u00fc\u00fcpi m\u00e4\u00e4rav tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "status": { "description": "Nimega postituseolek.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-mon-part-refund", "wc-checkout-draft", "wc-mon-label-printed" ], "required": false }, "password": { "description": "Parool ligip\u00e4\u00e4su piiramiseks.", "type": "string", "required": false }, "title": { "description": "Postituse pealkiri.", "type": "object", "properties": { "raw": { "description": "Postituse pealkiri, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-pealkiri ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Postituse sisu.", "type": "object", "properties": { "raw": { "description": "Postituse sisu, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-sisu ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Selle postituse kasutatava sisuplokivormingu versioon.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Kas sisu on parooliga kaitstud.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "Postituse autori tunnus.", "type": "integer", "required": false }, "excerpt": { "description": "Postituse v\u00e4ljav\u00f5te.", "type": "object", "properties": { "raw": { "description": "Postituse v\u00e4ljav\u00f5te, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-v\u00e4ljav\u00f5te ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Kas katkend on parooliga kaitstud.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "Postituses kasutatud meediafaili tunnus.", "type": "integer", "required": false }, "comment_status": { "description": "Kas postituse kommenteerimine on lubatud.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Kas postitusele saab teha pingback-viiteid.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "menu_order": { "description": "Postituse j\u00e4rjenumber teiste postituste hulgas.", "type": "integer", "required": false }, "format": { "description": "Postituse vorming.", "type": "string", "enum": [ "standard", "aside", "chat", "gallery", "link", "image", "quote", "status", "video", "audio" ], "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": { "_acf_changed": { "type": "boolean", "title": "", "description": "", "default": false }, "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-4)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "container", "floating-buttons", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "product-post", "product", "product-archive", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "template": { "description": "Postituse kuvamiseks kasutatav teemafail.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Postituse unikaalne tunnus.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Kas eirata pr\u00fcgikasti ja sundida koheselt kustutama.", "required": false } } } ] }, "\/wp\/v2\/e-floating-buttons\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Versiooni \u00fclemversiooni tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "exclude": { "description": "J\u00e4ta tulemustest v\u00e4lja konkreetsed tunnused.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piira tulemusi konkreetsete tunnustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Nihuta tulemust edasi mingi arvu elementide v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjesta atribuudi kasvamise v\u00f5i kahanemise alusel.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sordi objekti atribuutide j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "relevance", "slug", "include_slugs", "title" ], "required": false } } } ] }, "\/wp\/v2\/e-floating-buttons\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Versiooni \u00fclemversiooni tunnus.", "type": "integer", "required": false }, "id": { "description": "Versiooni unikaalne tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "Versiooni \u00fclemversiooni tunnus.", "type": "integer", "required": false }, "id": { "description": "Versiooni unikaalne tunnus.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Peab olema t\u00f5ene, kuna versioone ei saa pr\u00fcgikasti saata.", "required": false } } } ] }, "\/wp\/v2\/e-floating-buttons\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Automaatsalvestuse \u00fclemobjekti tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "Automaatsalvestuse \u00fclemobjekti tunnus.", "type": "integer", "required": false }, "date": { "description": "Postituse avaldamise aeg (kohalik).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Postituse avaldamise aeg, GMT ajatsoonis.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Postituse t\u00fc\u00fcpi m\u00e4\u00e4rav tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "status": { "description": "Nimega postituseolek.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-mon-part-refund", "wc-checkout-draft", "wc-mon-label-printed" ], "required": false }, "password": { "description": "Parool ligip\u00e4\u00e4su piiramiseks.", "type": "string", "required": false }, "title": { "description": "Postituse pealkiri.", "type": "object", "properties": { "raw": { "description": "Postituse pealkiri, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-pealkiri ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Postituse sisu.", "type": "object", "properties": { "raw": { "description": "Postituse sisu, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-sisu ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Selle postituse kasutatava sisuplokivormingu versioon.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Kas sisu on parooliga kaitstud.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "Postituse autori tunnus.", "type": "integer", "required": false }, "excerpt": { "description": "Postituse v\u00e4ljav\u00f5te.", "type": "object", "properties": { "raw": { "description": "Postituse v\u00e4ljav\u00f5te, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-v\u00e4ljav\u00f5te ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Kas katkend on parooliga kaitstud.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "Postituses kasutatud meediafaili tunnus.", "type": "integer", "required": false }, "comment_status": { "description": "Kas postituse kommenteerimine on lubatud.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Kas postitusele saab teha pingback-viiteid.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "menu_order": { "description": "Postituse j\u00e4rjenumber teiste postituste hulgas.", "type": "integer", "required": false }, "format": { "description": "Postituse vorming.", "type": "string", "enum": [ "standard", "aside", "chat", "gallery", "link", "image", "quote", "status", "video", "audio" ], "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": { "_acf_changed": { "type": "boolean", "title": "", "description": "", "default": false }, "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-4)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "container", "floating-buttons", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "product-post", "product", "product-archive", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "template": { "description": "Postituse kuvamiseks kasutatav teemafail.", "type": "string", "required": false } } } ] }, "\/wp\/v2\/e-floating-buttons\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Automaatsalvestuse \u00fclemobjekti tunnus.", "type": "integer", "required": false }, "id": { "description": "Automaatsalvestuse tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/elementor_library": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "after": { "description": "Piira vastamist postitustega, mis avaldati peale m\u00e4\u00e4ratud kuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Piirdu postitustega, mida on muudetud p\u00e4rast ISO8601 vormingus m\u00e4\u00e4ratud kuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Piira tulemusi konkreetsete autorite postitustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "J\u00e4ta tulemustest v\u00e4lja konkreetsete autorite postitused.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Piira vastamist postitustega, mis avaldati enne m\u00e4\u00e4ratud kuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Piirdu postitustega, mida on muudetud enne ISO8601 vormingus m\u00e4\u00e4ratud kuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "J\u00e4ta tulemustest v\u00e4lja konkreetsed tunnused.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piira tulemusi konkreetsete tunnustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "Kuidas otsingusisestust t\u00f5lgendada.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Nihuta tulemust edasi mingi arvu elementide v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjesta atribuudi kasvamise v\u00f5i kahanemise alusel.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sordi postituse atribuutide j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "Otsinguveergude nimede massiiv.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Piira tulemusi \u00fche v\u00f5i mitme spetsiifilise p\u00fcsiviitega postitusega.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Piira tulemusi mingis olekus postitustega.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-mon-part-refund", "wc-checkout-draft", "dp-rewrite-republish", "wc-mon-label-printed", "any" ], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "Postituse avaldamise aeg (kohalik).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Postituse avaldamise aeg, GMT ajatsoonis.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Postituse t\u00fc\u00fcpi m\u00e4\u00e4rav tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "status": { "description": "Nimega postituseolek.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-mon-part-refund", "wc-checkout-draft", "wc-mon-label-printed" ], "required": false }, "password": { "description": "Parool ligip\u00e4\u00e4su piiramiseks.", "type": "string", "required": false }, "title": { "description": "Postituse pealkiri.", "type": "object", "properties": { "raw": { "description": "Postituse pealkiri, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-pealkiri ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "Postituse autori tunnus.", "type": "integer", "required": false }, "featured_media": { "description": "Postituses kasutatud meediafaili tunnus.", "type": "integer", "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": { "_acf_changed": { "type": "boolean", "title": "", "description": "", "default": false }, "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-4)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "container", "floating-buttons", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "product-post", "product", "product-archive", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "template": { "description": "Postituse kuvamiseks kasutatav teemafail.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp\/v2\/elementor_library" } ] } }, "\/wp\/v2\/elementor_library\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Postituse unikaalne tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "Postituse parool (kui see on parooliga kaitstud)", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Postituse unikaalne tunnus.", "type": "integer", "required": false }, "date": { "description": "Postituse avaldamise aeg (kohalik).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Postituse avaldamise aeg, GMT ajatsoonis.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Postituse t\u00fc\u00fcpi m\u00e4\u00e4rav tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "status": { "description": "Nimega postituseolek.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-mon-part-refund", "wc-checkout-draft", "wc-mon-label-printed" ], "required": false }, "password": { "description": "Parool ligip\u00e4\u00e4su piiramiseks.", "type": "string", "required": false }, "title": { "description": "Postituse pealkiri.", "type": "object", "properties": { "raw": { "description": "Postituse pealkiri, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-pealkiri ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "Postituse autori tunnus.", "type": "integer", "required": false }, "featured_media": { "description": "Postituses kasutatud meediafaili tunnus.", "type": "integer", "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": { "_acf_changed": { "type": "boolean", "title": "", "description": "", "default": false }, "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-4)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "container", "floating-buttons", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "product-post", "product", "product-archive", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "template": { "description": "Postituse kuvamiseks kasutatav teemafail.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Postituse unikaalne tunnus.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Kas eirata pr\u00fcgikasti ja sundida koheselt kustutama.", "required": false } } } ] }, "\/wp\/v2\/elementor_library\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Versiooni \u00fclemversiooni tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "exclude": { "description": "J\u00e4ta tulemustest v\u00e4lja konkreetsed tunnused.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piira tulemusi konkreetsete tunnustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Nihuta tulemust edasi mingi arvu elementide v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjesta atribuudi kasvamise v\u00f5i kahanemise alusel.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sordi objekti atribuutide j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "relevance", "slug", "include_slugs", "title" ], "required": false } } } ] }, "\/wp\/v2\/elementor_library\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Versiooni \u00fclemversiooni tunnus.", "type": "integer", "required": false }, "id": { "description": "Versiooni unikaalne tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "Versiooni \u00fclemversiooni tunnus.", "type": "integer", "required": false }, "id": { "description": "Versiooni unikaalne tunnus.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Peab olema t\u00f5ene, kuna versioone ei saa pr\u00fcgikasti saata.", "required": false } } } ] }, "\/wp\/v2\/product": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "after": { "description": "Limit response to resources published after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to products modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to products modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "J\u00e4ta tulemustest v\u00e4lja konkreetsed tunnused.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piira tulemusi konkreetsete tunnustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "Kuidas otsingusisestust t\u00f5lgendada.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Nihuta tulemust edasi mingi arvu elementide v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjesta atribuudi kasvamise v\u00f5i kahanemise alusel.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sordi postituse atribuutide j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "popularity", "rating", "post__in", "price", "sales", "menu_order", "random", "popularity", "rating" ], "required": false }, "search_columns": { "default": [], "description": "Otsinguveergude nimede massiiv.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Piira tulemusi \u00fche v\u00f5i mitme spetsiifilise p\u00fcsiviitega postitusega.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Piira tulemusi mingis olekus postitustega.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-mon-part-refund", "wc-checkout-draft", "dp-rewrite-republish", "wc-mon-label-printed", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "Piira tulemusi eri taksonoomiate suhtega.", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "product_brand": { "description": "Piira tulemusi k\u00f5igi elementidega, millele on taksonoomias product_brand m\u00e4\u00e4ratud konkreetne termin.", "type": [ "object", "array" ], "oneOf": [ { "title": "Termini tunnusteloend", "description": "Vii terminid vastavuse loendis olevate tunnustega.", "type": "array", "items": { "type": "integer" } }, { "title": "Termini tunnuse taksonoomia p\u00e4ring", "description": "K\u00e4ivita keerukam terminip\u00e4ring.", "type": "object", "properties": { "terms": { "description": "Termini tunnused.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Kas arvestada tulemuste piiritlemisel ka alamterminitega.", "type": "boolean", "default": false }, "operator": { "description": "Kas objektidele tuleb m\u00e4\u00e4rata \u00fcks v\u00f5i k\u00f5ik m\u00e4\u00e4ratud terminid.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "product_brand_exclude": { "description": "Piira tulemusi k\u00f5igi elementidega peale nende, millele on taksonoomias product_brand m\u00e4\u00e4ratud konkreetne termin.", "type": [ "object", "array" ], "oneOf": [ { "title": "Termini tunnusteloend", "description": "Vii terminid vastavuse loendis olevate tunnustega.", "type": "array", "items": { "type": "integer" } }, { "title": "Termini tunnuse taksonoomia p\u00e4ring", "description": "K\u00e4ivita keerukam terminip\u00e4ring.", "type": "object", "properties": { "terms": { "description": "Termini tunnused.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Kas arvestada tulemuste piiritlemisel ka alamterminitega.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "product_cat": { "description": "Piira tulemusi k\u00f5igi elementidega, millele on taksonoomias product_cat m\u00e4\u00e4ratud konkreetne termin.", "type": [ "object", "array" ], "oneOf": [ { "title": "Termini tunnusteloend", "description": "Vii terminid vastavuse loendis olevate tunnustega.", "type": "array", "items": { "type": "integer" } }, { "title": "Termini tunnuse taksonoomia p\u00e4ring", "description": "K\u00e4ivita keerukam terminip\u00e4ring.", "type": "object", "properties": { "terms": { "description": "Termini tunnused.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Kas arvestada tulemuste piiritlemisel ka alamterminitega.", "type": "boolean", "default": false }, "operator": { "description": "Kas objektidele tuleb m\u00e4\u00e4rata \u00fcks v\u00f5i k\u00f5ik m\u00e4\u00e4ratud terminid.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "product_cat_exclude": { "description": "Piira tulemusi k\u00f5igi elementidega peale nende, millele on taksonoomias product_cat m\u00e4\u00e4ratud konkreetne termin.", "type": [ "object", "array" ], "oneOf": [ { "title": "Termini tunnusteloend", "description": "Vii terminid vastavuse loendis olevate tunnustega.", "type": "array", "items": { "type": "integer" } }, { "title": "Termini tunnuse taksonoomia p\u00e4ring", "description": "K\u00e4ivita keerukam terminip\u00e4ring.", "type": "object", "properties": { "terms": { "description": "Termini tunnused.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Kas arvestada tulemuste piiritlemisel ka alamterminitega.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "product_tag": { "description": "Piira tulemusi k\u00f5igi elementidega, millele on taksonoomias product_tag m\u00e4\u00e4ratud konkreetne termin.", "type": [ "object", "array" ], "oneOf": [ { "title": "Termini tunnusteloend", "description": "Vii terminid vastavuse loendis olevate tunnustega.", "type": "array", "items": { "type": "integer" } }, { "title": "Termini tunnuse taksonoomia p\u00e4ring", "description": "K\u00e4ivita keerukam terminip\u00e4ring.", "type": "object", "properties": { "terms": { "description": "Termini tunnused.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Kas objektidele tuleb m\u00e4\u00e4rata \u00fcks v\u00f5i k\u00f5ik m\u00e4\u00e4ratud terminid.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "product_tag_exclude": { "description": "Piira tulemusi k\u00f5igi elementidega peale nende, millele on taksonoomias product_tag m\u00e4\u00e4ratud konkreetne termin.", "type": [ "object", "array" ], "oneOf": [ { "title": "Termini tunnusteloend", "description": "Vii terminid vastavuse loendis olevate tunnustega.", "type": "array", "items": { "type": "integer" } }, { "title": "Termini tunnuse taksonoomia p\u00e4ring", "description": "K\u00e4ivita keerukam terminip\u00e4ring.", "type": "object", "properties": { "terms": { "description": "Termini tunnused.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "atum_post_status": { "description": "Limit response to products to the specified statuses. This param supports multiple statuses separated by commas.", "type": "string", "required": false }, "brand": { "description": "Piira tulemuste komplekti toodetega, millele on m\u00e4\u00e4ratud kindel br\u00e4ndi ID.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "Postituse avaldamise aeg (kohalik).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Postituse avaldamise aeg, GMT ajatsoonis.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Postituse t\u00fc\u00fcpi m\u00e4\u00e4rav tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "status": { "description": "Nimega postituseolek.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-mon-part-refund", "wc-checkout-draft", "wc-mon-label-printed" ], "required": false }, "password": { "description": "Parool ligip\u00e4\u00e4su piiramiseks.", "type": "string", "required": false }, "title": { "description": "Postituse pealkiri.", "type": "object", "properties": { "raw": { "description": "Postituse pealkiri, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-pealkiri ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Postituse sisu.", "type": "object", "properties": { "raw": { "description": "Postituse sisu, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-sisu ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Selle postituse kasutatava sisuplokivormingu versioon.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Kas sisu on parooliga kaitstud.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "excerpt": { "description": "Postituse v\u00e4ljav\u00f5te.", "type": "object", "properties": { "raw": { "description": "Postituse v\u00e4ljav\u00f5te, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-v\u00e4ljav\u00f5te ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Kas katkend on parooliga kaitstud.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "Postituses kasutatud meediafaili tunnus.", "type": "integer", "required": false }, "comment_status": { "description": "Kas postituse kommenteerimine on lubatud.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Kas postitusele saab teha pingback-viiteid.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": { "_acf_changed": { "type": "boolean", "title": "", "description": "", "default": false }, "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-4)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "container", "floating-buttons", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "product-post", "product", "product-archive", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "template": { "description": "Postituse kuvamiseks kasutatav teemafail.", "type": "string", "required": false }, "product_brand": { "description": "Objektiga product_brand taksonoomias seotud terminid.", "type": "array", "items": { "type": "integer" }, "required": false }, "product_cat": { "description": "Objektiga product_cat taksonoomias seotud terminid.", "type": "array", "items": { "type": "integer" }, "required": false }, "product_tag": { "description": "Objektiga product_tag taksonoomias seotud terminid.", "type": "array", "items": { "type": "integer" }, "required": false }, "supplier_id": { "description": "The ID of the ATUM Supplier that is linked to the product.", "type": "integer", "required": false }, "supplier_sku": { "description": "The Supplier's SKU for the product.", "type": "string", "required": false }, "barcode": { "description": "The product's barcode.", "type": "string", "required": false }, "atum_controlled": { "default": false, "description": "Whether the product is being controlled by ATUM.", "type": "boolean", "required": false }, "out_stock_date": { "description": "The date when the product run out of stock.", "type": "date-time", "required": false }, "out_stock_threshold": { "description": "Out of stock threshold at product level.", "type": "number", "required": false }, "inheritable": { "default": false, "description": "Whether this product may have children.", "type": "boolean", "required": false }, "inbound_stock": { "description": "Product's inbound stock.", "type": "number", "required": false }, "stock_on_hold": { "description": "Product's stock on hold.", "type": "number", "required": false }, "sold_today": { "description": "Units sold today.", "type": "number", "required": false }, "sales_last_days": { "description": "Sales the last 14 days.", "type": "number", "required": false }, "reserved_stock": { "description": "Stock set as 'reserved_stock' within Inventory Logs.", "type": "number", "required": false }, "customer_returns": { "description": "Stock set as 'customer returns' within Inventory Logs.", "type": "number", "required": false }, "warehouse_damage": { "description": "Stock set as 'warehouse damage' within Inventory Logs.", "type": "number", "required": false }, "lost_in_post": { "description": "Stock set as 'lost in post' within Inventory Logs.", "type": "number", "required": false }, "other_logs": { "description": "Stock set as 'other' within Inventory Logs.", "type": "number", "required": false }, "out_stock_days": { "description": "The number of days that the product is Out of stock.", "type": "integer", "required": false }, "lost_sales": { "description": "Product lost sales.", "type": "number", "required": false }, "has_location": { "description": "Whether the product has any ATUM location set.", "type": "boolean", "required": false }, "update_date": { "description": "Last date when the ATUM product data was calculated and saved for the product.", "type": "date-time", "required": false }, "atum_locations": { "description": "List of ATUM locations linked to the product.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Location ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Location name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Location slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "atum_stock_status": { "description": "Used to store the stock status (same as WC) but both values may differ for MI enable products.", "type": "string", "required": false }, "restock_status": { "description": "Indicates whether the stock will last soon and should be reordered.", "type": "boolean", "required": false }, "sales_update_date": { "description": "Last date when the sales fields on ATUM product data were calculated and saved for the product.", "type": "date-time", "required": false }, "calc_backorders": { "description": "Backordered items (if backorders is enabled and it has a negative stock value).", "type": "number", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp\/v2\/product" } ] } }, "\/wp\/v2\/product\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Postituse unikaalne tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "excerpt_length": { "description": "Muuda vaikimisi v\u00e4ljav\u00f5tte pikkus.", "type": "integer", "required": false }, "password": { "description": "Postituse parool (kui see on parooliga kaitstud)", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Postituse unikaalne tunnus.", "type": "integer", "required": false }, "date": { "description": "Postituse avaldamise aeg (kohalik).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Postituse avaldamise aeg, GMT ajatsoonis.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Postituse t\u00fc\u00fcpi m\u00e4\u00e4rav tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "status": { "description": "Nimega postituseolek.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-mon-part-refund", "wc-checkout-draft", "wc-mon-label-printed" ], "required": false }, "password": { "description": "Parool ligip\u00e4\u00e4su piiramiseks.", "type": "string", "required": false }, "title": { "description": "Postituse pealkiri.", "type": "object", "properties": { "raw": { "description": "Postituse pealkiri, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-pealkiri ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Postituse sisu.", "type": "object", "properties": { "raw": { "description": "Postituse sisu, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-sisu ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Selle postituse kasutatava sisuplokivormingu versioon.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Kas sisu on parooliga kaitstud.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "excerpt": { "description": "Postituse v\u00e4ljav\u00f5te.", "type": "object", "properties": { "raw": { "description": "Postituse v\u00e4ljav\u00f5te, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-v\u00e4ljav\u00f5te ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Kas katkend on parooliga kaitstud.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "Postituses kasutatud meediafaili tunnus.", "type": "integer", "required": false }, "comment_status": { "description": "Kas postituse kommenteerimine on lubatud.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Kas postitusele saab teha pingback-viiteid.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": { "_acf_changed": { "type": "boolean", "title": "", "description": "", "default": false }, "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-4)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "container", "floating-buttons", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "product-post", "product", "product-archive", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "template": { "description": "Postituse kuvamiseks kasutatav teemafail.", "type": "string", "required": false }, "product_brand": { "description": "Objektiga product_brand taksonoomias seotud terminid.", "type": "array", "items": { "type": "integer" }, "required": false }, "product_cat": { "description": "Objektiga product_cat taksonoomias seotud terminid.", "type": "array", "items": { "type": "integer" }, "required": false }, "product_tag": { "description": "Objektiga product_tag taksonoomias seotud terminid.", "type": "array", "items": { "type": "integer" }, "required": false }, "supplier_id": { "description": "The ID of the ATUM Supplier that is linked to the product.", "type": "integer", "required": false }, "supplier_sku": { "description": "The Supplier's SKU for the product.", "type": "string", "required": false }, "barcode": { "description": "The product's barcode.", "type": "string", "required": false }, "atum_controlled": { "description": "Whether the product is being controlled by ATUM.", "type": "boolean", "required": false }, "out_stock_date": { "description": "The date when the product run out of stock.", "type": "date-time", "required": false }, "out_stock_threshold": { "description": "Out of stock threshold at product level.", "type": "number", "required": false }, "inheritable": { "description": "Whether this product may have children.", "type": "boolean", "required": false }, "inbound_stock": { "description": "Product's inbound stock.", "type": "number", "required": false }, "stock_on_hold": { "description": "Product's stock on hold.", "type": "number", "required": false }, "sold_today": { "description": "Units sold today.", "type": "number", "required": false }, "sales_last_days": { "description": "Sales the last 14 days.", "type": "number", "required": false }, "reserved_stock": { "description": "Stock set as 'reserved_stock' within Inventory Logs.", "type": "number", "required": false }, "customer_returns": { "description": "Stock set as 'customer returns' within Inventory Logs.", "type": "number", "required": false }, "warehouse_damage": { "description": "Stock set as 'warehouse damage' within Inventory Logs.", "type": "number", "required": false }, "lost_in_post": { "description": "Stock set as 'lost in post' within Inventory Logs.", "type": "number", "required": false }, "other_logs": { "description": "Stock set as 'other' within Inventory Logs.", "type": "number", "required": false }, "out_stock_days": { "description": "The number of days that the product is Out of stock.", "type": "integer", "required": false }, "lost_sales": { "description": "Product lost sales.", "type": "number", "required": false }, "has_location": { "description": "Whether the product has any ATUM location set.", "type": "boolean", "required": false }, "update_date": { "description": "Last date when the ATUM product data was calculated and saved for the product.", "type": "date-time", "required": false }, "atum_locations": { "description": "List of ATUM locations linked to the product.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Location ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Location name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Location slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "atum_stock_status": { "description": "Used to store the stock status (same as WC) but both values may differ for MI enable products.", "type": "string", "required": false }, "restock_status": { "description": "Indicates whether the stock will last soon and should be reordered.", "type": "boolean", "required": false }, "sales_update_date": { "description": "Last date when the sales fields on ATUM product data were calculated and saved for the product.", "type": "date-time", "required": false }, "calc_backorders": { "description": "Backordered items (if backorders is enabled and it has a negative stock value).", "type": "number", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Postituse unikaalne tunnus.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Kas eirata pr\u00fcgikasti ja sundida koheselt kustutama.", "required": false } } } ] }, "\/wp\/v2\/product\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Versiooni \u00fclemversiooni tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "exclude": { "description": "J\u00e4ta tulemustest v\u00e4lja konkreetsed tunnused.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piira tulemusi konkreetsete tunnustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Nihuta tulemust edasi mingi arvu elementide v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjesta atribuudi kasvamise v\u00f5i kahanemise alusel.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sordi objekti atribuutide j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "relevance", "slug", "include_slugs", "title" ], "required": false } } } ] }, "\/wp\/v2\/product\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Versiooni \u00fclemversiooni tunnus.", "type": "integer", "required": false }, "id": { "description": "Versiooni unikaalne tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "Versiooni \u00fclemversiooni tunnus.", "type": "integer", "required": false }, "id": { "description": "Versiooni unikaalne tunnus.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Peab olema t\u00f5ene, kuna versioone ei saa pr\u00fcgikasti saata.", "required": false } } } ] }, "\/wp\/v2\/product\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Automaatsalvestuse \u00fclemobjekti tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "Automaatsalvestuse \u00fclemobjekti tunnus.", "type": "integer", "required": false }, "date": { "description": "Postituse avaldamise aeg (kohalik).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Postituse avaldamise aeg, GMT ajatsoonis.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Postituse t\u00fc\u00fcpi m\u00e4\u00e4rav tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "status": { "description": "Nimega postituseolek.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-mon-part-refund", "wc-checkout-draft", "wc-mon-label-printed" ], "required": false }, "password": { "description": "Parool ligip\u00e4\u00e4su piiramiseks.", "type": "string", "required": false }, "title": { "description": "Postituse pealkiri.", "type": "object", "properties": { "raw": { "description": "Postituse pealkiri, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-pealkiri ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Postituse sisu.", "type": "object", "properties": { "raw": { "description": "Postituse sisu, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-sisu ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Selle postituse kasutatava sisuplokivormingu versioon.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Kas sisu on parooliga kaitstud.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "excerpt": { "description": "Postituse v\u00e4ljav\u00f5te.", "type": "object", "properties": { "raw": { "description": "Postituse v\u00e4ljav\u00f5te, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-v\u00e4ljav\u00f5te ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Kas katkend on parooliga kaitstud.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "Postituses kasutatud meediafaili tunnus.", "type": "integer", "required": false }, "comment_status": { "description": "Kas postituse kommenteerimine on lubatud.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Kas postitusele saab teha pingback-viiteid.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": { "_acf_changed": { "type": "boolean", "title": "", "description": "", "default": false }, "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-4)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "container", "floating-buttons", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "product-post", "product", "product-archive", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "template": { "description": "Postituse kuvamiseks kasutatav teemafail.", "type": "string", "required": false }, "product_brand": { "description": "Objektiga product_brand taksonoomias seotud terminid.", "type": "array", "items": { "type": "integer" }, "required": false }, "product_cat": { "description": "Objektiga product_cat taksonoomias seotud terminid.", "type": "array", "items": { "type": "integer" }, "required": false }, "product_tag": { "description": "Objektiga product_tag taksonoomias seotud terminid.", "type": "array", "items": { "type": "integer" }, "required": false }, "supplier_id": { "description": "The ID of the ATUM Supplier that is linked to the product.", "type": "integer", "required": false }, "supplier_sku": { "description": "The Supplier's SKU for the product.", "type": "string", "required": false }, "barcode": { "description": "The product's barcode.", "type": "string", "required": false }, "atum_controlled": { "description": "Whether the product is being controlled by ATUM.", "type": "boolean", "required": false }, "out_stock_date": { "description": "The date when the product run out of stock.", "type": "date-time", "required": false }, "out_stock_threshold": { "description": "Out of stock threshold at product level.", "type": "number", "required": false }, "inheritable": { "description": "Whether this product may have children.", "type": "boolean", "required": false }, "inbound_stock": { "description": "Product's inbound stock.", "type": "number", "required": false }, "stock_on_hold": { "description": "Product's stock on hold.", "type": "number", "required": false }, "sold_today": { "description": "Units sold today.", "type": "number", "required": false }, "sales_last_days": { "description": "Sales the last 14 days.", "type": "number", "required": false }, "reserved_stock": { "description": "Stock set as 'reserved_stock' within Inventory Logs.", "type": "number", "required": false }, "customer_returns": { "description": "Stock set as 'customer returns' within Inventory Logs.", "type": "number", "required": false }, "warehouse_damage": { "description": "Stock set as 'warehouse damage' within Inventory Logs.", "type": "number", "required": false }, "lost_in_post": { "description": "Stock set as 'lost in post' within Inventory Logs.", "type": "number", "required": false }, "other_logs": { "description": "Stock set as 'other' within Inventory Logs.", "type": "number", "required": false }, "out_stock_days": { "description": "The number of days that the product is Out of stock.", "type": "integer", "required": false }, "lost_sales": { "description": "Product lost sales.", "type": "number", "required": false }, "has_location": { "description": "Whether the product has any ATUM location set.", "type": "boolean", "required": false }, "update_date": { "description": "Last date when the ATUM product data was calculated and saved for the product.", "type": "date-time", "required": false }, "atum_locations": { "description": "List of ATUM locations linked to the product.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Location ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Location name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Location slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "atum_stock_status": { "description": "Used to store the stock status (same as WC) but both values may differ for MI enable products.", "type": "string", "required": false }, "restock_status": { "description": "Indicates whether the stock will last soon and should be reordered.", "type": "boolean", "required": false }, "sales_update_date": { "description": "Last date when the sales fields on ATUM product data were calculated and saved for the product.", "type": "date-time", "required": false }, "calc_backorders": { "description": "Backordered items (if backorders is enabled and it has a negative stock value).", "type": "number", "required": false } } } ] }, "\/wp\/v2\/product\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Automaatsalvestuse \u00fclemobjekti tunnus.", "type": "integer", "required": false }, "id": { "description": "Automaatsalvestuse tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/astra-portfolio": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "after": { "description": "Piira vastamist postitustega, mis avaldati peale m\u00e4\u00e4ratud kuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Piirdu postitustega, mida on muudetud p\u00e4rast ISO8601 vormingus m\u00e4\u00e4ratud kuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Piira vastamist postitustega, mis avaldati enne m\u00e4\u00e4ratud kuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Piirdu postitustega, mida on muudetud enne ISO8601 vormingus m\u00e4\u00e4ratud kuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "J\u00e4ta tulemustest v\u00e4lja konkreetsed tunnused.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piira tulemusi konkreetsete tunnustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "Kuidas otsingusisestust t\u00f5lgendada.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Nihuta tulemust edasi mingi arvu elementide v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjesta atribuudi kasvamise v\u00f5i kahanemise alusel.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sordi postituse atribuutide j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "Otsinguveergude nimede massiiv.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Piira tulemusi \u00fche v\u00f5i mitme spetsiifilise p\u00fcsiviitega postitusega.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Piira tulemusi mingis olekus postitustega.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-mon-part-refund", "wc-checkout-draft", "dp-rewrite-republish", "wc-mon-label-printed", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "Piira tulemusi eri taksonoomiate suhtega.", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "astra-portfolio-categories": { "description": "Piira tulemusi k\u00f5igi elementidega, millele on taksonoomias astra-portfolio-categories m\u00e4\u00e4ratud konkreetne termin.", "type": [ "object", "array" ], "oneOf": [ { "title": "Termini tunnusteloend", "description": "Vii terminid vastavuse loendis olevate tunnustega.", "type": "array", "items": { "type": "integer" } }, { "title": "Termini tunnuse taksonoomia p\u00e4ring", "description": "K\u00e4ivita keerukam terminip\u00e4ring.", "type": "object", "properties": { "terms": { "description": "Termini tunnused.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Kas arvestada tulemuste piiritlemisel ka alamterminitega.", "type": "boolean", "default": false }, "operator": { "description": "Kas objektidele tuleb m\u00e4\u00e4rata \u00fcks v\u00f5i k\u00f5ik m\u00e4\u00e4ratud terminid.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "astra-portfolio-categories_exclude": { "description": "Piira tulemusi k\u00f5igi elementidega peale nende, millele on taksonoomias astra-portfolio-categories m\u00e4\u00e4ratud konkreetne termin.", "type": [ "object", "array" ], "oneOf": [ { "title": "Termini tunnusteloend", "description": "Vii terminid vastavuse loendis olevate tunnustega.", "type": "array", "items": { "type": "integer" } }, { "title": "Termini tunnuse taksonoomia p\u00e4ring", "description": "K\u00e4ivita keerukam terminip\u00e4ring.", "type": "object", "properties": { "terms": { "description": "Termini tunnused.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Kas arvestada tulemuste piiritlemisel ka alamterminitega.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "astra-portfolio-other-categories": { "description": "Piira tulemusi k\u00f5igi elementidega, millele on taksonoomias astra-portfolio-other-categories m\u00e4\u00e4ratud konkreetne termin.", "type": [ "object", "array" ], "oneOf": [ { "title": "Termini tunnusteloend", "description": "Vii terminid vastavuse loendis olevate tunnustega.", "type": "array", "items": { "type": "integer" } }, { "title": "Termini tunnuse taksonoomia p\u00e4ring", "description": "K\u00e4ivita keerukam terminip\u00e4ring.", "type": "object", "properties": { "terms": { "description": "Termini tunnused.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Kas arvestada tulemuste piiritlemisel ka alamterminitega.", "type": "boolean", "default": false }, "operator": { "description": "Kas objektidele tuleb m\u00e4\u00e4rata \u00fcks v\u00f5i k\u00f5ik m\u00e4\u00e4ratud terminid.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "astra-portfolio-other-categories_exclude": { "description": "Piira tulemusi k\u00f5igi elementidega peale nende, millele on taksonoomias astra-portfolio-other-categories m\u00e4\u00e4ratud konkreetne termin.", "type": [ "object", "array" ], "oneOf": [ { "title": "Termini tunnusteloend", "description": "Vii terminid vastavuse loendis olevate tunnustega.", "type": "array", "items": { "type": "integer" } }, { "title": "Termini tunnuse taksonoomia p\u00e4ring", "description": "K\u00e4ivita keerukam terminip\u00e4ring.", "type": "object", "properties": { "terms": { "description": "Termini tunnused.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Kas arvestada tulemuste piiritlemisel ka alamterminitega.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "astra-portfolio-tags": { "description": "Piira tulemusi k\u00f5igi elementidega, millele on taksonoomias astra-portfolio-tags m\u00e4\u00e4ratud konkreetne termin.", "type": [ "object", "array" ], "oneOf": [ { "title": "Termini tunnusteloend", "description": "Vii terminid vastavuse loendis olevate tunnustega.", "type": "array", "items": { "type": "integer" } }, { "title": "Termini tunnuse taksonoomia p\u00e4ring", "description": "K\u00e4ivita keerukam terminip\u00e4ring.", "type": "object", "properties": { "terms": { "description": "Termini tunnused.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Kas objektidele tuleb m\u00e4\u00e4rata \u00fcks v\u00f5i k\u00f5ik m\u00e4\u00e4ratud terminid.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "astra-portfolio-tags_exclude": { "description": "Piira tulemusi k\u00f5igi elementidega peale nende, millele on taksonoomias astra-portfolio-tags m\u00e4\u00e4ratud konkreetne termin.", "type": [ "object", "array" ], "oneOf": [ { "title": "Termini tunnusteloend", "description": "Vii terminid vastavuse loendis olevate tunnustega.", "type": "array", "items": { "type": "integer" } }, { "title": "Termini tunnuse taksonoomia p\u00e4ring", "description": "K\u00e4ivita keerukam terminip\u00e4ring.", "type": "object", "properties": { "terms": { "description": "Termini tunnused.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "Postituse avaldamise aeg (kohalik).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Postituse avaldamise aeg, GMT ajatsoonis.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Postituse t\u00fc\u00fcpi m\u00e4\u00e4rav tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "status": { "description": "Nimega postituseolek.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-mon-part-refund", "wc-checkout-draft", "wc-mon-label-printed" ], "required": false }, "password": { "description": "Parool ligip\u00e4\u00e4su piiramiseks.", "type": "string", "required": false }, "title": { "description": "Postituse pealkiri.", "type": "object", "properties": { "raw": { "description": "Postituse pealkiri, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-pealkiri ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Postituse sisu.", "type": "object", "properties": { "raw": { "description": "Postituse sisu, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-sisu ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Selle postituse kasutatava sisuplokivormingu versioon.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Kas sisu on parooliga kaitstud.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "Postituses kasutatud meediafaili tunnus.", "type": "integer", "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": { "_acf_changed": { "type": "boolean", "title": "", "description": "", "default": false }, "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-4)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false } }, "required": false }, "template": { "description": "Postituse kuvamiseks kasutatav teemafail.", "type": "string", "required": false }, "astra-portfolio-categories": { "description": "Objektiga astra-portfolio-categories taksonoomias seotud terminid.", "type": "array", "items": { "type": "integer" }, "required": false }, "astra-portfolio-other-categories": { "description": "Objektiga astra-portfolio-other-categories taksonoomias seotud terminid.", "type": "array", "items": { "type": "integer" }, "required": false }, "astra-portfolio-tags": { "description": "Objektiga astra-portfolio-tags taksonoomias seotud terminid.", "type": "array", "items": { "type": "integer" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp\/v2\/astra-portfolio" } ] } }, "\/wp\/v2\/astra-portfolio\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Postituse unikaalne tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "Postituse parool (kui see on parooliga kaitstud)", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Postituse unikaalne tunnus.", "type": "integer", "required": false }, "date": { "description": "Postituse avaldamise aeg (kohalik).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Postituse avaldamise aeg, GMT ajatsoonis.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Postituse t\u00fc\u00fcpi m\u00e4\u00e4rav tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "status": { "description": "Nimega postituseolek.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-mon-part-refund", "wc-checkout-draft", "wc-mon-label-printed" ], "required": false }, "password": { "description": "Parool ligip\u00e4\u00e4su piiramiseks.", "type": "string", "required": false }, "title": { "description": "Postituse pealkiri.", "type": "object", "properties": { "raw": { "description": "Postituse pealkiri, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-pealkiri ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Postituse sisu.", "type": "object", "properties": { "raw": { "description": "Postituse sisu, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-sisu ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Selle postituse kasutatava sisuplokivormingu versioon.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Kas sisu on parooliga kaitstud.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "Postituses kasutatud meediafaili tunnus.", "type": "integer", "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": { "_acf_changed": { "type": "boolean", "title": "", "description": "", "default": false }, "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-4)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false } }, "required": false }, "template": { "description": "Postituse kuvamiseks kasutatav teemafail.", "type": "string", "required": false }, "astra-portfolio-categories": { "description": "Objektiga astra-portfolio-categories taksonoomias seotud terminid.", "type": "array", "items": { "type": "integer" }, "required": false }, "astra-portfolio-other-categories": { "description": "Objektiga astra-portfolio-other-categories taksonoomias seotud terminid.", "type": "array", "items": { "type": "integer" }, "required": false }, "astra-portfolio-tags": { "description": "Objektiga astra-portfolio-tags taksonoomias seotud terminid.", "type": "array", "items": { "type": "integer" }, "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Postituse unikaalne tunnus.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Kas eirata pr\u00fcgikasti ja sundida koheselt kustutama.", "required": false } } } ] }, "\/wp\/v2\/astra-portfolio\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Automaatsalvestuse \u00fclemobjekti tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "Automaatsalvestuse \u00fclemobjekti tunnus.", "type": "integer", "required": false }, "date": { "description": "Postituse avaldamise aeg (kohalik).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Postituse avaldamise aeg, GMT ajatsoonis.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Postituse t\u00fc\u00fcpi m\u00e4\u00e4rav tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "status": { "description": "Nimega postituseolek.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "acf-disabled", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-mon-part-refund", "wc-checkout-draft", "wc-mon-label-printed" ], "required": false }, "password": { "description": "Parool ligip\u00e4\u00e4su piiramiseks.", "type": "string", "required": false }, "title": { "description": "Postituse pealkiri.", "type": "object", "properties": { "raw": { "description": "Postituse pealkiri, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-pealkiri ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Postituse sisu.", "type": "object", "properties": { "raw": { "description": "Postituse sisu, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Postituse HTML-sisu ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Selle postituse kasutatava sisuplokivormingu versioon.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Kas sisu on parooliga kaitstud.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "Postituses kasutatud meediafaili tunnus.", "type": "integer", "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": { "_acf_changed": { "type": "boolean", "title": "", "description": "", "default": false }, "site-sidebar-layout": { "type": "string", "title": "", "description": "", "default": "default" }, "site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "ast-site-content-layout": { "type": "string", "title": "", "description": "", "default": "" }, "site-content-style": { "type": "string", "title": "", "description": "", "default": "default" }, "site-sidebar-style": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-global-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-banner-title-visibility": { "type": "string", "title": "", "description": "", "default": "" }, "ast-main-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-above-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-below-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "ast-hfb-mobile-header-display": { "type": "string", "title": "", "description": "", "default": "" }, "site-post-title": { "type": "string", "title": "", "description": "", "default": "" }, "ast-breadcrumbs-content": { "type": "string", "title": "", "description": "", "default": "" }, "ast-featured-img": { "type": "string", "title": "", "description": "", "default": "" }, "footer-sml-layout": { "type": "string", "title": "", "description": "", "default": "" }, "theme-transparent-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "adv-header-id-meta": { "type": "string", "title": "", "description": "", "default": "" }, "stick-header-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-above-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-main-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "header-below-stick-meta": { "type": "string", "title": "", "description": "", "default": "" }, "astra-migrate-meta-layouts": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-enabled": { "type": "string", "title": "", "description": "", "default": "default" }, "ast-page-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-4)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "ast-content-background-meta": { "type": "object", "title": "", "description": "", "default": { "desktop": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "tablet": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" }, "mobile": { "background-color": "var(--ast-global-color-5)", "background-image": "", "background-repeat": "repeat", "background-position": "center center", "background-size": "auto", "background-attachment": "scroll", "background-type": "", "background-media": "", "overlay-type": "", "overlay-color": "", "overlay-opacity": "", "overlay-gradient": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false } }, "required": false }, "template": { "description": "Postituse kuvamiseks kasutatav teemafail.", "type": "string", "required": false }, "astra-portfolio-categories": { "description": "Objektiga astra-portfolio-categories taksonoomias seotud terminid.", "type": "array", "items": { "type": "integer" }, "required": false }, "astra-portfolio-other-categories": { "description": "Objektiga astra-portfolio-other-categories taksonoomias seotud terminid.", "type": "array", "items": { "type": "integer" }, "required": false }, "astra-portfolio-tags": { "description": "Objektiga astra-portfolio-tags taksonoomias seotud terminid.", "type": "array", "items": { "type": "integer" }, "required": false } } } ] }, "\/wp\/v2\/astra-portfolio\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Automaatsalvestuse \u00fclemobjekti tunnus.", "type": "integer", "required": false }, "id": { "description": "Automaatsalvestuse tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/types": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp\/v2\/types" } ] } }, "\/wp\/v2\/types\/(?P[\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "type": { "description": "Postituset\u00fc\u00fcbi tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/statuses": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp\/v2\/statuses" } ] } }, "\/wp\/v2\/statuses\/(?P[\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "status": { "description": "Olekutunnus (t\u00e4hed ja numbrid)", "type": "string", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/taxonomies": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "type": { "description": "Piira tulemusi konkreetse postituset\u00fc\u00fcbiga seotud taksonoomiatega.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp\/v2\/taxonomies" } ] } }, "\/wp\/v2\/taxonomies\/(?P[\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "taxonomy": { "description": "Taksonoomia tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/categories": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "exclude": { "description": "J\u00e4ta tulemustest v\u00e4lja konkreetsed tunnused.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piira tulemusi konkreetsete tunnustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "J\u00e4rjesta atribuudi kasvamise v\u00f5i kahanemise alusel.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sordi termini atribuutide j\u00e4rgi.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Kas peita terminid, mis pole seotud \u00fchegi postitusega.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Piira tulemusi konkreetse \u00fclemobjektiga seotud terminitega.", "type": "integer", "required": false }, "post": { "description": "Piira tulemusi selle postitusega seotud terminitega.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Piira tulemusi \u00fche v\u00f5i mitme konkreetse p\u00fcsiviitega terminiga.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "Termini HTML-kirjeldus.", "type": "string", "required": false }, "name": { "description": "Termini HTML-pealkiri.", "type": "string", "required": true }, "slug": { "description": "Termini t\u00fc\u00fcpi m\u00e4\u00e4rav tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "parent": { "description": "\u00dclemtermini tunnus.", "type": "integer", "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp\/v2\/categories" } ] } }, "\/wp\/v2\/categories\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Termini unikaalne tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Termini unikaalne tunnus.", "type": "integer", "required": false }, "description": { "description": "Termini HTML-kirjeldus.", "type": "string", "required": false }, "name": { "description": "Termini HTML-pealkiri.", "type": "string", "required": false }, "slug": { "description": "Termini t\u00fc\u00fcpi m\u00e4\u00e4rav tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "parent": { "description": "\u00dclemtermini tunnus.", "type": "integer", "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Termini unikaalne tunnus.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Peab olema t\u00f5ene, kuna termineid ei saa pr\u00fcgikasti saata.", "required": false } } } ] }, "\/wp\/v2\/tags": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "exclude": { "description": "J\u00e4ta tulemustest v\u00e4lja konkreetsed tunnused.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piira tulemusi konkreetsete tunnustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Nihuta tulemust edasi mingi arvu elementide v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjesta atribuudi kasvamise v\u00f5i kahanemise alusel.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sordi termini atribuutide j\u00e4rgi.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Kas peita terminid, mis pole seotud \u00fchegi postitusega.", "type": "boolean", "default": false, "required": false }, "post": { "description": "Piira tulemusi selle postitusega seotud terminitega.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Piira tulemusi \u00fche v\u00f5i mitme konkreetse p\u00fcsiviitega terminiga.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "Termini HTML-kirjeldus.", "type": "string", "required": false }, "name": { "description": "Termini HTML-pealkiri.", "type": "string", "required": true }, "slug": { "description": "Termini t\u00fc\u00fcpi m\u00e4\u00e4rav tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp\/v2\/tags" } ] } }, "\/wp\/v2\/tags\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Termini unikaalne tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Termini unikaalne tunnus.", "type": "integer", "required": false }, "description": { "description": "Termini HTML-kirjeldus.", "type": "string", "required": false }, "name": { "description": "Termini HTML-pealkiri.", "type": "string", "required": false }, "slug": { "description": "Termini t\u00fc\u00fcpi m\u00e4\u00e4rav tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Termini unikaalne tunnus.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Peab olema t\u00f5ene, kuna termineid ei saa pr\u00fcgikasti saata.", "required": false } } } ] }, "\/wp\/v2\/menus": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "exclude": { "description": "J\u00e4ta tulemustest v\u00e4lja konkreetsed tunnused.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piira tulemusi konkreetsete tunnustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Nihuta tulemust edasi mingi arvu elementide v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjesta atribuudi kasvamise v\u00f5i kahanemise alusel.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sordi termini atribuutide j\u00e4rgi.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Kas peita terminid, mis pole seotud \u00fchegi postitusega.", "type": "boolean", "default": false, "required": false }, "post": { "description": "Piira tulemusi selle postitusega seotud terminitega.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Piira tulemusi \u00fche v\u00f5i mitme konkreetse p\u00fcsiviitega terminiga.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "Termini HTML-kirjeldus.", "type": "string", "required": false }, "name": { "description": "Termini HTML-pealkiri.", "type": "string", "required": true }, "slug": { "description": "Termini t\u00fc\u00fcpi m\u00e4\u00e4rav tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": [], "required": false }, "locations": { "description": "Men\u00fc\u00fc asukohad.", "type": "array", "items": { "type": "string" }, "required": false }, "auto_add": { "description": "Kas lisada siia men\u00fc\u00fcsse automaatselt k\u00f5ik uued \u00fclataseme lehed.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp\/v2\/menus" } ] } }, "\/wp\/v2\/menus\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Termini unikaalne tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Termini unikaalne tunnus.", "type": "integer", "required": false }, "description": { "description": "Termini HTML-kirjeldus.", "type": "string", "required": false }, "name": { "description": "Termini HTML-pealkiri.", "type": "string", "required": false }, "slug": { "description": "Termini t\u00fc\u00fcpi m\u00e4\u00e4rav tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": [], "required": false }, "locations": { "description": "Men\u00fc\u00fc asukohad.", "type": "array", "items": { "type": "string" }, "required": false }, "auto_add": { "description": "Kas lisada siia men\u00fc\u00fcsse automaatselt k\u00f5ik uued \u00fclataseme lehed.", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Termini unikaalne tunnus.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Peab olema t\u00f5ene, kuna termineid ei saa pr\u00fcgikasti saata.", "required": false } } } ] }, "\/wp\/v2\/wp_pattern_category": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "exclude": { "description": "J\u00e4ta tulemustest v\u00e4lja konkreetsed tunnused.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piira tulemusi konkreetsete tunnustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Nihuta tulemust edasi mingi arvu elementide v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjesta atribuudi kasvamise v\u00f5i kahanemise alusel.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sordi termini atribuutide j\u00e4rgi.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Kas peita terminid, mis pole seotud \u00fchegi postitusega.", "type": "boolean", "default": false, "required": false }, "post": { "description": "Piira tulemusi selle postitusega seotud terminitega.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Piira tulemusi \u00fche v\u00f5i mitme konkreetse p\u00fcsiviitega terminiga.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "Termini HTML-kirjeldus.", "type": "string", "required": false }, "name": { "description": "Termini HTML-pealkiri.", "type": "string", "required": true }, "slug": { "description": "Termini t\u00fc\u00fcpi m\u00e4\u00e4rav tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp\/v2\/wp_pattern_category" } ] } }, "\/wp\/v2\/wp_pattern_category\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Termini unikaalne tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Termini unikaalne tunnus.", "type": "integer", "required": false }, "description": { "description": "Termini HTML-kirjeldus.", "type": "string", "required": false }, "name": { "description": "Termini HTML-pealkiri.", "type": "string", "required": false }, "slug": { "description": "Termini t\u00fc\u00fcpi m\u00e4\u00e4rav tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Termini unikaalne tunnus.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Peab olema t\u00f5ene, kuna termineid ei saa pr\u00fcgikasti saata.", "required": false } } } ] }, "\/wp\/v2\/product_brand": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "exclude": { "description": "J\u00e4ta tulemustest v\u00e4lja konkreetsed tunnused.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piira tulemusi konkreetsete tunnustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "J\u00e4rjesta atribuudi kasvamise v\u00f5i kahanemise alusel.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sordi termini atribuutide j\u00e4rgi.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Kas peita terminid, mis pole seotud \u00fchegi postitusega.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Piira tulemusi konkreetse \u00fclemobjektiga seotud terminitega.", "type": "integer", "required": false }, "post": { "description": "Piira tulemusi selle postitusega seotud terminitega.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Piira tulemusi \u00fche v\u00f5i mitme konkreetse p\u00fcsiviitega terminiga.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "Termini HTML-kirjeldus.", "type": "string", "required": false }, "name": { "description": "Termini HTML-pealkiri.", "type": "string", "required": true }, "slug": { "description": "Termini t\u00fc\u00fcpi m\u00e4\u00e4rav tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "parent": { "description": "\u00dclemtermini tunnus.", "type": "integer", "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp\/v2\/product_brand" } ] } }, "\/wp\/v2\/product_brand\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Termini unikaalne tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Termini unikaalne tunnus.", "type": "integer", "required": false }, "description": { "description": "Termini HTML-kirjeldus.", "type": "string", "required": false }, "name": { "description": "Termini HTML-pealkiri.", "type": "string", "required": false }, "slug": { "description": "Termini t\u00fc\u00fcpi m\u00e4\u00e4rav tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "parent": { "description": "\u00dclemtermini tunnus.", "type": "integer", "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Termini unikaalne tunnus.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Peab olema t\u00f5ene, kuna termineid ei saa pr\u00fcgikasti saata.", "required": false } } } ] }, "\/wp\/v2\/product_cat": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "exclude": { "description": "J\u00e4ta tulemustest v\u00e4lja konkreetsed tunnused.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piira tulemusi konkreetsete tunnustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "J\u00e4rjesta atribuudi kasvamise v\u00f5i kahanemise alusel.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sordi termini atribuutide j\u00e4rgi.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Kas peita terminid, mis pole seotud \u00fchegi postitusega.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Piira tulemusi konkreetse \u00fclemobjektiga seotud terminitega.", "type": "integer", "required": false }, "post": { "description": "Piira tulemusi selle postitusega seotud terminitega.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Piira tulemusi \u00fche v\u00f5i mitme konkreetse p\u00fcsiviitega terminiga.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "Termini HTML-kirjeldus.", "type": "string", "required": false }, "name": { "description": "Termini HTML-pealkiri.", "type": "string", "required": true }, "slug": { "description": "Termini t\u00fc\u00fcpi m\u00e4\u00e4rav tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "parent": { "description": "\u00dclemtermini tunnus.", "type": "integer", "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp\/v2\/product_cat" } ] } }, "\/wp\/v2\/product_cat\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Termini unikaalne tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Termini unikaalne tunnus.", "type": "integer", "required": false }, "description": { "description": "Termini HTML-kirjeldus.", "type": "string", "required": false }, "name": { "description": "Termini HTML-pealkiri.", "type": "string", "required": false }, "slug": { "description": "Termini t\u00fc\u00fcpi m\u00e4\u00e4rav tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "parent": { "description": "\u00dclemtermini tunnus.", "type": "integer", "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Termini unikaalne tunnus.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Peab olema t\u00f5ene, kuna termineid ei saa pr\u00fcgikasti saata.", "required": false } } } ] }, "\/wp\/v2\/product_tag": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "exclude": { "description": "J\u00e4ta tulemustest v\u00e4lja konkreetsed tunnused.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piira tulemusi konkreetsete tunnustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Nihuta tulemust edasi mingi arvu elementide v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjesta atribuudi kasvamise v\u00f5i kahanemise alusel.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sordi termini atribuutide j\u00e4rgi.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Kas peita terminid, mis pole seotud \u00fchegi postitusega.", "type": "boolean", "default": false, "required": false }, "post": { "description": "Piira tulemusi selle postitusega seotud terminitega.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Piira tulemusi \u00fche v\u00f5i mitme konkreetse p\u00fcsiviitega terminiga.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "Termini HTML-kirjeldus.", "type": "string", "required": false }, "name": { "description": "Termini HTML-pealkiri.", "type": "string", "required": true }, "slug": { "description": "Termini t\u00fc\u00fcpi m\u00e4\u00e4rav tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp\/v2\/product_tag" } ] } }, "\/wp\/v2\/product_tag\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Termini unikaalne tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Termini unikaalne tunnus.", "type": "integer", "required": false }, "description": { "description": "Termini HTML-kirjeldus.", "type": "string", "required": false }, "name": { "description": "Termini HTML-pealkiri.", "type": "string", "required": false }, "slug": { "description": "Termini t\u00fc\u00fcpi m\u00e4\u00e4rav tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Termini unikaalne tunnus.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Peab olema t\u00f5ene, kuna termineid ei saa pr\u00fcgikasti saata.", "required": false } } } ] }, "\/wp\/v2\/astra-portfolio-categories": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "exclude": { "description": "J\u00e4ta tulemustest v\u00e4lja konkreetsed tunnused.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piira tulemusi konkreetsete tunnustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "J\u00e4rjesta atribuudi kasvamise v\u00f5i kahanemise alusel.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sordi termini atribuutide j\u00e4rgi.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Kas peita terminid, mis pole seotud \u00fchegi postitusega.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Piira tulemusi konkreetse \u00fclemobjektiga seotud terminitega.", "type": "integer", "required": false }, "post": { "description": "Piira tulemusi selle postitusega seotud terminitega.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Piira tulemusi \u00fche v\u00f5i mitme konkreetse p\u00fcsiviitega terminiga.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "Termini HTML-kirjeldus.", "type": "string", "required": false }, "name": { "description": "Termini HTML-pealkiri.", "type": "string", "required": true }, "slug": { "description": "Termini t\u00fc\u00fcpi m\u00e4\u00e4rav tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "parent": { "description": "\u00dclemtermini tunnus.", "type": "integer", "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp\/v2\/astra-portfolio-categories" } ] } }, "\/wp\/v2\/astra-portfolio-categories\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Termini unikaalne tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Termini unikaalne tunnus.", "type": "integer", "required": false }, "description": { "description": "Termini HTML-kirjeldus.", "type": "string", "required": false }, "name": { "description": "Termini HTML-pealkiri.", "type": "string", "required": false }, "slug": { "description": "Termini t\u00fc\u00fcpi m\u00e4\u00e4rav tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "parent": { "description": "\u00dclemtermini tunnus.", "type": "integer", "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Termini unikaalne tunnus.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Peab olema t\u00f5ene, kuna termineid ei saa pr\u00fcgikasti saata.", "required": false } } } ] }, "\/wp\/v2\/astra-portfolio-other-categories": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "exclude": { "description": "J\u00e4ta tulemustest v\u00e4lja konkreetsed tunnused.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piira tulemusi konkreetsete tunnustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "J\u00e4rjesta atribuudi kasvamise v\u00f5i kahanemise alusel.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sordi termini atribuutide j\u00e4rgi.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Kas peita terminid, mis pole seotud \u00fchegi postitusega.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Piira tulemusi konkreetse \u00fclemobjektiga seotud terminitega.", "type": "integer", "required": false }, "post": { "description": "Piira tulemusi selle postitusega seotud terminitega.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Piira tulemusi \u00fche v\u00f5i mitme konkreetse p\u00fcsiviitega terminiga.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "Termini HTML-kirjeldus.", "type": "string", "required": false }, "name": { "description": "Termini HTML-pealkiri.", "type": "string", "required": true }, "slug": { "description": "Termini t\u00fc\u00fcpi m\u00e4\u00e4rav tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "parent": { "description": "\u00dclemtermini tunnus.", "type": "integer", "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp\/v2\/astra-portfolio-other-categories" } ] } }, "\/wp\/v2\/astra-portfolio-other-categories\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Termini unikaalne tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Termini unikaalne tunnus.", "type": "integer", "required": false }, "description": { "description": "Termini HTML-kirjeldus.", "type": "string", "required": false }, "name": { "description": "Termini HTML-pealkiri.", "type": "string", "required": false }, "slug": { "description": "Termini t\u00fc\u00fcpi m\u00e4\u00e4rav tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "parent": { "description": "\u00dclemtermini tunnus.", "type": "integer", "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Termini unikaalne tunnus.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Peab olema t\u00f5ene, kuna termineid ei saa pr\u00fcgikasti saata.", "required": false } } } ] }, "\/wp\/v2\/astra-portfolio-tags": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "exclude": { "description": "J\u00e4ta tulemustest v\u00e4lja konkreetsed tunnused.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piira tulemusi konkreetsete tunnustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Nihuta tulemust edasi mingi arvu elementide v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjesta atribuudi kasvamise v\u00f5i kahanemise alusel.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sordi termini atribuutide j\u00e4rgi.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Kas peita terminid, mis pole seotud \u00fchegi postitusega.", "type": "boolean", "default": false, "required": false }, "post": { "description": "Piira tulemusi selle postitusega seotud terminitega.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Piira tulemusi \u00fche v\u00f5i mitme konkreetse p\u00fcsiviitega terminiga.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "Termini HTML-kirjeldus.", "type": "string", "required": false }, "name": { "description": "Termini HTML-pealkiri.", "type": "string", "required": true }, "slug": { "description": "Termini t\u00fc\u00fcpi m\u00e4\u00e4rav tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp\/v2\/astra-portfolio-tags" } ] } }, "\/wp\/v2\/astra-portfolio-tags\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Termini unikaalne tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Termini unikaalne tunnus.", "type": "integer", "required": false }, "description": { "description": "Termini HTML-kirjeldus.", "type": "string", "required": false }, "name": { "description": "Termini HTML-pealkiri.", "type": "string", "required": false }, "slug": { "description": "Termini t\u00fc\u00fcpi m\u00e4\u00e4rav tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Termini unikaalne tunnus.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Peab olema t\u00f5ene, kuna termineid ei saa pr\u00fcgikasti saata.", "required": false } } } ] }, "\/wp\/v2\/users": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "exclude": { "description": "J\u00e4ta tulemustest v\u00e4lja konkreetsed tunnused.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piira tulemusi konkreetsete tunnustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Nihuta tulemust edasi mingi arvu elementide v\u00f5rra.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "J\u00e4rjesta atribuudi kasvamise v\u00f5i kahanemise alusel.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "name", "description": "Sordi kasutaja atribuutide j\u00e4rgi.", "enum": [ "id", "include", "name", "registered_date", "slug", "include_slugs", "email", "url" ], "type": "string", "required": false }, "slug": { "description": "Piira tulemusi \u00fche v\u00f5i mitme konkreetse p\u00fcsiviitega kasutajaga.", "type": "array", "items": { "type": "string" }, "required": false }, "roles": { "description": "Piira tulemusi kasutajatega, kellel on v\u00e4hemalt \u00fcks etteantud rollidest. V\u00f5ib anda \u00fcksiku rolli v\u00f5i mitu komadega eraldatud rolli.", "type": "array", "items": { "type": "string" }, "required": false }, "capabilities": { "description": "Piira tulemusi kasutajatega, kellel on v\u00e4hemalt \u00fcks etteantud rollidest. V\u00f5ib anda \u00fcksiku rolli v\u00f5i mitu komadega eraldatud rolli.", "type": "array", "items": { "type": "string" }, "required": false }, "who": { "description": "Piira tulemusi kasutajatega, keda loetakse autoriteks.", "type": "string", "enum": [ "authors" ], "required": false }, "has_published_posts": { "description": "Piira tulemusi kasutajatega, kes on avaldanud postitusi.", "type": [ "boolean", "array" ], "items": { "type": "string", "enum": { "post": "post", "page": "page", "attachment": "attachment", "nav_menu_item": "nav_menu_item", "wp_block": "wp_block", "wp_template": "wp_template", "wp_template_part": "wp_template_part", "wp_global_styles": "wp_global_styles", "wp_navigation": "wp_navigation", "wp_font_family": "wp_font_family", "wp_font_face": "wp_font_face", "e-floating-buttons": "e-floating-buttons", "elementor_library": "elementor_library", "product": "product", "astra-portfolio": "astra-portfolio" } }, "required": false }, "search_columns": { "default": [], "description": "Otsinguveergude nimede massiiv.", "type": "array", "items": { "enum": [ "email", "name", "id", "username", "slug" ], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "username": { "description": "Kasutajanimi.", "type": "string", "required": true }, "name": { "description": "Kasutaja kuvatav nimi.", "type": "string", "required": false }, "first_name": { "description": "Kasutaja eesnimi.", "type": "string", "required": false }, "last_name": { "description": "Kasutaja perekonnanimi.", "type": "string", "required": false }, "email": { "description": "Kasutaja e-postiaadress.", "type": "string", "format": "email", "required": true }, "url": { "description": "Kasutaja URL.", "type": "string", "format": "uri", "required": false }, "description": { "description": "Kasutaja kirjeldus.", "type": "string", "required": false }, "locale": { "description": "Kasutaja maakood.", "type": "string", "enum": [ "", "en_US", "en_GB", "et" ], "required": false }, "nickname": { "description": "Kasutaja h\u00fc\u00fcdnimi.", "type": "string", "required": false }, "slug": { "description": "Kasutaja tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "roles": { "description": "Kasutajale m\u00e4\u00e4ratud rollid.", "type": "array", "items": { "type": "string" }, "required": false }, "password": { "description": "Kasutaja parool (ei n\u00e4idata kunagi).", "type": "string", "required": true }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": { "persisted_preferences": { "type": "object", "title": "", "description": "", "default": [], "context": [ "edit" ], "properties": { "_modified": { "description": "S\u00e4tete uuendamise kuup\u00e4ev ja kellaaeg.", "type": "string", "format": "date-time", "readonly": false } }, "additionalProperties": true } }, "required": false }, "elementor_introduction": { "description": "Elementor user meta data", "type": "object", "properties": { "ai_get_started": { "type": "boolean" } }, "additionalProperties": true, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp\/v2\/users" } ] } }, "\/wp\/v2\/users\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Kasutaja unikaalne tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Kasutaja unikaalne tunnus.", "type": "integer", "required": false }, "username": { "description": "Kasutajanimi.", "type": "string", "required": false }, "name": { "description": "Kasutaja kuvatav nimi.", "type": "string", "required": false }, "first_name": { "description": "Kasutaja eesnimi.", "type": "string", "required": false }, "last_name": { "description": "Kasutaja perekonnanimi.", "type": "string", "required": false }, "email": { "description": "Kasutaja e-postiaadress.", "type": "string", "format": "email", "required": false }, "url": { "description": "Kasutaja URL.", "type": "string", "format": "uri", "required": false }, "description": { "description": "Kasutaja kirjeldus.", "type": "string", "required": false }, "locale": { "description": "Kasutaja maakood.", "type": "string", "enum": [ "", "en_US", "en_GB", "et" ], "required": false }, "nickname": { "description": "Kasutaja h\u00fc\u00fcdnimi.", "type": "string", "required": false }, "slug": { "description": "Kasutaja tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "roles": { "description": "Kasutajale m\u00e4\u00e4ratud rollid.", "type": "array", "items": { "type": "string" }, "required": false }, "password": { "description": "Kasutaja parool (ei n\u00e4idata kunagi).", "type": "string", "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": { "persisted_preferences": { "type": "object", "title": "", "description": "", "default": [], "context": [ "edit" ], "properties": { "_modified": { "description": "S\u00e4tete uuendamise kuup\u00e4ev ja kellaaeg.", "type": "string", "format": "date-time", "readonly": false } }, "additionalProperties": true } }, "required": false }, "elementor_introduction": { "description": "Elementor user meta data", "type": "object", "properties": { "ai_get_started": { "type": "boolean" } }, "additionalProperties": true, "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Kasutaja unikaalne tunnus.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Peab olema t\u00f5ene, kuna kasutajaid ei saa pr\u00fcgikasti saata.", "required": false }, "reassign": { "type": "integer", "description": "Omista kustutatud kasutaja postitused ja viited sellele kasutajale.", "required": true } } } ] }, "\/wp\/v2\/users\/me": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "username": { "description": "Kasutajanimi.", "type": "string", "required": false }, "name": { "description": "Kasutaja kuvatav nimi.", "type": "string", "required": false }, "first_name": { "description": "Kasutaja eesnimi.", "type": "string", "required": false }, "last_name": { "description": "Kasutaja perekonnanimi.", "type": "string", "required": false }, "email": { "description": "Kasutaja e-postiaadress.", "type": "string", "format": "email", "required": false }, "url": { "description": "Kasutaja URL.", "type": "string", "format": "uri", "required": false }, "description": { "description": "Kasutaja kirjeldus.", "type": "string", "required": false }, "locale": { "description": "Kasutaja maakood.", "type": "string", "enum": [ "", "en_US", "en_GB", "et" ], "required": false }, "nickname": { "description": "Kasutaja h\u00fc\u00fcdnimi.", "type": "string", "required": false }, "slug": { "description": "Kasutaja tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "roles": { "description": "Kasutajale m\u00e4\u00e4ratud rollid.", "type": "array", "items": { "type": "string" }, "required": false }, "password": { "description": "Kasutaja parool (ei n\u00e4idata kunagi).", "type": "string", "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": { "persisted_preferences": { "type": "object", "title": "", "description": "", "default": [], "context": [ "edit" ], "properties": { "_modified": { "description": "S\u00e4tete uuendamise kuup\u00e4ev ja kellaaeg.", "type": "string", "format": "date-time", "readonly": false } }, "additionalProperties": true } }, "required": false }, "elementor_introduction": { "description": "Elementor user meta data", "type": "object", "properties": { "ai_get_started": { "type": "boolean" } }, "additionalProperties": true, "required": false } } }, { "methods": [ "DELETE" ], "args": { "force": { "type": "boolean", "default": false, "description": "Peab olema t\u00f5ene, kuna kasutajaid ei saa pr\u00fcgikasti saata.", "required": false }, "reassign": { "type": "integer", "description": "Omista kustutatud kasutaja postitused ja viited sellele kasutajale.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "app_id": { "description": "Rakenduse pakutav UUID, mis seda unikaalselt tuvastab. UUID v5 kasutus URL v\u00f5i DNS nimeruumiga on soovitatav.", "type": "string", "oneOf": [ { "type": "string", "format": "uuid" }, { "type": "string", "enum": [ "" ] } ], "required": false }, "name": { "description": "Rakenduse salas\u00f5na nimi.", "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": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "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": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "app_id": { "description": "Rakenduse pakutav UUID, mis seda unikaalselt tuvastab. UUID v5 kasutus URL v\u00f5i DNS nimeruumiga on soovitatav.", "type": "string", "oneOf": [ { "type": "string", "format": "uuid" }, { "type": "string", "enum": [ "" ] } ], "required": false }, "name": { "description": "Rakenduse salas\u00f5na nimi.", "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": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "after": { "description": "Piira vastamist kommentaaridega, mis avaldati enne m\u00e4\u00e4ratud kuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Piira tulemusi konkreetsete tunnustega kasutajate kommentaaridega. N\u00f5uab vastavaid \u00f5igusi.", "type": "array", "items": { "type": "integer" }, "required": false }, "author_exclude": { "description": "J\u00e4ta tulemustest v\u00e4lja konkreetsete tunnustega kasutajate kommentaarid. N\u00f5uab vastavaid \u00f5igusi.", "type": "array", "items": { "type": "integer" }, "required": false }, "author_email": { "default": null, "description": "Piira tulemusi konkreetse e-postiaadressiga autoritega. N\u00f5uab vastavaid \u00f5igusi.", "format": "email", "type": "string", "required": false }, "before": { "description": "Piira vastamist kommentaaridega, mis avaldati enne m\u00e4\u00e4ratud kuup\u00e4eva.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "J\u00e4ta tulemustest v\u00e4lja konkreetsed tunnused.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piira tulemusi konkreetsete tunnustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Nihuta tulemust edasi mingi arvu elementide v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjesta atribuudi kasvamise v\u00f5i kahanemise alusel.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sordi kommentaari atribuutide j\u00e4rgi.", "type": "string", "default": "date_gmt", "enum": [ "date", "date_gmt", "id", "include", "post", "parent", "type" ], "required": false }, "parent": { "default": [], "description": "J\u00e4ta tulemustest v\u00e4lja konkreetsete \u00fclemtunnuste kommentaarid.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_exclude": { "default": [], "description": "J\u00e4ta tulemustest v\u00e4lja konkreetsed \u00fclemtunnused.", "type": "array", "items": { "type": "integer" }, "required": false }, "post": { "default": [], "description": "Piira tulemusi konkreetse postitusetunnusega kommentaaridega.", "type": "array", "items": { "type": "integer" }, "required": false }, "status": { "default": "approve", "description": "Piira tulemusi kindlas olekus kommentaaridega. N\u00f5uab vastavaid \u00f5igusi.", "type": "string", "required": false }, "type": { "default": "comment", "description": "Piira tulemusi konkreetset t\u00fc\u00fcpi kommentaaridega. N\u00f5uab vastavaid \u00f5igusi.", "type": "string", "required": false }, "password": { "description": "Postituse parool (kui see on parooliga kaitstud)", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "author": { "description": "Kasutaja tunnus, kui autor on kasutaja.", "type": "integer", "required": false }, "author_email": { "description": "Kommentaari autori e-postiaadress.", "type": "string", "format": "email", "required": false }, "author_ip": { "description": "Kommentaari autori IP-aadress.", "type": "string", "format": "ip", "required": false }, "author_name": { "description": "Kommentaari autori kuvatav nimi.", "type": "string", "required": false }, "author_url": { "description": "Kommentaari autori URL.", "type": "string", "format": "uri", "required": false }, "author_user_agent": { "description": "Kommentaari autori kasutajaagent.", "type": "string", "required": false }, "content": { "description": "Kommentaari sisu.", "type": "object", "properties": { "raw": { "description": "Kommentaari sisu, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Kommentaari HTML-sisu ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "date": { "description": "Kommentaari avaldamise aeg (kohalik).", "type": "string", "format": "date-time", "required": false }, "date_gmt": { "description": "Kommentaari avaldamise aeg (GMT).", "type": "string", "format": "date-time", "required": false }, "parent": { "default": 0, "description": "\u00dclemkommentaari tunnus.", "type": "integer", "required": false }, "post": { "default": 0, "description": "Seonduva postituse tunnus.", "type": "integer", "required": false }, "status": { "description": "Kommentaari olek.", "type": "string", "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": { "_wp_note_status": { "type": "string", "title": "", "description": "M\u00e4rkuse lahenduse olek", "default": "", "enum": [ "resolved", "reopen" ] } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Kommentaari unikaalne tunnus.", "type": "integer", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "Kommenteeritud postituse parool (kui see on paroolikaitse all).", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Kommentaari unikaalne tunnus.", "type": "integer", "required": false }, "author": { "description": "Kasutaja tunnus, kui autor on kasutaja.", "type": "integer", "required": false }, "author_email": { "description": "Kommentaari autori e-postiaadress.", "type": "string", "format": "email", "required": false }, "author_ip": { "description": "Kommentaari autori IP-aadress.", "type": "string", "format": "ip", "required": false }, "author_name": { "description": "Kommentaari autori kuvatav nimi.", "type": "string", "required": false }, "author_url": { "description": "Kommentaari autori URL.", "type": "string", "format": "uri", "required": false }, "author_user_agent": { "description": "Kommentaari autori kasutajaagent.", "type": "string", "required": false }, "content": { "description": "Kommentaari sisu.", "type": "object", "properties": { "raw": { "description": "Kommentaari sisu, nagu see andmebaasis esineb.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Kommentaari HTML-sisu ekraanil kuvamiseks.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "date": { "description": "Kommentaari avaldamise aeg (kohalik).", "type": "string", "format": "date-time", "required": false }, "date_gmt": { "description": "Kommentaari avaldamise aeg (GMT).", "type": "string", "format": "date-time", "required": false }, "parent": { "description": "\u00dclemkommentaari tunnus.", "type": "integer", "required": false }, "post": { "description": "Seonduva postituse tunnus.", "type": "integer", "required": false }, "status": { "description": "Kommentaari olek.", "type": "string", "required": false }, "meta": { "description": "Metav\u00e4ljad.", "type": "object", "properties": { "_wp_note_status": { "type": "string", "title": "", "description": "M\u00e4rkuse lahenduse olek", "default": "", "enum": [ "resolved", "reopen" ] } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Kommentaari unikaalne tunnus.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Kas eirata pr\u00fcgikasti ja sundida koheselt kustutama.", "required": false }, "password": { "description": "Kommenteeritud postituse parool (kui see on paroolikaitse all).", "type": "string", "required": false } } } ] }, "\/wp\/v2\/search": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "type": { "default": "post", "description": "Piira valikut objektit\u00fc\u00fcbiga.", "type": "string", "enum": [ "post", "term", "post-format" ], "required": false }, "subtype": { "default": "any", "description": "Piira valikut objekti alamt\u00fc\u00fcpidega.", "type": "array", "items": { "enum": [ "post", "page", "e-floating-buttons", "elementor_library", "product", "astra-portfolio", "category", "post_tag", "product_brand", "product_cat", "product_tag", "astra-portfolio-categories", "astra-portfolio-other-categories", "astra-portfolio-tags", "any" ], "type": "string" }, "required": false }, "exclude": { "description": "J\u00e4ta tulemustest v\u00e4lja konkreetsed tunnused.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Piira tulemusi konkreetsete tunnustega.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Ploki unikaalne registreerimisnimi.", "type": "string", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "edit" ], "default": "view", "required": false }, "attributes": { "description": "Ploki atribuudid.", "type": "object", "default": [], "required": false }, "post_id": { "description": "Postituse kontekstitunnus.", "type": "integer", "required": false } } } ] }, "\/wp\/v2\/block-types": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "namespace": { "description": "Ploki nimeruum.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "namespace": { "description": "Ploki nimeruum.", "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": "Ploki nimi.", "type": "string", "required": false }, "namespace": { "description": "Ploki nimeruum.", "type": "string", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "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": { "title": "Pealkiri", "description": "Saidi pealkiri.", "type": "string", "required": false }, "description": { "title": "L\u00fchikirjeldus", "description": "Veebisaidi alapealkiri.", "type": "string", "required": false }, "url": { "title": "", "description": "Veebilehe aadress.", "type": "string", "format": "uri", "required": false }, "email": { "title": "", "description": "Seda aadressi kasutatakse saidi haldamisel, n\u00e4iteks uue kasutaja teavitamiseks.", "type": "string", "format": "email", "required": false }, "timezone": { "title": "", "description": "Linn samas ajav\u00f6\u00f6ndis.", "type": "string", "required": false }, "date_format": { "title": "", "description": "K\u00f5igi kuup\u00e4evade vorming.", "type": "string", "required": false }, "time_format": { "title": "", "description": "K\u00f5igi kellaaegade vorming.", "type": "string", "required": false }, "start_of_week": { "title": "", "description": "N\u00e4dala algusp\u00e4eva number.", "type": "integer", "required": false }, "language": { "title": "", "description": "WordPressi maakood.", "type": "string", "required": false }, "use_smilies": { "title": "", "description": "Teisenda emootikonid nagu :-) ja :-P graafilisteks.", "type": "boolean", "required": false }, "default_category": { "title": "", "description": "Vaikimisi rubriik.", "type": "integer", "required": false }, "default_post_format": { "title": "", "description": "Vaikimisi postitusevorming.", "type": "string", "required": false }, "posts_per_page": { "title": "Maksimaalne postituste arv lehel", "description": "Blogilehe maksimaalne maht.", "type": "integer", "required": false }, "show_on_front": { "title": "N\u00e4ita esilehel", "description": "Mida esik\u00fcljel n\u00e4idata", "type": "string", "required": false }, "page_on_front": { "title": "Kuva esilehel", "description": "Lehe tunnus, mis tuleks kuvada esilehena", "type": "integer", "required": false }, "page_for_posts": { "title": "", "description": "Lehe tunnus, mis peaks kuvama uusimaid postitusi", "type": "integer", "required": false }, "default_ping_status": { "title": "", "description": "Luba uute artiklite juures teiste ajaveebide m\u00e4rguandeid (pingback- ja trackback-viited).", "type": "string", "enum": [ "open", "closed" ], "required": false }, "default_comment_status": { "title": "Luba uute postituste kommenteerimist", "description": "Luba uute postituste kommenteerimist.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "site_logo": { "title": "Logo", "description": "Veebisaidi logo.", "type": "integer", "required": false }, "site_icon": { "title": "Ikoon", "description": "Veebisaidi ikoon.", "type": "integer", "required": false }, "elementor_one_welcome_screen_completed": { "title": "", "description": "Elementor One Welcome Screen Completed", "type": "boolean", "required": false }, "elementor_one_dismiss_connect_alert": { "title": "", "description": "Elementor One Dismiss Connect Alert", "type": "boolean", "required": false }, "elementor_one_dismiss_elementor_one_subscription_alert": { "title": "", "description": "Elementor One Dismiss Elementor One Subscription Alert", "type": "boolean", "required": false }, "pickup_location_settings": { "title": "", "description": "WooCommerce Local Pickup Method Settings", "type": "object", "properties": { "enabled": { "description": "Kui see on lubatud, kuvatakse see meetod plokip\u00f5hises kassas.", "type": "string", "enum": [ "yes", "no" ] }, "title": { "description": "See juhib pealkirja, mida kasutaja kassastamisel n\u00e4eb.", "type": "string" }, "tax_status": { "description": "Kui kulu on m\u00e4\u00e4ratletud, kontrollib see, kas sellele kulule rakendatakse makse.", "type": "string", "enum": [ "taxable", "none" ] }, "cost": { "description": "Valikuline tasu kohaliku j\u00e4reletulemise eest.", "type": "string" } }, "additionalProperties": false, "required": false }, "pickup_locations": { "title": "", "description": "WooCommerce Local Pickup Locations", "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "address": { "type": "object", "properties": { "address_1": { "type": "string" }, "city": { "type": "string" }, "state": { "type": "string" }, "postcode": { "type": "string" }, "country": { "type": "string" } }, "additionalProperties": false }, "details": { "type": "string" }, "enabled": { "type": "boolean" } }, "additionalProperties": false }, "required": false }, "woocommerce_default_catalog_orderby": { "title": "Vaikimisi toodete j\u00e4rjestus", "description": "Kuidas peaks kataloogis vaikimisi tooteid sorteerima?", "type": "string", "enum": [ "menu_order", "popularity", "rating", "date", "price", "price-desc" ], "required": false }, "woocommerce_checkout_phone_field": { "title": "Telefoninumber", "description": "Juhib telefoninumbri v\u00e4lja kuvamist kassas.", "type": "string", "enum": [ "optional", "required", "hidden" ], "required": false }, "woocommerce_checkout_company_field": { "title": "Ettev\u00f5te", "description": "Juhib ettev\u00f5tte v\u00e4lja kuvamist kassas.", "type": "string", "enum": [ "optional", "required", "hidden" ], "required": false }, "woocommerce_checkout_address_2_field": { "title": "Aadressirida 2", "description": "Juhib korteri (aadress_2) v\u00e4lja kuvamist kassas.", "type": "string", "enum": [ "optional", "required", "hidden" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp\/v2\/settings" } ] } }, "\/wp\/v2\/themes": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "status": { "description": "Piira valikut teemadega, millele on m\u00e4\u00e4ratud olek.", "type": "array", "items": { "enum": [ "active", "inactive" ], "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp\/v2\/themes" } ] } }, "\/wp\/v2\/themes\/(?P[^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "stylesheet": { "description": "Teema stiilileht, mis selle \u00fcheselt m\u00e4\u00e4ratleb.", "type": "string", "required": false } } } ] }, "\/wp\/v2\/plugins": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "status": { "description": "Piirab tulemusi etteantud olekuga pluginatega.", "type": "array", "items": { "type": "string", "enum": [ "inactive", "active" ] }, "required": false } } }, { "methods": [ "POST" ], "args": { "slug": { "type": "string", "description": "WordPress.org'i pluginakataloogi p\u00fcsiviide.", "pattern": "[\\w\\-]+", "required": true }, "status": { "description": "Plugina olek.", "type": "string", "enum": [ "inactive", "active" ], "default": "inactive", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp\/v2\/plugins" } ] } }, "\/wp\/v2\/plugins\/(?P[^.\\\/]+(?:\\\/[^.\\\/]+)?)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "plugin": { "type": "string", "pattern": "[^.\\\/]+(?:\\\/[^.\\\/]+)?", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "plugin": { "type": "string", "pattern": "[^.\\\/]+(?:\\\/[^.\\\/]+)?", "required": false }, "status": { "description": "Plugina olek.", "type": "string", "enum": [ "inactive", "active" ], "required": false } } }, { "methods": [ "DELETE" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "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": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp\/v2\/sidebars" } ] } }, "\/wp\/v2\/sidebars\/(?P[\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Registreeritud k\u00fclgpaani tunnus", "type": "string", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "widgets": { "description": "Rekursiivsed moodulid.", "type": "array", "items": { "type": [ "object", "string" ] }, "required": false } } } ] }, "\/wp\/v2\/widget-types": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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": "Moodulit\u00fc\u00fcbi tunnus.", "type": "string", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "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": "Moodulit\u00fc\u00fcbi tunnus.", "type": "string", "required": true }, "instance": { "description": "Praegused mooduli instantsis\u00e4tted.", "type": "object", "required": false }, "form_data": { "description": "Instantsi s\u00e4tetesse lisatavad mooduli vormiandmed.", "type": "string", "required": false } } } ] }, "\/wp\/v2\/widget-types\/(?P[a-zA-Z0-9_-]+)\/render": { "namespace": "wp\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "Moodulit\u00fc\u00fcbi tunnus.", "type": "string", "required": true }, "instance": { "description": "Praegused mooduli instantsis\u00e4tted.", "type": "object", "required": false } } } ] }, "\/wp\/v2\/widgets": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "sidebar": { "description": "K\u00fclgpaan, kuhu moodulid suunatakse.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Mooduli unikaalne tunnus.", "type": "string", "required": false }, "id_base": { "description": "Mooduli t\u00fc\u00fcp. Vastab widget-types- l\u00f5pp-punkti tunnusele.", "type": "string", "required": false }, "sidebar": { "default": "wp_inactive_widgets", "description": "K\u00fclgpaan, kuhu moodul kuulub.", "type": "string", "required": true }, "instance": { "description": "Mooduli instantsis\u00e4tted, kui neid toetatakse.", "type": "object", "properties": { "encoded": { "description": "Instantsis\u00e4tete esitus base64-kodeeringus.", "type": "string", "context": [ "edit" ] }, "hash": { "description": "Instantsis\u00e4tete kr\u00fcptor\u00e4si.", "type": "string", "context": [ "edit" ] }, "raw": { "description": "Instantsi kodeerimata s\u00e4tted, kui neid toetatakse.", "type": "object", "context": [ "edit" ] } }, "required": false }, "form_data": { "description": "URLi alusel kodeeritud vormiandmed mooduli haldusvormilt. Neid kasutatakse instantse mittetoetava mooduli uuendamiseks. Ainult kirjutus\u00f5igus.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp\/v2\/widgets" } ] } }, "\/wp\/v2\/widgets\/(?P[\\w\\-]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Mooduli unikaalne tunnus.", "type": "string", "required": false }, "id_base": { "description": "Mooduli t\u00fc\u00fcp. Vastab widget-types- l\u00f5pp-punkti tunnusele.", "type": "string", "required": false }, "sidebar": { "description": "K\u00fclgpaan, kuhu moodul kuulub.", "type": "string", "required": false }, "instance": { "description": "Mooduli instantsis\u00e4tted, kui neid toetatakse.", "type": "object", "properties": { "encoded": { "description": "Instantsis\u00e4tete esitus base64-kodeeringus.", "type": "string", "context": [ "edit" ] }, "hash": { "description": "Instantsis\u00e4tete kr\u00fcptor\u00e4si.", "type": "string", "context": [ "edit" ] }, "raw": { "description": "Instantsi kodeerimata s\u00e4tted, kui neid toetatakse.", "type": "object", "context": [ "edit" ] } }, "required": false }, "form_data": { "description": "URLi alusel kodeeritud vormiandmed mooduli haldusvormilt. Neid kasutatakse instantse mittetoetava mooduli uuendamiseks. Ainult kirjutus\u00f5igus.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "force": { "description": "Kas sundeemaldada moodul v\u00f5i viia see v\u00e4ljal\u00fclitatud k\u00fclgpaanile.", "type": "boolean", "required": false } } } ] }, "\/wp\/v2\/block-directory\/search": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "term": { "description": "Piira otsingutulemusi otsitavale vastavate plokkidega.", "type": "string", "minLength": 1, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp\/v2\/block-directory\/search" } ] } }, "\/wp\/v2\/pattern-directory\/patterns": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 100, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "minLength": 1, "required": false }, "category": { "description": "Piira rubriigi tunnusega.", "type": "integer", "minimum": 1, "required": false }, "keyword": { "description": "Piira v\u00f5tmes\u00f5na tunnusega.", "type": "integer", "minimum": 1, "required": false }, "slug": { "description": "Piira tulemusi etteantud tekstimustri (p\u00fcsiviite) alusel.", "type": "array", "required": false }, "offset": { "description": "Nihuta tulemust edasi mingi arvu elementide v\u00f5rra.", "type": "integer", "required": false }, "order": { "description": "J\u00e4rjesta atribuudi kasvamise v\u00f5i kahanemise alusel.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sordi postituse atribuutide j\u00e4rgi.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "favorite_count" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp\/v2\/pattern-directory\/patterns" } ] } }, "\/wp\/v2\/block-patterns\/patterns": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp\/v2\/block-patterns\/patterns" } ] } }, "\/wp\/v2\/block-patterns\/categories": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp\/v2\/block-patterns\/categories" } ] } }, "\/wp-site-health\/v1": { "namespace": "wp-site-health\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wp-site-health\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/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:\/\/nakedspirit.ee\/est\/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:\/\/nakedspirit.ee\/est\/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:\/\/nakedspirit.ee\/est\/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:\/\/nakedspirit.ee\/est\/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:\/\/nakedspirit.ee\/est\/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:\/\/nakedspirit.ee\/est\/wp-json\/wp-site-health\/v1\/directory-sizes" } ] } }, "\/wp-site-health\/v1\/tests\/page-cache": { "namespace": "wp-site-health\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp-site-health\/v1\/tests\/page-cache" } ] } }, "\/wp-block-editor\/v1": { "namespace": "wp-block-editor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wp-block-editor\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp-block-editor\/v1" } ] } }, "\/wp-block-editor\/v1\/url-details": { "namespace": "wp-block-editor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "url": { "description": "T\u00f6\u00f6deldav URL.", "type": "string", "format": "uri", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp-block-editor\/v1\/url-details" } ] } }, "\/wp\/v2\/menu-locations": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp\/v2\/menu-locations" } ] } }, "\/wp\/v2\/menu-locations\/(?P[\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "location": { "description": "Men\u00fc\u00fc asukoha tunnus (t\u00e4hed ja numbrid).", "type": "string", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp-block-editor\/v1\/export": { "namespace": "wp-block-editor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp-block-editor\/v1\/export" } ] } }, "\/wp-block-editor\/v1\/navigation-fallback": { "namespace": "wp-block-editor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp-block-editor\/v1\/navigation-fallback" } ] } }, "\/wp\/v2\/font-collections": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp\/v2\/font-collections" } ] } }, "\/wp\/v2\/font-collections\/(?P[\\\/\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/icons": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false }, "collection": { "description": "Piira tulemusi ikoonidega, mis kuuluvad antud kollektsiooni p\u00fcsiviitesse.", "type": "string", "pattern": "^[a-z0-9]([a-z0-9_-]*[a-z0-9])?$", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp\/v2\/icons" } ] } }, "\/wp\/v2\/icons\/(?P[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "collection": { "description": "Piira tulemusi ikoonidega, mis kuuluvad antud kollektsiooni p\u00fcsiviitesse.", "type": "string", "pattern": "^[a-z0-9]([a-z0-9_-]*[a-z0-9])?$", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false } } } ] }, "\/wp\/v2\/icons\/(?P[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?\/[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "name": { "description": "Ikooni nimi.", "type": "string", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/icon-collections": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Jooksev lehek\u00fclg.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksimaalne elementide arv, mida vastuses kuvatakse.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Piira tulemusi etteantud teksti alusel.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp\/v2\/icon-collections" } ] } }, "\/wp\/v2\/icon-collections\/(?P[a-z0-9](?:[a-z0-9_-]*[a-z0-9])?)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "description": "Ikoonide kollektsiooni p\u00fcsiviide.", "type": "string", "required": false }, "context": { "description": "P\u00e4ringu skoop, m\u00e4\u00e4rab vastuses kuvatavad v\u00e4ljad.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/view-config": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "kind": { "description": "Olemiliik.", "type": "string", "required": true }, "name": { "description": "Olemi nimi.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp\/v2\/view-config" } ] } } }, "site_logo": 16687, "site_icon": 774, "site_icon_url": "https:\/\/nakedspirit.ee\/wp-content\/uploads\/2023\/06\/cropped-fav_gradient_dark.png", "_links": { "help": [ { "href": "https:\/\/developer.wordpress.org\/rest-api\/" } ], "wp:featuredmedia": [ { "embeddable": true, "type": "site_logo", "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp\/v2\/media\/16687" }, { "embeddable": true, "type": "site_icon", "href": "https:\/\/nakedspirit.ee\/est\/wp-json\/wp\/v2\/media\/774" } ], "curies": [ { "name": "wp", "href": "https:\/\/api.w.org\/{rel}", "templated": true } ] } }