Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the woo-feed
domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init
action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /www/wwwroot/propsbase.com/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the rank-math
domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init
action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /www/wwwroot/propsbase.com/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the rank-math-pro
domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init
action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /www/wwwroot/propsbase.com/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the woocommerce-paypal-payments
domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init
action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /www/wwwroot/propsbase.com/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the woocommerce-paypal-payments
domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init
action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /www/wwwroot/propsbase.com/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the woocommerce-paypal-payments
domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init
action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /www/wwwroot/propsbase.com/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the woocommerce-paypal-payments
domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init
action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /www/wwwroot/propsbase.com/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the woocommerce-paypal-payments
domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init
action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /www/wwwroot/propsbase.com/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the woocommerce-paypal-payments
domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init
action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /www/wwwroot/propsbase.com/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the woocommerce
domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init
action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /www/wwwroot/propsbase.com/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the rocket
domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init
action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /www/wwwroot/propsbase.com/wp-includes/functions.php on line 6114
{
"name": "Props Base - Best Product Photography Props One-stop Backdrops Props Shop",
"description": "",
"url": "https:\/\/propsbase.com",
"home": "https:\/\/propsbase.com\/fi",
"gmt_offset": "0",
"timezone_string": "",
"namespaces": [
"oembed\/1.0",
"akismet\/v1",
"rankmath\/v1",
"rankmath\/v1\/an",
"wc\/v3",
"jetpack\/v4",
"chinads",
"elementor\/v1",
"rankmath\/v1\/ca",
"rankmath\/v1\/in",
"woo-orders-tracking\/v1",
"woocommerce-orders-tracking",
"wc-paypal\/v1",
"paypal\/v1",
"woocommerce-photo-reviews",
"wc-admin",
"wc-analytics",
"wc\/store",
"wc\/store\/v1",
"wc\/private",
"wp-rocket\/v1",
"astra\/v1",
"elementor-pro\/v1",
"ctxfeed\/v1",
"wc\/v1",
"wc\/v2",
"wc-telemetry",
"wccom-site\/v3",
"bsf-core\/v1",
"nps-survey\/v1",
"wpforms\/v1",
"wp\/v2",
"wp-site-health\/v1",
"wp-block-editor\/v1"
],
"authentication": {
"application-passwords": {
"endpoints": {
"authorization": "https:\/\/propsbase.com\/wp-admin\/authorize-application.php"
}
}
},
"routes": {
"\/": {
"namespace": "",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/wp-json\/oembed\/1.0"
}
]
}
},
"\/oembed\/1.0\/embed": {
"namespace": "oembed\/1.0",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"url": {
"description": "Sen resurssin URL jonka oEmbed-tiedot noudetaan.",
"type": "string",
"format": "uri",
"required": true
},
"format": {
"default": "json",
"required": false
},
"maxwidth": {
"default": 600,
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/oembed\/1.0\/embed"
}
]
}
},
"\/oembed\/1.0\/proxy": {
"namespace": "oembed\/1.0",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"url": {
"description": "Sen resurssin URL jonka oEmbed-tiedot noudetaan.",
"type": "string",
"format": "uri",
"required": true
},
"format": {
"description": "K\u00e4ytett\u00e4v\u00e4 oEmbed-muoto.",
"type": "string",
"default": "json",
"enum": [
"json",
"xml"
],
"required": false
},
"maxwidth": {
"description": "Upotettavan kehyksen maksimileveys pikselein\u00e4.",
"type": "integer",
"default": 600,
"required": false
},
"maxheight": {
"description": "Upotettavan kehyksen maksimikorkeus pikselein\u00e4.",
"type": "integer",
"required": false
},
"discover": {
"description": "Tehd\u00e4\u00e4nk\u00f6 oEmbed-tiedustelukutsu ennalta hyv\u00e4ksym\u00e4tt\u00f6mien palveluntarjoajien palveluihin.",
"type": "boolean",
"default": true,
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/oembed\/1.0\/proxy"
}
]
}
},
"\/akismet\/v1": {
"namespace": "akismet\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"namespace": {
"default": "akismet\/v1",
"required": false
},
"context": {
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/akismet\/v1"
}
]
}
},
"\/akismet\/v1\/key": {
"namespace": "akismet\/v1",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"key": {
"type": "string",
"description": "A 12-character Akismet API key. Available at akismet.com\/get\/",
"required": true
}
}
},
{
"methods": [
"DELETE"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/akismet\/v1\/key"
}
]
}
},
"\/akismet\/v1\/settings": {
"namespace": "akismet\/v1",
"methods": [
"GET",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"akismet_strictness": {
"type": "boolean",
"description": "If true, Akismet will automatically discard the worst spam automatically rather than putting it in the spam folder.",
"required": false
},
"akismet_show_user_comments_approved": {
"type": "boolean",
"description": "If true, show the number of approved comments beside each comment author in the comments list page.",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/akismet\/v1\/settings"
}
]
}
},
"\/akismet\/v1\/stats": {
"namespace": "akismet\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"interval": {
"type": "string",
"description": "The time period for which to retrieve stats. Options: 60-days, 6-months, all",
"default": "all",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/akismet\/v1\/stats"
}
]
}
},
"\/akismet\/v1\/stats\/(?P[\\w+])": {
"namespace": "akismet\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"interval": {
"description": "The time period for which to retrieve stats. Options: 60-days, 6-months, all",
"type": "string",
"required": false
}
}
}
]
},
"\/akismet\/v1\/alert": {
"namespace": "akismet\/v1",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"key": {
"type": "string",
"description": "A 12-character Akismet API key. Available at akismet.com\/get\/",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"key": {
"type": "string",
"description": "A 12-character Akismet API key. Available at akismet.com\/get\/",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"key": {
"type": "string",
"description": "A 12-character Akismet API key. Available at akismet.com\/get\/",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/akismet\/v1\/alert"
}
]
}
},
"\/akismet\/v1\/webhook": {
"namespace": "akismet\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/akismet\/v1\/webhook"
}
]
}
},
"\/rankmath\/v1": {
"namespace": "rankmath\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"namespace": {
"default": "rankmath\/v1",
"required": false
},
"context": {
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1"
}
]
}
},
"\/rankmath\/v1\/saveModule": {
"namespace": "rankmath\/v1",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"module": {
"type": "string",
"description": "Module slug",
"required": true
},
"state": {
"type": "string",
"description": "Module state either on or off",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/saveModule"
}
]
}
},
"\/rankmath\/v1\/autoUpdate": {
"namespace": "rankmath\/v1",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/autoUpdate"
}
]
}
},
"\/rankmath\/v1\/toolsAction": {
"namespace": "rankmath\/v1",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/toolsAction"
}
]
}
},
"\/rankmath\/v1\/updateMode": {
"namespace": "rankmath\/v1",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/updateMode"
}
]
}
},
"\/rankmath\/v1\/dashboardWidget": {
"namespace": "rankmath\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/dashboardWidget"
}
]
}
},
"\/rankmath\/v1\/updateSeoScore": {
"namespace": "rankmath\/v1",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/updateSeoScore"
}
]
}
},
"\/rankmath\/v1\/updateSettings": {
"namespace": "rankmath\/v1",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/updateSettings"
}
]
}
},
"\/rankmath\/v1\/resetSettings": {
"namespace": "rankmath\/v1",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/resetSettings"
}
]
}
},
"\/rankmath\/v1\/disconnectSite": {
"namespace": "rankmath\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"token": {
"type": "string",
"description": "Site token",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/disconnectSite"
}
]
}
},
"\/rankmath\/v1\/getFeaturedImageId": {
"namespace": "rankmath\/v1",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/getFeaturedImageId"
}
]
}
},
"\/rankmath\/v1\/updateRedirection": {
"namespace": "rankmath\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/updateRedirection"
}
]
}
},
"\/rankmath\/v1\/updateMeta": {
"namespace": "rankmath\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"objectType": {
"type": "string",
"description": "Object Type i.e. post, term, user",
"required": true
},
"objectID": {
"type": "integer",
"description": "Object unique id",
"required": true
},
"meta": {
"description": "Meta to add or update data.",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/updateMeta"
}
]
}
},
"\/rankmath\/v1\/updateSchemas": {
"namespace": "rankmath\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"objectType": {
"type": "string",
"description": "Object Type i.e. post, term, user",
"required": true
},
"objectID": {
"type": "integer",
"description": "Object unique id",
"required": true
},
"schemas": {
"description": "schemas to add or update data.",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/updateSchemas"
}
]
}
},
"\/rankmath\/v1\/updateMetaBulk": {
"namespace": "rankmath\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"rows": {
"description": "No meta rows found to update.",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/updateMetaBulk"
}
]
}
},
"\/rankmath\/v1\/saveTemplate": {
"namespace": "rankmath\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"schema": {
"description": "Schema to add.",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/saveTemplate"
}
]
}
},
"\/rankmath\/v1\/getVideoData": {
"namespace": "rankmath\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"objectID": {
"type": "integer",
"description": "Object unique id",
"required": true
},
"url": {
"description": "Video URL.",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/getVideoData"
}
]
}
},
"\/rankmath\/v1\/an": {
"namespace": "rankmath\/v1\/an",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"namespace": {
"default": "rankmath\/v1\/an",
"required": false
},
"context": {
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/an"
}
]
}
},
"\/rankmath\/v1\/an\/getKeywordPages": {
"namespace": "rankmath\/v1\/an",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/an\/getKeywordPages"
}
]
}
},
"\/rankmath\/v1\/an\/postsOverview": {
"namespace": "rankmath\/v1\/an",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/an\/postsOverview"
}
]
}
},
"\/rankmath\/v1\/an\/getTrackedKeywords": {
"namespace": "rankmath\/v1\/an",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/an\/getTrackedKeywords"
}
]
}
},
"\/rankmath\/v1\/an\/getTrackedKeywordsRows": {
"namespace": "rankmath\/v1\/an",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/an\/getTrackedKeywordsRows"
}
]
}
},
"\/rankmath\/v1\/an\/getTrackedKeywordSummary": {
"namespace": "rankmath\/v1\/an",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/an\/getTrackedKeywordSummary"
}
]
}
},
"\/rankmath\/v1\/an\/trackedKeywordsOverview": {
"namespace": "rankmath\/v1\/an",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/an\/trackedKeywordsOverview"
}
]
}
},
"\/rankmath\/v1\/an\/addTrackKeyword": {
"namespace": "rankmath\/v1\/an",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/an\/addTrackKeyword"
}
]
}
},
"\/rankmath\/v1\/an\/autoAddFocusKeywords": {
"namespace": "rankmath\/v1\/an",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/an\/autoAddFocusKeywords"
}
]
}
},
"\/rankmath\/v1\/an\/removeTrackKeyword": {
"namespace": "rankmath\/v1\/an",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/an\/removeTrackKeyword"
}
]
}
},
"\/rankmath\/v1\/an\/deleteTrackedKeywords": {
"namespace": "rankmath\/v1\/an",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/an\/deleteTrackedKeywords"
}
]
}
},
"\/rankmath\/v1\/an\/getPagespeed": {
"namespace": "rankmath\/v1\/an",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/an\/getPagespeed"
}
]
}
},
"\/rankmath\/v1\/an\/postsRows": {
"namespace": "rankmath\/v1\/an",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/an\/postsRows"
}
]
}
},
"\/rankmath\/v1\/an\/inspectionStats": {
"namespace": "rankmath\/v1\/an",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/an\/inspectionStats"
}
]
}
},
"\/rankmath\/v1\/pingSettings": {
"namespace": "rankmath\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/pingSettings"
}
]
}
},
"\/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:\/\/propsbase.com\/fi\/wp-json\/wc\/v3"
}
]
}
},
"\/wc\/v3\/marketplace\/featured": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v3\/marketplace\/featured"
}
]
}
},
"\/wc\/v3\/marketplace\/refresh": {
"namespace": "wc\/v3",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v3\/marketplace\/refresh"
}
]
}
},
"\/wc\/v3\/marketplace\/subscriptions": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/wp-json\/wc\/v3\/marketplace\/subscriptions\/connect"
}
]
}
},
"\/wc\/v3\/marketplace\/subscriptions\/disconnect": {
"namespace": "wc\/v3",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"product_key": {
"type": "string",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/wp-json\/wc\/v3\/marketplace\/create-order"
}
]
}
},
"\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/wp-json\/jetpack\/v4\/verify_xmlrpc_error"
}
]
}
},
"\/jetpack\/v4\/verify_registration": {
"namespace": "jetpack\/v4",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/wp-json\/jetpack\/v4\/remote_authorize"
}
]
}
},
"\/jetpack\/v4\/connection": {
"namespace": "jetpack\/v4",
"methods": [
"GET",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"isActive": {
"description": "Set to false will trigger the site to disconnect.",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/jetpack\/v4\/connection"
}
]
}
},
"\/jetpack\/v4\/connection\/data": {
"namespace": "jetpack\/v4",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/jetpack\/v4\/connection\/data"
}
]
}
},
"\/jetpack\/v4\/connection\/plugins": {
"namespace": "jetpack\/v4",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/wp-json\/jetpack\/v4\/connection\/reconnect"
}
]
}
},
"\/jetpack\/v4\/connection\/register": {
"namespace": "jetpack\/v4",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"from": {
"description": "Indicates where the registration action was triggered for tracking\/segmentation purposes",
"type": "string",
"required": false
},
"registration_nonce": {
"description": "The registration nonce",
"type": "string",
"required": true
},
"redirect_uri": {
"description": "URI of the admin page where the user should be redirected after connection flow",
"type": "string",
"required": false
},
"plugin_slug": {
"description": "Indicates from what plugin the request is coming from",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/wp-json\/jetpack\/v4\/connection\/owner"
}
]
}
},
"\/chinads": {
"namespace": "chinads",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"namespace": {
"default": "chinads",
"required": false
},
"context": {
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/chinads"
}
]
}
},
"\/chinads\/auth\/get_product_sku": {
"namespace": "chinads",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/chinads\/auth\/get_product_sku"
}
]
}
},
"\/chinads\/auth\/request_order": {
"namespace": "chinads",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/chinads\/auth\/request_order"
}
]
}
},
"\/chinads\/auth": {
"namespace": "chinads",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/chinads\/auth"
}
]
}
},
"\/chinads\/auth\/revoke_api_key": {
"namespace": "chinads",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/chinads\/auth\/revoke_api_key"
}
]
}
},
"\/chinads\/auth\/sync": {
"namespace": "chinads",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/chinads\/auth\/sync"
}
]
}
},
"\/chinads\/auth\/get_products_to_update": {
"namespace": "chinads",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/chinads\/auth\/get_products_to_update"
}
]
}
},
"\/chinads\/auth\/update_product": {
"namespace": "chinads",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/chinads\/auth\/update_product"
}
]
}
},
"\/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:\/\/propsbase.com\/fi\/wp-json\/elementor\/v1"
}
]
}
},
"\/elementor\/v1\/site-editor": {
"namespace": "elementor\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/wp-json\/elementor\/v1\/site-editor\/templates-conditions-conflicts"
}
]
}
},
"\/rankmath\/v1\/ca": {
"namespace": "rankmath\/v1\/ca",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"namespace": {
"default": "rankmath\/v1\/ca",
"required": false
},
"context": {
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/ca"
}
]
}
},
"\/rankmath\/v1\/ca\/researchKeyword": {
"namespace": "rankmath\/v1\/ca",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/ca\/researchKeyword"
}
]
}
},
"\/rankmath\/v1\/ca\/getCredits": {
"namespace": "rankmath\/v1\/ca",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/ca\/getCredits"
}
]
}
},
"\/rankmath\/v1\/ca\/createPost": {
"namespace": "rankmath\/v1\/ca",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/ca\/createPost"
}
]
}
},
"\/rankmath\/v1\/ca\/saveOutput": {
"namespace": "rankmath\/v1\/ca",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/ca\/saveOutput"
}
]
}
},
"\/rankmath\/v1\/ca\/deleteOutput": {
"namespace": "rankmath\/v1\/ca",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/ca\/deleteOutput"
}
]
}
},
"\/rankmath\/v1\/ca\/updateRecentPrompt": {
"namespace": "rankmath\/v1\/ca",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/ca\/updateRecentPrompt"
}
]
}
},
"\/rankmath\/v1\/ca\/updatePrompt": {
"namespace": "rankmath\/v1\/ca",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/ca\/updatePrompt"
}
]
}
},
"\/rankmath\/v1\/ca\/savePrompts": {
"namespace": "rankmath\/v1\/ca",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/ca\/savePrompts"
}
]
}
},
"\/rankmath\/v1\/ca\/pingContentAI": {
"namespace": "rankmath\/v1\/ca",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/ca\/pingContentAI"
}
]
}
},
"\/rankmath\/v1\/ca\/migrateuser": {
"namespace": "rankmath\/v1\/ca",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/ca\/migrateuser"
}
]
}
},
"\/rankmath\/v1\/ca\/generateAlt": {
"namespace": "rankmath\/v1\/ca",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/ca\/generateAlt"
}
]
}
},
"\/rankmath\/v1\/ca\/updateCredits": {
"namespace": "rankmath\/v1\/ca",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/ca\/updateCredits"
}
]
}
},
"\/rankmath\/v1\/an\/dashboard": {
"namespace": "rankmath\/v1\/an",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/an\/dashboard"
}
]
}
},
"\/rankmath\/v1\/an\/keywordsOverview": {
"namespace": "rankmath\/v1\/an",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/an\/keywordsOverview"
}
]
}
},
"\/rankmath\/v1\/an\/postsSummary": {
"namespace": "rankmath\/v1\/an",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/an\/postsSummary"
}
]
}
},
"\/rankmath\/v1\/an\/postsRowsByObjects": {
"namespace": "rankmath\/v1\/an",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/an\/postsRowsByObjects"
}
]
}
},
"\/rankmath\/v1\/an\/post\/(?P\\d+)": {
"namespace": "rankmath\/v1\/an",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
]
},
"\/rankmath\/v1\/an\/keywordsSummary": {
"namespace": "rankmath\/v1\/an",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/an\/keywordsSummary"
}
]
}
},
"\/rankmath\/v1\/an\/analyticsSummary": {
"namespace": "rankmath\/v1\/an",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/an\/analyticsSummary"
}
]
}
},
"\/rankmath\/v1\/an\/keywordsRows": {
"namespace": "rankmath\/v1\/an",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/an\/keywordsRows"
}
]
}
},
"\/rankmath\/v1\/an\/userPreferences": {
"namespace": "rankmath\/v1\/an",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/an\/userPreferences"
}
]
}
},
"\/rankmath\/v1\/an\/inspectionResults": {
"namespace": "rankmath\/v1\/an",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/an\/inspectionResults"
}
]
}
},
"\/rankmath\/v1\/an\/removeFrontendStats": {
"namespace": "rankmath\/v1\/an",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/an\/removeFrontendStats"
}
]
}
},
"\/rankmath\/v1\/in": {
"namespace": "rankmath\/v1\/in",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"namespace": {
"default": "rankmath\/v1\/in",
"required": false
},
"context": {
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/in"
}
]
}
},
"\/rankmath\/v1\/in\/submitUrls": {
"namespace": "rankmath\/v1\/in",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/in\/submitUrls"
}
]
}
},
"\/rankmath\/v1\/in\/getLog": {
"namespace": "rankmath\/v1\/in",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/in\/getLog"
}
]
}
},
"\/rankmath\/v1\/in\/clearLog": {
"namespace": "rankmath\/v1\/in",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/in\/clearLog"
}
]
}
},
"\/rankmath\/v1\/in\/resetKey": {
"namespace": "rankmath\/v1\/in",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/rankmath\/v1\/in\/resetKey"
}
]
}
},
"\/woo-orders-tracking\/v1": {
"namespace": "woo-orders-tracking\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"namespace": {
"default": "woo-orders-tracking\/v1",
"required": false
},
"context": {
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/woo-orders-tracking\/v1"
}
]
}
},
"\/woo-orders-tracking\/v1\/tracking\/set": {
"namespace": "woo-orders-tracking\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/woo-orders-tracking\/v1\/tracking\/set"
}
]
}
},
"\/woo-orders-tracking\/v1\/tracking\/get": {
"namespace": "woo-orders-tracking\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/woo-orders-tracking\/v1\/tracking\/get"
}
]
}
},
"\/woocommerce-orders-tracking": {
"namespace": "woocommerce-orders-tracking",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"namespace": {
"default": "woocommerce-orders-tracking",
"required": false
},
"context": {
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/woocommerce-orders-tracking"
}
]
}
},
"\/woocommerce-orders-tracking\/tracktry": {
"namespace": "woocommerce-orders-tracking",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/woocommerce-orders-tracking\/tracktry"
}
]
}
},
"\/wc-paypal\/v1": {
"namespace": "wc-paypal\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"namespace": {
"default": "wc-paypal\/v1",
"required": false
},
"context": {
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-paypal\/v1"
}
]
}
},
"\/wc-paypal\/v1\/onboarding\/get-params": {
"namespace": "wc-paypal\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-paypal\/v1\/onboarding\/get-params"
}
]
}
},
"\/wc-paypal\/v1\/onboarding\/get-status": {
"namespace": "wc-paypal\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-paypal\/v1\/onboarding\/get-status"
}
]
}
},
"\/wc-paypal\/v1\/onboarding\/set-credentials": {
"namespace": "wc-paypal\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-paypal\/v1\/onboarding\/set-credentials"
}
]
}
},
"\/paypal\/v1": {
"namespace": "paypal\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"namespace": {
"default": "paypal\/v1",
"required": false
},
"context": {
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/paypal\/v1"
}
]
}
},
"\/paypal\/v1\/incoming": {
"namespace": "paypal\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/paypal\/v1\/incoming"
}
]
}
},
"\/woocommerce-photo-reviews": {
"namespace": "woocommerce-photo-reviews",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"namespace": {
"default": "woocommerce-photo-reviews",
"required": false
},
"context": {
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/woocommerce-photo-reviews"
}
]
}
},
"\/woocommerce-photo-reviews\/import_reviews": {
"namespace": "woocommerce-photo-reviews",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"product_sku": {
"type": "string",
"description": "",
"required": true
},
"reviews_data": {
"type": "string",
"description": "",
"required": true
},
"require_version": {
"type": "string",
"description": "",
"required": true
},
"secret_key": {
"type": "string",
"description": "",
"required": true
},
"import_from": {
"type": "string",
"description": "",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/woocommerce-photo-reviews\/import_reviews"
}
]
}
},
"\/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:\/\/propsbase.com\/fi\/wp-json\/wc-admin"
}
]
}
},
"\/wc-admin\/notice\/dismiss": {
"namespace": "wc-admin",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-admin\/notice\/dismiss"
}
]
}
},
"\/wc-admin\/features": {
"namespace": "wc-admin",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-admin\/features"
}
]
}
},
"\/wc-admin\/experiments\/assignment": {
"namespace": "wc-admin",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-admin\/experiments\/assignment"
}
]
}
},
"\/wc-admin\/marketing\/recommended": {
"namespace": "wc-admin",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"category": {
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/wp-json\/wc-admin\/marketing\/knowledge-base"
}
]
}
},
"\/wc-admin\/marketing\/overview\/activate-plugin": {
"namespace": "wc-admin",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"plugin": {
"type": "string",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/wp-json\/wc-admin\/marketing\/recommendations"
}
]
}
},
"\/wc-admin\/marketing\/channels": {
"namespace": "wc-admin",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-admin\/marketing\/channels"
}
]
}
},
"\/wc-admin\/marketing\/campaigns": {
"namespace": "wc-admin",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view"
],
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-admin\/marketing\/campaigns"
}
]
}
},
"\/wc-admin\/marketing\/campaign-types": {
"namespace": "wc-admin",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view"
],
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/wp-json\/wc-admin\/options"
}
]
}
},
"\/wc-admin\/payment-gateway-suggestions": {
"namespace": "wc-admin",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"force_default_suggestions": {
"type": "boolean",
"description": "Palauta oletusmaksuehdotukset, kun woocommerce_show_marketplace_suggestions- ja woocommerce_setting_payments_recommendations_hidden-asetuksiksi on asetettu ei",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"pluginzip": {
"description": "Palvelimelle siirrett\u00e4v\u00e4n teeman .zip tiedosto.",
"type": "file",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/wp-json\/wc-admin\/plugins\/install"
}
]
}
},
"\/wc-admin\/plugins\/install\/status": {
"namespace": "wc-admin",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/wp-json\/wc-admin\/plugins\/active"
}
]
}
},
"\/wc-admin\/plugins\/installed": {
"namespace": "wc-admin",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/wp-json\/wc-admin\/plugins\/activate"
}
]
}
},
"\/wc-admin\/plugins\/activate\/status": {
"namespace": "wc-admin",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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": "Tehtiink\u00f6 profiili loppuun saakka vai ei.",
"required": false
},
"skipped": {
"type": "boolean",
"description": "Onko profiili ohitettu vai ei.",
"required": false
},
"industry": {
"type": "array",
"description": "Toimiala.",
"items": {
"type": "object"
},
"required": false
},
"product_types": {
"type": "array",
"description": "Myyt\u00e4vien tuotteiden laji.",
"items": {
"enum": [
"physical",
"downloads",
"subscriptions",
"memberships",
"bookings",
"product-bundles",
"product-add-ons"
],
"type": "string"
},
"required": false
},
"product_count": {
"type": "string",
"description": "Lis\u00e4tt\u00e4vien tuotteiden lukum\u00e4\u00e4r\u00e4.",
"enum": [
"0",
"1-10",
"11-100",
"101-1000",
"1000+"
],
"required": false
},
"selling_venues": {
"type": "string",
"description": "Muut paikat joissa kauppa myy tuotteita.",
"enum": [
"no",
"other",
"brick-mortar",
"brick-mortar-other",
"other-woocommerce"
],
"required": false
},
"number_employees": {
"type": "string",
"description": "Liikkeen ty\u00f6ntekij\u00f6iden lukum\u00e4\u00e4r\u00e4.",
"enum": [
"1",
"<10",
"10-50",
"50-250",
"+250",
"not specified"
],
"required": false
},
"revenue": {
"type": "string",
"description": "Nykyinen kaupan liikevaihto vuodessa.",
"enum": [
"none",
"up-to-2500",
"2500-10000",
"10000-50000",
"50000-250000",
"more-than-250000",
"rather-not-say"
],
"required": false
},
"other_platform": {
"type": "string",
"description": "Muun alustan nimi jolla tuotteita myytiin.",
"enum": [
"shopify",
"bigcommerce",
"magento",
"wix",
"amazon",
"ebay",
"etsy",
"squarespace",
"other"
],
"required": false
},
"other_platform_name": {
"type": "string",
"description": "Muun myyntialustan nimi (ei listattuna).",
"required": false
},
"business_extensions": {
"type": "array",
"description": "Lis\u00e4\u00e4 asennettavia laajennuksia liiketoimintaa varten.",
"items": {
"type": "string"
},
"required": false
},
"theme": {
"type": "string",
"description": "Valittu kaupan teema.",
"required": false
},
"setup_client": {
"type": "boolean",
"description": "Oliko kauppa valmisteltu asiakkaalle vai ei.",
"required": false
},
"wccom_connected": {
"type": "boolean",
"description": "Oliko kauppa yhdistettyn\u00e4 WooCommerce.com -palveluun vai ei, laajennusvirran aikana.",
"required": false
},
"is_agree_marketing": {
"type": "boolean",
"description": "Onko t\u00e4m\u00e4 kauppa suostunut vastaanottamaan markkinointisis\u00e4lt\u00f6\u00e4 WooCommerce.com-sivustolta.",
"required": false
},
"store_email": {
"type": "string",
"description": "Kaupan s\u00e4hk\u00f6postiosoite.",
"required": false
},
"is_store_country_set": {
"type": "boolean",
"description": "Onko t\u00e4m\u00e4 kaupan maa asetettu aloitusprofilerin kautta.",
"required": false
},
"is_plugins_page_skipped": {
"type": "boolean",
"description": "Ohittiinko laajennusvaihe ydinprofiloijassa vai ei.",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/wp-json\/wc-admin\/onboarding\/profile\/experimental_get_email_prefill"
}
]
}
},
"\/wc-admin\/onboarding\/tasks\/import_sample_products": {
"namespace": "wc-admin",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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": "Tuotepohjan nimi.",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Valinnainen parametri saadaksesi vain tietyt teht\u00e4v\u00e4luettelot tunnuksen mukaan.",
"type": "array",
"items": {
"enum": [
"setup",
"extended",
"secret_tasklist"
],
"type": "string"
},
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"ids": {
"description": "Valinnainen parametri saadaksesi vain tietyt teht\u00e4v\u00e4luettelot tunnuksen mukaan.",
"type": "array",
"items": {
"enum": [
"setup",
"extended",
"secret_tasklist"
],
"type": "string"
},
"required": false
},
"extended_tasks": {
"description": "Luettelo laajennetuista vanhentuneista teht\u00e4vist\u00e4 asiakaspuolen suodattimesta.",
"type": "array",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Aikajakso teht\u00e4v\u00e4n torkkumiseen.",
"type": "string",
"required": false
},
"task_list_id": {
"description": "Valinnainen parametri tietyn teht\u00e4v\u00e4luettelon kyselyyn.",
"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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/wp-json\/wc-admin\/onboarding\/themes\/activate"
}
]
}
},
"\/wc-admin\/onboarding\/themes\/recommended": {
"namespace": "wc-admin",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"industry": {
"type": "string",
"description": "Limits the results to themes relevant for this industry (optional)",
"required": false
},
"currency": {
"type": "string",
"enum": [
"USD",
"AUD",
"CAD",
"EUR",
"GBP"
],
"default": "USD",
"description": "Returns pricing in this currency (optional, default: USD)",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-admin\/onboarding\/themes\/recommended"
}
]
}
},
"\/wc-admin\/onboarding\/plugins\/install-and-activate-async": {
"namespace": "wc-admin",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"plugins": {
"description": "A list of plugins to install",
"type": "array",
"items": "string",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/wp-json\/wc-admin\/onboarding\/products"
}
]
}
},
"\/wc-admin\/navigation\/favorites\/me": {
"namespace": "wc-admin",
"methods": [
"GET",
"POST",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
},
{
"methods": [
"POST"
],
"args": {
"item_id": {
"required": true
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"item_id": {
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-admin\/navigation\/favorites\/me"
}
]
}
},
"\/wc-admin\/mobile-app\/send-magic-link": {
"namespace": "wc-admin",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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": "Palauta oletusarvoiset toimituskumppaniehdotukset, kun woocommerce_show_marketplace_suggestions-asetukseksi on asetettu ei",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-admin\/shipping-partner-suggestions"
}
]
}
},
"\/wc-admin\/launch-your-store\/initialize-coming-soon": {
"namespace": "wc-admin",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/wp-json\/wc-admin\/launch-your-store\/woopayments\/test-orders"
}
]
}
},
"\/wc-analytics": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"namespace": {
"default": "wc-analytics",
"required": false
},
"context": {
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics"
}
]
}
},
"\/wc-analytics\/customers": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date_registered",
"enum": [
"username",
"name",
"country",
"city",
"state",
"postcode",
"date_registered",
"date_last_active",
"orders_count",
"total_spend",
"avg_order_value"
],
"required": false
},
"force_cache_refresh": {
"description": "Pakota uusien tietojen hakeminen v\u00e4limuistista.",
"type": "boolean",
"required": false
},
"registered_before": {
"description": "Rajoita tulokset kohteisiin jotka rekister\u00f6ity aiemmin tai sama kuin p\u00e4iv\u00e4ys annettuna ISO8601 muodossa.",
"type": "string",
"format": "date-time",
"required": false
},
"registered_after": {
"description": "Rajoita tulokset kohteisiin jotka rekister\u00f6ity my\u00f6hemmin tai sama kuin p\u00e4iv\u00e4ys annettuna ISO8601 muodossa.",
"type": "string",
"format": "date-time",
"required": false
},
"match": {
"description": "Ilmaisee pit\u00e4isik\u00f6 kaikkien olla tosi vastausjoukossa tai jos joku niist\u00e4 on riitt\u00e4v\u00e4. Etsint\u00e4 vaikuttaa seuraaviin parametreihin: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories",
"type": "string",
"default": "all",
"enum": [
"all",
"any"
],
"required": false
},
"search": {
"description": "Rajoita vastaus kohteisiin joissa asiakas kentt\u00e4 sis\u00e4lt\u00e4\u00e4 etsityn sanan. Etsii kent\u00e4st\u00e4 joka annettu kohdassa `searchby` (etsi t\u00e4\u00e4lt\u00e4).",
"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": "Rajoita vastaus objekteihin, joilla on tietyt nimet.",
"type": "string",
"required": false
},
"name_excludes": {
"description": "Rajoita vastaus objekteihin tiettyj\u00e4 nimi\u00e4 lukuun ottamatta.",
"type": "string",
"required": false
},
"username_includes": {
"description": "Rajoita vastaus objekteihin, joilla on tietyt k\u00e4ytt\u00e4j\u00e4tunnukset.",
"type": "string",
"required": false
},
"username_excludes": {
"description": "Rajoita vastaukset objekteihin, ei tiettyj\u00e4 k\u00e4ytt\u00e4j\u00e4nimi\u00e4.",
"type": "string",
"required": false
},
"email_includes": {
"description": "Rajoita vastaus kohteisiin joissa sis\u00e4llytet\u00e4\u00e4n s\u00e4hk\u00f6posteja.",
"type": "string",
"required": false
},
"email_excludes": {
"description": "Rajoita vastaus kohteisiin joissa sivuutetaan s\u00e4hk\u00f6posteja.",
"type": "string",
"required": false
},
"country_includes": {
"description": "Rajoita vastetta tiettyjen maiden esineisiin.",
"type": "string",
"required": false
},
"country_excludes": {
"description": "Rajoita vastaus objekteihin tiettyj\u00e4 maita lukuun ottamatta.",
"type": "string",
"required": false
},
"last_active_before": {
"description": "Rajoita vastaus kohteisiin jotka viimeksi aktiivisia aiemmin tai sama kuin p\u00e4iv\u00e4ys annettuna ISO8601 muodossa.",
"type": "string",
"format": "date-time",
"required": false
},
"last_active_after": {
"description": "Rajoita vastaus kohteisiin jotka viimeksi aktiivisia my\u00f6hemmin tai sama kuin p\u00e4iv\u00e4ys annettuna ISO8601 muodossa.",
"type": "string",
"format": "date-time",
"required": false
},
"last_active_between": {
"description": "Rajoita vastaus kohteisiin jotka viimeksi aktiivisia kahden ISO8601 muodossa annetun p\u00e4iv\u00e4yksen v\u00e4lisen\u00e4 aikana.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"registered_between": {
"description": "Rajoita vastaus kohteisiin jotka viimeksi aktiivisia kahden ISO8601 muodossa annetun p\u00e4iv\u00e4yksen v\u00e4lisen\u00e4 aikana.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"orders_count_min": {
"description": "Rajoita vastaus kohteisiin joissa tilausten lukum\u00e4\u00e4r\u00e4 on enemm\u00e4n kuin tai sama kuin annettu luku.",
"type": "integer",
"required": false
},
"orders_count_max": {
"description": "Rajoita vastaus kohteisiin joissa tilausten lukum\u00e4\u00e4r\u00e4 on v\u00e4hemm\u00e4n kuin tai sama kuin annettu luku.",
"type": "integer",
"required": false
},
"orders_count_between": {
"description": "Rajoita vastaus kohteisiin joissa tilausten lukum\u00e4\u00e4r\u00e4 on kahden annetun luvun v\u00e4liss\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"total_spend_min": {
"description": "Rajoita vastaus kohteisiin joissa tilauksen kokonaiskulutus on enemm\u00e4n kuin tai sama kuin annettu luku.",
"type": "number",
"required": false
},
"total_spend_max": {
"description": "Rajoita vastaus kohteisiin joissa tilauksen kokonaiskulutus on v\u00e4hemm\u00e4n kuin tai sama kuin annettu luku.",
"type": "number",
"required": false
},
"total_spend_between": {
"description": "Rajoita vastaus kohteisiin joissa tilauksen kokonaiskulutus on kahden annetun luvun v\u00e4liss\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"avg_order_value_min": {
"description": "Rajoita vastaus kohteisiin joissa tilauksen keskim\u00e4\u00e4r\u00e4inen arvo on enemm\u00e4n kuin tai sama kuin annettu luku.",
"type": "number",
"required": false
},
"avg_order_value_max": {
"description": "Rajoita vastaus kohteisiin joissa tilauksen keskim\u00e4\u00e4r\u00e4inen arvo on v\u00e4hemm\u00e4n kuin tai sama kuin annettu luku.",
"type": "number",
"required": false
},
"avg_order_value_between": {
"description": "Rajoita vastaus kohteisiin joissa tilauksen keskim\u00e4\u00e4r\u00e4inen arvo on kahden annetun luvun v\u00e4liss\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"last_order_before": {
"description": "Rajoita vastaus kohteisiin joiden viimeisin tilaus on ennen tai sama kuin p\u00e4iv\u00e4ys annettuna ISO8601 muodossa.",
"type": "string",
"format": "date-time",
"required": false
},
"last_order_after": {
"description": "Rajoita vastaus kohteisiin joiden viimeisin tilaus on joko my\u00f6hemmin tai sama kuin p\u00e4iv\u00e4ys annettuna ISO8601 muodossa.",
"type": "string",
"format": "date-time",
"required": false
},
"users": {
"description": "Rajoita tulos kohteiksi, joilla on m\u00e4\u00e4ritetty k\u00e4ytt\u00e4j\u00e4tunnus.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"filter_empty": {
"description": "Suodata tulokset, jos jokin hyv\u00e4ksytyist\u00e4 kentist\u00e4 on tyhj\u00e4",
"type": "array",
"items": {
"type": "string",
"enum": [
"email",
"name",
"country",
"city",
"state",
"postcode"
]
},
"required": false
},
"include": {
"description": "Rajoita tulokset kohteisiin joissa tietty asiakastunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/customers"
}
]
}
},
"\/wc-analytics\/customers\/(?P[\\d-]+)": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Muista poikkeava tunnus\/ID resurssille.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date_registered",
"enum": [
"username",
"name",
"country",
"city",
"state",
"postcode",
"date_registered",
"date_last_active",
"orders_count",
"total_spend",
"avg_order_value"
],
"required": false
},
"force_cache_refresh": {
"description": "Pakota uusien tietojen hakeminen v\u00e4limuistista.",
"type": "boolean",
"required": false
},
"registered_before": {
"description": "Rajoita tulokset kohteisiin jotka rekister\u00f6ity aiemmin tai sama kuin p\u00e4iv\u00e4ys annettuna ISO8601 muodossa.",
"type": "string",
"format": "date-time",
"required": false
},
"registered_after": {
"description": "Rajoita tulokset kohteisiin jotka rekister\u00f6ity my\u00f6hemmin tai sama kuin p\u00e4iv\u00e4ys annettuna ISO8601 muodossa.",
"type": "string",
"format": "date-time",
"required": false
},
"match": {
"description": "Ilmaisee pit\u00e4isik\u00f6 kaikkien olla tosi vastausjoukossa tai jos joku niist\u00e4 on riitt\u00e4v\u00e4. Etsint\u00e4 vaikuttaa seuraaviin parametreihin: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories",
"type": "string",
"default": "all",
"enum": [
"all",
"any"
],
"required": false
},
"search": {
"description": "Rajoita vastaus kohteisiin joissa asiakas kentt\u00e4 sis\u00e4lt\u00e4\u00e4 etsityn sanan. Etsii kent\u00e4st\u00e4 joka annettu kohdassa `searchby` (etsi t\u00e4\u00e4lt\u00e4).",
"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": "Rajoita vastaus objekteihin, joilla on tietyt nimet.",
"type": "string",
"required": false
},
"name_excludes": {
"description": "Rajoita vastaus objekteihin tiettyj\u00e4 nimi\u00e4 lukuun ottamatta.",
"type": "string",
"required": false
},
"username_includes": {
"description": "Rajoita vastaus objekteihin, joilla on tietyt k\u00e4ytt\u00e4j\u00e4tunnukset.",
"type": "string",
"required": false
},
"username_excludes": {
"description": "Rajoita vastaukset objekteihin, ei tiettyj\u00e4 k\u00e4ytt\u00e4j\u00e4nimi\u00e4.",
"type": "string",
"required": false
},
"email_includes": {
"description": "Rajoita vastaus kohteisiin joissa sis\u00e4llytet\u00e4\u00e4n s\u00e4hk\u00f6posteja.",
"type": "string",
"required": false
},
"email_excludes": {
"description": "Rajoita vastaus kohteisiin joissa sivuutetaan s\u00e4hk\u00f6posteja.",
"type": "string",
"required": false
},
"country_includes": {
"description": "Rajoita vastetta tiettyjen maiden esineisiin.",
"type": "string",
"required": false
},
"country_excludes": {
"description": "Rajoita vastaus objekteihin tiettyj\u00e4 maita lukuun ottamatta.",
"type": "string",
"required": false
},
"last_active_before": {
"description": "Rajoita vastaus kohteisiin jotka viimeksi aktiivisia aiemmin tai sama kuin p\u00e4iv\u00e4ys annettuna ISO8601 muodossa.",
"type": "string",
"format": "date-time",
"required": false
},
"last_active_after": {
"description": "Rajoita vastaus kohteisiin jotka viimeksi aktiivisia my\u00f6hemmin tai sama kuin p\u00e4iv\u00e4ys annettuna ISO8601 muodossa.",
"type": "string",
"format": "date-time",
"required": false
},
"last_active_between": {
"description": "Rajoita vastaus kohteisiin jotka viimeksi aktiivisia kahden ISO8601 muodossa annetun p\u00e4iv\u00e4yksen v\u00e4lisen\u00e4 aikana.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"registered_between": {
"description": "Rajoita vastaus kohteisiin jotka viimeksi aktiivisia kahden ISO8601 muodossa annetun p\u00e4iv\u00e4yksen v\u00e4lisen\u00e4 aikana.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"orders_count_min": {
"description": "Rajoita vastaus kohteisiin joissa tilausten lukum\u00e4\u00e4r\u00e4 on enemm\u00e4n kuin tai sama kuin annettu luku.",
"type": "integer",
"required": false
},
"orders_count_max": {
"description": "Rajoita vastaus kohteisiin joissa tilausten lukum\u00e4\u00e4r\u00e4 on v\u00e4hemm\u00e4n kuin tai sama kuin annettu luku.",
"type": "integer",
"required": false
},
"orders_count_between": {
"description": "Rajoita vastaus kohteisiin joissa tilausten lukum\u00e4\u00e4r\u00e4 on kahden annetun luvun v\u00e4liss\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"total_spend_min": {
"description": "Rajoita vastaus kohteisiin joissa tilauksen kokonaiskulutus on enemm\u00e4n kuin tai sama kuin annettu luku.",
"type": "number",
"required": false
},
"total_spend_max": {
"description": "Rajoita vastaus kohteisiin joissa tilauksen kokonaiskulutus on v\u00e4hemm\u00e4n kuin tai sama kuin annettu luku.",
"type": "number",
"required": false
},
"total_spend_between": {
"description": "Rajoita vastaus kohteisiin joissa tilauksen kokonaiskulutus on kahden annetun luvun v\u00e4liss\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"avg_order_value_min": {
"description": "Rajoita vastaus kohteisiin joissa tilauksen keskim\u00e4\u00e4r\u00e4inen arvo on enemm\u00e4n kuin tai sama kuin annettu luku.",
"type": "number",
"required": false
},
"avg_order_value_max": {
"description": "Rajoita vastaus kohteisiin joissa tilauksen keskim\u00e4\u00e4r\u00e4inen arvo on v\u00e4hemm\u00e4n kuin tai sama kuin annettu luku.",
"type": "number",
"required": false
},
"avg_order_value_between": {
"description": "Rajoita vastaus kohteisiin joissa tilauksen keskim\u00e4\u00e4r\u00e4inen arvo on kahden annetun luvun v\u00e4liss\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"last_order_before": {
"description": "Rajoita vastaus kohteisiin joiden viimeisin tilaus on ennen tai sama kuin p\u00e4iv\u00e4ys annettuna ISO8601 muodossa.",
"type": "string",
"format": "date-time",
"required": false
},
"last_order_after": {
"description": "Rajoita vastaus kohteisiin joiden viimeisin tilaus on joko my\u00f6hemmin tai sama kuin p\u00e4iv\u00e4ys annettuna ISO8601 muodossa.",
"type": "string",
"format": "date-time",
"required": false
},
"users": {
"description": "Rajoita tulos kohteiksi, joilla on m\u00e4\u00e4ritetty k\u00e4ytt\u00e4j\u00e4tunnus.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"filter_empty": {
"description": "Suodata tulokset, jos jokin hyv\u00e4ksytyist\u00e4 kentist\u00e4 on tyhj\u00e4",
"type": "array",
"items": {
"type": "string",
"enum": [
"email",
"name",
"country",
"city",
"state",
"postcode"
]
},
"required": false
},
"include": {
"description": "Rajoita tulokset kohteisiin joissa tietty asiakastunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
}
}
}
]
},
"\/wc-analytics\/leaderboards": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 5,
"minimum": 1,
"maximum": 20,
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"persisted_query": {
"description": "Verkko-osoite\/URL kysely joka s\u00e4ilyy linkeiss\u00e4.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/leaderboards"
}
]
}
},
"\/wc-analytics\/leaderboards\/allowed": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 5,
"minimum": 1,
"maximum": 20,
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"persisted_query": {
"description": "Verkko-osoite\/URL kysely joka s\u00e4ilyy linkeiss\u00e4.",
"type": "string",
"required": false
}
}
}
]
},
"\/wc-analytics\/reports": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/reports"
}
]
}
},
"\/wc-analytics\/reports\/import": {
"namespace": "wc-analytics",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"days": {
"description": "Tuotavien p\u00e4ivien lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"minimum": 0,
"required": false
},
"skip_existing": {
"description": "Ohita olemassa olevien tilausten tietojen tuonti.",
"type": "boolean",
"default": false,
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/reports\/import\/status"
}
]
}
},
"\/wc-analytics\/reports\/import\/totals": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"days": {
"description": "Tuotavien p\u00e4ivien lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"minimum": 0,
"required": false
},
"skip_existing": {
"description": "Ohita olemassa olevien tilausten tietojen tuonti.",
"type": "boolean",
"default": false,
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Viet\u00e4v\u00e4\u00e4n raporttiin sis\u00e4llytet\u00e4\u00e4n parametrit.",
"type": "object",
"required": false
},
"email": {
"description": "Kun tosi, l\u00e4het\u00e4 s\u00e4hk\u00f6postilla viennin latauslinkki sit\u00e4 pyyt\u00e4neelle k\u00e4ytt\u00e4j\u00e4lle.",
"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": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"net_revenue",
"orders_count",
"items_sold",
"product_name",
"variations",
"sku"
],
"required": false
},
"force_cache_refresh": {
"description": "Pakota uusien tietojen hakeminen v\u00e4limuistista.",
"type": "boolean",
"required": false
},
"categories": {
"description": "Rajoita vastaus kohteisiin tietyist\u00e4 osastoista.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"match": {
"description": "Ilmaisee pit\u00e4isik\u00f6 kaikkien olla tosi vastausjoukossa tai jos joku niist\u00e4 on riitt\u00e4v\u00e4. Etsint\u00e4 vaikuttaa seuraaviin parametreihin: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories",
"type": "string",
"default": "all",
"enum": [
"all",
"any"
],
"required": false
},
"products": {
"description": "Rajoita vastaus kohteisiin joilla on tiettyj\u00e4 tuotetunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"extended_info": {
"description": "Lis\u00e4\u00e4 tieto jokaisesta tuotteesta raporttiin.",
"type": "boolean",
"default": false,
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/reports\/products"
}
]
}
},
"\/wc-analytics\/reports\/variations": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"match": {
"description": "Ilmaisee pit\u00e4isik\u00f6 kaikkien olla tosi vastausjoukossa tai jos joku niist\u00e4 on riitt\u00e4v\u00e4. Etsint\u00e4 vaikuttaa seuraaviin parametreihin: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories",
"type": "string",
"default": "all",
"enum": [
"all",
"any"
],
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"net_revenue",
"orders_count",
"items_sold",
"sku"
],
"required": false
},
"product_includes": {
"description": "Rajoita tulosjoukko tuotteisiin, joilla on m\u00e4\u00e4ritetyt p\u00e4\u00e4tuotteet.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"product_excludes": {
"description": "Rajoita tulosjoukko tuotteisiin, joilla ei ole m\u00e4\u00e4ritettyj\u00e4 p\u00e4\u00e4tuotteita.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"variations": {
"description": "Rajoita vastaus kohteisiin joilla on tiettyj\u00e4 muunnelman tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"extended_info": {
"description": "Lis\u00e4\u00e4 raporttiin lis\u00e4tietoja kustakin muunnelmasta.",
"type": "boolean",
"default": false,
"required": false
},
"attribute_is": {
"description": "Rajoita tulosjoukko muunnelmiin, jotka sis\u00e4lt\u00e4v\u00e4t m\u00e4\u00e4ritetyt attribuutit.",
"type": "array",
"items": {
"type": "array"
},
"default": [],
"required": false
},
"attribute_is_not": {
"description": "Rajoita tulosjoukko muunnelmiin, jotka eiv\u00e4t sis\u00e4ll\u00e4 m\u00e4\u00e4ritettyj\u00e4 attribuutteja.",
"type": "array",
"items": {
"type": "array"
},
"default": [],
"required": false
},
"category_includes": {
"description": "Rajoita tulosjoukko m\u00e4\u00e4ritettyjen luokkien muunnelmiin.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"category_excludes": {
"description": "Rajoita tulosjoukko muunnelmiin, jotka eiv\u00e4t kuulu m\u00e4\u00e4ritettyihin luokkiin.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"force_cache_refresh": {
"description": "Pakota uusien tietojen hakeminen v\u00e4limuistista.",
"type": "boolean",
"required": false
},
"products": {
"description": "Rajoita vastaus kohteisiin joilla on tiettyj\u00e4 tuotetunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/reports\/variations"
}
]
}
},
"\/wc-analytics\/reports\/products\/stats": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"net_revenue",
"coupons",
"refunds",
"shipping",
"taxes",
"net_revenue",
"orders_count",
"items_sold"
],
"required": false
},
"force_cache_refresh": {
"description": "Pakota uusien tietojen hakeminen v\u00e4limuistista.",
"type": "boolean",
"required": false
},
"interval": {
"description": "Aikav\u00e4li jota k\u00e4ytet\u00e4\u00e4n vastaustietojoukkojen (saapumisen) v\u00e4lill\u00e4.",
"type": "string",
"default": "week",
"enum": [
"hour",
"day",
"week",
"month",
"quarter",
"year"
],
"required": false
},
"categories": {
"description": "Rajoita vastaus kohteisiin tietyist\u00e4 osastoista.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"products": {
"description": "Rajoita vastaus kohteisiin joilla on tiettyj\u00e4 tuotetunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"variations": {
"description": "Rajoita vastaus kohteisiin joilla on tiettyj\u00e4 muunnelman tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"segmentby": {
"description": "Jaa vastaus osiin lis\u00e4rajoitteella.",
"type": "string",
"enum": [
"product",
"category",
"variation"
],
"required": false
},
"fields": {
"description": "Rajaa tilastojen kent\u00e4t m\u00e4\u00e4riteltyihin nimikkeisiin",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/reports\/products\/stats"
}
]
}
},
"\/wc-analytics\/reports\/variations\/stats": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"net_revenue",
"coupons",
"refunds",
"shipping",
"taxes",
"net_revenue",
"orders_count",
"items_sold"
],
"required": false
},
"force_cache_refresh": {
"description": "Pakota uusien tietojen hakeminen v\u00e4limuistista.",
"type": "boolean",
"required": false
},
"interval": {
"description": "Aikav\u00e4li jota k\u00e4ytet\u00e4\u00e4n vastaustietojoukkojen (saapumisen) v\u00e4lill\u00e4.",
"type": "string",
"default": "week",
"enum": [
"hour",
"day",
"week",
"month",
"quarter",
"year"
],
"required": false
},
"match": {
"description": "Ilmaisee pit\u00e4isik\u00f6 kaikkien olla tosi vastausjoukossa tai jos joku niist\u00e4 on riitt\u00e4v\u00e4. Etsint\u00e4 vaikuttaa seuraaviin parametreihin: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories",
"type": "string",
"default": "all",
"enum": [
"all",
"any"
],
"required": false
},
"category_includes": {
"description": "Rajoita vastaus kohteisiin tietyist\u00e4 osastoista.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"category_excludes": {
"description": "Rajoita tulosjoukko muunnelmiin, jotka eiv\u00e4t kuulu m\u00e4\u00e4ritettyihin luokkiin.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"product_includes": {
"description": "Rajoita tulosjoukko tuotteisiin, joilla on m\u00e4\u00e4ritetyt p\u00e4\u00e4tuotteet.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"product_excludes": {
"description": "Rajoita tulosjoukko tuotteisiin, joilla ei ole m\u00e4\u00e4ritettyj\u00e4 p\u00e4\u00e4tuotteita.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"variations": {
"description": "Rajoita vastaus kohteisiin joilla on tiettyj\u00e4 muunnelman tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"segmentby": {
"description": "Jaa vastaus osiin lis\u00e4rajoitteella.",
"type": "string",
"enum": [
"product",
"category",
"variation"
],
"required": false
},
"fields": {
"description": "Rajaa tilastojen kent\u00e4t m\u00e4\u00e4riteltyihin nimikkeisiin",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"attribute_is": {
"description": "Rajoita tulosjoukko tilauksiin, jotka sis\u00e4lt\u00e4v\u00e4t m\u00e4\u00e4ritetyill\u00e4 m\u00e4\u00e4ritteill\u00e4 varustettuja tuotteita.",
"type": "array",
"items": {
"type": "array"
},
"default": [],
"required": false
},
"attribute_is_not": {
"description": "Rajoita tulosjoukko tilauksiin, jotka eiv\u00e4t sis\u00e4ll\u00e4 m\u00e4\u00e4ritetyill\u00e4 m\u00e4\u00e4ritteill\u00e4 varustettuja tuotteita.",
"type": "array",
"items": {
"type": "array"
},
"default": [],
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/reports\/variations\/stats"
}
]
}
},
"\/wc-analytics\/reports\/revenue\/stats": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"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": "Pakota uusien tietojen hakeminen v\u00e4limuistista.",
"type": "boolean",
"required": false
},
"interval": {
"description": "Aikav\u00e4li jota k\u00e4ytet\u00e4\u00e4n vastaustietojoukkojen (saapumisen) v\u00e4lill\u00e4.",
"type": "string",
"default": "week",
"enum": [
"hour",
"day",
"week",
"month",
"quarter",
"year"
],
"required": false
},
"segmentby": {
"description": "Jaa vastaus osiin lis\u00e4rajoitteella.",
"type": "string",
"enum": [
"product",
"category",
"variation",
"coupon",
"customer_type"
],
"required": false
},
"date_type": {
"description": "Override the \"woocommerce_date_type\" option that is used for the database date field considered for revenue reports.",
"type": "string",
"enum": [
"date_paid",
"date_created",
"date_completed"
],
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/reports\/revenue\/stats"
}
]
}
},
"\/wc-analytics\/reports\/orders": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 0,
"maximum": 100,
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"num_items_sold",
"net_total"
],
"required": false
},
"product_includes": {
"description": "Rajoita vastaus kohteisiin joihin on kohdistettu tietty tuote(tuotteita).",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"product_excludes": {
"description": "Rajoita vastaus kohteisiin joihin ei ole kohdistettu tietty\u00e4 tuotetta(tuotteita).",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"variation_includes": {
"description": "Rajoita tulosjoukko kohteiksi, joille on m\u00e4\u00e4ritetty m\u00e4\u00e4ritetyt muunnelmat.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"variation_excludes": {
"description": "Rajoita tulosjoukko tuotteisiin, joille ei ole m\u00e4\u00e4ritetty m\u00e4\u00e4ritettyj\u00e4 muunnelmia.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"coupon_includes": {
"description": "Rajoita vastaus kohteisiin joille on kohdistettu tietty kuponki.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"coupon_excludes": {
"description": "Rajoita vastaus kohteisiin joille ei ole kohdistettu tietty\u00e4 kuponkia.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"tax_rate_includes": {
"description": "Rajoita vastaus kohteisiin joille on kohdistettu tietty veron m\u00e4\u00e4r\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"tax_rate_excludes": {
"description": "Rajoita vastaus kohteisiin joille ei ole kohdistettu tietty\u00e4 veron m\u00e4\u00e4r\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"status_is": {
"description": "Rajoita vastaus kohteisiin joilla on tietty tilauksen tila.",
"type": "array",
"items": {
"enum": [
"any",
"trash",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"type": "string"
},
"required": false
},
"status_is_not": {
"description": "Rajoita vastaus kohteisiin joilla ei ole tietty\u00e4 tilauksen tilaa.",
"type": "array",
"items": {
"enum": [
"any",
"trash",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"type": "string"
},
"required": false
},
"customer_type": {
"description": "Rajoita vastaus joko toistuviin tai uusiin asiakkaisiin.",
"type": "string",
"default": "",
"enum": [
"",
"returning",
"new"
],
"required": false
},
"refunds": {
"description": "Rajoita vastaus tietynlaisiin hyvityksiin.",
"type": "string",
"default": "",
"enum": [
"",
"all",
"partial",
"full",
"none"
],
"required": false
},
"extended_info": {
"description": "Lis\u00e4\u00e4 tieto jokaisesta kupongista raporttiin.",
"type": "boolean",
"default": false,
"required": false
},
"order_includes": {
"description": "Rajoita vastaus kohteisiin joilla on tietty tilauksen tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"order_excludes": {
"description": "Rajoita vastaus kohteisiin joilla ei ole tietty\u00e4 tilauksen tunnusta\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"attribute_is": {
"description": "Rajoita tulosjoukko tilauksiin, jotka sis\u00e4lt\u00e4v\u00e4t m\u00e4\u00e4ritetyill\u00e4 m\u00e4\u00e4ritteill\u00e4 varustettuja tuotteita.",
"type": "array",
"items": {
"type": "array"
},
"default": [],
"required": false
},
"attribute_is_not": {
"description": "Rajoita tulosjoukko tilauksiin, jotka eiv\u00e4t sis\u00e4ll\u00e4 m\u00e4\u00e4ritetyill\u00e4 m\u00e4\u00e4ritteill\u00e4 varustettuja tuotteita.",
"type": "array",
"items": {
"type": "array"
},
"default": [],
"required": false
},
"force_cache_refresh": {
"description": "Pakota uusien tietojen hakeminen v\u00e4limuistista.",
"type": "boolean",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/reports\/orders"
}
]
}
},
"\/wc-analytics\/reports\/orders\/stats": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"net_revenue",
"orders_count",
"avg_order_value"
],
"required": false
},
"interval": {
"description": "Aikav\u00e4li jota k\u00e4ytet\u00e4\u00e4n vastaustietojoukkojen (saapumisen) v\u00e4lill\u00e4.",
"type": "string",
"default": "week",
"enum": [
"hour",
"day",
"week",
"month",
"quarter",
"year"
],
"required": false
},
"match": {
"description": "Ilmaisee pit\u00e4isik\u00f6 kaikkien olla tosi vastausjoukossa tai jos joku niist\u00e4 on riitt\u00e4v\u00e4. Etsint\u00e4 vaikuttaa seuraaviin parametreihin: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories",
"type": "string",
"default": "all",
"enum": [
"all",
"any"
],
"required": false
},
"status_is": {
"description": "Rajoita vastaus kohteisiin joilla on tietty tilauksen tila.",
"type": "array",
"default": null,
"items": {
"enum": [
"any",
"trash",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"type": "string"
},
"required": false
},
"status_is_not": {
"description": "Rajoita vastaus kohteisiin joilla ei ole tietty\u00e4 tilauksen tilaa.",
"type": "array",
"items": {
"enum": [
"any",
"trash",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"type": "string"
},
"required": false
},
"product_includes": {
"description": "Rajoita vastaus kohteisiin joihin on kohdistettu tietty tuote(tuotteita).",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"product_excludes": {
"description": "Rajoita vastaus kohteisiin joihin ei ole kohdistettu tietty\u00e4 tuotetta(tuotteita).",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"variation_includes": {
"description": "Rajoita tulosjoukko kohteiksi, joille on m\u00e4\u00e4ritetty m\u00e4\u00e4ritetyt muunnelmat.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"variation_excludes": {
"description": "Rajoita tulosjoukko tuotteisiin, joille ei ole m\u00e4\u00e4ritetty m\u00e4\u00e4ritettyj\u00e4 muunnelmia.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"coupon_includes": {
"description": "Rajoita vastaus kohteisiin joille on kohdistettu tietty kuponki.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"coupon_excludes": {
"description": "Rajoita vastaus kohteisiin joille ei ole kohdistettu tietty\u00e4 kuponkia.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"tax_rate_includes": {
"description": "Rajoita vastaus kohteisiin joille on kohdistettu tietty veron m\u00e4\u00e4r\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"tax_rate_excludes": {
"description": "Rajoita vastaus kohteisiin joille ei ole kohdistettu tietty\u00e4 veron m\u00e4\u00e4r\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"customer": {
"description": "Asiakkaan_tyypin alias (poistettu k\u00e4yt\u00f6st\u00e4).",
"type": "string",
"enum": [
"new",
"returning"
],
"required": false
},
"customer_type": {
"description": "Rajoita tulosjoukko tilauksiin, joilla on m\u00e4\u00e4ritetty asiakastyyppi",
"type": "string",
"enum": [
"new",
"returning"
],
"required": false
},
"refunds": {
"description": "Rajoita vastaus tietynlaisiin hyvityksiin.",
"type": "string",
"default": "",
"enum": [
"",
"all",
"partial",
"full",
"none"
],
"required": false
},
"attribute_is": {
"description": "Rajoita tulosjoukko tilauksiin, jotka sis\u00e4lt\u00e4v\u00e4t m\u00e4\u00e4ritetyill\u00e4 m\u00e4\u00e4ritteill\u00e4 varustettuja tuotteita.",
"type": "array",
"items": {
"type": "array"
},
"default": [],
"required": false
},
"attribute_is_not": {
"description": "Rajoita tulosjoukko tilauksiin, jotka eiv\u00e4t sis\u00e4ll\u00e4 m\u00e4\u00e4ritetyill\u00e4 m\u00e4\u00e4ritteill\u00e4 varustettuja tuotteita.",
"type": "array",
"items": {
"type": "array"
},
"default": [],
"required": false
},
"segmentby": {
"description": "Jaa vastaus osiin lis\u00e4rajoitteella.",
"type": "string",
"enum": [
"product",
"category",
"variation",
"coupon",
"customer_type"
],
"required": false
},
"fields": {
"description": "Rajaa tilastojen kent\u00e4t m\u00e4\u00e4riteltyihin nimikkeisiin",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"force_cache_refresh": {
"description": "Pakota uusien tietojen hakeminen v\u00e4limuistista.",
"type": "boolean",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/reports\/orders\/stats"
}
]
}
},
"\/wc-analytics\/reports\/categories": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "category_id",
"enum": [
"category_id",
"items_sold",
"net_revenue",
"orders_count",
"products_count",
"category"
],
"required": false
},
"interval": {
"description": "Aikav\u00e4li jota k\u00e4ytet\u00e4\u00e4n vastaustietojoukkojen (saapumisen) v\u00e4lill\u00e4.",
"type": "string",
"default": "week",
"enum": [
"hour",
"day",
"week",
"month",
"quarter",
"year"
],
"required": false
},
"status_is": {
"description": "Rajoita vastaus kohteisiin joilla on tietty tilauksen tila.",
"type": "array",
"items": {
"enum": [
"any",
"trash",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"type": "string"
},
"required": false
},
"status_is_not": {
"description": "Rajoita vastaus kohteisiin joilla ei ole tietty\u00e4 tilauksen tilaa.",
"type": "array",
"items": {
"enum": [
"any",
"trash",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"type": "string"
},
"required": false
},
"categories": {
"description": "Rajoita vastaus kaikkiin kohteisiin joihin on kohdistettu tietty termi osastojen luokittelussa.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"extended_info": {
"description": "Lis\u00e4\u00e4 tieto jokaisesta osastosta raporttiin.",
"type": "boolean",
"default": false,
"required": false
},
"force_cache_refresh": {
"description": "Pakota uusien tietojen hakeminen v\u00e4limuistista.",
"type": "boolean",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/reports\/categories"
}
]
}
},
"\/wc-analytics\/reports\/taxes": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"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": "Pakota uusien tietojen hakeminen v\u00e4limuistista.",
"type": "boolean",
"required": false
},
"taxes": {
"description": "Rajoita vastaus kohteisiin joihin on kohdistettu yksi tai useampi vero.",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/reports\/taxes"
}
]
}
},
"\/wc-analytics\/reports\/taxes\/stats": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"items_sold",
"total_sales",
"orders_count",
"products_count"
],
"required": false
},
"force_cache_refresh": {
"description": "Pakota uusien tietojen hakeminen v\u00e4limuistista.",
"type": "boolean",
"required": false
},
"interval": {
"description": "Aikav\u00e4li jota k\u00e4ytet\u00e4\u00e4n vastaustietojoukkojen (saapumisen) v\u00e4lill\u00e4.",
"type": "string",
"default": "week",
"enum": [
"hour",
"day",
"week",
"month",
"quarter",
"year"
],
"required": false
},
"taxes": {
"description": "Rajoita vastaus kaikkiin kohteisiin joihin on kohdistettu tietty termi verojen luokittelussa.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"segmentby": {
"description": "Jaa vastaus osiin lis\u00e4rajoitteella.",
"type": "string",
"enum": [
"tax_rate_id"
],
"required": false
},
"fields": {
"description": "Rajaa tilastojen kent\u00e4t m\u00e4\u00e4riteltyihin nimikkeisiin",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/reports\/taxes\/stats"
}
]
}
},
"\/wc-analytics\/reports\/coupons": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "coupon_id",
"enum": [
"coupon_id",
"code",
"amount",
"orders_count"
],
"required": false
},
"force_cache_refresh": {
"description": "Pakota uusien tietojen hakeminen v\u00e4limuistista.",
"type": "boolean",
"required": false
},
"coupons": {
"description": "Rajoita vastaus kuponkeihin jotka on kohdistettu tiettyjen kuponkien tunnukseen\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"extended_info": {
"description": "Lis\u00e4\u00e4 tieto jokaisesta kupongista raporttiin.",
"type": "boolean",
"default": false,
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/reports\/coupons"
}
]
}
},
"\/wc-analytics\/reports\/coupons\/stats": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"amount",
"coupons_count",
"orders_count"
],
"required": false
},
"force_cache_refresh": {
"description": "Pakota uusien tietojen hakeminen v\u00e4limuistista.",
"type": "boolean",
"required": false
},
"interval": {
"description": "Aikav\u00e4li jota k\u00e4ytet\u00e4\u00e4n vastaustietojoukkojen (saapumisen) v\u00e4lill\u00e4.",
"type": "string",
"default": "week",
"enum": [
"hour",
"day",
"week",
"month",
"quarter",
"year"
],
"required": false
},
"coupons": {
"description": "Rajoita vastaus kuponkeihin jotka on kohdistettu tiettyjen kuponkien tunnukseen\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"segmentby": {
"description": "Jaa vastaus osiin lis\u00e4rajoitteella.",
"type": "string",
"enum": [
"product",
"variation",
"category",
"coupon"
],
"required": false
},
"fields": {
"description": "Rajaa tilastojen kent\u00e4t m\u00e4\u00e4riteltyihin nimikkeisiin",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/reports\/coupons\/stats"
}
]
}
},
"\/wc-analytics\/reports\/stock": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "stock_status",
"enum": [
"stock_status",
"stock_quantity",
"date",
"id",
"include",
"title",
"sku"
],
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"parent": {
"description": "Rajoita tulosjoukko niihin joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Rajoita tulosjoukko kaikkiin tuotteisiin poislukien ne joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"type": {
"description": "Rajoita vastaus kohteisiin joihin on kohdistettu varastoraportin laji.",
"type": "string",
"default": "all",
"enum": [
"all",
"lowstock",
"instock",
"outofstock",
"onbackorder"
],
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/reports\/stock"
}
]
}
},
"\/wc-analytics\/reports\/stock\/stats": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/reports\/stock\/stats"
}
]
}
},
"\/wc-analytics\/reports\/downloads": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"product"
],
"required": false
},
"match": {
"description": "Ilmaisee pit\u00e4isik\u00f6 kaikkien olla tosi vastausjoukossa tai jos joku niist\u00e4 on riitt\u00e4v\u00e4. Etsint\u00e4 vaikuttaa seuraaviin parametreihin: products, orders, username, ip_address.",
"type": "string",
"default": "all",
"enum": [
"all",
"any"
],
"required": false
},
"product_includes": {
"description": "Rajoita vastaus kohteisiin joihin on kohdistettu tietty tuote(tuotteita).",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"product_excludes": {
"description": "Rajoita vastaus kohteisiin joihin ei ole kohdistettu tietty\u00e4 tuotetta(tuotteita).",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"order_includes": {
"description": "Rajoita vastaus kohteisiin joilla on tietty tilauksen tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"order_excludes": {
"description": "Rajoita vastaus kohteisiin joilla ei ole tietty\u00e4 tilauksen tunnusta\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"customer_includes": {
"description": "Rajoita vastaus kohteisiin joilla on tietty k\u00e4ytt\u00e4j\u00e4n tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"customer_excludes": {
"description": "Rajoita vastaus kohteisiin joilla ei ole tietty\u00e4 k\u00e4ytt\u00e4j\u00e4n tunnusta\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"ip_address_includes": {
"description": "Rajoita vastaus kohteisiin joilla on tietty IP-osoite.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"ip_address_excludes": {
"description": "Rajoita vastaus kohteisiin joilla ei ole tietty\u00e4 IP-osoitetta.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"force_cache_refresh": {
"description": "Pakota uusien tietojen hakeminen v\u00e4limuistista.",
"type": "boolean",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/reports\/downloads"
}
]
}
},
"\/wc-analytics\/reports\/downloads\/stats": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"download_count"
],
"required": false
},
"force_cache_refresh": {
"description": "Pakota uusien tietojen hakeminen v\u00e4limuistista.",
"type": "boolean",
"required": false
},
"interval": {
"description": "Aikav\u00e4li jota k\u00e4ytet\u00e4\u00e4n vastaustietojoukkojen (saapumisen) v\u00e4lill\u00e4.",
"type": "string",
"default": "week",
"enum": [
"hour",
"day",
"week",
"month",
"quarter",
"year"
],
"required": false
},
"match": {
"description": "Ilmaisee pit\u00e4isik\u00f6 kaikkien olla tosi vastausjoukossa tai jos joku niist\u00e4 on riitt\u00e4v\u00e4. Etsint\u00e4 vaikuttaa seuraaviin parametreihin: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories",
"type": "string",
"default": "all",
"enum": [
"all",
"any"
],
"required": false
},
"product_includes": {
"description": "Rajoita vastaus kohteisiin joihin on kohdistettu tietty tuote(tuotteita).",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"product_excludes": {
"description": "Rajoita vastaus kohteisiin joihin ei ole kohdistettu tietty\u00e4 tuotetta(tuotteita).",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"order_includes": {
"description": "Rajoita vastaus kohteisiin joilla on tietty tilauksen tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"order_excludes": {
"description": "Rajoita vastaus kohteisiin joilla ei ole tietty\u00e4 tilauksen tunnusta\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"customer_includes": {
"description": "Rajoita vastaus kohteisiin joilla on tietty asiakkaan tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"customer_excludes": {
"description": "Rajoita vastaus kohteisiin joilla ei ole tietty\u00e4 asiakkaan tunnusta\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"ip_address_includes": {
"description": "Rajoita vastaus kohteisiin joilla on tietty IP-osoite.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"ip_address_excludes": {
"description": "Rajoita vastaus kohteisiin joilla ei ole tietty\u00e4 IP-osoitetta.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"fields": {
"description": "Rajaa tilastojen kent\u00e4t m\u00e4\u00e4riteltyihin nimikkeisiin",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/reports\/downloads\/stats"
}
]
}
},
"\/wc-analytics\/reports\/customers": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date_registered",
"enum": [
"username",
"name",
"country",
"city",
"state",
"postcode",
"date_registered",
"date_last_active",
"orders_count",
"total_spend",
"avg_order_value"
],
"required": false
},
"force_cache_refresh": {
"description": "Pakota uusien tietojen hakeminen v\u00e4limuistista.",
"type": "boolean",
"required": false
},
"registered_before": {
"description": "Rajoita tulokset kohteisiin jotka rekister\u00f6ity aiemmin tai sama kuin p\u00e4iv\u00e4ys annettuna ISO8601 muodossa.",
"type": "string",
"format": "date-time",
"required": false
},
"registered_after": {
"description": "Rajoita tulokset kohteisiin jotka rekister\u00f6ity my\u00f6hemmin tai sama kuin p\u00e4iv\u00e4ys annettuna ISO8601 muodossa.",
"type": "string",
"format": "date-time",
"required": false
},
"match": {
"description": "Ilmaisee pit\u00e4isik\u00f6 kaikkien olla tosi vastausjoukossa tai jos joku niist\u00e4 on riitt\u00e4v\u00e4. Etsint\u00e4 vaikuttaa seuraaviin parametreihin: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories",
"type": "string",
"default": "all",
"enum": [
"all",
"any"
],
"required": false
},
"search": {
"description": "Rajoita vastaus kohteisiin joissa asiakas kentt\u00e4 sis\u00e4lt\u00e4\u00e4 etsityn sanan. Etsii kent\u00e4st\u00e4 joka annettu kohdassa `searchby` (etsi t\u00e4\u00e4lt\u00e4).",
"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": "Rajoita vastaus objekteihin, joilla on tietyt nimet.",
"type": "string",
"required": false
},
"name_excludes": {
"description": "Rajoita vastaus objekteihin tiettyj\u00e4 nimi\u00e4 lukuun ottamatta.",
"type": "string",
"required": false
},
"username_includes": {
"description": "Rajoita vastaus objekteihin, joilla on tietyt k\u00e4ytt\u00e4j\u00e4tunnukset.",
"type": "string",
"required": false
},
"username_excludes": {
"description": "Rajoita vastaukset objekteihin, ei tiettyj\u00e4 k\u00e4ytt\u00e4j\u00e4nimi\u00e4.",
"type": "string",
"required": false
},
"email_includes": {
"description": "Rajoita vastaus kohteisiin joissa sis\u00e4llytet\u00e4\u00e4n s\u00e4hk\u00f6posteja.",
"type": "string",
"required": false
},
"email_excludes": {
"description": "Rajoita vastaus kohteisiin joissa sivuutetaan s\u00e4hk\u00f6posteja.",
"type": "string",
"required": false
},
"country_includes": {
"description": "Rajoita vastetta tiettyjen maiden esineisiin.",
"type": "string",
"required": false
},
"country_excludes": {
"description": "Rajoita vastaus objekteihin tiettyj\u00e4 maita lukuun ottamatta.",
"type": "string",
"required": false
},
"last_active_before": {
"description": "Rajoita vastaus kohteisiin jotka viimeksi aktiivisia aiemmin tai sama kuin p\u00e4iv\u00e4ys annettuna ISO8601 muodossa.",
"type": "string",
"format": "date-time",
"required": false
},
"last_active_after": {
"description": "Rajoita vastaus kohteisiin jotka viimeksi aktiivisia my\u00f6hemmin tai sama kuin p\u00e4iv\u00e4ys annettuna ISO8601 muodossa.",
"type": "string",
"format": "date-time",
"required": false
},
"last_active_between": {
"description": "Rajoita vastaus kohteisiin jotka viimeksi aktiivisia kahden ISO8601 muodossa annetun p\u00e4iv\u00e4yksen v\u00e4lisen\u00e4 aikana.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"registered_between": {
"description": "Rajoita vastaus kohteisiin jotka viimeksi aktiivisia kahden ISO8601 muodossa annetun p\u00e4iv\u00e4yksen v\u00e4lisen\u00e4 aikana.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"orders_count_min": {
"description": "Rajoita vastaus kohteisiin joissa tilausten lukum\u00e4\u00e4r\u00e4 on enemm\u00e4n kuin tai sama kuin annettu luku.",
"type": "integer",
"required": false
},
"orders_count_max": {
"description": "Rajoita vastaus kohteisiin joissa tilausten lukum\u00e4\u00e4r\u00e4 on v\u00e4hemm\u00e4n kuin tai sama kuin annettu luku.",
"type": "integer",
"required": false
},
"orders_count_between": {
"description": "Rajoita vastaus kohteisiin joissa tilausten lukum\u00e4\u00e4r\u00e4 on kahden annetun luvun v\u00e4liss\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"total_spend_min": {
"description": "Rajoita vastaus kohteisiin joissa tilauksen kokonaiskulutus on enemm\u00e4n kuin tai sama kuin annettu luku.",
"type": "number",
"required": false
},
"total_spend_max": {
"description": "Rajoita vastaus kohteisiin joissa tilauksen kokonaiskulutus on v\u00e4hemm\u00e4n kuin tai sama kuin annettu luku.",
"type": "number",
"required": false
},
"total_spend_between": {
"description": "Rajoita vastaus kohteisiin joissa tilauksen kokonaiskulutus on kahden annetun luvun v\u00e4liss\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"avg_order_value_min": {
"description": "Rajoita vastaus kohteisiin joissa tilauksen keskim\u00e4\u00e4r\u00e4inen arvo on enemm\u00e4n kuin tai sama kuin annettu luku.",
"type": "number",
"required": false
},
"avg_order_value_max": {
"description": "Rajoita vastaus kohteisiin joissa tilauksen keskim\u00e4\u00e4r\u00e4inen arvo on v\u00e4hemm\u00e4n kuin tai sama kuin annettu luku.",
"type": "number",
"required": false
},
"avg_order_value_between": {
"description": "Rajoita vastaus kohteisiin joissa tilauksen keskim\u00e4\u00e4r\u00e4inen arvo on kahden annetun luvun v\u00e4liss\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"last_order_before": {
"description": "Rajoita vastaus kohteisiin joiden viimeisin tilaus on ennen tai sama kuin p\u00e4iv\u00e4ys annettuna ISO8601 muodossa.",
"type": "string",
"format": "date-time",
"required": false
},
"last_order_after": {
"description": "Rajoita vastaus kohteisiin joiden viimeisin tilaus on joko my\u00f6hemmin tai sama kuin p\u00e4iv\u00e4ys annettuna ISO8601 muodossa.",
"type": "string",
"format": "date-time",
"required": false
},
"customers": {
"description": "Rajoita tulokset kohteisiin joissa tietty asiakastunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"users": {
"description": "Rajoita tulos kohteiksi, joilla on m\u00e4\u00e4ritetty k\u00e4ytt\u00e4j\u00e4tunnus.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"filter_empty": {
"description": "Suodata tulokset, jos jokin hyv\u00e4ksytyist\u00e4 kentist\u00e4 on tyhj\u00e4",
"type": "array",
"items": {
"type": "string",
"enum": [
"email",
"name",
"country",
"city",
"state",
"postcode"
]
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/reports\/customers"
}
]
}
},
"\/wc-analytics\/reports\/customers\/stats": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"registered_before": {
"description": "Rajoita tulokset kohteisiin jotka rekister\u00f6ity aiemmin tai sama kuin p\u00e4iv\u00e4ys annettuna ISO8601 muodossa.",
"type": "string",
"format": "date-time",
"required": false
},
"registered_after": {
"description": "Rajoita tulokset kohteisiin jotka rekister\u00f6ity my\u00f6hemmin tai sama kuin p\u00e4iv\u00e4ys annettuna ISO8601 muodossa.",
"type": "string",
"format": "date-time",
"required": false
},
"match": {
"description": "Ilmaisee pit\u00e4isik\u00f6 kaikkien olla tosi vastausjoukossa tai jos joku niist\u00e4 on riitt\u00e4v\u00e4. Etsint\u00e4 vaikuttaa seuraaviin parametreihin: status_is, status_is_not, product_includes, product_excludes, coupon_includes, coupon_excludes, customer, categories",
"type": "string",
"default": "all",
"enum": [
"all",
"any"
],
"required": false
},
"search": {
"description": "Rajoita vastaus kohteisiin joissa asiakas kentt\u00e4 sis\u00e4lt\u00e4\u00e4 etsityn sanan. Etsii kent\u00e4st\u00e4 joka annettu kohdassa `searchby` (etsi t\u00e4\u00e4lt\u00e4).",
"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": "Rajoita vastaus objekteihin, joilla on tietyt nimet.",
"type": "string",
"required": false
},
"name_excludes": {
"description": "Rajoita vastaus objekteihin tiettyj\u00e4 nimi\u00e4 lukuun ottamatta.",
"type": "string",
"required": false
},
"username_includes": {
"description": "Rajoita vastaus objekteihin, joilla on tietyt k\u00e4ytt\u00e4j\u00e4tunnukset.",
"type": "string",
"required": false
},
"username_excludes": {
"description": "Rajoita vastaukset objekteihin, ei tiettyj\u00e4 k\u00e4ytt\u00e4j\u00e4nimi\u00e4.",
"type": "string",
"required": false
},
"email_includes": {
"description": "Rajoita vastaus kohteisiin joissa sis\u00e4llytet\u00e4\u00e4n s\u00e4hk\u00f6posteja.",
"type": "string",
"required": false
},
"email_excludes": {
"description": "Rajoita vastaus kohteisiin joissa sivuutetaan s\u00e4hk\u00f6posteja.",
"type": "string",
"required": false
},
"country_includes": {
"description": "Rajoita vastetta tiettyjen maiden esineisiin.",
"type": "string",
"required": false
},
"country_excludes": {
"description": "Rajoita vastaus objekteihin tiettyj\u00e4 maita lukuun ottamatta.",
"type": "string",
"required": false
},
"last_active_before": {
"description": "Rajoita vastaus kohteisiin jotka viimeksi aktiivisia aiemmin tai sama kuin p\u00e4iv\u00e4ys annettuna ISO8601 muodossa.",
"type": "string",
"format": "date-time",
"required": false
},
"last_active_after": {
"description": "Rajoita vastaus kohteisiin jotka viimeksi aktiivisia my\u00f6hemmin tai sama kuin p\u00e4iv\u00e4ys annettuna ISO8601 muodossa.",
"type": "string",
"format": "date-time",
"required": false
},
"last_active_between": {
"description": "Rajoita vastaus kohteisiin jotka viimeksi aktiivisia kahden ISO8601 muodossa annetun p\u00e4iv\u00e4yksen v\u00e4lisen\u00e4 aikana.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"registered_between": {
"description": "Rajoita vastaus kohteisiin jotka viimeksi aktiivisia kahden ISO8601 muodossa annetun p\u00e4iv\u00e4yksen v\u00e4lisen\u00e4 aikana.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"orders_count_min": {
"description": "Rajoita vastaus kohteisiin joissa tilausten lukum\u00e4\u00e4r\u00e4 on enemm\u00e4n kuin tai sama kuin annettu luku.",
"type": "integer",
"required": false
},
"orders_count_max": {
"description": "Rajoita vastaus kohteisiin joissa tilausten lukum\u00e4\u00e4r\u00e4 on v\u00e4hemm\u00e4n kuin tai sama kuin annettu luku.",
"type": "integer",
"required": false
},
"orders_count_between": {
"description": "Rajoita vastaus kohteisiin joissa tilausten lukum\u00e4\u00e4r\u00e4 on kahden annetun luvun v\u00e4liss\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"total_spend_min": {
"description": "Rajoita vastaus kohteisiin joissa tilauksen kokonaiskulutus on enemm\u00e4n kuin tai sama kuin annettu luku.",
"type": "number",
"required": false
},
"total_spend_max": {
"description": "Rajoita vastaus kohteisiin joissa tilauksen kokonaiskulutus on v\u00e4hemm\u00e4n kuin tai sama kuin annettu luku.",
"type": "number",
"required": false
},
"total_spend_between": {
"description": "Rajoita vastaus kohteisiin joissa tilauksen kokonaiskulutus on kahden annetun luvun v\u00e4liss\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"avg_order_value_min": {
"description": "Rajoita vastaus kohteisiin joissa tilauksen keskim\u00e4\u00e4r\u00e4inen arvo on enemm\u00e4n kuin tai sama kuin annettu luku.",
"type": "number",
"required": false
},
"avg_order_value_max": {
"description": "Rajoita vastaus kohteisiin joissa tilauksen keskim\u00e4\u00e4r\u00e4inen arvo on v\u00e4hemm\u00e4n kuin tai sama kuin annettu luku.",
"type": "number",
"required": false
},
"avg_order_value_between": {
"description": "Rajoita vastaus kohteisiin joissa tilauksen keskim\u00e4\u00e4r\u00e4inen arvo on kahden annetun luvun v\u00e4liss\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"last_order_before": {
"description": "Rajoita vastaus kohteisiin joiden viimeisin tilaus on ennen tai sama kuin p\u00e4iv\u00e4ys annettuna ISO8601 muodossa.",
"type": "string",
"format": "date-time",
"required": false
},
"last_order_after": {
"description": "Rajoita vastaus kohteisiin joiden viimeisin tilaus on joko my\u00f6hemmin tai sama kuin p\u00e4iv\u00e4ys annettuna ISO8601 muodossa.",
"type": "string",
"format": "date-time",
"required": false
},
"customers": {
"description": "Rajoita tulokset kohteisiin joissa tietty asiakastunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"fields": {
"description": "Rajaa tilastojen kent\u00e4t m\u00e4\u00e4riteltyihin nimikkeisiin",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"force_cache_refresh": {
"description": "Pakota uusien tietojen hakeminen v\u00e4limuistista.",
"type": "boolean",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/reports\/customers\/stats"
}
]
}
},
"\/wc-analytics\/reports\/performance-indicators": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"stats": {
"description": "Rajoita vastaus tiettyihin raporttitilastoihin. Sallitut arvot: .",
"type": "array",
"items": {
"type": "string",
"enum": []
},
"default": [],
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/reports\/performance-indicators"
}
]
}
},
"\/wc-analytics\/reports\/performance-indicators\/allowed": {
"namespace": "wc-analytics",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"stats": {
"description": "Rajoita vastaus tiettyihin raporttitilastoihin. Sallitut arvot: .",
"type": "array",
"items": {
"type": "string",
"enum": []
},
"default": [],
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/reports\/performance-indicators\/allowed"
}
]
}
},
"\/wc-analytics\/admin\/notes": {
"namespace": "wc-analytics",
"methods": [
"GET",
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"note_id",
"date",
"type",
"title",
"status"
],
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"type": {
"description": "Kommentin laji.",
"type": "array",
"items": {
"enum": [
"error",
"warning",
"update",
"info",
"marketing",
"survey",
"email"
],
"type": "string"
},
"required": false
},
"status": {
"description": "Kommentin tila.",
"type": "array",
"items": {
"enum": [
"pending",
"actioned",
"unactioned",
"snoozed",
"sent"
],
"type": "string"
},
"required": false
},
"source": {
"description": "Huomion l\u00e4hde.",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"note_id",
"date",
"type",
"title",
"status"
],
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"type": {
"description": "Kommentin laji.",
"type": "array",
"items": {
"enum": [
"error",
"warning",
"update",
"info",
"marketing",
"survey",
"email"
],
"type": "string"
},
"required": false
},
"status": {
"description": "Kommentin tila.",
"type": "array",
"items": {
"enum": [
"pending",
"actioned",
"unactioned",
"snoozed",
"sent"
],
"type": "string"
},
"required": false
},
"source": {
"description": "Huomion l\u00e4hde.",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/admin\/notes"
}
]
}
},
"\/wc-analytics\/admin\/notes\/(?P[\\d-]+)": {
"namespace": "wc-analytics",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"GET",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Muista poikkeava tunnus\/ID resurssille.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava tunnus\/ID resurssille.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Muista poikkeava tunnus\/ID resurssille.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava tunnus\/ID resurssille.",
"type": "integer",
"required": false
}
}
}
]
},
"\/wc-analytics\/admin\/notes\/delete\/(?P[\\d-]+)": {
"namespace": "wc-analytics",
"methods": [
"DELETE",
"DELETE"
],
"endpoints": [
{
"methods": [
"DELETE"
],
"args": []
},
{
"methods": [
"DELETE"
],
"args": []
}
]
},
"\/wc-analytics\/admin\/notes\/delete\/all": {
"namespace": "wc-analytics",
"methods": [
"DELETE",
"DELETE"
],
"endpoints": [
{
"methods": [
"DELETE"
],
"args": {
"status": {
"description": "Kommentin tila.",
"type": "array",
"items": {
"enum": [
"pending",
"actioned",
"unactioned",
"snoozed",
"sent"
],
"type": "string"
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"status": {
"description": "Kommentin tila.",
"type": "array",
"items": {
"enum": [
"pending",
"actioned",
"unactioned",
"snoozed",
"sent"
],
"type": "string"
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/admin\/notes\/delete\/all"
}
]
}
},
"\/wc-analytics\/admin\/notes\/tracker\/(?P[\\d-]+)\/user\/(?P[\\d-]+)": {
"namespace": "wc-analytics",
"methods": [
"GET",
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
},
{
"methods": [
"GET"
],
"args": []
}
]
},
"\/wc-analytics\/admin\/notes\/update": {
"namespace": "wc-analytics",
"methods": [
"POST",
"PUT",
"PATCH",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": []
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/admin\/notes\/update"
}
]
}
},
"\/wc-analytics\/admin\/notes\/experimental-activate-promo\/(?P[\\w-]+)": {
"namespace": "wc-analytics",
"methods": [
"POST",
"PUT",
"PATCH",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": []
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": []
}
]
},
"\/wc-analytics\/admin\/notes\/(?P[\\d-]+)\/action\/(?P[\\d-]+)": {
"namespace": "wc-analytics",
"methods": [
"POST",
"PUT",
"PATCH",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"note_id": {
"description": "Muista poikkava tunnus\/ID kommentille.",
"type": "integer",
"required": false
},
"action_id": {
"description": "Muista poikkava tunnus\/ID muistioon reagoinnille.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"note_id": {
"description": "Muista poikkava tunnus\/ID kommentille.",
"type": "integer",
"required": false
},
"action_id": {
"description": "Muista poikkava tunnus\/ID muistioon reagoinnille.",
"type": "integer",
"required": false
}
}
}
]
},
"\/wc-analytics\/coupons": {
"namespace": "wc-analytics",
"methods": [
"GET",
"POST",
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajoita vastaus kuponkeihin joiden koodi vastaa tietty\u00e4 merkkijonoa.",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Rajoita vastaus resursseihin, joita on muutettu tietyn ISO8601-yhteensopivuuden j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Rajoita vastaus resursseihin, joita on muokattu ennen tietty\u00e4 ISO8601-yhteensopivaa p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Otetaanko GMT-l\u00e4hetysp\u00e4iv\u00e4t huomioon, kun vastaus rajoitetaan julkaistuun tai muutettuun p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4n.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified"
],
"required": false
},
"code": {
"description": "Rajoita tulosjoukko resursseihin joilla on tietty koodi.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"code": {
"description": "Kupongin koodi.",
"type": "string",
"required": true
},
"amount": {
"description": "Alennuksen m\u00e4\u00e4r\u00e4. Pit\u00e4\u00e4 aina olla luku, my\u00f6s kun asetetaan prosentti.",
"type": "string",
"required": false
},
"status": {
"description": "Kupongin tila. Pit\u00e4isi aina olla luonnos, julkaistu tai odottaa tarkistusta",
"type": "string",
"required": false
},
"discount_type": {
"default": "fixed_cart",
"description": "M\u00e4\u00e4r\u00e4\u00e4 millaista alennusta k\u00e4ytet\u00e4\u00e4n.",
"type": "string",
"enum": [
"percent",
"fixed_cart",
"fixed_product"
],
"required": false
},
"description": {
"description": "Kupongin kuvaus.",
"type": "string",
"required": false
},
"date_expires": {
"description": "P\u00e4iv\u00e4ys jolloin kuponki umpeutuu, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_expires_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuponki umpeutuu, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"individual_use": {
"default": false,
"description": "Kun tosi, kuponkia voi k\u00e4ytt\u00e4\u00e4 vain yksin\u00e4\u00e4n. Muut k\u00e4ytetyt kupongit poistetaan ostoskorista.",
"type": "boolean",
"required": false
},
"product_ids": {
"description": "Lista tuotteiden tunnuksista\/ID joihin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_ids": {
"description": "Lista tuotteiden tunnuksista\/ID joihin kuponkia ei voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"usage_limit": {
"description": "Kuinka monta kertaa yhteens\u00e4 kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "integer",
"required": false
},
"usage_limit_per_user": {
"description": "Kuinka monta kertaa sama asiakas voi k\u00e4ytt\u00e4\u00e4 kuponkia.",
"type": "integer",
"required": false
},
"limit_usage_to_x_items": {
"description": "Ostoskorissa oleva suurin m\u00e4\u00e4r\u00e4 tuotteita joihin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "integer",
"required": false
},
"free_shipping": {
"default": false,
"description": "Kun tosi ja kun maksuton toimitustapa edellytt\u00e4\u00e4 kupongin, t\u00e4m\u00e4 kuponki mahdollistaa maksuttoman toimituksen.",
"type": "boolean",
"required": false
},
"product_categories": {
"description": "Lista osastojen tunnuksista\/ID joihin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_categories": {
"description": "Lista osastojen tunnuksista\/ID joihin kuponkia ei voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"exclude_sale_items": {
"default": false,
"description": "Kun tosi, t\u00e4t\u00e4 kuponkia ei k\u00e4ytet\u00e4 tuotteisiin joissa alennettu hinta.",
"type": "boolean",
"required": false
},
"minimum_amount": {
"description": "Ostoskorin pienin tilausm\u00e4\u00e4r\u00e4 jolloin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "string",
"required": false
},
"maximum_amount": {
"description": "Ostoskorin suurin tilausm\u00e4\u00e4r\u00e4 jolloin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "string",
"required": false
},
"email_restrictions": {
"description": "Lista s\u00e4hk\u00f6postiosoitteista jotka voivat k\u00e4ytt\u00e4\u00e4 t\u00e4t\u00e4 kuponkia.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajoita vastaus kuponkeihin joiden koodi vastaa tietty\u00e4 merkkijonoa.",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Rajoita vastaus resursseihin, joita on muutettu tietyn ISO8601-yhteensopivuuden j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Rajoita vastaus resursseihin, joita on muokattu ennen tietty\u00e4 ISO8601-yhteensopivaa p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Otetaanko GMT-l\u00e4hetysp\u00e4iv\u00e4t huomioon, kun vastaus rajoitetaan julkaistuun tai muutettuun p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4n.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified"
],
"required": false
},
"code": {
"description": "Rajoita tulosjoukko resursseihin joilla on tietty koodi.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"code": {
"description": "Kupongin koodi.",
"type": "string",
"required": true
},
"amount": {
"description": "Alennuksen m\u00e4\u00e4r\u00e4. Pit\u00e4\u00e4 aina olla luku, my\u00f6s kun asetetaan prosentti.",
"type": "string",
"required": false
},
"status": {
"description": "Kupongin tila. Pit\u00e4isi aina olla luonnos, julkaistu tai odottaa tarkistusta",
"type": "string",
"required": false
},
"discount_type": {
"default": "fixed_cart",
"description": "M\u00e4\u00e4r\u00e4\u00e4 millaista alennusta k\u00e4ytet\u00e4\u00e4n.",
"type": "string",
"enum": [
"percent",
"fixed_cart",
"fixed_product"
],
"required": false
},
"description": {
"description": "Kupongin kuvaus.",
"type": "string",
"required": false
},
"date_expires": {
"description": "P\u00e4iv\u00e4ys jolloin kuponki umpeutuu, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_expires_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuponki umpeutuu, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"individual_use": {
"default": false,
"description": "Kun tosi, kuponkia voi k\u00e4ytt\u00e4\u00e4 vain yksin\u00e4\u00e4n. Muut k\u00e4ytetyt kupongit poistetaan ostoskorista.",
"type": "boolean",
"required": false
},
"product_ids": {
"description": "Lista tuotteiden tunnuksista\/ID joihin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_ids": {
"description": "Lista tuotteiden tunnuksista\/ID joihin kuponkia ei voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"usage_limit": {
"description": "Kuinka monta kertaa yhteens\u00e4 kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "integer",
"required": false
},
"usage_limit_per_user": {
"description": "Kuinka monta kertaa sama asiakas voi k\u00e4ytt\u00e4\u00e4 kuponkia.",
"type": "integer",
"required": false
},
"limit_usage_to_x_items": {
"description": "Ostoskorissa oleva suurin m\u00e4\u00e4r\u00e4 tuotteita joihin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "integer",
"required": false
},
"free_shipping": {
"default": false,
"description": "Kun tosi ja kun maksuton toimitustapa edellytt\u00e4\u00e4 kupongin, t\u00e4m\u00e4 kuponki mahdollistaa maksuttoman toimituksen.",
"type": "boolean",
"required": false
},
"product_categories": {
"description": "Lista osastojen tunnuksista\/ID joihin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_categories": {
"description": "Lista osastojen tunnuksista\/ID joihin kuponkia ei voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"exclude_sale_items": {
"default": false,
"description": "Kun tosi, t\u00e4t\u00e4 kuponkia ei k\u00e4ytet\u00e4 tuotteisiin joissa alennettu hinta.",
"type": "boolean",
"required": false
},
"minimum_amount": {
"description": "Ostoskorin pienin tilausm\u00e4\u00e4r\u00e4 jolloin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "string",
"required": false
},
"maximum_amount": {
"description": "Ostoskorin suurin tilausm\u00e4\u00e4r\u00e4 jolloin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "string",
"required": false
},
"email_restrictions": {
"description": "Lista s\u00e4hk\u00f6postiosoitteista jotka voivat k\u00e4ytt\u00e4\u00e4 t\u00e4t\u00e4 kuponkia.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/coupons"
}
]
}
},
"\/wc-analytics\/coupons\/(?P[\\d]+)": {
"namespace": "wc-analytics",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"code": {
"description": "Kupongin koodi.",
"type": "string",
"required": false
},
"amount": {
"description": "Alennuksen m\u00e4\u00e4r\u00e4. Pit\u00e4\u00e4 aina olla luku, my\u00f6s kun asetetaan prosentti.",
"type": "string",
"required": false
},
"status": {
"description": "Kupongin tila. Pit\u00e4isi aina olla luonnos, julkaistu tai odottaa tarkistusta",
"type": "string",
"required": false
},
"discount_type": {
"description": "M\u00e4\u00e4r\u00e4\u00e4 millaista alennusta k\u00e4ytet\u00e4\u00e4n.",
"type": "string",
"enum": [
"percent",
"fixed_cart",
"fixed_product"
],
"required": false
},
"description": {
"description": "Kupongin kuvaus.",
"type": "string",
"required": false
},
"date_expires": {
"description": "P\u00e4iv\u00e4ys jolloin kuponki umpeutuu, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_expires_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuponki umpeutuu, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"individual_use": {
"description": "Kun tosi, kuponkia voi k\u00e4ytt\u00e4\u00e4 vain yksin\u00e4\u00e4n. Muut k\u00e4ytetyt kupongit poistetaan ostoskorista.",
"type": "boolean",
"required": false
},
"product_ids": {
"description": "Lista tuotteiden tunnuksista\/ID joihin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_ids": {
"description": "Lista tuotteiden tunnuksista\/ID joihin kuponkia ei voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"usage_limit": {
"description": "Kuinka monta kertaa yhteens\u00e4 kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "integer",
"required": false
},
"usage_limit_per_user": {
"description": "Kuinka monta kertaa sama asiakas voi k\u00e4ytt\u00e4\u00e4 kuponkia.",
"type": "integer",
"required": false
},
"limit_usage_to_x_items": {
"description": "Ostoskorissa oleva suurin m\u00e4\u00e4r\u00e4 tuotteita joihin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "integer",
"required": false
},
"free_shipping": {
"description": "Kun tosi ja kun maksuton toimitustapa edellytt\u00e4\u00e4 kupongin, t\u00e4m\u00e4 kuponki mahdollistaa maksuttoman toimituksen.",
"type": "boolean",
"required": false
},
"product_categories": {
"description": "Lista osastojen tunnuksista\/ID joihin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_categories": {
"description": "Lista osastojen tunnuksista\/ID joihin kuponkia ei voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"exclude_sale_items": {
"description": "Kun tosi, t\u00e4t\u00e4 kuponkia ei k\u00e4ytet\u00e4 tuotteisiin joissa alennettu hinta.",
"type": "boolean",
"required": false
},
"minimum_amount": {
"description": "Ostoskorin pienin tilausm\u00e4\u00e4r\u00e4 jolloin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "string",
"required": false
},
"maximum_amount": {
"description": "Ostoskorin suurin tilausm\u00e4\u00e4r\u00e4 jolloin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "string",
"required": false
},
"email_restrictions": {
"description": "Lista s\u00e4hk\u00f6postiosoitteista jotka voivat k\u00e4ytt\u00e4\u00e4 t\u00e4t\u00e4 kuponkia.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ohitetaanko roskakori ja pakotetaan poisto.",
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"code": {
"description": "Kupongin koodi.",
"type": "string",
"required": false
},
"amount": {
"description": "Alennuksen m\u00e4\u00e4r\u00e4. Pit\u00e4\u00e4 aina olla luku, my\u00f6s kun asetetaan prosentti.",
"type": "string",
"required": false
},
"status": {
"description": "Kupongin tila. Pit\u00e4isi aina olla luonnos, julkaistu tai odottaa tarkistusta",
"type": "string",
"required": false
},
"discount_type": {
"description": "M\u00e4\u00e4r\u00e4\u00e4 millaista alennusta k\u00e4ytet\u00e4\u00e4n.",
"type": "string",
"enum": [
"percent",
"fixed_cart",
"fixed_product"
],
"required": false
},
"description": {
"description": "Kupongin kuvaus.",
"type": "string",
"required": false
},
"date_expires": {
"description": "P\u00e4iv\u00e4ys jolloin kuponki umpeutuu, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_expires_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuponki umpeutuu, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"individual_use": {
"description": "Kun tosi, kuponkia voi k\u00e4ytt\u00e4\u00e4 vain yksin\u00e4\u00e4n. Muut k\u00e4ytetyt kupongit poistetaan ostoskorista.",
"type": "boolean",
"required": false
},
"product_ids": {
"description": "Lista tuotteiden tunnuksista\/ID joihin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_ids": {
"description": "Lista tuotteiden tunnuksista\/ID joihin kuponkia ei voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"usage_limit": {
"description": "Kuinka monta kertaa yhteens\u00e4 kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "integer",
"required": false
},
"usage_limit_per_user": {
"description": "Kuinka monta kertaa sama asiakas voi k\u00e4ytt\u00e4\u00e4 kuponkia.",
"type": "integer",
"required": false
},
"limit_usage_to_x_items": {
"description": "Ostoskorissa oleva suurin m\u00e4\u00e4r\u00e4 tuotteita joihin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "integer",
"required": false
},
"free_shipping": {
"description": "Kun tosi ja kun maksuton toimitustapa edellytt\u00e4\u00e4 kupongin, t\u00e4m\u00e4 kuponki mahdollistaa maksuttoman toimituksen.",
"type": "boolean",
"required": false
},
"product_categories": {
"description": "Lista osastojen tunnuksista\/ID joihin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_categories": {
"description": "Lista osastojen tunnuksista\/ID joihin kuponkia ei voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"exclude_sale_items": {
"description": "Kun tosi, t\u00e4t\u00e4 kuponkia ei k\u00e4ytet\u00e4 tuotteisiin joissa alennettu hinta.",
"type": "boolean",
"required": false
},
"minimum_amount": {
"description": "Ostoskorin pienin tilausm\u00e4\u00e4r\u00e4 jolloin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "string",
"required": false
},
"maximum_amount": {
"description": "Ostoskorin suurin tilausm\u00e4\u00e4r\u00e4 jolloin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "string",
"required": false
},
"email_restrictions": {
"description": "Lista s\u00e4hk\u00f6postiosoitteista jotka voivat k\u00e4ytt\u00e4\u00e4 t\u00e4t\u00e4 kuponkia.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ohitetaanko roskakori ja pakotetaan poisto.",
"required": false
}
}
}
]
},
"\/wc-analytics\/coupons\/batch": {
"namespace": "wc-analytics",
"methods": [
"POST",
"PUT",
"PATCH",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"code": {
"description": "Kupongin koodi.",
"type": "string",
"required": false
},
"amount": {
"description": "Alennuksen m\u00e4\u00e4r\u00e4. Pit\u00e4\u00e4 aina olla luku, my\u00f6s kun asetetaan prosentti.",
"type": "string",
"required": false
},
"status": {
"description": "Kupongin tila. Pit\u00e4isi aina olla luonnos, julkaistu tai odottaa tarkistusta",
"type": "string",
"required": false
},
"discount_type": {
"description": "M\u00e4\u00e4r\u00e4\u00e4 millaista alennusta k\u00e4ytet\u00e4\u00e4n.",
"type": "string",
"enum": [
"percent",
"fixed_cart",
"fixed_product"
],
"required": false
},
"description": {
"description": "Kupongin kuvaus.",
"type": "string",
"required": false
},
"date_expires": {
"description": "P\u00e4iv\u00e4ys jolloin kuponki umpeutuu, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_expires_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuponki umpeutuu, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"individual_use": {
"description": "Kun tosi, kuponkia voi k\u00e4ytt\u00e4\u00e4 vain yksin\u00e4\u00e4n. Muut k\u00e4ytetyt kupongit poistetaan ostoskorista.",
"type": "boolean",
"required": false
},
"product_ids": {
"description": "Lista tuotteiden tunnuksista\/ID joihin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_ids": {
"description": "Lista tuotteiden tunnuksista\/ID joihin kuponkia ei voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"usage_limit": {
"description": "Kuinka monta kertaa yhteens\u00e4 kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "integer",
"required": false
},
"usage_limit_per_user": {
"description": "Kuinka monta kertaa sama asiakas voi k\u00e4ytt\u00e4\u00e4 kuponkia.",
"type": "integer",
"required": false
},
"limit_usage_to_x_items": {
"description": "Ostoskorissa oleva suurin m\u00e4\u00e4r\u00e4 tuotteita joihin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "integer",
"required": false
},
"free_shipping": {
"description": "Kun tosi ja kun maksuton toimitustapa edellytt\u00e4\u00e4 kupongin, t\u00e4m\u00e4 kuponki mahdollistaa maksuttoman toimituksen.",
"type": "boolean",
"required": false
},
"product_categories": {
"description": "Lista osastojen tunnuksista\/ID joihin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_categories": {
"description": "Lista osastojen tunnuksista\/ID joihin kuponkia ei voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"exclude_sale_items": {
"description": "Kun tosi, t\u00e4t\u00e4 kuponkia ei k\u00e4ytet\u00e4 tuotteisiin joissa alennettu hinta.",
"type": "boolean",
"required": false
},
"minimum_amount": {
"description": "Ostoskorin pienin tilausm\u00e4\u00e4r\u00e4 jolloin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "string",
"required": false
},
"maximum_amount": {
"description": "Ostoskorin suurin tilausm\u00e4\u00e4r\u00e4 jolloin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "string",
"required": false
},
"email_restrictions": {
"description": "Lista s\u00e4hk\u00f6postiosoitteista jotka voivat k\u00e4ytt\u00e4\u00e4 t\u00e4t\u00e4 kuponkia.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"code": {
"description": "Kupongin koodi.",
"type": "string",
"required": false
},
"amount": {
"description": "Alennuksen m\u00e4\u00e4r\u00e4. Pit\u00e4\u00e4 aina olla luku, my\u00f6s kun asetetaan prosentti.",
"type": "string",
"required": false
},
"status": {
"description": "Kupongin tila. Pit\u00e4isi aina olla luonnos, julkaistu tai odottaa tarkistusta",
"type": "string",
"required": false
},
"discount_type": {
"description": "M\u00e4\u00e4r\u00e4\u00e4 millaista alennusta k\u00e4ytet\u00e4\u00e4n.",
"type": "string",
"enum": [
"percent",
"fixed_cart",
"fixed_product"
],
"required": false
},
"description": {
"description": "Kupongin kuvaus.",
"type": "string",
"required": false
},
"date_expires": {
"description": "P\u00e4iv\u00e4ys jolloin kuponki umpeutuu, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_expires_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuponki umpeutuu, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"individual_use": {
"description": "Kun tosi, kuponkia voi k\u00e4ytt\u00e4\u00e4 vain yksin\u00e4\u00e4n. Muut k\u00e4ytetyt kupongit poistetaan ostoskorista.",
"type": "boolean",
"required": false
},
"product_ids": {
"description": "Lista tuotteiden tunnuksista\/ID joihin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_ids": {
"description": "Lista tuotteiden tunnuksista\/ID joihin kuponkia ei voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"usage_limit": {
"description": "Kuinka monta kertaa yhteens\u00e4 kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "integer",
"required": false
},
"usage_limit_per_user": {
"description": "Kuinka monta kertaa sama asiakas voi k\u00e4ytt\u00e4\u00e4 kuponkia.",
"type": "integer",
"required": false
},
"limit_usage_to_x_items": {
"description": "Ostoskorissa oleva suurin m\u00e4\u00e4r\u00e4 tuotteita joihin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "integer",
"required": false
},
"free_shipping": {
"description": "Kun tosi ja kun maksuton toimitustapa edellytt\u00e4\u00e4 kupongin, t\u00e4m\u00e4 kuponki mahdollistaa maksuttoman toimituksen.",
"type": "boolean",
"required": false
},
"product_categories": {
"description": "Lista osastojen tunnuksista\/ID joihin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_categories": {
"description": "Lista osastojen tunnuksista\/ID joihin kuponkia ei voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"exclude_sale_items": {
"description": "Kun tosi, t\u00e4t\u00e4 kuponkia ei k\u00e4ytet\u00e4 tuotteisiin joissa alennettu hinta.",
"type": "boolean",
"required": false
},
"minimum_amount": {
"description": "Ostoskorin pienin tilausm\u00e4\u00e4r\u00e4 jolloin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "string",
"required": false
},
"maximum_amount": {
"description": "Ostoskorin suurin tilausm\u00e4\u00e4r\u00e4 jolloin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "string",
"required": false
},
"email_restrictions": {
"description": "Lista s\u00e4hk\u00f6postiosoitteista jotka voivat k\u00e4ytt\u00e4\u00e4 t\u00e4t\u00e4 kuponkia.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/coupons\/batch"
}
]
}
},
"\/wc-analytics\/data": {
"namespace": "wc-analytics",
"methods": [
"GET",
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
},
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/data"
}
]
}
},
"\/wc-analytics\/data\/countries\/locales": {
"namespace": "wc-analytics",
"methods": [
"GET",
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
},
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/data\/countries\/locales"
}
]
}
},
"\/wc-analytics\/data\/countries": {
"namespace": "wc-analytics",
"methods": [
"GET",
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
},
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/data\/countries"
}
]
}
},
"\/wc-analytics\/data\/countries\/(?P[\\w-]+)": {
"namespace": "wc-analytics",
"methods": [
"GET",
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"location": {
"description": "ISO3166 alpha-2 maatunnus.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"location": {
"description": "ISO3166 alpha-2 maatunnus.",
"type": "string",
"required": false
}
}
}
]
},
"\/wc-analytics\/data\/download-ips": {
"namespace": "wc-analytics",
"methods": [
"GET",
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
},
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/data\/download-ips"
}
]
}
},
"\/wc-analytics\/orders": {
"namespace": "wc-analytics",
"methods": [
"GET",
"POST",
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajoita tulokset niihin jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon.",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Rajoita vastaus resursseihin, joita on muutettu tietyn ISO8601-yhteensopivuuden j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Rajoita vastaus resursseihin, joita on muokattu ennen tietty\u00e4 ISO8601-yhteensopivaa p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Otetaanko GMT-l\u00e4hetysp\u00e4iv\u00e4t huomioon, kun vastaus rajoitetaan julkaistuun tai muutettuun p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4n.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified"
],
"required": false
},
"parent": {
"description": "Rajoita tulosjoukko niihin joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Rajoita tulosjoukko kaikkiin tuotteisiin poislukien ne joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"status": {
"default": [
"any"
],
"description": "Rajoita tulosjoukko tilauksiin joilla on tietty tila.",
"type": "array",
"items": {
"type": "string",
"enum": [
"any",
"trash",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
]
},
"required": false
},
"customer": {
"description": "Rajoita tulosjoukko tilauksiin joissa on tietty asiakas.",
"type": "integer",
"required": false
},
"product": {
"description": "Rajoita tulosjoukko tilauksiin joissa on tietty tuote.",
"type": "integer",
"required": false
},
"dp": {
"default": 2,
"description": "Desimaalien m\u00e4\u00e4r\u00e4 jota k\u00e4ytet\u00e4\u00e4n resursseissa.",
"type": "integer",
"required": false
},
"order_item_display_meta": {
"default": false,
"description": "N\u00e4yt\u00e4 vain meta, joka on tarkoitettu n\u00e4ytett\u00e4v\u00e4ksi tilaukselle.",
"type": "boolean",
"required": false
},
"include_meta": {
"default": [],
"description": "Rajoita meta_data tiettyihin avaimiin.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Varmista, ett\u00e4 meta_data ei sis\u00e4ll\u00e4 tietyt avaimet.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"number": {
"description": "Rajoita vastaus tilauksiin jotka vastaavat osaa tilausnumerosta.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"parent_id": {
"description": "Ylemm\u00e4n tason tilauksen numero.",
"type": "integer",
"required": false
},
"status": {
"default": "pending",
"description": "Tilauksen tila.",
"type": "string",
"enum": [
"auto-draft",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"required": false
},
"currency": {
"default": "USD",
"description": "ISO muodossa valuutta jolla tilaus on tehty.",
"type": "string",
"enum": [
"AED",
"AFN",
"ALL",
"AMD",
"ANG",
"AOA",
"ARS",
"AUD",
"AWG",
"AZN",
"BAM",
"BBD",
"BDT",
"BGN",
"BHD",
"BIF",
"BMD",
"BND",
"BOB",
"BRL",
"BSD",
"BTC",
"BTN",
"BWP",
"BYR",
"BYN",
"BZD",
"CAD",
"CDF",
"CHF",
"CLP",
"CNY",
"COP",
"CRC",
"CUC",
"CUP",
"CVE",
"CZK",
"DJF",
"DKK",
"DOP",
"DZD",
"EGP",
"ERN",
"ETB",
"EUR",
"FJD",
"FKP",
"GBP",
"GEL",
"GGP",
"GHS",
"GIP",
"GMD",
"GNF",
"GTQ",
"GYD",
"HKD",
"HNL",
"HRK",
"HTG",
"HUF",
"IDR",
"ILS",
"IMP",
"INR",
"IQD",
"IRR",
"IRT",
"ISK",
"JEP",
"JMD",
"JOD",
"JPY",
"KES",
"KGS",
"KHR",
"KMF",
"KPW",
"KRW",
"KWD",
"KYD",
"KZT",
"LAK",
"LBP",
"LKR",
"LRD",
"LSL",
"LYD",
"MAD",
"MDL",
"MGA",
"MKD",
"MMK",
"MNT",
"MOP",
"MRU",
"MUR",
"MVR",
"MWK",
"MXN",
"MYR",
"MZN",
"NAD",
"NGN",
"NIO",
"NOK",
"NPR",
"NZD",
"OMR",
"PAB",
"PEN",
"PGK",
"PHP",
"PKR",
"PLN",
"PRB",
"PYG",
"QAR",
"RON",
"RSD",
"RUB",
"RWF",
"SAR",
"SBD",
"SCR",
"SDG",
"SEK",
"SGD",
"SHP",
"SLL",
"SOS",
"SRD",
"SSP",
"STN",
"SYP",
"SZL",
"THB",
"TJS",
"TMT",
"TND",
"TOP",
"TRY",
"TTD",
"TWD",
"TZS",
"UAH",
"UGX",
"USD",
"UYU",
"UZS",
"VEF",
"VES",
"VND",
"VUV",
"WST",
"XAF",
"XCD",
"XOF",
"XPF",
"YER",
"ZAR",
"ZMW"
],
"required": false
},
"customer_id": {
"default": 0,
"description": "Tilauksen omistajan tunnus\/ID. Vierailijoille 0.",
"type": "integer",
"required": false
},
"customer_note": {
"description": "Asiakkaan kassalla j\u00e4tt\u00e4m\u00e4 kommentti.",
"type": "string",
"required": false
},
"billing": {
"description": "Laskutusosoite.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maakoodi ISO 3166-1 alpha-2 -muodossa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "S\u00e4hk\u00f6postiosoite.",
"type": [
"string",
"null"
],
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Puhelinnumero.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Toimitusosoite.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maakoodi ISO 3166-1 alpha-2 -muodossa.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"payment_method": {
"description": "Maksutavan tunnus\/ID",
"type": "string",
"required": false
},
"payment_method_title": {
"description": "Maksutavan otsikko.",
"type": "string",
"required": false
},
"transaction_id": {
"description": "Muista poikkeava tapahtuman tunnus\/ID.",
"type": "string",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"line_items": {
"description": "Tuoterivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Tuotteen nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"parent_name": {
"description": "P\u00e4\u00e4tuotteen nimi, jos tuote on muunnelma.",
"type": "string",
"context": [
"view",
"edit"
]
},
"product_id": {
"description": "Tuotteen ID.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"variation_id": {
"description": "Muunnelman tunnus\/ID, jos tarvitaan.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"quantity": {
"description": "Tilattu m\u00e4\u00e4r\u00e4.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Tuotteen veroluokka.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Rivien v\u00e4lisumma (ennen alennuksia).",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal_tax": {
"description": "Rivien verojen v\u00e4lisumma (ennen alennuksia).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Verojen v\u00e4lisumma.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"display_key": {
"description": "Meta-avain k\u00e4ytt\u00f6liittym\u00e4n n\u00e4yt\u00f6lle.",
"type": "string",
"context": [
"view",
"edit"
]
},
"display_value": {
"description": "K\u00e4ytt\u00f6liittym\u00e4n n\u00e4yt\u00f6n meta-arvo.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"sku": {
"description": "Tuotetunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"price": {
"description": "Tuotteen hinta.",
"type": "number",
"context": [
"view",
"edit"
],
"readonly": true
},
"image": {
"description": "P\u00e4\u00e4tuotekuvan ominaisuudet.",
"type": "object",
"context": [
"view",
"edit"
],
"readonly": true,
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
}
}
}
}
},
"required": false
},
"shipping_lines": {
"description": "Toimitusrivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"method_title": {
"description": "Toimitustavan nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"method_id": {
"description": "Toimitustavan tunnus\/ID.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"instance_id": {
"description": "Toimitustapahtuman tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"fee_lines": {
"description": "Maksurivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Maksun nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Maksun veroluokka.",
"type": "string",
"context": [
"view",
"edit"
]
},
"tax_status": {
"description": "Maksun veron tila.",
"type": "string",
"context": [
"view",
"edit"
],
"enum": [
"taxable",
"none"
]
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"subtotal": {
"description": "Verojen v\u00e4lisumma.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"coupon_lines": {
"description": "Kuponkirivin tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"code": {
"description": "Kupongin koodi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"discount": {
"description": "Alennukset yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"discount_tax": {
"description": "Alennuksen vero yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"discount_type": {
"description": "Alennustyyppi.",
"type": "string",
"context": [
"view"
],
"readonly": true
},
"nominal_amount": {
"description": "Discount amount as defined in the coupon (absolute value or a percent, depending on the discount type).",
"type": "number",
"context": [
"view"
],
"readonly": true
},
"free_shipping": {
"description": "Whether the coupon grants free shipping or not.",
"type": "boolean",
"context": [
"view"
],
"readonly": true
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"set_paid": {
"default": false,
"description": "M\u00e4\u00e4rit\u00e4 onko tilaus maksettu. Kun se tehd\u00e4\u00e4n, tila asetetaan K\u00e4sittelyss\u00e4 tilaksi ja varaston m\u00e4\u00e4r\u00e4\u00e4 pienennet\u00e4\u00e4n.",
"type": "boolean",
"required": false
},
"manual_update": {
"default": false,
"description": "Set the action as manual so that the order note registers as \"added by user\".",
"type": "boolean",
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajoita tulokset niihin jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon.",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Rajoita vastaus resursseihin, joita on muutettu tietyn ISO8601-yhteensopivuuden j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Rajoita vastaus resursseihin, joita on muokattu ennen tietty\u00e4 ISO8601-yhteensopivaa p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Otetaanko GMT-l\u00e4hetysp\u00e4iv\u00e4t huomioon, kun vastaus rajoitetaan julkaistuun tai muutettuun p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4n.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified"
],
"required": false
},
"parent": {
"description": "Rajoita tulosjoukko niihin joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Rajoita tulosjoukko kaikkiin tuotteisiin poislukien ne joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"status": {
"default": [
"any"
],
"description": "Rajoita tulosjoukko tilauksiin joilla on tietty tila.",
"type": "array",
"items": {
"type": "string",
"enum": [
"any",
"trash",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
]
},
"required": false
},
"customer": {
"description": "Rajoita tulosjoukko tilauksiin joissa on tietty asiakas.",
"type": "integer",
"required": false
},
"product": {
"description": "Rajoita tulosjoukko tilauksiin joissa on tietty tuote.",
"type": "integer",
"required": false
},
"dp": {
"default": 2,
"description": "Desimaalien m\u00e4\u00e4r\u00e4 jota k\u00e4ytet\u00e4\u00e4n resursseissa.",
"type": "integer",
"required": false
},
"order_item_display_meta": {
"default": false,
"description": "N\u00e4yt\u00e4 vain meta, joka on tarkoitettu n\u00e4ytett\u00e4v\u00e4ksi tilaukselle.",
"type": "boolean",
"required": false
},
"include_meta": {
"default": [],
"description": "Rajoita meta_data tiettyihin avaimiin.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Varmista, ett\u00e4 meta_data ei sis\u00e4ll\u00e4 tietyt avaimet.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"number": {
"description": "Rajoita vastaus tilauksiin jotka vastaavat osaa tilausnumerosta.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"parent_id": {
"description": "Ylemm\u00e4n tason tilauksen numero.",
"type": "integer",
"required": false
},
"status": {
"default": "pending",
"description": "Tilauksen tila.",
"type": "string",
"enum": [
"auto-draft",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"required": false
},
"currency": {
"default": "USD",
"description": "ISO muodossa valuutta jolla tilaus on tehty.",
"type": "string",
"enum": [
"AED",
"AFN",
"ALL",
"AMD",
"ANG",
"AOA",
"ARS",
"AUD",
"AWG",
"AZN",
"BAM",
"BBD",
"BDT",
"BGN",
"BHD",
"BIF",
"BMD",
"BND",
"BOB",
"BRL",
"BSD",
"BTC",
"BTN",
"BWP",
"BYR",
"BYN",
"BZD",
"CAD",
"CDF",
"CHF",
"CLP",
"CNY",
"COP",
"CRC",
"CUC",
"CUP",
"CVE",
"CZK",
"DJF",
"DKK",
"DOP",
"DZD",
"EGP",
"ERN",
"ETB",
"EUR",
"FJD",
"FKP",
"GBP",
"GEL",
"GGP",
"GHS",
"GIP",
"GMD",
"GNF",
"GTQ",
"GYD",
"HKD",
"HNL",
"HRK",
"HTG",
"HUF",
"IDR",
"ILS",
"IMP",
"INR",
"IQD",
"IRR",
"IRT",
"ISK",
"JEP",
"JMD",
"JOD",
"JPY",
"KES",
"KGS",
"KHR",
"KMF",
"KPW",
"KRW",
"KWD",
"KYD",
"KZT",
"LAK",
"LBP",
"LKR",
"LRD",
"LSL",
"LYD",
"MAD",
"MDL",
"MGA",
"MKD",
"MMK",
"MNT",
"MOP",
"MRU",
"MUR",
"MVR",
"MWK",
"MXN",
"MYR",
"MZN",
"NAD",
"NGN",
"NIO",
"NOK",
"NPR",
"NZD",
"OMR",
"PAB",
"PEN",
"PGK",
"PHP",
"PKR",
"PLN",
"PRB",
"PYG",
"QAR",
"RON",
"RSD",
"RUB",
"RWF",
"SAR",
"SBD",
"SCR",
"SDG",
"SEK",
"SGD",
"SHP",
"SLL",
"SOS",
"SRD",
"SSP",
"STN",
"SYP",
"SZL",
"THB",
"TJS",
"TMT",
"TND",
"TOP",
"TRY",
"TTD",
"TWD",
"TZS",
"UAH",
"UGX",
"USD",
"UYU",
"UZS",
"VEF",
"VES",
"VND",
"VUV",
"WST",
"XAF",
"XCD",
"XOF",
"XPF",
"YER",
"ZAR",
"ZMW"
],
"required": false
},
"customer_id": {
"default": 0,
"description": "Tilauksen omistajan tunnus\/ID. Vierailijoille 0.",
"type": "integer",
"required": false
},
"customer_note": {
"description": "Asiakkaan kassalla j\u00e4tt\u00e4m\u00e4 kommentti.",
"type": "string",
"required": false
},
"billing": {
"description": "Laskutusosoite.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maakoodi ISO 3166-1 alpha-2 -muodossa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "S\u00e4hk\u00f6postiosoite.",
"type": [
"string",
"null"
],
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Puhelinnumero.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Toimitusosoite.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maakoodi ISO 3166-1 alpha-2 -muodossa.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"payment_method": {
"description": "Maksutavan tunnus\/ID",
"type": "string",
"required": false
},
"payment_method_title": {
"description": "Maksutavan otsikko.",
"type": "string",
"required": false
},
"transaction_id": {
"description": "Muista poikkeava tapahtuman tunnus\/ID.",
"type": "string",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"line_items": {
"description": "Tuoterivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Tuotteen nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"parent_name": {
"description": "P\u00e4\u00e4tuotteen nimi, jos tuote on muunnelma.",
"type": "string",
"context": [
"view",
"edit"
]
},
"product_id": {
"description": "Tuotteen ID.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"variation_id": {
"description": "Muunnelman tunnus\/ID, jos tarvitaan.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"quantity": {
"description": "Tilattu m\u00e4\u00e4r\u00e4.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Tuotteen veroluokka.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Rivien v\u00e4lisumma (ennen alennuksia).",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal_tax": {
"description": "Rivien verojen v\u00e4lisumma (ennen alennuksia).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Verojen v\u00e4lisumma.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"display_key": {
"description": "Meta-avain k\u00e4ytt\u00f6liittym\u00e4n n\u00e4yt\u00f6lle.",
"type": "string",
"context": [
"view",
"edit"
]
},
"display_value": {
"description": "K\u00e4ytt\u00f6liittym\u00e4n n\u00e4yt\u00f6n meta-arvo.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"sku": {
"description": "Tuotetunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"price": {
"description": "Tuotteen hinta.",
"type": "number",
"context": [
"view",
"edit"
],
"readonly": true
},
"image": {
"description": "P\u00e4\u00e4tuotekuvan ominaisuudet.",
"type": "object",
"context": [
"view",
"edit"
],
"readonly": true,
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
}
}
}
}
},
"required": false
},
"shipping_lines": {
"description": "Toimitusrivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"method_title": {
"description": "Toimitustavan nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"method_id": {
"description": "Toimitustavan tunnus\/ID.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"instance_id": {
"description": "Toimitustapahtuman tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"fee_lines": {
"description": "Maksurivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Maksun nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Maksun veroluokka.",
"type": "string",
"context": [
"view",
"edit"
]
},
"tax_status": {
"description": "Maksun veron tila.",
"type": "string",
"context": [
"view",
"edit"
],
"enum": [
"taxable",
"none"
]
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"subtotal": {
"description": "Verojen v\u00e4lisumma.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"coupon_lines": {
"description": "Kuponkirivin tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"code": {
"description": "Kupongin koodi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"discount": {
"description": "Alennukset yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"discount_tax": {
"description": "Alennuksen vero yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"discount_type": {
"description": "Alennustyyppi.",
"type": "string",
"context": [
"view"
],
"readonly": true
},
"nominal_amount": {
"description": "Discount amount as defined in the coupon (absolute value or a percent, depending on the discount type).",
"type": "number",
"context": [
"view"
],
"readonly": true
},
"free_shipping": {
"description": "Whether the coupon grants free shipping or not.",
"type": "boolean",
"context": [
"view"
],
"readonly": true
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"set_paid": {
"default": false,
"description": "M\u00e4\u00e4rit\u00e4 onko tilaus maksettu. Kun se tehd\u00e4\u00e4n, tila asetetaan K\u00e4sittelyss\u00e4 tilaksi ja varaston m\u00e4\u00e4r\u00e4\u00e4 pienennet\u00e4\u00e4n.",
"type": "boolean",
"required": false
},
"manual_update": {
"default": false,
"description": "Set the action as manual so that the order note registers as \"added by user\".",
"type": "boolean",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/orders"
}
]
}
},
"\/wc-analytics\/orders\/(?P[\\d]+)": {
"namespace": "wc-analytics",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"parent_id": {
"description": "Ylemm\u00e4n tason tilauksen numero.",
"type": "integer",
"required": false
},
"status": {
"description": "Tilauksen tila.",
"type": "string",
"enum": [
"auto-draft",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"required": false
},
"currency": {
"description": "ISO muodossa valuutta jolla tilaus on tehty.",
"type": "string",
"enum": [
"AED",
"AFN",
"ALL",
"AMD",
"ANG",
"AOA",
"ARS",
"AUD",
"AWG",
"AZN",
"BAM",
"BBD",
"BDT",
"BGN",
"BHD",
"BIF",
"BMD",
"BND",
"BOB",
"BRL",
"BSD",
"BTC",
"BTN",
"BWP",
"BYR",
"BYN",
"BZD",
"CAD",
"CDF",
"CHF",
"CLP",
"CNY",
"COP",
"CRC",
"CUC",
"CUP",
"CVE",
"CZK",
"DJF",
"DKK",
"DOP",
"DZD",
"EGP",
"ERN",
"ETB",
"EUR",
"FJD",
"FKP",
"GBP",
"GEL",
"GGP",
"GHS",
"GIP",
"GMD",
"GNF",
"GTQ",
"GYD",
"HKD",
"HNL",
"HRK",
"HTG",
"HUF",
"IDR",
"ILS",
"IMP",
"INR",
"IQD",
"IRR",
"IRT",
"ISK",
"JEP",
"JMD",
"JOD",
"JPY",
"KES",
"KGS",
"KHR",
"KMF",
"KPW",
"KRW",
"KWD",
"KYD",
"KZT",
"LAK",
"LBP",
"LKR",
"LRD",
"LSL",
"LYD",
"MAD",
"MDL",
"MGA",
"MKD",
"MMK",
"MNT",
"MOP",
"MRU",
"MUR",
"MVR",
"MWK",
"MXN",
"MYR",
"MZN",
"NAD",
"NGN",
"NIO",
"NOK",
"NPR",
"NZD",
"OMR",
"PAB",
"PEN",
"PGK",
"PHP",
"PKR",
"PLN",
"PRB",
"PYG",
"QAR",
"RON",
"RSD",
"RUB",
"RWF",
"SAR",
"SBD",
"SCR",
"SDG",
"SEK",
"SGD",
"SHP",
"SLL",
"SOS",
"SRD",
"SSP",
"STN",
"SYP",
"SZL",
"THB",
"TJS",
"TMT",
"TND",
"TOP",
"TRY",
"TTD",
"TWD",
"TZS",
"UAH",
"UGX",
"USD",
"UYU",
"UZS",
"VEF",
"VES",
"VND",
"VUV",
"WST",
"XAF",
"XCD",
"XOF",
"XPF",
"YER",
"ZAR",
"ZMW"
],
"required": false
},
"customer_id": {
"description": "Tilauksen omistajan tunnus\/ID. Vierailijoille 0.",
"type": "integer",
"required": false
},
"customer_note": {
"description": "Asiakkaan kassalla j\u00e4tt\u00e4m\u00e4 kommentti.",
"type": "string",
"required": false
},
"billing": {
"description": "Laskutusosoite.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maakoodi ISO 3166-1 alpha-2 -muodossa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "S\u00e4hk\u00f6postiosoite.",
"type": [
"string",
"null"
],
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Puhelinnumero.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Toimitusosoite.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maakoodi ISO 3166-1 alpha-2 -muodossa.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"payment_method": {
"description": "Maksutavan tunnus\/ID",
"type": "string",
"required": false
},
"payment_method_title": {
"description": "Maksutavan otsikko.",
"type": "string",
"required": false
},
"transaction_id": {
"description": "Muista poikkeava tapahtuman tunnus\/ID.",
"type": "string",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"line_items": {
"description": "Tuoterivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Tuotteen nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"parent_name": {
"description": "P\u00e4\u00e4tuotteen nimi, jos tuote on muunnelma.",
"type": "string",
"context": [
"view",
"edit"
]
},
"product_id": {
"description": "Tuotteen ID.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"variation_id": {
"description": "Muunnelman tunnus\/ID, jos tarvitaan.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"quantity": {
"description": "Tilattu m\u00e4\u00e4r\u00e4.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Tuotteen veroluokka.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Rivien v\u00e4lisumma (ennen alennuksia).",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal_tax": {
"description": "Rivien verojen v\u00e4lisumma (ennen alennuksia).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Verojen v\u00e4lisumma.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"display_key": {
"description": "Meta-avain k\u00e4ytt\u00f6liittym\u00e4n n\u00e4yt\u00f6lle.",
"type": "string",
"context": [
"view",
"edit"
]
},
"display_value": {
"description": "K\u00e4ytt\u00f6liittym\u00e4n n\u00e4yt\u00f6n meta-arvo.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"sku": {
"description": "Tuotetunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"price": {
"description": "Tuotteen hinta.",
"type": "number",
"context": [
"view",
"edit"
],
"readonly": true
},
"image": {
"description": "P\u00e4\u00e4tuotekuvan ominaisuudet.",
"type": "object",
"context": [
"view",
"edit"
],
"readonly": true,
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
}
}
}
}
},
"required": false
},
"shipping_lines": {
"description": "Toimitusrivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"method_title": {
"description": "Toimitustavan nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"method_id": {
"description": "Toimitustavan tunnus\/ID.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"instance_id": {
"description": "Toimitustapahtuman tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"fee_lines": {
"description": "Maksurivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Maksun nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Maksun veroluokka.",
"type": "string",
"context": [
"view",
"edit"
]
},
"tax_status": {
"description": "Maksun veron tila.",
"type": "string",
"context": [
"view",
"edit"
],
"enum": [
"taxable",
"none"
]
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"subtotal": {
"description": "Verojen v\u00e4lisumma.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"coupon_lines": {
"description": "Kuponkirivin tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"code": {
"description": "Kupongin koodi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"discount": {
"description": "Alennukset yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"discount_tax": {
"description": "Alennuksen vero yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"discount_type": {
"description": "Alennustyyppi.",
"type": "string",
"context": [
"view"
],
"readonly": true
},
"nominal_amount": {
"description": "Discount amount as defined in the coupon (absolute value or a percent, depending on the discount type).",
"type": "number",
"context": [
"view"
],
"readonly": true
},
"free_shipping": {
"description": "Whether the coupon grants free shipping or not.",
"type": "boolean",
"context": [
"view"
],
"readonly": true
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"set_paid": {
"description": "M\u00e4\u00e4rit\u00e4 onko tilaus maksettu. Kun se tehd\u00e4\u00e4n, tila asetetaan K\u00e4sittelyss\u00e4 tilaksi ja varaston m\u00e4\u00e4r\u00e4\u00e4 pienennet\u00e4\u00e4n.",
"type": "boolean",
"required": false
},
"manual_update": {
"description": "Set the action as manual so that the order note registers as \"added by user\".",
"type": "boolean",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ohitetaanko roskakori ja pakotetaan poisto.",
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"parent_id": {
"description": "Ylemm\u00e4n tason tilauksen numero.",
"type": "integer",
"required": false
},
"status": {
"description": "Tilauksen tila.",
"type": "string",
"enum": [
"auto-draft",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"required": false
},
"currency": {
"description": "ISO muodossa valuutta jolla tilaus on tehty.",
"type": "string",
"enum": [
"AED",
"AFN",
"ALL",
"AMD",
"ANG",
"AOA",
"ARS",
"AUD",
"AWG",
"AZN",
"BAM",
"BBD",
"BDT",
"BGN",
"BHD",
"BIF",
"BMD",
"BND",
"BOB",
"BRL",
"BSD",
"BTC",
"BTN",
"BWP",
"BYR",
"BYN",
"BZD",
"CAD",
"CDF",
"CHF",
"CLP",
"CNY",
"COP",
"CRC",
"CUC",
"CUP",
"CVE",
"CZK",
"DJF",
"DKK",
"DOP",
"DZD",
"EGP",
"ERN",
"ETB",
"EUR",
"FJD",
"FKP",
"GBP",
"GEL",
"GGP",
"GHS",
"GIP",
"GMD",
"GNF",
"GTQ",
"GYD",
"HKD",
"HNL",
"HRK",
"HTG",
"HUF",
"IDR",
"ILS",
"IMP",
"INR",
"IQD",
"IRR",
"IRT",
"ISK",
"JEP",
"JMD",
"JOD",
"JPY",
"KES",
"KGS",
"KHR",
"KMF",
"KPW",
"KRW",
"KWD",
"KYD",
"KZT",
"LAK",
"LBP",
"LKR",
"LRD",
"LSL",
"LYD",
"MAD",
"MDL",
"MGA",
"MKD",
"MMK",
"MNT",
"MOP",
"MRU",
"MUR",
"MVR",
"MWK",
"MXN",
"MYR",
"MZN",
"NAD",
"NGN",
"NIO",
"NOK",
"NPR",
"NZD",
"OMR",
"PAB",
"PEN",
"PGK",
"PHP",
"PKR",
"PLN",
"PRB",
"PYG",
"QAR",
"RON",
"RSD",
"RUB",
"RWF",
"SAR",
"SBD",
"SCR",
"SDG",
"SEK",
"SGD",
"SHP",
"SLL",
"SOS",
"SRD",
"SSP",
"STN",
"SYP",
"SZL",
"THB",
"TJS",
"TMT",
"TND",
"TOP",
"TRY",
"TTD",
"TWD",
"TZS",
"UAH",
"UGX",
"USD",
"UYU",
"UZS",
"VEF",
"VES",
"VND",
"VUV",
"WST",
"XAF",
"XCD",
"XOF",
"XPF",
"YER",
"ZAR",
"ZMW"
],
"required": false
},
"customer_id": {
"description": "Tilauksen omistajan tunnus\/ID. Vierailijoille 0.",
"type": "integer",
"required": false
},
"customer_note": {
"description": "Asiakkaan kassalla j\u00e4tt\u00e4m\u00e4 kommentti.",
"type": "string",
"required": false
},
"billing": {
"description": "Laskutusosoite.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maakoodi ISO 3166-1 alpha-2 -muodossa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "S\u00e4hk\u00f6postiosoite.",
"type": [
"string",
"null"
],
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Puhelinnumero.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Toimitusosoite.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maakoodi ISO 3166-1 alpha-2 -muodossa.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"payment_method": {
"description": "Maksutavan tunnus\/ID",
"type": "string",
"required": false
},
"payment_method_title": {
"description": "Maksutavan otsikko.",
"type": "string",
"required": false
},
"transaction_id": {
"description": "Muista poikkeava tapahtuman tunnus\/ID.",
"type": "string",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"line_items": {
"description": "Tuoterivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Tuotteen nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"parent_name": {
"description": "P\u00e4\u00e4tuotteen nimi, jos tuote on muunnelma.",
"type": "string",
"context": [
"view",
"edit"
]
},
"product_id": {
"description": "Tuotteen ID.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"variation_id": {
"description": "Muunnelman tunnus\/ID, jos tarvitaan.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"quantity": {
"description": "Tilattu m\u00e4\u00e4r\u00e4.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Tuotteen veroluokka.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Rivien v\u00e4lisumma (ennen alennuksia).",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal_tax": {
"description": "Rivien verojen v\u00e4lisumma (ennen alennuksia).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Verojen v\u00e4lisumma.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"display_key": {
"description": "Meta-avain k\u00e4ytt\u00f6liittym\u00e4n n\u00e4yt\u00f6lle.",
"type": "string",
"context": [
"view",
"edit"
]
},
"display_value": {
"description": "K\u00e4ytt\u00f6liittym\u00e4n n\u00e4yt\u00f6n meta-arvo.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"sku": {
"description": "Tuotetunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"price": {
"description": "Tuotteen hinta.",
"type": "number",
"context": [
"view",
"edit"
],
"readonly": true
},
"image": {
"description": "P\u00e4\u00e4tuotekuvan ominaisuudet.",
"type": "object",
"context": [
"view",
"edit"
],
"readonly": true,
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
}
}
}
}
},
"required": false
},
"shipping_lines": {
"description": "Toimitusrivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"method_title": {
"description": "Toimitustavan nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"method_id": {
"description": "Toimitustavan tunnus\/ID.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"instance_id": {
"description": "Toimitustapahtuman tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"fee_lines": {
"description": "Maksurivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Maksun nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Maksun veroluokka.",
"type": "string",
"context": [
"view",
"edit"
]
},
"tax_status": {
"description": "Maksun veron tila.",
"type": "string",
"context": [
"view",
"edit"
],
"enum": [
"taxable",
"none"
]
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"subtotal": {
"description": "Verojen v\u00e4lisumma.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"coupon_lines": {
"description": "Kuponkirivin tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"code": {
"description": "Kupongin koodi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"discount": {
"description": "Alennukset yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"discount_tax": {
"description": "Alennuksen vero yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"discount_type": {
"description": "Alennustyyppi.",
"type": "string",
"context": [
"view"
],
"readonly": true
},
"nominal_amount": {
"description": "Discount amount as defined in the coupon (absolute value or a percent, depending on the discount type).",
"type": "number",
"context": [
"view"
],
"readonly": true
},
"free_shipping": {
"description": "Whether the coupon grants free shipping or not.",
"type": "boolean",
"context": [
"view"
],
"readonly": true
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"set_paid": {
"description": "M\u00e4\u00e4rit\u00e4 onko tilaus maksettu. Kun se tehd\u00e4\u00e4n, tila asetetaan K\u00e4sittelyss\u00e4 tilaksi ja varaston m\u00e4\u00e4r\u00e4\u00e4 pienennet\u00e4\u00e4n.",
"type": "boolean",
"required": false
},
"manual_update": {
"description": "Set the action as manual so that the order note registers as \"added by user\".",
"type": "boolean",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ohitetaanko roskakori ja pakotetaan poisto.",
"required": false
}
}
}
]
},
"\/wc-analytics\/orders\/batch": {
"namespace": "wc-analytics",
"methods": [
"POST",
"PUT",
"PATCH",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"parent_id": {
"description": "Ylemm\u00e4n tason tilauksen numero.",
"type": "integer",
"required": false
},
"status": {
"description": "Tilauksen tila.",
"type": "string",
"enum": [
"auto-draft",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"required": false
},
"currency": {
"description": "ISO muodossa valuutta jolla tilaus on tehty.",
"type": "string",
"enum": [
"AED",
"AFN",
"ALL",
"AMD",
"ANG",
"AOA",
"ARS",
"AUD",
"AWG",
"AZN",
"BAM",
"BBD",
"BDT",
"BGN",
"BHD",
"BIF",
"BMD",
"BND",
"BOB",
"BRL",
"BSD",
"BTC",
"BTN",
"BWP",
"BYR",
"BYN",
"BZD",
"CAD",
"CDF",
"CHF",
"CLP",
"CNY",
"COP",
"CRC",
"CUC",
"CUP",
"CVE",
"CZK",
"DJF",
"DKK",
"DOP",
"DZD",
"EGP",
"ERN",
"ETB",
"EUR",
"FJD",
"FKP",
"GBP",
"GEL",
"GGP",
"GHS",
"GIP",
"GMD",
"GNF",
"GTQ",
"GYD",
"HKD",
"HNL",
"HRK",
"HTG",
"HUF",
"IDR",
"ILS",
"IMP",
"INR",
"IQD",
"IRR",
"IRT",
"ISK",
"JEP",
"JMD",
"JOD",
"JPY",
"KES",
"KGS",
"KHR",
"KMF",
"KPW",
"KRW",
"KWD",
"KYD",
"KZT",
"LAK",
"LBP",
"LKR",
"LRD",
"LSL",
"LYD",
"MAD",
"MDL",
"MGA",
"MKD",
"MMK",
"MNT",
"MOP",
"MRU",
"MUR",
"MVR",
"MWK",
"MXN",
"MYR",
"MZN",
"NAD",
"NGN",
"NIO",
"NOK",
"NPR",
"NZD",
"OMR",
"PAB",
"PEN",
"PGK",
"PHP",
"PKR",
"PLN",
"PRB",
"PYG",
"QAR",
"RON",
"RSD",
"RUB",
"RWF",
"SAR",
"SBD",
"SCR",
"SDG",
"SEK",
"SGD",
"SHP",
"SLL",
"SOS",
"SRD",
"SSP",
"STN",
"SYP",
"SZL",
"THB",
"TJS",
"TMT",
"TND",
"TOP",
"TRY",
"TTD",
"TWD",
"TZS",
"UAH",
"UGX",
"USD",
"UYU",
"UZS",
"VEF",
"VES",
"VND",
"VUV",
"WST",
"XAF",
"XCD",
"XOF",
"XPF",
"YER",
"ZAR",
"ZMW"
],
"required": false
},
"customer_id": {
"description": "Tilauksen omistajan tunnus\/ID. Vierailijoille 0.",
"type": "integer",
"required": false
},
"customer_note": {
"description": "Asiakkaan kassalla j\u00e4tt\u00e4m\u00e4 kommentti.",
"type": "string",
"required": false
},
"billing": {
"description": "Laskutusosoite.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maakoodi ISO 3166-1 alpha-2 -muodossa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "S\u00e4hk\u00f6postiosoite.",
"type": [
"string",
"null"
],
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Puhelinnumero.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Toimitusosoite.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maakoodi ISO 3166-1 alpha-2 -muodossa.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"payment_method": {
"description": "Maksutavan tunnus\/ID",
"type": "string",
"required": false
},
"payment_method_title": {
"description": "Maksutavan otsikko.",
"type": "string",
"required": false
},
"transaction_id": {
"description": "Muista poikkeava tapahtuman tunnus\/ID.",
"type": "string",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"line_items": {
"description": "Tuoterivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Tuotteen nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"parent_name": {
"description": "P\u00e4\u00e4tuotteen nimi, jos tuote on muunnelma.",
"type": "string",
"context": [
"view",
"edit"
]
},
"product_id": {
"description": "Tuotteen ID.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"variation_id": {
"description": "Muunnelman tunnus\/ID, jos tarvitaan.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"quantity": {
"description": "Tilattu m\u00e4\u00e4r\u00e4.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Tuotteen veroluokka.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Rivien v\u00e4lisumma (ennen alennuksia).",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal_tax": {
"description": "Rivien verojen v\u00e4lisumma (ennen alennuksia).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Verojen v\u00e4lisumma.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"display_key": {
"description": "Meta-avain k\u00e4ytt\u00f6liittym\u00e4n n\u00e4yt\u00f6lle.",
"type": "string",
"context": [
"view",
"edit"
]
},
"display_value": {
"description": "K\u00e4ytt\u00f6liittym\u00e4n n\u00e4yt\u00f6n meta-arvo.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"sku": {
"description": "Tuotetunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"price": {
"description": "Tuotteen hinta.",
"type": "number",
"context": [
"view",
"edit"
],
"readonly": true
},
"image": {
"description": "P\u00e4\u00e4tuotekuvan ominaisuudet.",
"type": "object",
"context": [
"view",
"edit"
],
"readonly": true,
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
}
}
}
}
},
"required": false
},
"shipping_lines": {
"description": "Toimitusrivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"method_title": {
"description": "Toimitustavan nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"method_id": {
"description": "Toimitustavan tunnus\/ID.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"instance_id": {
"description": "Toimitustapahtuman tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"fee_lines": {
"description": "Maksurivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Maksun nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Maksun veroluokka.",
"type": "string",
"context": [
"view",
"edit"
]
},
"tax_status": {
"description": "Maksun veron tila.",
"type": "string",
"context": [
"view",
"edit"
],
"enum": [
"taxable",
"none"
]
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"subtotal": {
"description": "Verojen v\u00e4lisumma.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"coupon_lines": {
"description": "Kuponkirivin tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"code": {
"description": "Kupongin koodi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"discount": {
"description": "Alennukset yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"discount_tax": {
"description": "Alennuksen vero yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"discount_type": {
"description": "Alennustyyppi.",
"type": "string",
"context": [
"view"
],
"readonly": true
},
"nominal_amount": {
"description": "Discount amount as defined in the coupon (absolute value or a percent, depending on the discount type).",
"type": "number",
"context": [
"view"
],
"readonly": true
},
"free_shipping": {
"description": "Whether the coupon grants free shipping or not.",
"type": "boolean",
"context": [
"view"
],
"readonly": true
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"set_paid": {
"description": "M\u00e4\u00e4rit\u00e4 onko tilaus maksettu. Kun se tehd\u00e4\u00e4n, tila asetetaan K\u00e4sittelyss\u00e4 tilaksi ja varaston m\u00e4\u00e4r\u00e4\u00e4 pienennet\u00e4\u00e4n.",
"type": "boolean",
"required": false
},
"manual_update": {
"description": "Set the action as manual so that the order note registers as \"added by user\".",
"type": "boolean",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"parent_id": {
"description": "Ylemm\u00e4n tason tilauksen numero.",
"type": "integer",
"required": false
},
"status": {
"description": "Tilauksen tila.",
"type": "string",
"enum": [
"auto-draft",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"required": false
},
"currency": {
"description": "ISO muodossa valuutta jolla tilaus on tehty.",
"type": "string",
"enum": [
"AED",
"AFN",
"ALL",
"AMD",
"ANG",
"AOA",
"ARS",
"AUD",
"AWG",
"AZN",
"BAM",
"BBD",
"BDT",
"BGN",
"BHD",
"BIF",
"BMD",
"BND",
"BOB",
"BRL",
"BSD",
"BTC",
"BTN",
"BWP",
"BYR",
"BYN",
"BZD",
"CAD",
"CDF",
"CHF",
"CLP",
"CNY",
"COP",
"CRC",
"CUC",
"CUP",
"CVE",
"CZK",
"DJF",
"DKK",
"DOP",
"DZD",
"EGP",
"ERN",
"ETB",
"EUR",
"FJD",
"FKP",
"GBP",
"GEL",
"GGP",
"GHS",
"GIP",
"GMD",
"GNF",
"GTQ",
"GYD",
"HKD",
"HNL",
"HRK",
"HTG",
"HUF",
"IDR",
"ILS",
"IMP",
"INR",
"IQD",
"IRR",
"IRT",
"ISK",
"JEP",
"JMD",
"JOD",
"JPY",
"KES",
"KGS",
"KHR",
"KMF",
"KPW",
"KRW",
"KWD",
"KYD",
"KZT",
"LAK",
"LBP",
"LKR",
"LRD",
"LSL",
"LYD",
"MAD",
"MDL",
"MGA",
"MKD",
"MMK",
"MNT",
"MOP",
"MRU",
"MUR",
"MVR",
"MWK",
"MXN",
"MYR",
"MZN",
"NAD",
"NGN",
"NIO",
"NOK",
"NPR",
"NZD",
"OMR",
"PAB",
"PEN",
"PGK",
"PHP",
"PKR",
"PLN",
"PRB",
"PYG",
"QAR",
"RON",
"RSD",
"RUB",
"RWF",
"SAR",
"SBD",
"SCR",
"SDG",
"SEK",
"SGD",
"SHP",
"SLL",
"SOS",
"SRD",
"SSP",
"STN",
"SYP",
"SZL",
"THB",
"TJS",
"TMT",
"TND",
"TOP",
"TRY",
"TTD",
"TWD",
"TZS",
"UAH",
"UGX",
"USD",
"UYU",
"UZS",
"VEF",
"VES",
"VND",
"VUV",
"WST",
"XAF",
"XCD",
"XOF",
"XPF",
"YER",
"ZAR",
"ZMW"
],
"required": false
},
"customer_id": {
"description": "Tilauksen omistajan tunnus\/ID. Vierailijoille 0.",
"type": "integer",
"required": false
},
"customer_note": {
"description": "Asiakkaan kassalla j\u00e4tt\u00e4m\u00e4 kommentti.",
"type": "string",
"required": false
},
"billing": {
"description": "Laskutusosoite.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maakoodi ISO 3166-1 alpha-2 -muodossa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "S\u00e4hk\u00f6postiosoite.",
"type": [
"string",
"null"
],
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Puhelinnumero.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Toimitusosoite.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maakoodi ISO 3166-1 alpha-2 -muodossa.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"payment_method": {
"description": "Maksutavan tunnus\/ID",
"type": "string",
"required": false
},
"payment_method_title": {
"description": "Maksutavan otsikko.",
"type": "string",
"required": false
},
"transaction_id": {
"description": "Muista poikkeava tapahtuman tunnus\/ID.",
"type": "string",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"line_items": {
"description": "Tuoterivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Tuotteen nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"parent_name": {
"description": "P\u00e4\u00e4tuotteen nimi, jos tuote on muunnelma.",
"type": "string",
"context": [
"view",
"edit"
]
},
"product_id": {
"description": "Tuotteen ID.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"variation_id": {
"description": "Muunnelman tunnus\/ID, jos tarvitaan.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"quantity": {
"description": "Tilattu m\u00e4\u00e4r\u00e4.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Tuotteen veroluokka.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Rivien v\u00e4lisumma (ennen alennuksia).",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal_tax": {
"description": "Rivien verojen v\u00e4lisumma (ennen alennuksia).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Verojen v\u00e4lisumma.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"display_key": {
"description": "Meta-avain k\u00e4ytt\u00f6liittym\u00e4n n\u00e4yt\u00f6lle.",
"type": "string",
"context": [
"view",
"edit"
]
},
"display_value": {
"description": "K\u00e4ytt\u00f6liittym\u00e4n n\u00e4yt\u00f6n meta-arvo.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"sku": {
"description": "Tuotetunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"price": {
"description": "Tuotteen hinta.",
"type": "number",
"context": [
"view",
"edit"
],
"readonly": true
},
"image": {
"description": "P\u00e4\u00e4tuotekuvan ominaisuudet.",
"type": "object",
"context": [
"view",
"edit"
],
"readonly": true,
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
}
}
}
}
},
"required": false
},
"shipping_lines": {
"description": "Toimitusrivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"method_title": {
"description": "Toimitustavan nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"method_id": {
"description": "Toimitustavan tunnus\/ID.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"instance_id": {
"description": "Toimitustapahtuman tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"fee_lines": {
"description": "Maksurivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Maksun nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Maksun veroluokka.",
"type": "string",
"context": [
"view",
"edit"
]
},
"tax_status": {
"description": "Maksun veron tila.",
"type": "string",
"context": [
"view",
"edit"
],
"enum": [
"taxable",
"none"
]
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"subtotal": {
"description": "Verojen v\u00e4lisumma.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"coupon_lines": {
"description": "Kuponkirivin tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"code": {
"description": "Kupongin koodi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"discount": {
"description": "Alennukset yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"discount_tax": {
"description": "Alennuksen vero yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"discount_type": {
"description": "Alennustyyppi.",
"type": "string",
"context": [
"view"
],
"readonly": true
},
"nominal_amount": {
"description": "Discount amount as defined in the coupon (absolute value or a percent, depending on the discount type).",
"type": "number",
"context": [
"view"
],
"readonly": true
},
"free_shipping": {
"description": "Whether the coupon grants free shipping or not.",
"type": "boolean",
"context": [
"view"
],
"readonly": true
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"set_paid": {
"description": "M\u00e4\u00e4rit\u00e4 onko tilaus maksettu. Kun se tehd\u00e4\u00e4n, tila asetetaan K\u00e4sittelyss\u00e4 tilaksi ja varaston m\u00e4\u00e4r\u00e4\u00e4 pienennet\u00e4\u00e4n.",
"type": "boolean",
"required": false
},
"manual_update": {
"description": "Set the action as manual so that the order note registers as \"added by user\".",
"type": "boolean",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/orders\/batch"
}
]
}
},
"\/wc-analytics\/products": {
"namespace": "wc-analytics",
"methods": [
"GET",
"POST",
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Etsi samanlaisen tuoteninen tai tuotetunnuksen\/SKU mukaan.",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Rajoita vastaus resursseihin, joita on muutettu tietyn ISO8601-yhteensopivuuden j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Rajoita vastaus resursseihin, joita on muokattu ennen tietty\u00e4 ISO8601-yhteensopivaa p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Otetaanko GMT-l\u00e4hetysp\u00e4iv\u00e4t huomioon, kun vastaus rajoitetaan julkaistuun tai muutettuun p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4n.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified",
"popularity",
"rating",
"popularity",
"rating",
"menu_order",
"price",
"popularity",
"rating"
],
"required": false
},
"parent": {
"description": "Rajoita tulosjoukko niihin joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Rajoita tulosjoukko kaikkiin tuotteisiin poislukien ne joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"slug": {
"description": "Rajoita tulosjoukko niihin tuotteisiin joilla on tietty polkutunnus.",
"type": "string",
"required": false
},
"status": {
"default": "any",
"description": "Rajoita tulosjoukko tuotteisiin joilla on tietty tila.",
"type": "string",
"enum": [
"any",
"future",
"trash",
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"type": {
"description": "Rajoita tulosjoukko tietyn lajisiin tuotteisiin.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"sku": {
"description": "Rajaa tulosjoukko tuotteisiin joilla tietty tuotetunnus (SKU). Jos useita, erota pilkulla.",
"type": "string",
"required": false
},
"featured": {
"description": "Rajoita tuotteiden tulosjoukko esittelyss\u00e4 olevien mukaan.",
"type": "boolean",
"required": false
},
"category": {
"description": "Rajoita tulosjoukko tietyn osaston\/ID tuotteisiin.",
"type": "string",
"required": false
},
"tag": {
"description": "Rajoita tulosjoukko tuotteisiin joilla on tietty avainsana\/ID.",
"type": "string",
"required": false
},
"shipping_class": {
"description": "Rajoita tulosjoukko tuotteisiin joilla on tietty toimitusluokka\/ID.",
"type": "string",
"required": false
},
"attribute": {
"description": "Rajoita tulokset tuotteisiin joilla tietty ominaisuus. K\u00e4yt\u00e4 luokittelunime\u00e4 tai ominaisuuden polkutunnusta.",
"type": "string",
"required": false
},
"attribute_term": {
"description": "Rajoita tulosjoukkot tuotteisiin joilla on tietty ominaisuuden arvo (edellytt\u00e4\u00e4 asetettua ominaisuutta).",
"type": "string",
"required": false
},
"on_sale": {
"description": "Rajoita tuotteiden tulosjoukko alennuksessa olevien mukaan.",
"type": "boolean",
"required": false
},
"min_price": {
"description": "Rajoita tuotteiden tulosjoukko alimman hinnan mukaan.",
"type": "string",
"required": false
},
"max_price": {
"description": "Rajoita tuotteiden tulosjoukko korkeimman hinnan mukaan.",
"type": "string",
"required": false
},
"include_meta": {
"default": [],
"description": "Rajoita meta_data tiettyihin avaimiin.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Varmista, ett\u00e4 meta_data ei sis\u00e4ll\u00e4 tietyt avaimet.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"stock_status": {
"description": "Rajoita tuotteiden tulosjoukko tietyn varastotilanteen mukaan.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"search_sku": {
"description": "Rajoita tulokset niihin, joiden SKU osittain vastaa merkkijonoa.",
"type": "string",
"required": false
},
"low_in_stock": {
"description": "Rajoita tulos asetettu tuotteisiin, jotka ovat v\u00e4hiss\u00e4 tai loppuneet. (K\u00e4yt\u00f6st\u00e4 poistettu)",
"type": "boolean",
"default": false,
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"description": "Tuotteen nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Tuotteen polkutunnus.",
"type": "string",
"required": false
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin tuote luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin tuote luotiin, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"type": {
"default": "simple",
"description": "Tuotteen laji.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"status": {
"default": "publish",
"description": "Tuotteen tila (julkaisun tila).",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish",
"future",
"auto-draft",
"trash"
],
"required": false
},
"featured": {
"default": false,
"description": "Esittelyss\u00e4 oleva tuote.",
"type": "boolean",
"required": false
},
"catalog_visibility": {
"default": "visible",
"description": "Tuoteluettelon n\u00e4kyvyys.",
"type": "string",
"enum": [
"visible",
"catalog",
"search",
"hidden"
],
"required": false
},
"description": {
"description": "Tuotteen kuvaus.",
"type": "string",
"required": false
},
"short_description": {
"description": "Tuotteen lyhyt kuvaus.",
"type": "string",
"required": false
},
"sku": {
"description": "Stock Keeping Unit.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN or ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Tuotteen normaali hinta.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Tuotteen alennettu hinta.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"virtual": {
"default": false,
"description": "Jos tuote on palvelu.",
"type": "boolean",
"required": false
},
"downloadable": {
"default": false,
"description": "Jos tuote on ladattava tuote.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"default": -1,
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer",
"required": false
},
"download_expiry": {
"default": -1,
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer",
"required": false
},
"external_url": {
"description": "Tuotteen ulkopuolinen verkko-osoite. Vain ulkopuolisille tuotteille.",
"type": "string",
"format": "uri",
"required": false
},
"button_text": {
"description": "Tuotteen ulkopuolisen painikkeen teksti. Vain ulkopuolisille tuotteille.",
"type": "string",
"required": false
},
"tax_status": {
"default": "taxable",
"description": "Veron tila.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Veroluokka.",
"type": "string",
"required": false
},
"manage_stock": {
"default": false,
"description": "Varaston hallinta tuotetasolla.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"stock_status": {
"default": "instock",
"description": "Hallitsee tuotteen varastotilannetta.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"default": "no",
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Alhainen varastom\u00e4\u00e4r\u00e4 tuotteelle.",
"type": [
"integer",
"null"
],
"required": false
},
"sold_individually": {
"default": false,
"description": "Yksi tuote voidaan ostaa yht\u00e4 tilausta kohden.",
"type": "boolean",
"required": false
},
"weight": {
"description": "Tuotteen paino (kg (kilogramma)).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Tuotteen mitat.",
"type": "object",
"properties": {
"length": {
"description": "Tuotteen pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Tuotteen leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Tuotteen korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Toimitusluokan polkutunnus.",
"type": "string",
"required": false
},
"reviews_allowed": {
"default": true,
"description": "Salli tuotearviot.",
"type": "boolean",
"required": false
},
"post_password": {
"description": "Artikkelin salasana.",
"type": "string",
"required": false
},
"upsell_ids": {
"description": "Lista Parempi tuote (Up-Sell) tuotteiden tunnuksista\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"cross_sell_ids": {
"description": "Lista Lis\u00e4tuote (Cross-Sell) tuotteiden tunnuksista\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"parent_id": {
"description": "Ylemm\u00e4n tason tuotteen tunnus\/ID.",
"type": "integer",
"required": false
},
"purchase_note": {
"description": "Valinnainen kommentti joka l\u00e4hetet\u00e4\u00e4n asiakkaalle oston j\u00e4lkeen.",
"type": "string",
"required": false
},
"categories": {
"description": "Osatojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Osaston tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Osaston nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Osaston polkutunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"tags": {
"description": "Avainsanojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Avainsanan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Avainsanan nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Avainsanan polkutunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"images": {
"description": "Kuvien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"attributes": {
"description": "Ominisuuksien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Ominaisuuden sijainti.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"visible": {
"description": "M\u00e4\u00e4rit\u00e4 n\u00e4kyyk\u00f6 ominaisuus \"Lis\u00e4tiedot\" v\u00e4lilehdell\u00e4 tuotteen sivulla.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"variation": {
"description": "M\u00e4\u00e4rit\u00e4, voidaanko ominaisuutta k\u00e4ytt\u00e4\u00e4 muunnelmana.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"options": {
"description": "Ominaisuuden saatavilla olevien (termi)nimien lista.",
"type": "array",
"items": {
"type": "string"
},
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"default_attributes": {
"description": "Muunnelman oletusominaisuudet.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys, k\u00e4ytet\u00e4\u00e4n tuotteiden mukautettuun j\u00e4rjest\u00e4miseen.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Etsi samanlaisen tuoteninen tai tuotetunnuksen\/SKU mukaan.",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Rajoita vastaus resursseihin, joita on muutettu tietyn ISO8601-yhteensopivuuden j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Rajoita vastaus resursseihin, joita on muokattu ennen tietty\u00e4 ISO8601-yhteensopivaa p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Otetaanko GMT-l\u00e4hetysp\u00e4iv\u00e4t huomioon, kun vastaus rajoitetaan julkaistuun tai muutettuun p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4n.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified",
"popularity",
"rating",
"popularity",
"rating",
"menu_order",
"price",
"popularity",
"rating"
],
"required": false
},
"parent": {
"description": "Rajoita tulosjoukko niihin joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Rajoita tulosjoukko kaikkiin tuotteisiin poislukien ne joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"slug": {
"description": "Rajoita tulosjoukko niihin tuotteisiin joilla on tietty polkutunnus.",
"type": "string",
"required": false
},
"status": {
"default": "any",
"description": "Rajoita tulosjoukko tuotteisiin joilla on tietty tila.",
"type": "string",
"enum": [
"any",
"future",
"trash",
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"type": {
"description": "Rajoita tulosjoukko tietyn lajisiin tuotteisiin.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"sku": {
"description": "Rajaa tulosjoukko tuotteisiin joilla tietty tuotetunnus (SKU). Jos useita, erota pilkulla.",
"type": "string",
"required": false
},
"featured": {
"description": "Rajoita tuotteiden tulosjoukko esittelyss\u00e4 olevien mukaan.",
"type": "boolean",
"required": false
},
"category": {
"description": "Rajoita tulosjoukko tietyn osaston\/ID tuotteisiin.",
"type": "string",
"required": false
},
"tag": {
"description": "Rajoita tulosjoukko tuotteisiin joilla on tietty avainsana\/ID.",
"type": "string",
"required": false
},
"shipping_class": {
"description": "Rajoita tulosjoukko tuotteisiin joilla on tietty toimitusluokka\/ID.",
"type": "string",
"required": false
},
"attribute": {
"description": "Rajoita tulokset tuotteisiin joilla tietty ominaisuus. K\u00e4yt\u00e4 luokittelunime\u00e4 tai ominaisuuden polkutunnusta.",
"type": "string",
"required": false
},
"attribute_term": {
"description": "Rajoita tulosjoukkot tuotteisiin joilla on tietty ominaisuuden arvo (edellytt\u00e4\u00e4 asetettua ominaisuutta).",
"type": "string",
"required": false
},
"on_sale": {
"description": "Rajoita tuotteiden tulosjoukko alennuksessa olevien mukaan.",
"type": "boolean",
"required": false
},
"min_price": {
"description": "Rajoita tuotteiden tulosjoukko alimman hinnan mukaan.",
"type": "string",
"required": false
},
"max_price": {
"description": "Rajoita tuotteiden tulosjoukko korkeimman hinnan mukaan.",
"type": "string",
"required": false
},
"include_meta": {
"default": [],
"description": "Rajoita meta_data tiettyihin avaimiin.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Varmista, ett\u00e4 meta_data ei sis\u00e4ll\u00e4 tietyt avaimet.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"stock_status": {
"description": "Rajoita tuotteiden tulosjoukko tietyn varastotilanteen mukaan.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"search_sku": {
"description": "Rajoita tulokset niihin, joiden SKU osittain vastaa merkkijonoa.",
"type": "string",
"required": false
},
"low_in_stock": {
"description": "Rajoita tulos asetettu tuotteisiin, jotka ovat v\u00e4hiss\u00e4 tai loppuneet. (K\u00e4yt\u00f6st\u00e4 poistettu)",
"type": "boolean",
"default": false,
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"description": "Tuotteen nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Tuotteen polkutunnus.",
"type": "string",
"required": false
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin tuote luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin tuote luotiin, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"type": {
"default": "simple",
"description": "Tuotteen laji.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"status": {
"default": "publish",
"description": "Tuotteen tila (julkaisun tila).",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish",
"future",
"auto-draft",
"trash"
],
"required": false
},
"featured": {
"default": false,
"description": "Esittelyss\u00e4 oleva tuote.",
"type": "boolean",
"required": false
},
"catalog_visibility": {
"default": "visible",
"description": "Tuoteluettelon n\u00e4kyvyys.",
"type": "string",
"enum": [
"visible",
"catalog",
"search",
"hidden"
],
"required": false
},
"description": {
"description": "Tuotteen kuvaus.",
"type": "string",
"required": false
},
"short_description": {
"description": "Tuotteen lyhyt kuvaus.",
"type": "string",
"required": false
},
"sku": {
"description": "Stock Keeping Unit.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN or ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Tuotteen normaali hinta.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Tuotteen alennettu hinta.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"virtual": {
"default": false,
"description": "Jos tuote on palvelu.",
"type": "boolean",
"required": false
},
"downloadable": {
"default": false,
"description": "Jos tuote on ladattava tuote.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"default": -1,
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer",
"required": false
},
"download_expiry": {
"default": -1,
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer",
"required": false
},
"external_url": {
"description": "Tuotteen ulkopuolinen verkko-osoite. Vain ulkopuolisille tuotteille.",
"type": "string",
"format": "uri",
"required": false
},
"button_text": {
"description": "Tuotteen ulkopuolisen painikkeen teksti. Vain ulkopuolisille tuotteille.",
"type": "string",
"required": false
},
"tax_status": {
"default": "taxable",
"description": "Veron tila.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Veroluokka.",
"type": "string",
"required": false
},
"manage_stock": {
"default": false,
"description": "Varaston hallinta tuotetasolla.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"stock_status": {
"default": "instock",
"description": "Hallitsee tuotteen varastotilannetta.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"default": "no",
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Alhainen varastom\u00e4\u00e4r\u00e4 tuotteelle.",
"type": [
"integer",
"null"
],
"required": false
},
"sold_individually": {
"default": false,
"description": "Yksi tuote voidaan ostaa yht\u00e4 tilausta kohden.",
"type": "boolean",
"required": false
},
"weight": {
"description": "Tuotteen paino (kg (kilogramma)).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Tuotteen mitat.",
"type": "object",
"properties": {
"length": {
"description": "Tuotteen pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Tuotteen leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Tuotteen korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Toimitusluokan polkutunnus.",
"type": "string",
"required": false
},
"reviews_allowed": {
"default": true,
"description": "Salli tuotearviot.",
"type": "boolean",
"required": false
},
"post_password": {
"description": "Artikkelin salasana.",
"type": "string",
"required": false
},
"upsell_ids": {
"description": "Lista Parempi tuote (Up-Sell) tuotteiden tunnuksista\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"cross_sell_ids": {
"description": "Lista Lis\u00e4tuote (Cross-Sell) tuotteiden tunnuksista\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"parent_id": {
"description": "Ylemm\u00e4n tason tuotteen tunnus\/ID.",
"type": "integer",
"required": false
},
"purchase_note": {
"description": "Valinnainen kommentti joka l\u00e4hetet\u00e4\u00e4n asiakkaalle oston j\u00e4lkeen.",
"type": "string",
"required": false
},
"categories": {
"description": "Osatojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Osaston tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Osaston nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Osaston polkutunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"tags": {
"description": "Avainsanojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Avainsanan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Avainsanan nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Avainsanan polkutunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"images": {
"description": "Kuvien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"attributes": {
"description": "Ominisuuksien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Ominaisuuden sijainti.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"visible": {
"description": "M\u00e4\u00e4rit\u00e4 n\u00e4kyyk\u00f6 ominaisuus \"Lis\u00e4tiedot\" v\u00e4lilehdell\u00e4 tuotteen sivulla.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"variation": {
"description": "M\u00e4\u00e4rit\u00e4, voidaanko ominaisuutta k\u00e4ytt\u00e4\u00e4 muunnelmana.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"options": {
"description": "Ominaisuuden saatavilla olevien (termi)nimien lista.",
"type": "array",
"items": {
"type": "string"
},
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"default_attributes": {
"description": "Muunnelman oletusominaisuudet.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys, k\u00e4ytet\u00e4\u00e4n tuotteiden mukautettuun j\u00e4rjest\u00e4miseen.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/products"
}
]
}
},
"\/wc-analytics\/products\/(?P[\\d]+)": {
"namespace": "wc-analytics",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"name": {
"description": "Tuotteen nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Tuotteen polkutunnus.",
"type": "string",
"required": false
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin tuote luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin tuote luotiin, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"type": {
"description": "Tuotteen laji.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"status": {
"description": "Tuotteen tila (julkaisun tila).",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish",
"future",
"auto-draft",
"trash"
],
"required": false
},
"featured": {
"description": "Esittelyss\u00e4 oleva tuote.",
"type": "boolean",
"required": false
},
"catalog_visibility": {
"description": "Tuoteluettelon n\u00e4kyvyys.",
"type": "string",
"enum": [
"visible",
"catalog",
"search",
"hidden"
],
"required": false
},
"description": {
"description": "Tuotteen kuvaus.",
"type": "string",
"required": false
},
"short_description": {
"description": "Tuotteen lyhyt kuvaus.",
"type": "string",
"required": false
},
"sku": {
"description": "Stock Keeping Unit.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN or ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Tuotteen normaali hinta.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Tuotteen alennettu hinta.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"virtual": {
"description": "Jos tuote on palvelu.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Jos tuote on ladattava tuote.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer",
"required": false
},
"external_url": {
"description": "Tuotteen ulkopuolinen verkko-osoite. Vain ulkopuolisille tuotteille.",
"type": "string",
"format": "uri",
"required": false
},
"button_text": {
"description": "Tuotteen ulkopuolisen painikkeen teksti. Vain ulkopuolisille tuotteille.",
"type": "string",
"required": false
},
"tax_status": {
"description": "Veron tila.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Veroluokka.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Varaston hallinta tuotetasolla.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"stock_status": {
"description": "Hallitsee tuotteen varastotilannetta.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Alhainen varastom\u00e4\u00e4r\u00e4 tuotteelle.",
"type": [
"integer",
"null"
],
"required": false
},
"sold_individually": {
"description": "Yksi tuote voidaan ostaa yht\u00e4 tilausta kohden.",
"type": "boolean",
"required": false
},
"weight": {
"description": "Tuotteen paino (kg (kilogramma)).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Tuotteen mitat.",
"type": "object",
"properties": {
"length": {
"description": "Tuotteen pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Tuotteen leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Tuotteen korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Toimitusluokan polkutunnus.",
"type": "string",
"required": false
},
"reviews_allowed": {
"description": "Salli tuotearviot.",
"type": "boolean",
"required": false
},
"post_password": {
"description": "Artikkelin salasana.",
"type": "string",
"required": false
},
"upsell_ids": {
"description": "Lista Parempi tuote (Up-Sell) tuotteiden tunnuksista\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"cross_sell_ids": {
"description": "Lista Lis\u00e4tuote (Cross-Sell) tuotteiden tunnuksista\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"parent_id": {
"description": "Ylemm\u00e4n tason tuotteen tunnus\/ID.",
"type": "integer",
"required": false
},
"purchase_note": {
"description": "Valinnainen kommentti joka l\u00e4hetet\u00e4\u00e4n asiakkaalle oston j\u00e4lkeen.",
"type": "string",
"required": false
},
"categories": {
"description": "Osatojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Osaston tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Osaston nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Osaston polkutunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"tags": {
"description": "Avainsanojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Avainsanan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Avainsanan nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Avainsanan polkutunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"images": {
"description": "Kuvien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"attributes": {
"description": "Ominisuuksien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Ominaisuuden sijainti.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"visible": {
"description": "M\u00e4\u00e4rit\u00e4 n\u00e4kyyk\u00f6 ominaisuus \"Lis\u00e4tiedot\" v\u00e4lilehdell\u00e4 tuotteen sivulla.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"variation": {
"description": "M\u00e4\u00e4rit\u00e4, voidaanko ominaisuutta k\u00e4ytt\u00e4\u00e4 muunnelmana.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"options": {
"description": "Ominaisuuden saatavilla olevien (termi)nimien lista.",
"type": "array",
"items": {
"type": "string"
},
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"default_attributes": {
"description": "Muunnelman oletusominaisuudet.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys, k\u00e4ytet\u00e4\u00e4n tuotteiden mukautettuun j\u00e4rjest\u00e4miseen.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"description": "Ohitetaanko roskakori ja pakotetaan poisto.",
"type": "boolean",
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"name": {
"description": "Tuotteen nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Tuotteen polkutunnus.",
"type": "string",
"required": false
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin tuote luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin tuote luotiin, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"type": {
"description": "Tuotteen laji.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"status": {
"description": "Tuotteen tila (julkaisun tila).",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish",
"future",
"auto-draft",
"trash"
],
"required": false
},
"featured": {
"description": "Esittelyss\u00e4 oleva tuote.",
"type": "boolean",
"required": false
},
"catalog_visibility": {
"description": "Tuoteluettelon n\u00e4kyvyys.",
"type": "string",
"enum": [
"visible",
"catalog",
"search",
"hidden"
],
"required": false
},
"description": {
"description": "Tuotteen kuvaus.",
"type": "string",
"required": false
},
"short_description": {
"description": "Tuotteen lyhyt kuvaus.",
"type": "string",
"required": false
},
"sku": {
"description": "Stock Keeping Unit.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN or ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Tuotteen normaali hinta.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Tuotteen alennettu hinta.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"virtual": {
"description": "Jos tuote on palvelu.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Jos tuote on ladattava tuote.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer",
"required": false
},
"external_url": {
"description": "Tuotteen ulkopuolinen verkko-osoite. Vain ulkopuolisille tuotteille.",
"type": "string",
"format": "uri",
"required": false
},
"button_text": {
"description": "Tuotteen ulkopuolisen painikkeen teksti. Vain ulkopuolisille tuotteille.",
"type": "string",
"required": false
},
"tax_status": {
"description": "Veron tila.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Veroluokka.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Varaston hallinta tuotetasolla.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"stock_status": {
"description": "Hallitsee tuotteen varastotilannetta.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Alhainen varastom\u00e4\u00e4r\u00e4 tuotteelle.",
"type": [
"integer",
"null"
],
"required": false
},
"sold_individually": {
"description": "Yksi tuote voidaan ostaa yht\u00e4 tilausta kohden.",
"type": "boolean",
"required": false
},
"weight": {
"description": "Tuotteen paino (kg (kilogramma)).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Tuotteen mitat.",
"type": "object",
"properties": {
"length": {
"description": "Tuotteen pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Tuotteen leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Tuotteen korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Toimitusluokan polkutunnus.",
"type": "string",
"required": false
},
"reviews_allowed": {
"description": "Salli tuotearviot.",
"type": "boolean",
"required": false
},
"post_password": {
"description": "Artikkelin salasana.",
"type": "string",
"required": false
},
"upsell_ids": {
"description": "Lista Parempi tuote (Up-Sell) tuotteiden tunnuksista\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"cross_sell_ids": {
"description": "Lista Lis\u00e4tuote (Cross-Sell) tuotteiden tunnuksista\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"parent_id": {
"description": "Ylemm\u00e4n tason tuotteen tunnus\/ID.",
"type": "integer",
"required": false
},
"purchase_note": {
"description": "Valinnainen kommentti joka l\u00e4hetet\u00e4\u00e4n asiakkaalle oston j\u00e4lkeen.",
"type": "string",
"required": false
},
"categories": {
"description": "Osatojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Osaston tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Osaston nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Osaston polkutunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"tags": {
"description": "Avainsanojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Avainsanan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Avainsanan nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Avainsanan polkutunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"images": {
"description": "Kuvien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"attributes": {
"description": "Ominisuuksien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Ominaisuuden sijainti.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"visible": {
"description": "M\u00e4\u00e4rit\u00e4 n\u00e4kyyk\u00f6 ominaisuus \"Lis\u00e4tiedot\" v\u00e4lilehdell\u00e4 tuotteen sivulla.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"variation": {
"description": "M\u00e4\u00e4rit\u00e4, voidaanko ominaisuutta k\u00e4ytt\u00e4\u00e4 muunnelmana.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"options": {
"description": "Ominaisuuden saatavilla olevien (termi)nimien lista.",
"type": "array",
"items": {
"type": "string"
},
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"default_attributes": {
"description": "Muunnelman oletusominaisuudet.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys, k\u00e4ytet\u00e4\u00e4n tuotteiden mukautettuun j\u00e4rjest\u00e4miseen.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"description": "Ohitetaanko roskakori ja pakotetaan poisto.",
"type": "boolean",
"required": false
}
}
}
]
},
"\/wc-analytics\/products\/batch": {
"namespace": "wc-analytics",
"methods": [
"POST",
"PUT",
"PATCH",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Tuotteen nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Tuotteen polkutunnus.",
"type": "string",
"required": false
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin tuote luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin tuote luotiin, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"type": {
"description": "Tuotteen laji.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"status": {
"description": "Tuotteen tila (julkaisun tila).",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish",
"future",
"auto-draft",
"trash"
],
"required": false
},
"featured": {
"description": "Esittelyss\u00e4 oleva tuote.",
"type": "boolean",
"required": false
},
"catalog_visibility": {
"description": "Tuoteluettelon n\u00e4kyvyys.",
"type": "string",
"enum": [
"visible",
"catalog",
"search",
"hidden"
],
"required": false
},
"description": {
"description": "Tuotteen kuvaus.",
"type": "string",
"required": false
},
"short_description": {
"description": "Tuotteen lyhyt kuvaus.",
"type": "string",
"required": false
},
"sku": {
"description": "Stock Keeping Unit.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN or ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Tuotteen normaali hinta.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Tuotteen alennettu hinta.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"virtual": {
"description": "Jos tuote on palvelu.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Jos tuote on ladattava tuote.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer",
"required": false
},
"external_url": {
"description": "Tuotteen ulkopuolinen verkko-osoite. Vain ulkopuolisille tuotteille.",
"type": "string",
"format": "uri",
"required": false
},
"button_text": {
"description": "Tuotteen ulkopuolisen painikkeen teksti. Vain ulkopuolisille tuotteille.",
"type": "string",
"required": false
},
"tax_status": {
"description": "Veron tila.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Veroluokka.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Varaston hallinta tuotetasolla.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"stock_status": {
"description": "Hallitsee tuotteen varastotilannetta.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Alhainen varastom\u00e4\u00e4r\u00e4 tuotteelle.",
"type": [
"integer",
"null"
],
"required": false
},
"sold_individually": {
"description": "Yksi tuote voidaan ostaa yht\u00e4 tilausta kohden.",
"type": "boolean",
"required": false
},
"weight": {
"description": "Tuotteen paino (kg (kilogramma)).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Tuotteen mitat.",
"type": "object",
"properties": {
"length": {
"description": "Tuotteen pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Tuotteen leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Tuotteen korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Toimitusluokan polkutunnus.",
"type": "string",
"required": false
},
"reviews_allowed": {
"description": "Salli tuotearviot.",
"type": "boolean",
"required": false
},
"post_password": {
"description": "Artikkelin salasana.",
"type": "string",
"required": false
},
"upsell_ids": {
"description": "Lista Parempi tuote (Up-Sell) tuotteiden tunnuksista\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"cross_sell_ids": {
"description": "Lista Lis\u00e4tuote (Cross-Sell) tuotteiden tunnuksista\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"parent_id": {
"description": "Ylemm\u00e4n tason tuotteen tunnus\/ID.",
"type": "integer",
"required": false
},
"purchase_note": {
"description": "Valinnainen kommentti joka l\u00e4hetet\u00e4\u00e4n asiakkaalle oston j\u00e4lkeen.",
"type": "string",
"required": false
},
"categories": {
"description": "Osatojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Osaston tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Osaston nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Osaston polkutunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"tags": {
"description": "Avainsanojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Avainsanan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Avainsanan nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Avainsanan polkutunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"images": {
"description": "Kuvien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"attributes": {
"description": "Ominisuuksien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Ominaisuuden sijainti.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"visible": {
"description": "M\u00e4\u00e4rit\u00e4 n\u00e4kyyk\u00f6 ominaisuus \"Lis\u00e4tiedot\" v\u00e4lilehdell\u00e4 tuotteen sivulla.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"variation": {
"description": "M\u00e4\u00e4rit\u00e4, voidaanko ominaisuutta k\u00e4ytt\u00e4\u00e4 muunnelmana.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"options": {
"description": "Ominaisuuden saatavilla olevien (termi)nimien lista.",
"type": "array",
"items": {
"type": "string"
},
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"default_attributes": {
"description": "Muunnelman oletusominaisuudet.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys, k\u00e4ytet\u00e4\u00e4n tuotteiden mukautettuun j\u00e4rjest\u00e4miseen.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Tuotteen nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Tuotteen polkutunnus.",
"type": "string",
"required": false
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin tuote luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin tuote luotiin, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"type": {
"description": "Tuotteen laji.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"status": {
"description": "Tuotteen tila (julkaisun tila).",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish",
"future",
"auto-draft",
"trash"
],
"required": false
},
"featured": {
"description": "Esittelyss\u00e4 oleva tuote.",
"type": "boolean",
"required": false
},
"catalog_visibility": {
"description": "Tuoteluettelon n\u00e4kyvyys.",
"type": "string",
"enum": [
"visible",
"catalog",
"search",
"hidden"
],
"required": false
},
"description": {
"description": "Tuotteen kuvaus.",
"type": "string",
"required": false
},
"short_description": {
"description": "Tuotteen lyhyt kuvaus.",
"type": "string",
"required": false
},
"sku": {
"description": "Stock Keeping Unit.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN or ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Tuotteen normaali hinta.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Tuotteen alennettu hinta.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"virtual": {
"description": "Jos tuote on palvelu.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Jos tuote on ladattava tuote.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer",
"required": false
},
"external_url": {
"description": "Tuotteen ulkopuolinen verkko-osoite. Vain ulkopuolisille tuotteille.",
"type": "string",
"format": "uri",
"required": false
},
"button_text": {
"description": "Tuotteen ulkopuolisen painikkeen teksti. Vain ulkopuolisille tuotteille.",
"type": "string",
"required": false
},
"tax_status": {
"description": "Veron tila.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Veroluokka.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Varaston hallinta tuotetasolla.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"stock_status": {
"description": "Hallitsee tuotteen varastotilannetta.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Alhainen varastom\u00e4\u00e4r\u00e4 tuotteelle.",
"type": [
"integer",
"null"
],
"required": false
},
"sold_individually": {
"description": "Yksi tuote voidaan ostaa yht\u00e4 tilausta kohden.",
"type": "boolean",
"required": false
},
"weight": {
"description": "Tuotteen paino (kg (kilogramma)).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Tuotteen mitat.",
"type": "object",
"properties": {
"length": {
"description": "Tuotteen pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Tuotteen leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Tuotteen korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Toimitusluokan polkutunnus.",
"type": "string",
"required": false
},
"reviews_allowed": {
"description": "Salli tuotearviot.",
"type": "boolean",
"required": false
},
"post_password": {
"description": "Artikkelin salasana.",
"type": "string",
"required": false
},
"upsell_ids": {
"description": "Lista Parempi tuote (Up-Sell) tuotteiden tunnuksista\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"cross_sell_ids": {
"description": "Lista Lis\u00e4tuote (Cross-Sell) tuotteiden tunnuksista\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"parent_id": {
"description": "Ylemm\u00e4n tason tuotteen tunnus\/ID.",
"type": "integer",
"required": false
},
"purchase_note": {
"description": "Valinnainen kommentti joka l\u00e4hetet\u00e4\u00e4n asiakkaalle oston j\u00e4lkeen.",
"type": "string",
"required": false
},
"categories": {
"description": "Osatojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Osaston tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Osaston nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Osaston polkutunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"tags": {
"description": "Avainsanojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Avainsanan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Avainsanan nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Avainsanan polkutunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"images": {
"description": "Kuvien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"attributes": {
"description": "Ominisuuksien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Ominaisuuden sijainti.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"visible": {
"description": "M\u00e4\u00e4rit\u00e4 n\u00e4kyyk\u00f6 ominaisuus \"Lis\u00e4tiedot\" v\u00e4lilehdell\u00e4 tuotteen sivulla.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"variation": {
"description": "M\u00e4\u00e4rit\u00e4, voidaanko ominaisuutta k\u00e4ytt\u00e4\u00e4 muunnelmana.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"options": {
"description": "Ominaisuuden saatavilla olevien (termi)nimien lista.",
"type": "array",
"items": {
"type": "string"
},
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"default_attributes": {
"description": "Muunnelman oletusominaisuudet.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys, k\u00e4ytet\u00e4\u00e4n tuotteiden mukautettuun j\u00e4rjest\u00e4miseen.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/products\/batch"
}
]
}
},
"\/wc-analytics\/products\/suggested-products": {
"namespace": "wc-analytics",
"methods": [
"GET",
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajoita tulokset niihin jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon.",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Rajoita vastaus resursseihin, joita on muutettu tietyn ISO8601-yhteensopivuuden j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Rajoita vastaus resursseihin, joita on muokattu ennen tietty\u00e4 ISO8601-yhteensopivaa p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Otetaanko GMT-l\u00e4hetysp\u00e4iv\u00e4t huomioon, kun vastaus rajoitetaan julkaistuun tai muutettuun p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4n.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified",
"popularity",
"rating",
"popularity",
"rating",
"menu_order"
],
"required": false
},
"parent": {
"description": "Rajoita tulosjoukko niihin joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Rajoita tulosjoukko kaikkiin tuotteisiin poislukien ne joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"slug": {
"description": "Rajoita tulosjoukko niihin tuotteisiin joilla on tietty polkutunnus.",
"type": "string",
"required": false
},
"status": {
"default": "any",
"description": "Rajoita tulosjoukko tuotteisiin joilla on tietty tila.",
"type": "string",
"enum": [
"any",
"future",
"trash",
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"type": {
"description": "Rajoita tulosjoukko tietyn lajisiin tuotteisiin.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"sku": {
"description": "Rajaa tulosjoukko tuotteisiin joilla tietty tuotetunnus (SKU). Jos useita, erota pilkulla.",
"type": "string",
"required": false
},
"featured": {
"description": "Rajoita tuotteiden tulosjoukko esittelyss\u00e4 olevien mukaan.",
"type": "boolean",
"required": false
},
"category": {
"description": "Rajoita tulosjoukko tietyn osaston\/ID tuotteisiin.",
"type": "string",
"required": false
},
"tag": {
"description": "Rajoita tulosjoukko tuotteisiin joilla on tietty avainsana\/ID.",
"type": "string",
"required": false
},
"shipping_class": {
"description": "Rajoita tulosjoukko tuotteisiin joilla on tietty toimitusluokka\/ID.",
"type": "string",
"required": false
},
"attribute": {
"description": "Rajoita tulokset tuotteisiin joilla tietty ominaisuus. K\u00e4yt\u00e4 luokittelunime\u00e4 tai ominaisuuden polkutunnusta.",
"type": "string",
"required": false
},
"attribute_term": {
"description": "Rajoita tulosjoukkot tuotteisiin joilla on tietty ominaisuuden arvo (edellytt\u00e4\u00e4 asetettua ominaisuutta).",
"type": "string",
"required": false
},
"in_stock": {
"description": "Rajoita tuotteiden tulosjoukko varastossa tai loppu varastosta mukaan.",
"type": "boolean",
"required": false
},
"on_sale": {
"description": "Rajoita tuotteiden tulosjoukko alennuksessa olevien mukaan.",
"type": "boolean",
"required": false
},
"min_price": {
"description": "Rajoita tuotteiden tulosjoukko alimman hinnan mukaan.",
"type": "string",
"required": false
},
"max_price": {
"description": "Rajoita tuotteiden tulosjoukko korkeimman hinnan mukaan.",
"type": "string",
"required": false
},
"include_meta": {
"default": [],
"description": "Rajoita meta_data tiettyihin avaimiin.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Varmista, ett\u00e4 meta_data ei sis\u00e4ll\u00e4 tietyt avaimet.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"categories": {
"description": "Limit result set to specific product categorie ids.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"tags": {
"description": "Limit result set to specific product tag ids.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"limit": {
"description": "Limit result set to specific amount of suggested products.",
"type": "integer",
"default": 5,
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajoita tulokset niihin jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon.",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Rajoita vastaus resursseihin, joita on muutettu tietyn ISO8601-yhteensopivuuden j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Rajoita vastaus resursseihin, joita on muokattu ennen tietty\u00e4 ISO8601-yhteensopivaa p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Otetaanko GMT-l\u00e4hetysp\u00e4iv\u00e4t huomioon, kun vastaus rajoitetaan julkaistuun tai muutettuun p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4n.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified",
"popularity",
"rating",
"popularity",
"rating",
"menu_order"
],
"required": false
},
"parent": {
"description": "Rajoita tulosjoukko niihin joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Rajoita tulosjoukko kaikkiin tuotteisiin poislukien ne joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"slug": {
"description": "Rajoita tulosjoukko niihin tuotteisiin joilla on tietty polkutunnus.",
"type": "string",
"required": false
},
"status": {
"default": "any",
"description": "Rajoita tulosjoukko tuotteisiin joilla on tietty tila.",
"type": "string",
"enum": [
"any",
"future",
"trash",
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"type": {
"description": "Rajoita tulosjoukko tietyn lajisiin tuotteisiin.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"sku": {
"description": "Rajaa tulosjoukko tuotteisiin joilla tietty tuotetunnus (SKU). Jos useita, erota pilkulla.",
"type": "string",
"required": false
},
"featured": {
"description": "Rajoita tuotteiden tulosjoukko esittelyss\u00e4 olevien mukaan.",
"type": "boolean",
"required": false
},
"category": {
"description": "Rajoita tulosjoukko tietyn osaston\/ID tuotteisiin.",
"type": "string",
"required": false
},
"tag": {
"description": "Rajoita tulosjoukko tuotteisiin joilla on tietty avainsana\/ID.",
"type": "string",
"required": false
},
"shipping_class": {
"description": "Rajoita tulosjoukko tuotteisiin joilla on tietty toimitusluokka\/ID.",
"type": "string",
"required": false
},
"attribute": {
"description": "Rajoita tulokset tuotteisiin joilla tietty ominaisuus. K\u00e4yt\u00e4 luokittelunime\u00e4 tai ominaisuuden polkutunnusta.",
"type": "string",
"required": false
},
"attribute_term": {
"description": "Rajoita tulosjoukkot tuotteisiin joilla on tietty ominaisuuden arvo (edellytt\u00e4\u00e4 asetettua ominaisuutta).",
"type": "string",
"required": false
},
"in_stock": {
"description": "Rajoita tuotteiden tulosjoukko varastossa tai loppu varastosta mukaan.",
"type": "boolean",
"required": false
},
"on_sale": {
"description": "Rajoita tuotteiden tulosjoukko alennuksessa olevien mukaan.",
"type": "boolean",
"required": false
},
"min_price": {
"description": "Rajoita tuotteiden tulosjoukko alimman hinnan mukaan.",
"type": "string",
"required": false
},
"max_price": {
"description": "Rajoita tuotteiden tulosjoukko korkeimman hinnan mukaan.",
"type": "string",
"required": false
},
"include_meta": {
"default": [],
"description": "Rajoita meta_data tiettyihin avaimiin.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Varmista, ett\u00e4 meta_data ei sis\u00e4ll\u00e4 tietyt avaimet.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"categories": {
"description": "Limit result set to specific product categorie ids.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"tags": {
"description": "Limit result set to specific product tag ids.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"limit": {
"description": "Limit result set to specific amount of suggested products.",
"type": "integer",
"default": 5,
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/products\/suggested-products"
}
]
}
},
"\/wc-analytics\/products\/(?P[\\d]+)\/duplicate": {
"namespace": "wc-analytics",
"methods": [
"POST",
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"name": {
"description": "Tuotteen nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Tuotteen polkutunnus.",
"type": "string",
"required": false
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin tuote luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin tuote luotiin, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"type": {
"description": "Tuotteen laji.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"status": {
"description": "Tuotteen tila (julkaisun tila).",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish",
"future",
"auto-draft",
"trash"
],
"required": false
},
"featured": {
"description": "Esittelyss\u00e4 oleva tuote.",
"type": "boolean",
"required": false
},
"catalog_visibility": {
"description": "Tuoteluettelon n\u00e4kyvyys.",
"type": "string",
"enum": [
"visible",
"catalog",
"search",
"hidden"
],
"required": false
},
"description": {
"description": "Tuotteen kuvaus.",
"type": "string",
"required": false
},
"short_description": {
"description": "Tuotteen lyhyt kuvaus.",
"type": "string",
"required": false
},
"sku": {
"description": "Stock Keeping Unit.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN or ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Tuotteen normaali hinta.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Tuotteen alennettu hinta.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"virtual": {
"description": "Jos tuote on palvelu.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Jos tuote on ladattava tuote.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer",
"required": false
},
"external_url": {
"description": "Tuotteen ulkopuolinen verkko-osoite. Vain ulkopuolisille tuotteille.",
"type": "string",
"format": "uri",
"required": false
},
"button_text": {
"description": "Tuotteen ulkopuolisen painikkeen teksti. Vain ulkopuolisille tuotteille.",
"type": "string",
"required": false
},
"tax_status": {
"description": "Veron tila.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Veroluokka.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Varaston hallinta tuotetasolla.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"stock_status": {
"description": "Hallitsee tuotteen varastotilannetta.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Alhainen varastom\u00e4\u00e4r\u00e4 tuotteelle.",
"type": [
"integer",
"null"
],
"required": false
},
"sold_individually": {
"description": "Yksi tuote voidaan ostaa yht\u00e4 tilausta kohden.",
"type": "boolean",
"required": false
},
"weight": {
"description": "Tuotteen paino (kg (kilogramma)).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Tuotteen mitat.",
"type": "object",
"properties": {
"length": {
"description": "Tuotteen pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Tuotteen leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Tuotteen korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Toimitusluokan polkutunnus.",
"type": "string",
"required": false
},
"reviews_allowed": {
"description": "Salli tuotearviot.",
"type": "boolean",
"required": false
},
"post_password": {
"description": "Artikkelin salasana.",
"type": "string",
"required": false
},
"upsell_ids": {
"description": "Lista Parempi tuote (Up-Sell) tuotteiden tunnuksista\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"cross_sell_ids": {
"description": "Lista Lis\u00e4tuote (Cross-Sell) tuotteiden tunnuksista\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"parent_id": {
"description": "Ylemm\u00e4n tason tuotteen tunnus\/ID.",
"type": "integer",
"required": false
},
"purchase_note": {
"description": "Valinnainen kommentti joka l\u00e4hetet\u00e4\u00e4n asiakkaalle oston j\u00e4lkeen.",
"type": "string",
"required": false
},
"categories": {
"description": "Osatojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Osaston tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Osaston nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Osaston polkutunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"tags": {
"description": "Avainsanojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Avainsanan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Avainsanan nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Avainsanan polkutunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"images": {
"description": "Kuvien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"attributes": {
"description": "Ominisuuksien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Ominaisuuden sijainti.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"visible": {
"description": "M\u00e4\u00e4rit\u00e4 n\u00e4kyyk\u00f6 ominaisuus \"Lis\u00e4tiedot\" v\u00e4lilehdell\u00e4 tuotteen sivulla.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"variation": {
"description": "M\u00e4\u00e4rit\u00e4, voidaanko ominaisuutta k\u00e4ytt\u00e4\u00e4 muunnelmana.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"options": {
"description": "Ominaisuuden saatavilla olevien (termi)nimien lista.",
"type": "array",
"items": {
"type": "string"
},
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"default_attributes": {
"description": "Muunnelman oletusominaisuudet.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys, k\u00e4ytet\u00e4\u00e4n tuotteiden mukautettuun j\u00e4rjest\u00e4miseen.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"name": {
"description": "Tuotteen nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Tuotteen polkutunnus.",
"type": "string",
"required": false
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin tuote luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin tuote luotiin, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"type": {
"description": "Tuotteen laji.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"status": {
"description": "Tuotteen tila (julkaisun tila).",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish",
"future",
"auto-draft",
"trash"
],
"required": false
},
"featured": {
"description": "Esittelyss\u00e4 oleva tuote.",
"type": "boolean",
"required": false
},
"catalog_visibility": {
"description": "Tuoteluettelon n\u00e4kyvyys.",
"type": "string",
"enum": [
"visible",
"catalog",
"search",
"hidden"
],
"required": false
},
"description": {
"description": "Tuotteen kuvaus.",
"type": "string",
"required": false
},
"short_description": {
"description": "Tuotteen lyhyt kuvaus.",
"type": "string",
"required": false
},
"sku": {
"description": "Stock Keeping Unit.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN or ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Tuotteen normaali hinta.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Tuotteen alennettu hinta.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"virtual": {
"description": "Jos tuote on palvelu.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Jos tuote on ladattava tuote.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer",
"required": false
},
"external_url": {
"description": "Tuotteen ulkopuolinen verkko-osoite. Vain ulkopuolisille tuotteille.",
"type": "string",
"format": "uri",
"required": false
},
"button_text": {
"description": "Tuotteen ulkopuolisen painikkeen teksti. Vain ulkopuolisille tuotteille.",
"type": "string",
"required": false
},
"tax_status": {
"description": "Veron tila.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Veroluokka.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Varaston hallinta tuotetasolla.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"stock_status": {
"description": "Hallitsee tuotteen varastotilannetta.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Alhainen varastom\u00e4\u00e4r\u00e4 tuotteelle.",
"type": [
"integer",
"null"
],
"required": false
},
"sold_individually": {
"description": "Yksi tuote voidaan ostaa yht\u00e4 tilausta kohden.",
"type": "boolean",
"required": false
},
"weight": {
"description": "Tuotteen paino (kg (kilogramma)).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Tuotteen mitat.",
"type": "object",
"properties": {
"length": {
"description": "Tuotteen pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Tuotteen leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Tuotteen korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Toimitusluokan polkutunnus.",
"type": "string",
"required": false
},
"reviews_allowed": {
"description": "Salli tuotearviot.",
"type": "boolean",
"required": false
},
"post_password": {
"description": "Artikkelin salasana.",
"type": "string",
"required": false
},
"upsell_ids": {
"description": "Lista Parempi tuote (Up-Sell) tuotteiden tunnuksista\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"cross_sell_ids": {
"description": "Lista Lis\u00e4tuote (Cross-Sell) tuotteiden tunnuksista\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"parent_id": {
"description": "Ylemm\u00e4n tason tuotteen tunnus\/ID.",
"type": "integer",
"required": false
},
"purchase_note": {
"description": "Valinnainen kommentti joka l\u00e4hetet\u00e4\u00e4n asiakkaalle oston j\u00e4lkeen.",
"type": "string",
"required": false
},
"categories": {
"description": "Osatojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Osaston tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Osaston nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Osaston polkutunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"tags": {
"description": "Avainsanojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Avainsanan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Avainsanan nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Avainsanan polkutunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"images": {
"description": "Kuvien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"attributes": {
"description": "Ominisuuksien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Ominaisuuden sijainti.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"visible": {
"description": "M\u00e4\u00e4rit\u00e4 n\u00e4kyyk\u00f6 ominaisuus \"Lis\u00e4tiedot\" v\u00e4lilehdell\u00e4 tuotteen sivulla.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"variation": {
"description": "M\u00e4\u00e4rit\u00e4, voidaanko ominaisuutta k\u00e4ytt\u00e4\u00e4 muunnelmana.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"options": {
"description": "Ominaisuuden saatavilla olevien (termi)nimien lista.",
"type": "array",
"items": {
"type": "string"
},
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"default_attributes": {
"description": "Muunnelman oletusominaisuudet.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys, k\u00e4ytet\u00e4\u00e4n tuotteiden mukautettuun j\u00e4rjest\u00e4miseen.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
]
},
"\/wc-analytics\/products\/attributes": {
"namespace": "wc-analytics",
"methods": [
"GET",
"POST",
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"search": {
"description": "Hae samankaltaisella m\u00e4\u00e4ritteen nimell\u00e4.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"description": "Resurssin nimi.",
"type": "string",
"required": true
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"type": {
"default": "select",
"description": "Ominaisuuden laji.",
"type": "string",
"enum": [
"button",
"color",
"image",
"variation_img",
"radio",
"viwpvs_default",
"select"
],
"required": false
},
"order_by": {
"default": "menu_order",
"description": "Oletuksena k\u00e4ytett\u00e4v\u00e4 lajittelutapa.",
"type": "string",
"enum": [
"menu_order",
"name",
"name_num",
"id"
],
"required": false
},
"has_archives": {
"default": false,
"description": "Ota k\u00e4ytt\u00f6\u00f6n\/poista k\u00e4yt\u00f6st\u00e4 ominaisuuksien arkisto.",
"type": "boolean",
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"search": {
"description": "Hae samankaltaisella m\u00e4\u00e4ritteen nimell\u00e4.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"description": "Resurssin nimi.",
"type": "string",
"required": true
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"type": {
"default": "select",
"description": "Ominaisuuden laji.",
"type": "string",
"enum": [
"button",
"color",
"image",
"variation_img",
"radio",
"viwpvs_default",
"select"
],
"required": false
},
"order_by": {
"default": "menu_order",
"description": "Oletuksena k\u00e4ytett\u00e4v\u00e4 lajittelutapa.",
"type": "string",
"enum": [
"menu_order",
"name",
"name_num",
"id"
],
"required": false
},
"has_archives": {
"default": false,
"description": "Ota k\u00e4ytt\u00f6\u00f6n\/poista k\u00e4yt\u00f6st\u00e4 ominaisuuksien arkisto.",
"type": "boolean",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/products\/attributes"
}
]
}
},
"\/wc-analytics\/products\/attributes\/(?P[\\d]+)": {
"namespace": "wc-analytics",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"type": {
"description": "Ominaisuuden laji.",
"type": "string",
"enum": [
"button",
"color",
"image",
"variation_img",
"radio",
"viwpvs_default",
"select"
],
"required": false
},
"order_by": {
"description": "Oletuksena k\u00e4ytett\u00e4v\u00e4 lajittelutapa.",
"type": "string",
"enum": [
"menu_order",
"name",
"name_num",
"id"
],
"required": false
},
"has_archives": {
"description": "Ota k\u00e4ytt\u00f6\u00f6n\/poista k\u00e4yt\u00f6st\u00e4 ominaisuuksien arkisto.",
"type": "boolean",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": true,
"type": "boolean",
"description": "On oltava tosi, koska resurssi ei tue roskakoria.",
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"type": {
"description": "Ominaisuuden laji.",
"type": "string",
"enum": [
"button",
"color",
"image",
"variation_img",
"radio",
"viwpvs_default",
"select"
],
"required": false
},
"order_by": {
"description": "Oletuksena k\u00e4ytett\u00e4v\u00e4 lajittelutapa.",
"type": "string",
"enum": [
"menu_order",
"name",
"name_num",
"id"
],
"required": false
},
"has_archives": {
"description": "Ota k\u00e4ytt\u00f6\u00f6n\/poista k\u00e4yt\u00f6st\u00e4 ominaisuuksien arkisto.",
"type": "boolean",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": true,
"type": "boolean",
"description": "On oltava tosi, koska resurssi ei tue roskakoria.",
"required": false
}
}
}
]
},
"\/wc-analytics\/products\/attributes\/batch": {
"namespace": "wc-analytics",
"methods": [
"POST",
"PUT",
"PATCH",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"type": {
"description": "Ominaisuuden laji.",
"type": "string",
"enum": [
"button",
"color",
"image",
"variation_img",
"radio",
"viwpvs_default",
"select"
],
"required": false
},
"order_by": {
"description": "Oletuksena k\u00e4ytett\u00e4v\u00e4 lajittelutapa.",
"type": "string",
"enum": [
"menu_order",
"name",
"name_num",
"id"
],
"required": false
},
"has_archives": {
"description": "Ota k\u00e4ytt\u00f6\u00f6n\/poista k\u00e4yt\u00f6st\u00e4 ominaisuuksien arkisto.",
"type": "boolean",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"type": {
"description": "Ominaisuuden laji.",
"type": "string",
"enum": [
"button",
"color",
"image",
"variation_img",
"radio",
"viwpvs_default",
"select"
],
"required": false
},
"order_by": {
"description": "Oletuksena k\u00e4ytett\u00e4v\u00e4 lajittelutapa.",
"type": "string",
"enum": [
"menu_order",
"name",
"name_num",
"id"
],
"required": false
},
"has_archives": {
"description": "Ota k\u00e4ytt\u00f6\u00f6n\/poista k\u00e4yt\u00f6st\u00e4 ominaisuuksien arkisto.",
"type": "boolean",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/products\/attributes\/batch"
}
]
}
},
"\/wc-analytics\/products\/attributes\/(?P[a-z0-9_\\-]+)": {
"namespace": "wc-analytics",
"methods": [
"GET",
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"slug": {
"description": "Resurssin etanatunniste.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"slug": {
"description": "Resurssin etanatunniste.",
"type": "string",
"required": false
}
}
}
]
},
"\/wc-analytics\/products\/attributes\/(?P[\\d]+)\/terms": {
"namespace": "wc-analytics",
"methods": [
"GET",
"POST",
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"attribute_id": {
"description": "Muista poikkeava tunnus termien ominaisuudelle.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajaa tulokset niihin, jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon. ",
"type": "string",
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Korvaa asetettu tulos tietyll\u00e4 m\u00e4\u00e4r\u00e4ll\u00e4 kohteita. Koskee vain hierarkkisia taksonomioita.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma resurssin ominaisuuden perusteella.",
"type": "string",
"default": "name",
"enum": [
"id",
"include",
"name",
"slug",
"term_group",
"description",
"count"
],
"required": false
},
"hide_empty": {
"description": "Piilotetaanko resurssit joita ei ole liitetty mihink\u00e4\u00e4n tuotteeseen.",
"type": "boolean",
"default": false,
"required": false
},
"parent": {
"description": "Rajoita tulosjoukko tietylle vanhemmalle m\u00e4\u00e4ritettyihin resursseihin. Koskee vain hierarkkisia taksonomioita.",
"type": "integer",
"required": false
},
"product": {
"description": "Rajoita tulosjoukko niihin resursseihin jotka on liitetty tiettyyn tuotteeseen.",
"type": "integer",
"default": null,
"required": false
},
"slug": {
"description": "Rajoita tulosjoukko niihin resursseihin joilla on tietty polkutunnus.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"attribute_id": {
"description": "Muista poikkeava tunnus termien ominaisuudelle.",
"type": "integer",
"required": false
},
"name": {
"type": "string",
"description": "Resurssin nimi.",
"required": true
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys jota k\u00e4ytet\u00e4\u00e4n mukautetussa resurssien j\u00e4rjest\u00e4misess\u00e4.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"attribute_id": {
"description": "Muista poikkeava tunnus termien ominaisuudelle.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajaa tulokset niihin, jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon. ",
"type": "string",
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Korvaa asetettu tulos tietyll\u00e4 m\u00e4\u00e4r\u00e4ll\u00e4 kohteita. Koskee vain hierarkkisia taksonomioita.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma resurssin ominaisuuden perusteella.",
"type": "string",
"default": "name",
"enum": [
"id",
"include",
"name",
"slug",
"term_group",
"description",
"count"
],
"required": false
},
"hide_empty": {
"description": "Piilotetaanko resurssit joita ei ole liitetty mihink\u00e4\u00e4n tuotteeseen.",
"type": "boolean",
"default": false,
"required": false
},
"parent": {
"description": "Rajoita tulosjoukko tietylle vanhemmalle m\u00e4\u00e4ritettyihin resursseihin. Koskee vain hierarkkisia taksonomioita.",
"type": "integer",
"required": false
},
"product": {
"description": "Rajoita tulosjoukko niihin resursseihin jotka on liitetty tiettyyn tuotteeseen.",
"type": "integer",
"default": null,
"required": false
},
"slug": {
"description": "Rajoita tulosjoukko niihin resursseihin joilla on tietty polkutunnus.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"attribute_id": {
"description": "Muista poikkeava tunnus termien ominaisuudelle.",
"type": "integer",
"required": false
},
"name": {
"type": "string",
"description": "Resurssin nimi.",
"required": true
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys jota k\u00e4ytet\u00e4\u00e4n mukautetussa resurssien j\u00e4rjest\u00e4misess\u00e4.",
"type": "integer",
"required": false
}
}
}
]
},
"\/wc-analytics\/products\/attributes\/(?P[\\d]+)\/terms\/(?P[\\d]+)": {
"namespace": "wc-analytics",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"attribute_id": {
"description": "Muista poikkeava tunnus termien ominaisuudelle.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"attribute_id": {
"description": "Muista poikkeava tunnus termien ominaisuudelle.",
"type": "integer",
"required": false
},
"name": {
"description": "Termin nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys jota k\u00e4ytet\u00e4\u00e4n mukautetussa resurssien j\u00e4rjest\u00e4misess\u00e4.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"attribute_id": {
"description": "Muista poikkeava tunnus termien ominaisuudelle.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "On oltava tosi, koska resurssi ei tue roskakoria.",
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"attribute_id": {
"description": "Muista poikkeava tunnus termien ominaisuudelle.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"attribute_id": {
"description": "Muista poikkeava tunnus termien ominaisuudelle.",
"type": "integer",
"required": false
},
"name": {
"description": "Termin nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys jota k\u00e4ytet\u00e4\u00e4n mukautetussa resurssien j\u00e4rjest\u00e4misess\u00e4.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"attribute_id": {
"description": "Muista poikkeava tunnus termien ominaisuudelle.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "On oltava tosi, koska resurssi ei tue roskakoria.",
"required": false
}
}
}
]
},
"\/wc-analytics\/products\/attributes\/(?P[\\d]+)\/terms\/batch": {
"namespace": "wc-analytics",
"methods": [
"POST",
"PUT",
"PATCH",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"attribute_id": {
"description": "Muista poikkeava tunnus termien ominaisuudelle.",
"type": "integer",
"required": false
},
"name": {
"description": "Termin nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys jota k\u00e4ytet\u00e4\u00e4n mukautetussa resurssien j\u00e4rjest\u00e4misess\u00e4.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"attribute_id": {
"description": "Muista poikkeava tunnus termien ominaisuudelle.",
"type": "integer",
"required": false
},
"name": {
"description": "Termin nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys jota k\u00e4ytet\u00e4\u00e4n mukautetussa resurssien j\u00e4rjest\u00e4misess\u00e4.",
"type": "integer",
"required": false
}
}
}
]
},
"\/wc-analytics\/products\/attributes\/(?P[a-z0-9_\\-]+)\/terms": {
"namespace": "wc-analytics",
"methods": [
"GET",
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"slug": {
"description": "Rajoita tulosjoukko niihin resursseihin joilla on tietty polkutunnus.",
"type": "string",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajaa tulokset niihin, jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon. ",
"type": "string",
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Korvaa asetettu tulos tietyll\u00e4 m\u00e4\u00e4r\u00e4ll\u00e4 kohteita. Koskee vain hierarkkisia taksonomioita.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma resurssin ominaisuuden perusteella.",
"type": "string",
"default": "name",
"enum": [
"id",
"include",
"name",
"slug",
"term_group",
"description",
"count"
],
"required": false
},
"hide_empty": {
"description": "Piilotetaanko resurssit joita ei ole liitetty mihink\u00e4\u00e4n tuotteeseen.",
"type": "boolean",
"default": false,
"required": false
},
"parent": {
"description": "Rajoita tulosjoukko tietylle vanhemmalle m\u00e4\u00e4ritettyihin resursseihin. Koskee vain hierarkkisia taksonomioita.",
"type": "integer",
"required": false
},
"product": {
"description": "Rajoita tulosjoukko niihin resursseihin jotka on liitetty tiettyyn tuotteeseen.",
"type": "integer",
"default": null,
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"slug": {
"description": "Rajoita tulosjoukko niihin resursseihin joilla on tietty polkutunnus.",
"type": "string",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajaa tulokset niihin, jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon. ",
"type": "string",
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Korvaa asetettu tulos tietyll\u00e4 m\u00e4\u00e4r\u00e4ll\u00e4 kohteita. Koskee vain hierarkkisia taksonomioita.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma resurssin ominaisuuden perusteella.",
"type": "string",
"default": "name",
"enum": [
"id",
"include",
"name",
"slug",
"term_group",
"description",
"count"
],
"required": false
},
"hide_empty": {
"description": "Piilotetaanko resurssit joita ei ole liitetty mihink\u00e4\u00e4n tuotteeseen.",
"type": "boolean",
"default": false,
"required": false
},
"parent": {
"description": "Rajoita tulosjoukko tietylle vanhemmalle m\u00e4\u00e4ritettyihin resursseihin. Koskee vain hierarkkisia taksonomioita.",
"type": "integer",
"required": false
},
"product": {
"description": "Rajoita tulosjoukko niihin resursseihin jotka on liitetty tiettyyn tuotteeseen.",
"type": "integer",
"default": null,
"required": false
}
}
}
]
},
"\/wc-analytics\/products\/categories": {
"namespace": "wc-analytics",
"methods": [
"GET",
"POST",
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajaa tulokset niihin, jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon. ",
"type": "string",
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Korvaa asetettu tulos tietyll\u00e4 m\u00e4\u00e4r\u00e4ll\u00e4 kohteita. Koskee vain hierarkkisia taksonomioita.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma resurssin ominaisuuden perusteella.",
"type": "string",
"default": "name",
"enum": [
"id",
"include",
"name",
"slug",
"term_group",
"description",
"count"
],
"required": false
},
"hide_empty": {
"description": "Piilotetaanko resurssit joita ei ole liitetty mihink\u00e4\u00e4n tuotteeseen.",
"type": "boolean",
"default": false,
"required": false
},
"parent": {
"description": "Rajoita tulosjoukko tietylle vanhemmalle m\u00e4\u00e4ritettyihin resursseihin. Koskee vain hierarkkisia taksonomioita.",
"type": "integer",
"required": false
},
"product": {
"description": "Rajoita tulosjoukko niihin resursseihin jotka on liitetty tiettyyn tuotteeseen.",
"type": "integer",
"default": null,
"required": false
},
"slug": {
"description": "Rajoita tulosjoukko niihin resursseihin joilla on tietty polkutunnus.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"type": "string",
"description": "Resurssin nimi.",
"required": true
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"parent": {
"description": "Ylemm\u00e4n tason resurssin tunnus\/ID.",
"type": "integer",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
},
"display": {
"default": "default",
"description": "Osastojen arkisto, n\u00e4ytt\u00e4misen laji.",
"type": "string",
"enum": [
"default",
"products",
"subcategories",
"both"
],
"required": false
},
"image": {
"description": "Kuvan tiedot.",
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys jota k\u00e4ytet\u00e4\u00e4n mukautetussa resurssien j\u00e4rjest\u00e4misess\u00e4.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajaa tulokset niihin, jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon. ",
"type": "string",
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Korvaa asetettu tulos tietyll\u00e4 m\u00e4\u00e4r\u00e4ll\u00e4 kohteita. Koskee vain hierarkkisia taksonomioita.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma resurssin ominaisuuden perusteella.",
"type": "string",
"default": "name",
"enum": [
"id",
"include",
"name",
"slug",
"term_group",
"description",
"count"
],
"required": false
},
"hide_empty": {
"description": "Piilotetaanko resurssit joita ei ole liitetty mihink\u00e4\u00e4n tuotteeseen.",
"type": "boolean",
"default": false,
"required": false
},
"parent": {
"description": "Rajoita tulosjoukko tietylle vanhemmalle m\u00e4\u00e4ritettyihin resursseihin. Koskee vain hierarkkisia taksonomioita.",
"type": "integer",
"required": false
},
"product": {
"description": "Rajoita tulosjoukko niihin resursseihin jotka on liitetty tiettyyn tuotteeseen.",
"type": "integer",
"default": null,
"required": false
},
"slug": {
"description": "Rajoita tulosjoukko niihin resursseihin joilla on tietty polkutunnus.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"type": "string",
"description": "Resurssin nimi.",
"required": true
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"parent": {
"description": "Ylemm\u00e4n tason resurssin tunnus\/ID.",
"type": "integer",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
},
"display": {
"default": "default",
"description": "Osastojen arkisto, n\u00e4ytt\u00e4misen laji.",
"type": "string",
"enum": [
"default",
"products",
"subcategories",
"both"
],
"required": false
},
"image": {
"description": "Kuvan tiedot.",
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys jota k\u00e4ytet\u00e4\u00e4n mukautetussa resurssien j\u00e4rjest\u00e4misess\u00e4.",
"type": "integer",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/products\/categories"
}
]
}
},
"\/wc-analytics\/products\/categories\/(?P[\\d]+)": {
"namespace": "wc-analytics",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"name": {
"description": "Osaston nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"parent": {
"description": "Ylemm\u00e4n tason resurssin tunnus\/ID.",
"type": "integer",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
},
"display": {
"description": "Osastojen arkisto, n\u00e4ytt\u00e4misen laji.",
"type": "string",
"enum": [
"default",
"products",
"subcategories",
"both"
],
"required": false
},
"image": {
"description": "Kuvan tiedot.",
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys jota k\u00e4ytet\u00e4\u00e4n mukautetussa resurssien j\u00e4rjest\u00e4misess\u00e4.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "On oltava tosi, koska resurssi ei tue roskakoria.",
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"name": {
"description": "Osaston nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"parent": {
"description": "Ylemm\u00e4n tason resurssin tunnus\/ID.",
"type": "integer",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
},
"display": {
"description": "Osastojen arkisto, n\u00e4ytt\u00e4misen laji.",
"type": "string",
"enum": [
"default",
"products",
"subcategories",
"both"
],
"required": false
},
"image": {
"description": "Kuvan tiedot.",
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys jota k\u00e4ytet\u00e4\u00e4n mukautetussa resurssien j\u00e4rjest\u00e4misess\u00e4.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "On oltava tosi, koska resurssi ei tue roskakoria.",
"required": false
}
}
}
]
},
"\/wc-analytics\/products\/categories\/batch": {
"namespace": "wc-analytics",
"methods": [
"POST",
"PUT",
"PATCH",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Osaston nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"parent": {
"description": "Ylemm\u00e4n tason resurssin tunnus\/ID.",
"type": "integer",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
},
"display": {
"description": "Osastojen arkisto, n\u00e4ytt\u00e4misen laji.",
"type": "string",
"enum": [
"default",
"products",
"subcategories",
"both"
],
"required": false
},
"image": {
"description": "Kuvan tiedot.",
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys jota k\u00e4ytet\u00e4\u00e4n mukautetussa resurssien j\u00e4rjest\u00e4misess\u00e4.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Osaston nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"parent": {
"description": "Ylemm\u00e4n tason resurssin tunnus\/ID.",
"type": "integer",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
},
"display": {
"description": "Osastojen arkisto, n\u00e4ytt\u00e4misen laji.",
"type": "string",
"enum": [
"default",
"products",
"subcategories",
"both"
],
"required": false
},
"image": {
"description": "Kuvan tiedot.",
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys jota k\u00e4ytet\u00e4\u00e4n mukautetussa resurssien j\u00e4rjest\u00e4misess\u00e4.",
"type": "integer",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/products\/categories\/batch"
}
]
}
},
"\/wc-analytics\/products\/(?P[\\d]+)\/variations": {
"namespace": "wc-analytics",
"methods": [
"GET",
"POST",
"GET",
"POST",
"GET",
"POST",
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Hae samanlaisen tuotteen nimen, SKU:n tai m\u00e4\u00e4ritteen arvon mukaan.",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Rajoita vastaus resursseihin, joita on muutettu tietyn ISO8601-yhteensopivuuden j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Rajoita vastaus resursseihin, joita on muokattu ennen tietty\u00e4 ISO8601-yhteensopivaa p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Otetaanko GMT-l\u00e4hetysp\u00e4iv\u00e4t huomioon, kun vastaus rajoitetaan julkaistuun tai muutettuun p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4n.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified",
"menu_order"
],
"required": false
},
"parent": {
"description": "Rajoita tulosjoukko niihin joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Rajoita tulosjoukko kaikkiin tuotteisiin poislukien ne joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"slug": {
"description": "Rajoita tulosjoukko niihin tuotteisiin joilla on tietty polkutunnus.",
"type": "string",
"required": false
},
"status": {
"default": "any",
"description": "Rajoita tulosjoukko tuotteisiin joilla on tietty tila.",
"type": "string",
"enum": [
"any",
"future",
"trash",
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"sku": {
"description": "Rajaa tulosjoukko tuotteisiin joilla tietty tuotetunnus (SKU). Jos useita, erota pilkulla.",
"type": "string",
"required": false
},
"on_sale": {
"description": "Rajoita tuotteiden tulosjoukko alennuksessa olevien mukaan.",
"type": "boolean",
"required": false
},
"min_price": {
"description": "Rajoita tuotteiden tulosjoukko alimman hinnan mukaan.",
"type": "string",
"required": false
},
"max_price": {
"description": "Rajoita tuotteiden tulosjoukko korkeimman hinnan mukaan.",
"type": "string",
"required": false
},
"include_meta": {
"default": [],
"description": "Rajoita meta_data tiettyihin avaimiin.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Varmista, ett\u00e4 meta_data ei sis\u00e4ll\u00e4 tietyt avaimet.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"stock_status": {
"description": "Rajoita tuotteiden tulosjoukko tietyn varastotilanteen mukaan.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"has_price": {
"description": "Rajoita tulos asetettu tuotteisiin, joissa on hinta tai ei.",
"type": "boolean",
"required": false
},
"attributes": {
"description": "Limit result set to products with specified attributes.",
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute": {
"type": "string",
"description": "Ominaisuuden polkutunnus."
},
"term": {
"type": "string",
"description": "Attribute term."
},
"terms": {
"type": "array",
"description": "Attribute terms."
}
}
},
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"type": {
"default": "variation",
"description": "Tuotteen laji.",
"type": "string",
"enum": [
"variation"
],
"required": false
},
"description": {
"description": "Muunnelman kuvaus",
"type": "string",
"required": false
},
"sku": {
"description": "Stock Keeping Unit.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN or ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Muunnelman tavallinen hinta.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Muunnelman alennettu hinta.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"status": {
"default": "publish",
"description": "Muunnelman tila.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"virtual": {
"default": false,
"description": "Jos muunnelma on palvelu.",
"type": "boolean",
"required": false
},
"downloadable": {
"default": false,
"description": "Jos muunnelma on ladattava.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"default": -1,
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer",
"required": false
},
"download_expiry": {
"default": -1,
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer",
"required": false
},
"tax_status": {
"default": "taxable",
"description": "Veron tila.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Veroluokka.",
"type": "string",
"required": false
},
"manage_stock": {
"default": false,
"description": "Varaston hallinta muunnelmien tasolla.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"stock_status": {
"default": "instock",
"description": "Hallitsee tuotteen varastotilannetta.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"default": "no",
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Alhainen varastom\u00e4\u00e4r\u00e4 vaihtelua varten.",
"type": [
"integer",
"null"
],
"required": false
},
"weight": {
"description": "Muunnelman paino (kg (kilogramma)).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Muunnelman mitat.",
"type": "object",
"properties": {
"length": {
"description": "Muunnelman pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Muunnelman leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Muunnelman korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Toimitusluokan polkutunnus.",
"type": "string",
"required": false
},
"image": {
"description": "Muunnelman kuvan tiedot.",
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"attributes": {
"description": "Ominisuuksien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys, k\u00e4ytet\u00e4\u00e4n tuotteiden mukautettuun j\u00e4rjest\u00e4miseen.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"name": {
"description": "Tuotteen ylemm\u00e4n tason nimi.",
"type": "string",
"required": false
},
"parent_id": {
"description": "Ylemm\u00e4n tason tuotteen tunnus\/ID.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Hae samanlaisen tuotteen nimen, SKU:n tai m\u00e4\u00e4ritteen arvon mukaan.",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Rajoita vastaus resursseihin, joita on muutettu tietyn ISO8601-yhteensopivuuden j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Rajoita vastaus resursseihin, joita on muokattu ennen tietty\u00e4 ISO8601-yhteensopivaa p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Otetaanko GMT-l\u00e4hetysp\u00e4iv\u00e4t huomioon, kun vastaus rajoitetaan julkaistuun tai muutettuun p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4n.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified",
"menu_order"
],
"required": false
},
"parent": {
"description": "Rajoita tulosjoukko niihin joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Rajoita tulosjoukko kaikkiin tuotteisiin poislukien ne joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"slug": {
"description": "Rajoita tulosjoukko niihin tuotteisiin joilla on tietty polkutunnus.",
"type": "string",
"required": false
},
"status": {
"default": "any",
"description": "Rajoita tulosjoukko tuotteisiin joilla on tietty tila.",
"type": "string",
"enum": [
"any",
"future",
"trash",
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"sku": {
"description": "Rajaa tulosjoukko tuotteisiin joilla tietty tuotetunnus (SKU). Jos useita, erota pilkulla.",
"type": "string",
"required": false
},
"on_sale": {
"description": "Rajoita tuotteiden tulosjoukko alennuksessa olevien mukaan.",
"type": "boolean",
"required": false
},
"min_price": {
"description": "Rajoita tuotteiden tulosjoukko alimman hinnan mukaan.",
"type": "string",
"required": false
},
"max_price": {
"description": "Rajoita tuotteiden tulosjoukko korkeimman hinnan mukaan.",
"type": "string",
"required": false
},
"include_meta": {
"default": [],
"description": "Rajoita meta_data tiettyihin avaimiin.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Varmista, ett\u00e4 meta_data ei sis\u00e4ll\u00e4 tietyt avaimet.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"stock_status": {
"description": "Rajoita tuotteiden tulosjoukko tietyn varastotilanteen mukaan.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"has_price": {
"description": "Rajoita tulos asetettu tuotteisiin, joissa on hinta tai ei.",
"type": "boolean",
"required": false
},
"attributes": {
"description": "Limit result set to products with specified attributes.",
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute": {
"type": "string",
"description": "Ominaisuuden polkutunnus."
},
"term": {
"type": "string",
"description": "Attribute term."
},
"terms": {
"type": "array",
"description": "Attribute terms."
}
}
},
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"type": {
"default": "variation",
"description": "Tuotteen laji.",
"type": "string",
"enum": [
"variation"
],
"required": false
},
"description": {
"description": "Muunnelman kuvaus",
"type": "string",
"required": false
},
"sku": {
"description": "Stock Keeping Unit.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN or ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Muunnelman tavallinen hinta.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Muunnelman alennettu hinta.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"status": {
"default": "publish",
"description": "Muunnelman tila.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"virtual": {
"default": false,
"description": "Jos muunnelma on palvelu.",
"type": "boolean",
"required": false
},
"downloadable": {
"default": false,
"description": "Jos muunnelma on ladattava.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"default": -1,
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer",
"required": false
},
"download_expiry": {
"default": -1,
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer",
"required": false
},
"tax_status": {
"default": "taxable",
"description": "Veron tila.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Veroluokka.",
"type": "string",
"required": false
},
"manage_stock": {
"default": false,
"description": "Varaston hallinta muunnelmien tasolla.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"stock_status": {
"default": "instock",
"description": "Hallitsee tuotteen varastotilannetta.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"default": "no",
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Alhainen varastom\u00e4\u00e4r\u00e4 vaihtelua varten.",
"type": [
"integer",
"null"
],
"required": false
},
"weight": {
"description": "Muunnelman paino (kg (kilogramma)).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Muunnelman mitat.",
"type": "object",
"properties": {
"length": {
"description": "Muunnelman pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Muunnelman leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Muunnelman korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Toimitusluokan polkutunnus.",
"type": "string",
"required": false
},
"image": {
"description": "Muunnelman kuvan tiedot.",
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"attributes": {
"description": "Ominisuuksien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys, k\u00e4ytet\u00e4\u00e4n tuotteiden mukautettuun j\u00e4rjest\u00e4miseen.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"name": {
"description": "Tuotteen ylemm\u00e4n tason nimi.",
"type": "string",
"required": false
},
"parent_id": {
"description": "Ylemm\u00e4n tason tuotteen tunnus\/ID.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Hae samanlaisen tuotteen nimen, SKU:n tai m\u00e4\u00e4ritteen arvon mukaan.",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Rajoita vastaus resursseihin, joita on muutettu tietyn ISO8601-yhteensopivuuden j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Rajoita vastaus resursseihin, joita on muokattu ennen tietty\u00e4 ISO8601-yhteensopivaa p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Otetaanko GMT-l\u00e4hetysp\u00e4iv\u00e4t huomioon, kun vastaus rajoitetaan julkaistuun tai muutettuun p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4n.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified",
"menu_order"
],
"required": false
},
"parent": {
"description": "Rajoita tulosjoukko niihin joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Rajoita tulosjoukko kaikkiin tuotteisiin poislukien ne joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"slug": {
"description": "Rajoita tulosjoukko niihin tuotteisiin joilla on tietty polkutunnus.",
"type": "string",
"required": false
},
"status": {
"default": "any",
"description": "Rajoita tulosjoukko tuotteisiin joilla on tietty tila.",
"type": "string",
"enum": [
"any",
"future",
"trash",
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"sku": {
"description": "Rajaa tulosjoukko tuotteisiin joilla tietty tuotetunnus (SKU). Jos useita, erota pilkulla.",
"type": "string",
"required": false
},
"on_sale": {
"description": "Rajoita tuotteiden tulosjoukko alennuksessa olevien mukaan.",
"type": "boolean",
"required": false
},
"min_price": {
"description": "Rajoita tuotteiden tulosjoukko alimman hinnan mukaan.",
"type": "string",
"required": false
},
"max_price": {
"description": "Rajoita tuotteiden tulosjoukko korkeimman hinnan mukaan.",
"type": "string",
"required": false
},
"include_meta": {
"default": [],
"description": "Rajoita meta_data tiettyihin avaimiin.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Varmista, ett\u00e4 meta_data ei sis\u00e4ll\u00e4 tietyt avaimet.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"stock_status": {
"description": "Rajoita tuotteiden tulosjoukko tietyn varastotilanteen mukaan.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"has_price": {
"description": "Rajoita tulos asetettu tuotteisiin, joissa on hinta tai ei.",
"type": "boolean",
"required": false
},
"attributes": {
"description": "Limit result set to products with specified attributes.",
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute": {
"type": "string",
"description": "Ominaisuuden polkutunnus."
},
"term": {
"type": "string",
"description": "Attribute term."
},
"terms": {
"type": "array",
"description": "Attribute terms."
}
}
},
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"type": {
"default": "variation",
"description": "Tuotteen laji.",
"type": "string",
"enum": [
"variation"
],
"required": false
},
"description": {
"description": "Muunnelman kuvaus",
"type": "string",
"required": false
},
"sku": {
"description": "Stock Keeping Unit.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN or ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Muunnelman tavallinen hinta.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Muunnelman alennettu hinta.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"status": {
"default": "publish",
"description": "Muunnelman tila.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"virtual": {
"default": false,
"description": "Jos muunnelma on palvelu.",
"type": "boolean",
"required": false
},
"downloadable": {
"default": false,
"description": "Jos muunnelma on ladattava.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"default": -1,
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer",
"required": false
},
"download_expiry": {
"default": -1,
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer",
"required": false
},
"tax_status": {
"default": "taxable",
"description": "Veron tila.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Veroluokka.",
"type": "string",
"required": false
},
"manage_stock": {
"default": false,
"description": "Varaston hallinta muunnelmien tasolla.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"stock_status": {
"default": "instock",
"description": "Hallitsee tuotteen varastotilannetta.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"default": "no",
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Alhainen varastom\u00e4\u00e4r\u00e4 vaihtelua varten.",
"type": [
"integer",
"null"
],
"required": false
},
"weight": {
"description": "Muunnelman paino (kg (kilogramma)).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Muunnelman mitat.",
"type": "object",
"properties": {
"length": {
"description": "Muunnelman pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Muunnelman leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Muunnelman korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Toimitusluokan polkutunnus.",
"type": "string",
"required": false
},
"image": {
"description": "Muunnelman kuvan tiedot.",
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"attributes": {
"description": "Ominisuuksien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys, k\u00e4ytet\u00e4\u00e4n tuotteiden mukautettuun j\u00e4rjest\u00e4miseen.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"name": {
"description": "Tuotteen ylemm\u00e4n tason nimi.",
"type": "string",
"required": false
},
"parent_id": {
"description": "Ylemm\u00e4n tason tuotteen tunnus\/ID.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Hae samanlaisen tuotteen nimen, SKU:n tai m\u00e4\u00e4ritteen arvon mukaan.",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Rajoita vastaus resursseihin, joita on muutettu tietyn ISO8601-yhteensopivuuden j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Rajoita vastaus resursseihin, joita on muokattu ennen tietty\u00e4 ISO8601-yhteensopivaa p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Otetaanko GMT-l\u00e4hetysp\u00e4iv\u00e4t huomioon, kun vastaus rajoitetaan julkaistuun tai muutettuun p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4n.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified",
"menu_order"
],
"required": false
},
"parent": {
"description": "Rajoita tulosjoukko niihin joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Rajoita tulosjoukko kaikkiin tuotteisiin poislukien ne joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"slug": {
"description": "Rajoita tulosjoukko niihin tuotteisiin joilla on tietty polkutunnus.",
"type": "string",
"required": false
},
"status": {
"default": "any",
"description": "Rajoita tulosjoukko tuotteisiin joilla on tietty tila.",
"type": "string",
"enum": [
"any",
"future",
"trash",
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"sku": {
"description": "Rajaa tulosjoukko tuotteisiin joilla tietty tuotetunnus (SKU). Jos useita, erota pilkulla.",
"type": "string",
"required": false
},
"on_sale": {
"description": "Rajoita tuotteiden tulosjoukko alennuksessa olevien mukaan.",
"type": "boolean",
"required": false
},
"min_price": {
"description": "Rajoita tuotteiden tulosjoukko alimman hinnan mukaan.",
"type": "string",
"required": false
},
"max_price": {
"description": "Rajoita tuotteiden tulosjoukko korkeimman hinnan mukaan.",
"type": "string",
"required": false
},
"include_meta": {
"default": [],
"description": "Rajoita meta_data tiettyihin avaimiin.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Varmista, ett\u00e4 meta_data ei sis\u00e4ll\u00e4 tietyt avaimet.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"stock_status": {
"description": "Rajoita tuotteiden tulosjoukko tietyn varastotilanteen mukaan.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"has_price": {
"description": "Rajoita tulos asetettu tuotteisiin, joissa on hinta tai ei.",
"type": "boolean",
"required": false
},
"attributes": {
"description": "Limit result set to products with specified attributes.",
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute": {
"type": "string",
"description": "Ominaisuuden polkutunnus."
},
"term": {
"type": "string",
"description": "Attribute term."
},
"terms": {
"type": "array",
"description": "Attribute terms."
}
}
},
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"type": {
"default": "variation",
"description": "Tuotteen laji.",
"type": "string",
"enum": [
"variation"
],
"required": false
},
"description": {
"description": "Muunnelman kuvaus",
"type": "string",
"required": false
},
"sku": {
"description": "Stock Keeping Unit.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN or ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Muunnelman tavallinen hinta.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Muunnelman alennettu hinta.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"status": {
"default": "publish",
"description": "Muunnelman tila.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"virtual": {
"default": false,
"description": "Jos muunnelma on palvelu.",
"type": "boolean",
"required": false
},
"downloadable": {
"default": false,
"description": "Jos muunnelma on ladattava.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"default": -1,
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer",
"required": false
},
"download_expiry": {
"default": -1,
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer",
"required": false
},
"tax_status": {
"default": "taxable",
"description": "Veron tila.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Veroluokka.",
"type": "string",
"required": false
},
"manage_stock": {
"default": false,
"description": "Varaston hallinta muunnelmien tasolla.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"stock_status": {
"default": "instock",
"description": "Hallitsee tuotteen varastotilannetta.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"default": "no",
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Alhainen varastom\u00e4\u00e4r\u00e4 vaihtelua varten.",
"type": [
"integer",
"null"
],
"required": false
},
"weight": {
"description": "Muunnelman paino (kg (kilogramma)).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Muunnelman mitat.",
"type": "object",
"properties": {
"length": {
"description": "Muunnelman pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Muunnelman leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Muunnelman korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Toimitusluokan polkutunnus.",
"type": "string",
"required": false
},
"image": {
"description": "Muunnelman kuvan tiedot.",
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"attributes": {
"description": "Ominisuuksien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys, k\u00e4ytet\u00e4\u00e4n tuotteiden mukautettuun j\u00e4rjest\u00e4miseen.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"name": {
"description": "Tuotteen ylemm\u00e4n tason nimi.",
"type": "string",
"required": false
},
"parent_id": {
"description": "Ylemm\u00e4n tason tuotteen tunnus\/ID.",
"type": "integer",
"required": false
}
}
}
]
},
"\/wc-analytics\/products\/(?P[\\d]+)\/variations\/(?P[\\d]+)": {
"namespace": "wc-analytics",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"id": {
"description": "Muista poikkeava tunniste muunnelmalle.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"id": {
"description": "Muista poikkeava tunniste muunnelmalle.",
"type": "integer",
"required": false
},
"type": {
"description": "Tuotteen laji.",
"type": "string",
"enum": [
"variation"
],
"required": false
},
"description": {
"description": "Muunnelman kuvaus",
"type": "string",
"required": false
},
"sku": {
"description": "Stock Keeping Unit.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN or ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Muunnelman tavallinen hinta.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Muunnelman alennettu hinta.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"status": {
"description": "Muunnelman tila.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"virtual": {
"description": "Jos muunnelma on palvelu.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Jos muunnelma on ladattava.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer",
"required": false
},
"tax_status": {
"description": "Veron tila.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Veroluokka.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Varaston hallinta muunnelmien tasolla.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"stock_status": {
"description": "Hallitsee tuotteen varastotilannetta.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Alhainen varastom\u00e4\u00e4r\u00e4 vaihtelua varten.",
"type": [
"integer",
"null"
],
"required": false
},
"weight": {
"description": "Muunnelman paino (kg (kilogramma)).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Muunnelman mitat.",
"type": "object",
"properties": {
"length": {
"description": "Muunnelman pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Muunnelman leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Muunnelman korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Toimitusluokan polkutunnus.",
"type": "string",
"required": false
},
"image": {
"description": "Muunnelman kuvan tiedot.",
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"attributes": {
"description": "Ominisuuksien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys, k\u00e4ytet\u00e4\u00e4n tuotteiden mukautettuun j\u00e4rjest\u00e4miseen.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"name": {
"description": "Tuotteen ylemm\u00e4n tason nimi.",
"type": "string",
"required": false
},
"parent_id": {
"description": "Ylemm\u00e4n tason tuotteen tunnus\/ID.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"id": {
"description": "Muista poikkeava tunniste muunnelmalle.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ohitetaanko roskakori ja pakotetaan poisto.",
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"id": {
"description": "Muista poikkeava tunniste muunnelmalle.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"id": {
"description": "Muista poikkeava tunniste muunnelmalle.",
"type": "integer",
"required": false
},
"type": {
"description": "Tuotteen laji.",
"type": "string",
"enum": [
"variation"
],
"required": false
},
"description": {
"description": "Muunnelman kuvaus",
"type": "string",
"required": false
},
"sku": {
"description": "Stock Keeping Unit.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN or ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Muunnelman tavallinen hinta.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Muunnelman alennettu hinta.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"status": {
"description": "Muunnelman tila.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"virtual": {
"description": "Jos muunnelma on palvelu.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Jos muunnelma on ladattava.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer",
"required": false
},
"tax_status": {
"description": "Veron tila.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Veroluokka.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Varaston hallinta muunnelmien tasolla.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"stock_status": {
"description": "Hallitsee tuotteen varastotilannetta.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Alhainen varastom\u00e4\u00e4r\u00e4 vaihtelua varten.",
"type": [
"integer",
"null"
],
"required": false
},
"weight": {
"description": "Muunnelman paino (kg (kilogramma)).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Muunnelman mitat.",
"type": "object",
"properties": {
"length": {
"description": "Muunnelman pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Muunnelman leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Muunnelman korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Toimitusluokan polkutunnus.",
"type": "string",
"required": false
},
"image": {
"description": "Muunnelman kuvan tiedot.",
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"attributes": {
"description": "Ominisuuksien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys, k\u00e4ytet\u00e4\u00e4n tuotteiden mukautettuun j\u00e4rjest\u00e4miseen.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"name": {
"description": "Tuotteen ylemm\u00e4n tason nimi.",
"type": "string",
"required": false
},
"parent_id": {
"description": "Ylemm\u00e4n tason tuotteen tunnus\/ID.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"id": {
"description": "Muista poikkeava tunniste muunnelmalle.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ohitetaanko roskakori ja pakotetaan poisto.",
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"id": {
"description": "Muista poikkeava tunniste muunnelmalle.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"id": {
"description": "Muista poikkeava tunniste muunnelmalle.",
"type": "integer",
"required": false
},
"type": {
"description": "Tuotteen laji.",
"type": "string",
"enum": [
"variation"
],
"required": false
},
"description": {
"description": "Muunnelman kuvaus",
"type": "string",
"required": false
},
"sku": {
"description": "Stock Keeping Unit.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN or ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Muunnelman tavallinen hinta.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Muunnelman alennettu hinta.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"status": {
"description": "Muunnelman tila.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"virtual": {
"description": "Jos muunnelma on palvelu.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Jos muunnelma on ladattava.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer",
"required": false
},
"tax_status": {
"description": "Veron tila.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Veroluokka.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Varaston hallinta muunnelmien tasolla.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"stock_status": {
"description": "Hallitsee tuotteen varastotilannetta.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Alhainen varastom\u00e4\u00e4r\u00e4 vaihtelua varten.",
"type": [
"integer",
"null"
],
"required": false
},
"weight": {
"description": "Muunnelman paino (kg (kilogramma)).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Muunnelman mitat.",
"type": "object",
"properties": {
"length": {
"description": "Muunnelman pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Muunnelman leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Muunnelman korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Toimitusluokan polkutunnus.",
"type": "string",
"required": false
},
"image": {
"description": "Muunnelman kuvan tiedot.",
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"attributes": {
"description": "Ominisuuksien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys, k\u00e4ytet\u00e4\u00e4n tuotteiden mukautettuun j\u00e4rjest\u00e4miseen.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"name": {
"description": "Tuotteen ylemm\u00e4n tason nimi.",
"type": "string",
"required": false
},
"parent_id": {
"description": "Ylemm\u00e4n tason tuotteen tunnus\/ID.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"id": {
"description": "Muista poikkeava tunniste muunnelmalle.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ohitetaanko roskakori ja pakotetaan poisto.",
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"id": {
"description": "Muista poikkeava tunniste muunnelmalle.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"id": {
"description": "Muista poikkeava tunniste muunnelmalle.",
"type": "integer",
"required": false
},
"type": {
"description": "Tuotteen laji.",
"type": "string",
"enum": [
"variation"
],
"required": false
},
"description": {
"description": "Muunnelman kuvaus",
"type": "string",
"required": false
},
"sku": {
"description": "Stock Keeping Unit.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN or ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Muunnelman tavallinen hinta.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Muunnelman alennettu hinta.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"status": {
"description": "Muunnelman tila.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"virtual": {
"description": "Jos muunnelma on palvelu.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Jos muunnelma on ladattava.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer",
"required": false
},
"tax_status": {
"description": "Veron tila.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Veroluokka.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Varaston hallinta muunnelmien tasolla.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"stock_status": {
"description": "Hallitsee tuotteen varastotilannetta.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Alhainen varastom\u00e4\u00e4r\u00e4 vaihtelua varten.",
"type": [
"integer",
"null"
],
"required": false
},
"weight": {
"description": "Muunnelman paino (kg (kilogramma)).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Muunnelman mitat.",
"type": "object",
"properties": {
"length": {
"description": "Muunnelman pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Muunnelman leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Muunnelman korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Toimitusluokan polkutunnus.",
"type": "string",
"required": false
},
"image": {
"description": "Muunnelman kuvan tiedot.",
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"attributes": {
"description": "Ominisuuksien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys, k\u00e4ytet\u00e4\u00e4n tuotteiden mukautettuun j\u00e4rjest\u00e4miseen.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"name": {
"description": "Tuotteen ylemm\u00e4n tason nimi.",
"type": "string",
"required": false
},
"parent_id": {
"description": "Ylemm\u00e4n tason tuotteen tunnus\/ID.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"id": {
"description": "Muista poikkeava tunniste muunnelmalle.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ohitetaanko roskakori ja pakotetaan poisto.",
"required": false
}
}
}
]
},
"\/wc-analytics\/products\/(?P[\\d]+)\/variations\/batch": {
"namespace": "wc-analytics",
"methods": [
"POST",
"PUT",
"PATCH",
"POST",
"PUT",
"PATCH",
"POST",
"PUT",
"PATCH",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"type": {
"description": "Tuotteen laji.",
"type": "string",
"enum": [
"variation"
],
"required": false
},
"description": {
"description": "Muunnelman kuvaus",
"type": "string",
"required": false
},
"sku": {
"description": "Stock Keeping Unit.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN or ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Muunnelman tavallinen hinta.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Muunnelman alennettu hinta.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"status": {
"description": "Muunnelman tila.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"virtual": {
"description": "Jos muunnelma on palvelu.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Jos muunnelma on ladattava.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer",
"required": false
},
"tax_status": {
"description": "Veron tila.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Veroluokka.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Varaston hallinta muunnelmien tasolla.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"stock_status": {
"description": "Hallitsee tuotteen varastotilannetta.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Alhainen varastom\u00e4\u00e4r\u00e4 vaihtelua varten.",
"type": [
"integer",
"null"
],
"required": false
},
"weight": {
"description": "Muunnelman paino (kg (kilogramma)).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Muunnelman mitat.",
"type": "object",
"properties": {
"length": {
"description": "Muunnelman pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Muunnelman leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Muunnelman korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Toimitusluokan polkutunnus.",
"type": "string",
"required": false
},
"image": {
"description": "Muunnelman kuvan tiedot.",
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"attributes": {
"description": "Ominisuuksien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys, k\u00e4ytet\u00e4\u00e4n tuotteiden mukautettuun j\u00e4rjest\u00e4miseen.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"name": {
"description": "Tuotteen ylemm\u00e4n tason nimi.",
"type": "string",
"required": false
},
"parent_id": {
"description": "Ylemm\u00e4n tason tuotteen tunnus\/ID.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"type": {
"description": "Tuotteen laji.",
"type": "string",
"enum": [
"variation"
],
"required": false
},
"description": {
"description": "Muunnelman kuvaus",
"type": "string",
"required": false
},
"sku": {
"description": "Stock Keeping Unit.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN or ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Muunnelman tavallinen hinta.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Muunnelman alennettu hinta.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"status": {
"description": "Muunnelman tila.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"virtual": {
"description": "Jos muunnelma on palvelu.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Jos muunnelma on ladattava.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer",
"required": false
},
"tax_status": {
"description": "Veron tila.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Veroluokka.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Varaston hallinta muunnelmien tasolla.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"stock_status": {
"description": "Hallitsee tuotteen varastotilannetta.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Alhainen varastom\u00e4\u00e4r\u00e4 vaihtelua varten.",
"type": [
"integer",
"null"
],
"required": false
},
"weight": {
"description": "Muunnelman paino (kg (kilogramma)).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Muunnelman mitat.",
"type": "object",
"properties": {
"length": {
"description": "Muunnelman pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Muunnelman leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Muunnelman korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Toimitusluokan polkutunnus.",
"type": "string",
"required": false
},
"image": {
"description": "Muunnelman kuvan tiedot.",
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"attributes": {
"description": "Ominisuuksien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys, k\u00e4ytet\u00e4\u00e4n tuotteiden mukautettuun j\u00e4rjest\u00e4miseen.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"name": {
"description": "Tuotteen ylemm\u00e4n tason nimi.",
"type": "string",
"required": false
},
"parent_id": {
"description": "Ylemm\u00e4n tason tuotteen tunnus\/ID.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"type": {
"description": "Tuotteen laji.",
"type": "string",
"enum": [
"variation"
],
"required": false
},
"description": {
"description": "Muunnelman kuvaus",
"type": "string",
"required": false
},
"sku": {
"description": "Stock Keeping Unit.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN or ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Muunnelman tavallinen hinta.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Muunnelman alennettu hinta.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"status": {
"description": "Muunnelman tila.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"virtual": {
"description": "Jos muunnelma on palvelu.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Jos muunnelma on ladattava.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer",
"required": false
},
"tax_status": {
"description": "Veron tila.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Veroluokka.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Varaston hallinta muunnelmien tasolla.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"stock_status": {
"description": "Hallitsee tuotteen varastotilannetta.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Alhainen varastom\u00e4\u00e4r\u00e4 vaihtelua varten.",
"type": [
"integer",
"null"
],
"required": false
},
"weight": {
"description": "Muunnelman paino (kg (kilogramma)).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Muunnelman mitat.",
"type": "object",
"properties": {
"length": {
"description": "Muunnelman pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Muunnelman leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Muunnelman korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Toimitusluokan polkutunnus.",
"type": "string",
"required": false
},
"image": {
"description": "Muunnelman kuvan tiedot.",
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"attributes": {
"description": "Ominisuuksien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys, k\u00e4ytet\u00e4\u00e4n tuotteiden mukautettuun j\u00e4rjest\u00e4miseen.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"name": {
"description": "Tuotteen ylemm\u00e4n tason nimi.",
"type": "string",
"required": false
},
"parent_id": {
"description": "Ylemm\u00e4n tason tuotteen tunnus\/ID.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"type": {
"description": "Tuotteen laji.",
"type": "string",
"enum": [
"variation"
],
"required": false
},
"description": {
"description": "Muunnelman kuvaus",
"type": "string",
"required": false
},
"sku": {
"description": "Stock Keeping Unit.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN or ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Muunnelman tavallinen hinta.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Muunnelman alennettu hinta.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"status": {
"description": "Muunnelman tila.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"virtual": {
"description": "Jos muunnelma on palvelu.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Jos muunnelma on ladattava.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer",
"required": false
},
"tax_status": {
"description": "Veron tila.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Veroluokka.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Varaston hallinta muunnelmien tasolla.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"stock_status": {
"description": "Hallitsee tuotteen varastotilannetta.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Alhainen varastom\u00e4\u00e4r\u00e4 vaihtelua varten.",
"type": [
"integer",
"null"
],
"required": false
},
"weight": {
"description": "Muunnelman paino (kg (kilogramma)).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Muunnelman mitat.",
"type": "object",
"properties": {
"length": {
"description": "Muunnelman pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Muunnelman leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Muunnelman korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Toimitusluokan polkutunnus.",
"type": "string",
"required": false
},
"image": {
"description": "Muunnelman kuvan tiedot.",
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"attributes": {
"description": "Ominisuuksien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys, k\u00e4ytet\u00e4\u00e4n tuotteiden mukautettuun j\u00e4rjest\u00e4miseen.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"name": {
"description": "Tuotteen ylemm\u00e4n tason nimi.",
"type": "string",
"required": false
},
"parent_id": {
"description": "Ylemm\u00e4n tason tuotteen tunnus\/ID.",
"type": "integer",
"required": false
}
}
}
]
},
"\/wc-analytics\/products\/(?P[\\d]+)\/variations\/generate": {
"namespace": "wc-analytics",
"methods": [
"POST",
"POST",
"POST",
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"delete": {
"description": "Poistaa k\u00e4ytt\u00e4m\u00e4tt\u00f6m\u00e4t muunnelmat.",
"type": "boolean",
"required": false
},
"default_values": {
"description": "Default values for generated variations.",
"type": "object",
"properties": {
"type": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Tuotteen laji.",
"type": "string",
"enum": [
"variation"
]
},
"description": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Muunnelman kuvaus",
"type": "string"
},
"sku": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Stock Keeping Unit.",
"type": "string"
},
"global_unique_id": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "GTIN, UPC, EAN or ISBN.",
"type": "string"
},
"regular_price": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Muunnelman tavallinen hinta.",
"type": "string"
},
"sale_price": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Muunnelman alennettu hinta.",
"type": "string"
},
"date_on_sale_from": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
]
},
"date_on_sale_from_gmt": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, GMT aika.",
"type": [
"null",
"string"
]
},
"date_on_sale_to": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
]
},
"date_on_sale_to_gmt": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
]
},
"status": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Muunnelman tila.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
]
},
"virtual": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Jos muunnelma on palvelu.",
"type": "boolean"
},
"downloadable": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Jos muunnelma on ladattava.",
"type": "boolean"
},
"downloads": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"download_limit": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer"
},
"download_expiry": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer"
},
"tax_status": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Veron tila.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
]
},
"tax_class": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Veroluokka.",
"type": "string"
},
"manage_stock": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Varaston hallinta muunnelmien tasolla.",
"type": "boolean"
},
"stock_quantity": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer"
},
"stock_status": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Hallitsee tuotteen varastotilannetta.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
]
},
"backorders": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
]
},
"low_stock_amount": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Alhainen varastom\u00e4\u00e4r\u00e4 vaihtelua varten.",
"type": [
"integer",
"null"
]
},
"weight": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Muunnelman paino (kg (kilogramma)).",
"type": "string"
},
"dimensions": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Muunnelman mitat.",
"type": "object",
"properties": {
"length": {
"description": "Muunnelman pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Muunnelman leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Muunnelman korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"shipping_class": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Toimitusluokan polkutunnus.",
"type": "string"
},
"image": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Muunnelman kuvan tiedot.",
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"attributes": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Ominisuuksien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"menu_order": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Valikkojen j\u00e4rjestys, k\u00e4ytet\u00e4\u00e4n tuotteiden mukautettuun j\u00e4rjest\u00e4miseen.",
"type": "integer"
},
"meta_data": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
},
"name": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Tuotteen ylemm\u00e4n tason nimi.",
"type": "string"
},
"parent_id": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Ylemm\u00e4n tason tuotteen tunnus\/ID.",
"type": "integer"
}
},
"required": false
},
"type": {
"default": "variation",
"description": "Tuotteen laji.",
"type": "string",
"enum": [
"variation"
],
"required": false
},
"description": {
"description": "Muunnelman kuvaus",
"type": "string",
"required": false
},
"sku": {
"description": "Stock Keeping Unit.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN or ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Muunnelman tavallinen hinta.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Muunnelman alennettu hinta.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"status": {
"default": "publish",
"description": "Muunnelman tila.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"virtual": {
"default": false,
"description": "Jos muunnelma on palvelu.",
"type": "boolean",
"required": false
},
"downloadable": {
"default": false,
"description": "Jos muunnelma on ladattava.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"default": -1,
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer",
"required": false
},
"download_expiry": {
"default": -1,
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer",
"required": false
},
"tax_status": {
"default": "taxable",
"description": "Veron tila.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Veroluokka.",
"type": "string",
"required": false
},
"manage_stock": {
"default": false,
"description": "Varaston hallinta muunnelmien tasolla.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"stock_status": {
"default": "instock",
"description": "Hallitsee tuotteen varastotilannetta.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"default": "no",
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Alhainen varastom\u00e4\u00e4r\u00e4 vaihtelua varten.",
"type": [
"integer",
"null"
],
"required": false
},
"weight": {
"description": "Muunnelman paino (kg (kilogramma)).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Muunnelman mitat.",
"type": "object",
"properties": {
"length": {
"description": "Muunnelman pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Muunnelman leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Muunnelman korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Toimitusluokan polkutunnus.",
"type": "string",
"required": false
},
"image": {
"description": "Muunnelman kuvan tiedot.",
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"attributes": {
"description": "Ominisuuksien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys, k\u00e4ytet\u00e4\u00e4n tuotteiden mukautettuun j\u00e4rjest\u00e4miseen.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"name": {
"description": "Tuotteen ylemm\u00e4n tason nimi.",
"type": "string",
"required": false
},
"parent_id": {
"description": "Ylemm\u00e4n tason tuotteen tunnus\/ID.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"delete": {
"description": "Poistaa k\u00e4ytt\u00e4m\u00e4tt\u00f6m\u00e4t muunnelmat.",
"type": "boolean",
"required": false
},
"default_values": {
"description": "Default values for generated variations.",
"type": "object",
"properties": {
"type": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Tuotteen laji.",
"type": "string",
"enum": [
"variation"
]
},
"description": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Muunnelman kuvaus",
"type": "string"
},
"sku": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Stock Keeping Unit.",
"type": "string"
},
"global_unique_id": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "GTIN, UPC, EAN or ISBN.",
"type": "string"
},
"regular_price": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Muunnelman tavallinen hinta.",
"type": "string"
},
"sale_price": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Muunnelman alennettu hinta.",
"type": "string"
},
"date_on_sale_from": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
]
},
"date_on_sale_from_gmt": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, GMT aika.",
"type": [
"null",
"string"
]
},
"date_on_sale_to": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
]
},
"date_on_sale_to_gmt": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
]
},
"status": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Muunnelman tila.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
]
},
"virtual": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Jos muunnelma on palvelu.",
"type": "boolean"
},
"downloadable": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Jos muunnelma on ladattava.",
"type": "boolean"
},
"downloads": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"download_limit": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer"
},
"download_expiry": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer"
},
"tax_status": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Veron tila.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
]
},
"tax_class": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Veroluokka.",
"type": "string"
},
"manage_stock": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Varaston hallinta muunnelmien tasolla.",
"type": "boolean"
},
"stock_quantity": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer"
},
"stock_status": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Hallitsee tuotteen varastotilannetta.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
]
},
"backorders": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
]
},
"low_stock_amount": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Alhainen varastom\u00e4\u00e4r\u00e4 vaihtelua varten.",
"type": [
"integer",
"null"
]
},
"weight": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Muunnelman paino (kg (kilogramma)).",
"type": "string"
},
"dimensions": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Muunnelman mitat.",
"type": "object",
"properties": {
"length": {
"description": "Muunnelman pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Muunnelman leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Muunnelman korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"shipping_class": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Toimitusluokan polkutunnus.",
"type": "string"
},
"image": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Muunnelman kuvan tiedot.",
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"attributes": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Ominisuuksien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"menu_order": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Valikkojen j\u00e4rjestys, k\u00e4ytet\u00e4\u00e4n tuotteiden mukautettuun j\u00e4rjest\u00e4miseen.",
"type": "integer"
},
"meta_data": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
},
"name": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Tuotteen ylemm\u00e4n tason nimi.",
"type": "string"
},
"parent_id": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Ylemm\u00e4n tason tuotteen tunnus\/ID.",
"type": "integer"
}
},
"required": false
},
"type": {
"default": "variation",
"description": "Tuotteen laji.",
"type": "string",
"enum": [
"variation"
],
"required": false
},
"description": {
"description": "Muunnelman kuvaus",
"type": "string",
"required": false
},
"sku": {
"description": "Stock Keeping Unit.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN or ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Muunnelman tavallinen hinta.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Muunnelman alennettu hinta.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"status": {
"default": "publish",
"description": "Muunnelman tila.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"virtual": {
"default": false,
"description": "Jos muunnelma on palvelu.",
"type": "boolean",
"required": false
},
"downloadable": {
"default": false,
"description": "Jos muunnelma on ladattava.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"default": -1,
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer",
"required": false
},
"download_expiry": {
"default": -1,
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer",
"required": false
},
"tax_status": {
"default": "taxable",
"description": "Veron tila.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Veroluokka.",
"type": "string",
"required": false
},
"manage_stock": {
"default": false,
"description": "Varaston hallinta muunnelmien tasolla.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"stock_status": {
"default": "instock",
"description": "Hallitsee tuotteen varastotilannetta.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"default": "no",
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Alhainen varastom\u00e4\u00e4r\u00e4 vaihtelua varten.",
"type": [
"integer",
"null"
],
"required": false
},
"weight": {
"description": "Muunnelman paino (kg (kilogramma)).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Muunnelman mitat.",
"type": "object",
"properties": {
"length": {
"description": "Muunnelman pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Muunnelman leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Muunnelman korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Toimitusluokan polkutunnus.",
"type": "string",
"required": false
},
"image": {
"description": "Muunnelman kuvan tiedot.",
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"attributes": {
"description": "Ominisuuksien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys, k\u00e4ytet\u00e4\u00e4n tuotteiden mukautettuun j\u00e4rjest\u00e4miseen.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"name": {
"description": "Tuotteen ylemm\u00e4n tason nimi.",
"type": "string",
"required": false
},
"parent_id": {
"description": "Ylemm\u00e4n tason tuotteen tunnus\/ID.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"delete": {
"description": "Poistaa k\u00e4ytt\u00e4m\u00e4tt\u00f6m\u00e4t muunnelmat.",
"type": "boolean",
"required": false
},
"default_values": {
"description": "Default values for generated variations.",
"type": "object",
"properties": {
"type": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Tuotteen laji.",
"type": "string",
"enum": [
"variation"
]
},
"description": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Muunnelman kuvaus",
"type": "string"
},
"sku": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Stock Keeping Unit.",
"type": "string"
},
"global_unique_id": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "GTIN, UPC, EAN or ISBN.",
"type": "string"
},
"regular_price": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Muunnelman tavallinen hinta.",
"type": "string"
},
"sale_price": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Muunnelman alennettu hinta.",
"type": "string"
},
"date_on_sale_from": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
]
},
"date_on_sale_from_gmt": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, GMT aika.",
"type": [
"null",
"string"
]
},
"date_on_sale_to": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
]
},
"date_on_sale_to_gmt": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
]
},
"status": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Muunnelman tila.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
]
},
"virtual": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Jos muunnelma on palvelu.",
"type": "boolean"
},
"downloadable": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Jos muunnelma on ladattava.",
"type": "boolean"
},
"downloads": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"download_limit": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer"
},
"download_expiry": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer"
},
"tax_status": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Veron tila.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
]
},
"tax_class": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Veroluokka.",
"type": "string"
},
"manage_stock": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Varaston hallinta muunnelmien tasolla.",
"type": "boolean"
},
"stock_quantity": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer"
},
"stock_status": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Hallitsee tuotteen varastotilannetta.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
]
},
"backorders": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
]
},
"low_stock_amount": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Alhainen varastom\u00e4\u00e4r\u00e4 vaihtelua varten.",
"type": [
"integer",
"null"
]
},
"weight": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Muunnelman paino (kg (kilogramma)).",
"type": "string"
},
"dimensions": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Muunnelman mitat.",
"type": "object",
"properties": {
"length": {
"description": "Muunnelman pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Muunnelman leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Muunnelman korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"shipping_class": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Toimitusluokan polkutunnus.",
"type": "string"
},
"image": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Muunnelman kuvan tiedot.",
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"attributes": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Ominisuuksien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"menu_order": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Valikkojen j\u00e4rjestys, k\u00e4ytet\u00e4\u00e4n tuotteiden mukautettuun j\u00e4rjest\u00e4miseen.",
"type": "integer"
},
"meta_data": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
},
"name": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Tuotteen ylemm\u00e4n tason nimi.",
"type": "string"
},
"parent_id": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Ylemm\u00e4n tason tuotteen tunnus\/ID.",
"type": "integer"
}
},
"required": false
},
"type": {
"default": "variation",
"description": "Tuotteen laji.",
"type": "string",
"enum": [
"variation"
],
"required": false
},
"description": {
"description": "Muunnelman kuvaus",
"type": "string",
"required": false
},
"sku": {
"description": "Stock Keeping Unit.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN or ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Muunnelman tavallinen hinta.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Muunnelman alennettu hinta.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"status": {
"default": "publish",
"description": "Muunnelman tila.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"virtual": {
"default": false,
"description": "Jos muunnelma on palvelu.",
"type": "boolean",
"required": false
},
"downloadable": {
"default": false,
"description": "Jos muunnelma on ladattava.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"default": -1,
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer",
"required": false
},
"download_expiry": {
"default": -1,
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer",
"required": false
},
"tax_status": {
"default": "taxable",
"description": "Veron tila.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Veroluokka.",
"type": "string",
"required": false
},
"manage_stock": {
"default": false,
"description": "Varaston hallinta muunnelmien tasolla.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"stock_status": {
"default": "instock",
"description": "Hallitsee tuotteen varastotilannetta.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"default": "no",
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Alhainen varastom\u00e4\u00e4r\u00e4 vaihtelua varten.",
"type": [
"integer",
"null"
],
"required": false
},
"weight": {
"description": "Muunnelman paino (kg (kilogramma)).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Muunnelman mitat.",
"type": "object",
"properties": {
"length": {
"description": "Muunnelman pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Muunnelman leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Muunnelman korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Toimitusluokan polkutunnus.",
"type": "string",
"required": false
},
"image": {
"description": "Muunnelman kuvan tiedot.",
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"attributes": {
"description": "Ominisuuksien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys, k\u00e4ytet\u00e4\u00e4n tuotteiden mukautettuun j\u00e4rjest\u00e4miseen.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"name": {
"description": "Tuotteen ylemm\u00e4n tason nimi.",
"type": "string",
"required": false
},
"parent_id": {
"description": "Ylemm\u00e4n tason tuotteen tunnus\/ID.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"delete": {
"description": "Poistaa k\u00e4ytt\u00e4m\u00e4tt\u00f6m\u00e4t muunnelmat.",
"type": "boolean",
"required": false
},
"default_values": {
"description": "Default values for generated variations.",
"type": "object",
"properties": {
"type": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Tuotteen laji.",
"type": "string",
"enum": [
"variation"
]
},
"description": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Muunnelman kuvaus",
"type": "string"
},
"sku": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Stock Keeping Unit.",
"type": "string"
},
"global_unique_id": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "GTIN, UPC, EAN or ISBN.",
"type": "string"
},
"regular_price": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Muunnelman tavallinen hinta.",
"type": "string"
},
"sale_price": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Muunnelman alennettu hinta.",
"type": "string"
},
"date_on_sale_from": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
]
},
"date_on_sale_from_gmt": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, GMT aika.",
"type": [
"null",
"string"
]
},
"date_on_sale_to": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
]
},
"date_on_sale_to_gmt": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
]
},
"status": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Muunnelman tila.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
]
},
"virtual": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Jos muunnelma on palvelu.",
"type": "boolean"
},
"downloadable": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Jos muunnelma on ladattava.",
"type": "boolean"
},
"downloads": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"download_limit": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer"
},
"download_expiry": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer"
},
"tax_status": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Veron tila.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
]
},
"tax_class": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Veroluokka.",
"type": "string"
},
"manage_stock": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Varaston hallinta muunnelmien tasolla.",
"type": "boolean"
},
"stock_quantity": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer"
},
"stock_status": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Hallitsee tuotteen varastotilannetta.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
]
},
"backorders": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
]
},
"low_stock_amount": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Alhainen varastom\u00e4\u00e4r\u00e4 vaihtelua varten.",
"type": [
"integer",
"null"
]
},
"weight": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Muunnelman paino (kg (kilogramma)).",
"type": "string"
},
"dimensions": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Muunnelman mitat.",
"type": "object",
"properties": {
"length": {
"description": "Muunnelman pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Muunnelman leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Muunnelman korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"shipping_class": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Toimitusluokan polkutunnus.",
"type": "string"
},
"image": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Muunnelman kuvan tiedot.",
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"attributes": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Ominisuuksien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"menu_order": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Valikkojen j\u00e4rjestys, k\u00e4ytet\u00e4\u00e4n tuotteiden mukautettuun j\u00e4rjest\u00e4miseen.",
"type": "integer"
},
"meta_data": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
},
"name": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Tuotteen ylemm\u00e4n tason nimi.",
"type": "string"
},
"parent_id": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Ylemm\u00e4n tason tuotteen tunnus\/ID.",
"type": "integer"
}
},
"required": false
},
"type": {
"default": "variation",
"description": "Tuotteen laji.",
"type": "string",
"enum": [
"variation"
],
"required": false
},
"description": {
"description": "Muunnelman kuvaus",
"type": "string",
"required": false
},
"sku": {
"description": "Stock Keeping Unit.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN or ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Muunnelman tavallinen hinta.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Muunnelman alennettu hinta.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"status": {
"default": "publish",
"description": "Muunnelman tila.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"virtual": {
"default": false,
"description": "Jos muunnelma on palvelu.",
"type": "boolean",
"required": false
},
"downloadable": {
"default": false,
"description": "Jos muunnelma on ladattava.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"default": -1,
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer",
"required": false
},
"download_expiry": {
"default": -1,
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer",
"required": false
},
"tax_status": {
"default": "taxable",
"description": "Veron tila.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Veroluokka.",
"type": "string",
"required": false
},
"manage_stock": {
"default": false,
"description": "Varaston hallinta muunnelmien tasolla.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"stock_status": {
"default": "instock",
"description": "Hallitsee tuotteen varastotilannetta.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"default": "no",
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Alhainen varastom\u00e4\u00e4r\u00e4 vaihtelua varten.",
"type": [
"integer",
"null"
],
"required": false
},
"weight": {
"description": "Muunnelman paino (kg (kilogramma)).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Muunnelman mitat.",
"type": "object",
"properties": {
"length": {
"description": "Muunnelman pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Muunnelman leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Muunnelman korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Toimitusluokan polkutunnus.",
"type": "string",
"required": false
},
"image": {
"description": "Muunnelman kuvan tiedot.",
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"attributes": {
"description": "Ominisuuksien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys, k\u00e4ytet\u00e4\u00e4n tuotteiden mukautettuun j\u00e4rjest\u00e4miseen.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"name": {
"description": "Tuotteen ylemm\u00e4n tason nimi.",
"type": "string",
"required": false
},
"parent_id": {
"description": "Ylemm\u00e4n tason tuotteen tunnus\/ID.",
"type": "integer",
"required": false
}
}
}
]
},
"\/wc-analytics\/variations": {
"namespace": "wc-analytics",
"methods": [
"GET",
"GET",
"GET",
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Hae samanlaisen tuotteen nimen, SKU:n tai m\u00e4\u00e4ritteen arvon mukaan.",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Rajoita vastaus resursseihin, joita on muutettu tietyn ISO8601-yhteensopivuuden j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Rajoita vastaus resursseihin, joita on muokattu ennen tietty\u00e4 ISO8601-yhteensopivaa p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Otetaanko GMT-l\u00e4hetysp\u00e4iv\u00e4t huomioon, kun vastaus rajoitetaan julkaistuun tai muutettuun p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4n.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified",
"menu_order"
],
"required": false
},
"parent": {
"description": "Rajoita tulosjoukko niihin joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Rajoita tulosjoukko kaikkiin tuotteisiin poislukien ne joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"slug": {
"description": "Rajoita tulosjoukko niihin tuotteisiin joilla on tietty polkutunnus.",
"type": "string",
"required": false
},
"status": {
"default": "any",
"description": "Rajoita tulosjoukko tuotteisiin joilla on tietty tila.",
"type": "string",
"enum": [
"any",
"future",
"trash",
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"sku": {
"description": "Rajaa tulosjoukko tuotteisiin joilla tietty tuotetunnus (SKU). Jos useita, erota pilkulla.",
"type": "string",
"required": false
},
"on_sale": {
"description": "Rajoita tuotteiden tulosjoukko alennuksessa olevien mukaan.",
"type": "boolean",
"required": false
},
"min_price": {
"description": "Rajoita tuotteiden tulosjoukko alimman hinnan mukaan.",
"type": "string",
"required": false
},
"max_price": {
"description": "Rajoita tuotteiden tulosjoukko korkeimman hinnan mukaan.",
"type": "string",
"required": false
},
"include_meta": {
"default": [],
"description": "Rajoita meta_data tiettyihin avaimiin.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Varmista, ett\u00e4 meta_data ei sis\u00e4ll\u00e4 tietyt avaimet.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"stock_status": {
"description": "Rajoita tuotteiden tulosjoukko tietyn varastotilanteen mukaan.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"has_price": {
"description": "Rajoita tulos asetettu tuotteisiin, joissa on hinta tai ei.",
"type": "boolean",
"required": false
},
"attributes": {
"description": "Limit result set to products with specified attributes.",
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute": {
"type": "string",
"description": "Ominaisuuden polkutunnus."
},
"term": {
"type": "string",
"description": "Attribute term."
},
"terms": {
"type": "array",
"description": "Attribute terms."
}
}
},
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Hae samanlaisen tuotteen nimen, SKU:n tai m\u00e4\u00e4ritteen arvon mukaan.",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Rajoita vastaus resursseihin, joita on muutettu tietyn ISO8601-yhteensopivuuden j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Rajoita vastaus resursseihin, joita on muokattu ennen tietty\u00e4 ISO8601-yhteensopivaa p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Otetaanko GMT-l\u00e4hetysp\u00e4iv\u00e4t huomioon, kun vastaus rajoitetaan julkaistuun tai muutettuun p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4n.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified",
"menu_order"
],
"required": false
},
"parent": {
"description": "Rajoita tulosjoukko niihin joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Rajoita tulosjoukko kaikkiin tuotteisiin poislukien ne joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"slug": {
"description": "Rajoita tulosjoukko niihin tuotteisiin joilla on tietty polkutunnus.",
"type": "string",
"required": false
},
"status": {
"default": "any",
"description": "Rajoita tulosjoukko tuotteisiin joilla on tietty tila.",
"type": "string",
"enum": [
"any",
"future",
"trash",
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"sku": {
"description": "Rajaa tulosjoukko tuotteisiin joilla tietty tuotetunnus (SKU). Jos useita, erota pilkulla.",
"type": "string",
"required": false
},
"on_sale": {
"description": "Rajoita tuotteiden tulosjoukko alennuksessa olevien mukaan.",
"type": "boolean",
"required": false
},
"min_price": {
"description": "Rajoita tuotteiden tulosjoukko alimman hinnan mukaan.",
"type": "string",
"required": false
},
"max_price": {
"description": "Rajoita tuotteiden tulosjoukko korkeimman hinnan mukaan.",
"type": "string",
"required": false
},
"include_meta": {
"default": [],
"description": "Rajoita meta_data tiettyihin avaimiin.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Varmista, ett\u00e4 meta_data ei sis\u00e4ll\u00e4 tietyt avaimet.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"stock_status": {
"description": "Rajoita tuotteiden tulosjoukko tietyn varastotilanteen mukaan.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"has_price": {
"description": "Rajoita tulos asetettu tuotteisiin, joissa on hinta tai ei.",
"type": "boolean",
"required": false
},
"attributes": {
"description": "Limit result set to products with specified attributes.",
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute": {
"type": "string",
"description": "Ominaisuuden polkutunnus."
},
"term": {
"type": "string",
"description": "Attribute term."
},
"terms": {
"type": "array",
"description": "Attribute terms."
}
}
},
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Hae samanlaisen tuotteen nimen, SKU:n tai m\u00e4\u00e4ritteen arvon mukaan.",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Rajoita vastaus resursseihin, joita on muutettu tietyn ISO8601-yhteensopivuuden j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Rajoita vastaus resursseihin, joita on muokattu ennen tietty\u00e4 ISO8601-yhteensopivaa p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Otetaanko GMT-l\u00e4hetysp\u00e4iv\u00e4t huomioon, kun vastaus rajoitetaan julkaistuun tai muutettuun p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4n.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified",
"menu_order"
],
"required": false
},
"parent": {
"description": "Rajoita tulosjoukko niihin joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Rajoita tulosjoukko kaikkiin tuotteisiin poislukien ne joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"slug": {
"description": "Rajoita tulosjoukko niihin tuotteisiin joilla on tietty polkutunnus.",
"type": "string",
"required": false
},
"status": {
"default": "any",
"description": "Rajoita tulosjoukko tuotteisiin joilla on tietty tila.",
"type": "string",
"enum": [
"any",
"future",
"trash",
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"sku": {
"description": "Rajaa tulosjoukko tuotteisiin joilla tietty tuotetunnus (SKU). Jos useita, erota pilkulla.",
"type": "string",
"required": false
},
"on_sale": {
"description": "Rajoita tuotteiden tulosjoukko alennuksessa olevien mukaan.",
"type": "boolean",
"required": false
},
"min_price": {
"description": "Rajoita tuotteiden tulosjoukko alimman hinnan mukaan.",
"type": "string",
"required": false
},
"max_price": {
"description": "Rajoita tuotteiden tulosjoukko korkeimman hinnan mukaan.",
"type": "string",
"required": false
},
"include_meta": {
"default": [],
"description": "Rajoita meta_data tiettyihin avaimiin.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Varmista, ett\u00e4 meta_data ei sis\u00e4ll\u00e4 tietyt avaimet.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"stock_status": {
"description": "Rajoita tuotteiden tulosjoukko tietyn varastotilanteen mukaan.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"has_price": {
"description": "Rajoita tulos asetettu tuotteisiin, joissa on hinta tai ei.",
"type": "boolean",
"required": false
},
"attributes": {
"description": "Limit result set to products with specified attributes.",
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute": {
"type": "string",
"description": "Ominaisuuden polkutunnus."
},
"term": {
"type": "string",
"description": "Attribute term."
},
"terms": {
"type": "array",
"description": "Attribute terms."
}
}
},
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Hae samanlaisen tuotteen nimen, SKU:n tai m\u00e4\u00e4ritteen arvon mukaan.",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Rajoita vastaus resursseihin, joita on muutettu tietyn ISO8601-yhteensopivuuden j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Rajoita vastaus resursseihin, joita on muokattu ennen tietty\u00e4 ISO8601-yhteensopivaa p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Otetaanko GMT-l\u00e4hetysp\u00e4iv\u00e4t huomioon, kun vastaus rajoitetaan julkaistuun tai muutettuun p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4n.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified",
"menu_order"
],
"required": false
},
"parent": {
"description": "Rajoita tulosjoukko niihin joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Rajoita tulosjoukko kaikkiin tuotteisiin poislukien ne joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"slug": {
"description": "Rajoita tulosjoukko niihin tuotteisiin joilla on tietty polkutunnus.",
"type": "string",
"required": false
},
"status": {
"default": "any",
"description": "Rajoita tulosjoukko tuotteisiin joilla on tietty tila.",
"type": "string",
"enum": [
"any",
"future",
"trash",
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"sku": {
"description": "Rajaa tulosjoukko tuotteisiin joilla tietty tuotetunnus (SKU). Jos useita, erota pilkulla.",
"type": "string",
"required": false
},
"on_sale": {
"description": "Rajoita tuotteiden tulosjoukko alennuksessa olevien mukaan.",
"type": "boolean",
"required": false
},
"min_price": {
"description": "Rajoita tuotteiden tulosjoukko alimman hinnan mukaan.",
"type": "string",
"required": false
},
"max_price": {
"description": "Rajoita tuotteiden tulosjoukko korkeimman hinnan mukaan.",
"type": "string",
"required": false
},
"include_meta": {
"default": [],
"description": "Rajoita meta_data tiettyihin avaimiin.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Varmista, ett\u00e4 meta_data ei sis\u00e4ll\u00e4 tietyt avaimet.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"stock_status": {
"description": "Rajoita tuotteiden tulosjoukko tietyn varastotilanteen mukaan.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"has_price": {
"description": "Rajoita tulos asetettu tuotteisiin, joissa on hinta tai ei.",
"type": "boolean",
"required": false
},
"attributes": {
"description": "Limit result set to products with specified attributes.",
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute": {
"type": "string",
"description": "Ominaisuuden polkutunnus."
},
"term": {
"type": "string",
"description": "Attribute term."
},
"terms": {
"type": "array",
"description": "Attribute terms."
}
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/variations"
}
]
}
},
"\/wc-analytics\/products\/reviews": {
"namespace": "wc-analytics",
"methods": [
"GET",
"POST",
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajaa tulokset niihin, jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon. ",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita vastaus arviointeihin jotka julkaistu ennen annettua p\u00e4iv\u00e4yst\u00e4 ISO8601 muodossa.",
"type": "string",
"format": "date-time",
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date_gmt",
"enum": [
"date",
"date_gmt",
"id",
"include",
"product"
],
"required": false
},
"reviewer": {
"description": "Rajoita arviointien tulosjoukko tietyn k\u00e4ytt\u00e4j\u00e4tunnuksen\/ID mukaan.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"reviewer_exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois arvioinnit tietyn k\u00e4ytt\u00e4j\u00e4tunnuksen\/ID mukaan.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"reviewer_email": {
"default": null,
"description": "Rajoita tulosjoukko tietyn kirjoittajan s\u00e4hk\u00f6postin mukaan.",
"format": "email",
"type": "string",
"required": false
},
"product": {
"default": [],
"description": "Rajoita arviointien tulosjoukko tietyn tuotetunnuksen\/ID mukaan.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"status": {
"default": "approved",
"description": "Rajoita arviointien tulosjoukko tietyn tilan mukaan.",
"type": "string",
"enum": [
"all",
"hold",
"approved",
"spam",
"trash"
],
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste tuotteelle.",
"type": "integer",
"required": true
},
"product_name": {
"description": "Tuotteen nimi.",
"type": "string",
"required": false
},
"status": {
"default": "approved",
"description": "Arvioinnin tila.",
"type": "string",
"enum": [
"approved",
"hold",
"spam",
"unspam",
"trash",
"untrash"
],
"required": false
},
"reviewer": {
"type": "string",
"description": "Arvioijan nimi.",
"required": true
},
"reviewer_email": {
"type": "string",
"description": "Arvioijan s\u00e4hk\u00f6postiosoite.",
"required": true
},
"review": {
"type": "string",
"description": "Arvion sis\u00e4lt\u00f6.",
"required": true
},
"rating": {
"description": "Arvostelu tuotearviosta (0 - 5).",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajaa tulokset niihin, jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon. ",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita vastaus arviointeihin jotka julkaistu ennen annettua p\u00e4iv\u00e4yst\u00e4 ISO8601 muodossa.",
"type": "string",
"format": "date-time",
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date_gmt",
"enum": [
"date",
"date_gmt",
"id",
"include",
"product"
],
"required": false
},
"reviewer": {
"description": "Rajoita arviointien tulosjoukko tietyn k\u00e4ytt\u00e4j\u00e4tunnuksen\/ID mukaan.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"reviewer_exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois arvioinnit tietyn k\u00e4ytt\u00e4j\u00e4tunnuksen\/ID mukaan.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"reviewer_email": {
"default": null,
"description": "Rajoita tulosjoukko tietyn kirjoittajan s\u00e4hk\u00f6postin mukaan.",
"format": "email",
"type": "string",
"required": false
},
"product": {
"default": [],
"description": "Rajoita arviointien tulosjoukko tietyn tuotetunnuksen\/ID mukaan.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"status": {
"default": "approved",
"description": "Rajoita arviointien tulosjoukko tietyn tilan mukaan.",
"type": "string",
"enum": [
"all",
"hold",
"approved",
"spam",
"trash"
],
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste tuotteelle.",
"type": "integer",
"required": true
},
"product_name": {
"description": "Tuotteen nimi.",
"type": "string",
"required": false
},
"status": {
"default": "approved",
"description": "Arvioinnin tila.",
"type": "string",
"enum": [
"approved",
"hold",
"spam",
"unspam",
"trash",
"untrash"
],
"required": false
},
"reviewer": {
"type": "string",
"description": "Arvioijan nimi.",
"required": true
},
"reviewer_email": {
"type": "string",
"description": "Arvioijan s\u00e4hk\u00f6postiosoite.",
"required": true
},
"review": {
"type": "string",
"description": "Arvion sis\u00e4lt\u00f6.",
"required": true
},
"rating": {
"description": "Arvostelu tuotearviosta (0 - 5).",
"type": "integer",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/products\/reviews"
}
]
}
},
"\/wc-analytics\/products\/reviews\/(?P[\\d]+)": {
"namespace": "wc-analytics",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"product_id": {
"description": "Tuotteen muista poikkeava tunnus jota arviointi koskee.",
"type": "integer",
"required": false
},
"product_name": {
"description": "Tuotteen nimi.",
"type": "string",
"required": false
},
"status": {
"description": "Arvioinnin tila.",
"type": "string",
"enum": [
"approved",
"hold",
"spam",
"unspam",
"trash",
"untrash"
],
"required": false
},
"reviewer": {
"description": "Arvioijan nimi.",
"type": "string",
"required": false
},
"reviewer_email": {
"description": "Arvioijan s\u00e4hk\u00f6postiosoite.",
"type": "string",
"format": "email",
"required": false
},
"review": {
"description": "Arvion sis\u00e4lt\u00f6.",
"type": "string",
"required": false
},
"rating": {
"description": "Arvostelu tuotearviosta (0 - 5).",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ohitetaanko roskakori ja pakotetaan poisto.",
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"product_id": {
"description": "Tuotteen muista poikkeava tunnus jota arviointi koskee.",
"type": "integer",
"required": false
},
"product_name": {
"description": "Tuotteen nimi.",
"type": "string",
"required": false
},
"status": {
"description": "Arvioinnin tila.",
"type": "string",
"enum": [
"approved",
"hold",
"spam",
"unspam",
"trash",
"untrash"
],
"required": false
},
"reviewer": {
"description": "Arvioijan nimi.",
"type": "string",
"required": false
},
"reviewer_email": {
"description": "Arvioijan s\u00e4hk\u00f6postiosoite.",
"type": "string",
"format": "email",
"required": false
},
"review": {
"description": "Arvion sis\u00e4lt\u00f6.",
"type": "string",
"required": false
},
"rating": {
"description": "Arvostelu tuotearviosta (0 - 5).",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ohitetaanko roskakori ja pakotetaan poisto.",
"required": false
}
}
}
]
},
"\/wc-analytics\/products\/reviews\/batch": {
"namespace": "wc-analytics",
"methods": [
"POST",
"PUT",
"PATCH",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"product_id": {
"description": "Tuotteen muista poikkeava tunnus jota arviointi koskee.",
"type": "integer",
"required": false
},
"product_name": {
"description": "Tuotteen nimi.",
"type": "string",
"required": false
},
"status": {
"description": "Arvioinnin tila.",
"type": "string",
"enum": [
"approved",
"hold",
"spam",
"unspam",
"trash",
"untrash"
],
"required": false
},
"reviewer": {
"description": "Arvioijan nimi.",
"type": "string",
"required": false
},
"reviewer_email": {
"description": "Arvioijan s\u00e4hk\u00f6postiosoite.",
"type": "string",
"format": "email",
"required": false
},
"review": {
"description": "Arvion sis\u00e4lt\u00f6.",
"type": "string",
"required": false
},
"rating": {
"description": "Arvostelu tuotearviosta (0 - 5).",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"product_id": {
"description": "Tuotteen muista poikkeava tunnus jota arviointi koskee.",
"type": "integer",
"required": false
},
"product_name": {
"description": "Tuotteen nimi.",
"type": "string",
"required": false
},
"status": {
"description": "Arvioinnin tila.",
"type": "string",
"enum": [
"approved",
"hold",
"spam",
"unspam",
"trash",
"untrash"
],
"required": false
},
"reviewer": {
"description": "Arvioijan nimi.",
"type": "string",
"required": false
},
"reviewer_email": {
"description": "Arvioijan s\u00e4hk\u00f6postiosoite.",
"type": "string",
"format": "email",
"required": false
},
"review": {
"description": "Arvion sis\u00e4lt\u00f6.",
"type": "string",
"required": false
},
"rating": {
"description": "Arvostelu tuotearviosta (0 - 5).",
"type": "integer",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/products\/reviews\/batch"
}
]
}
},
"\/wc-analytics\/products\/low-in-stock": {
"namespace": "wc-analytics",
"methods": [
"GET",
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"status": {
"default": "publish",
"description": "Rajoita tulosjoukko tuotteisiin joilla on tietty tila.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish",
"future"
],
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"status": {
"default": "publish",
"description": "Rajoita tulosjoukko tuotteisiin joilla on tietty tila.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish",
"future"
],
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/products\/low-in-stock"
}
]
}
},
"\/wc-analytics\/products\/count-low-in-stock": {
"namespace": "wc-analytics",
"methods": [
"GET",
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"status": {
"default": "publish",
"description": "Rajoita tulosjoukko tuotteisiin joilla on tietty tila.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish",
"future"
],
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"status": {
"default": "publish",
"description": "Rajoita tulosjoukko tuotteisiin joilla on tietty tila.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish",
"future"
],
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/products\/count-low-in-stock"
}
]
}
},
"\/wc-analytics\/settings\/(?P[\\w-]+)": {
"namespace": "wc-analytics",
"methods": [
"GET",
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"group": {
"description": "Asetusten ryhm\u00e4tunnus\/ID.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"group": {
"description": "Asetusten ryhm\u00e4tunnus\/ID.",
"type": "string",
"required": false
}
}
}
]
},
"\/wc-analytics\/settings\/(?P[\\w-]+)\/batch": {
"namespace": "wc-analytics",
"methods": [
"POST",
"PUT",
"PATCH",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"group": {
"description": "Asetusten ryhm\u00e4tunnus\/ID.",
"type": "string",
"required": false
},
"value": {
"description": "Asetuksen arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"group": {
"description": "Asetusten ryhm\u00e4tunnus\/ID.",
"type": "string",
"required": false
},
"value": {
"description": "Asetuksen arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"required": false
}
}
}
]
},
"\/wc-analytics\/settings\/(?P[\\w-]+)\/(?P[\\w-]+)": {
"namespace": "wc-analytics",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"GET",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"group": {
"description": "Asetusten ryhm\u00e4tunnus\/ID.",
"type": "string",
"required": false
},
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"group": {
"description": "Asetusten ryhm\u00e4tunnus\/ID.",
"type": "string",
"required": false
},
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "string",
"required": false
},
"value": {
"description": "Asetuksen arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"group": {
"description": "Asetusten ryhm\u00e4tunnus\/ID.",
"type": "string",
"required": false
},
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"group": {
"description": "Asetusten ryhm\u00e4tunnus\/ID.",
"type": "string",
"required": false
},
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "string",
"required": false
},
"value": {
"description": "Asetuksen arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"required": false
}
}
}
]
},
"\/wc-analytics\/taxes": {
"namespace": "wc-analytics",
"methods": [
"GET",
"POST",
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"default": "asc",
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"enum": [
"asc",
"desc"
],
"type": "string",
"required": false
},
"orderby": {
"default": "order",
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"enum": [
"id",
"order",
"priority"
],
"type": "string",
"required": false
},
"class": {
"description": "J\u00e4rjest\u00e4 veroluokan mukaan.",
"enum": [
"standard",
"reduced-rate",
"zero-rate"
],
"type": "string",
"required": false
},
"search": {
"description": "Etsi saman verokoodin perusteella.",
"type": "string",
"required": false
},
"include": {
"description": "Rajoita vastaus kohteisiin joihin on kohdistettu tietty veron m\u00e4\u00e4r\u00e4n tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"country": {
"description": "ISO 3166 -muotoinen maatunnus.",
"type": "string",
"required": false
},
"state": {
"description": "L\u00e4\u00e4nin\/maakunnan koodi.",
"type": "string",
"required": false
},
"postcode": {
"description": "Postinumero\/postiosoite, se ei tue useita arvoja. Vanhentunut WooCommerce 5.3:sta l\u00e4htien, sen sijaan tulisi k\u00e4ytt\u00e4\u00e4 "postinumeroita".",
"type": "string",
"required": false
},
"city": {
"description": "Kaupungin nimi, se ei tue useita arvoja. Vanhentunut WooCommerce 5.3:sta l\u00e4htien, sen sijaan tulisi k\u00e4ytt\u00e4\u00e4 "kaupunkia".",
"type": "string",
"required": false
},
"rate": {
"description": "Veroprosentti.",
"type": "string",
"required": false
},
"name": {
"description": "Veroprosentin nimi.",
"type": "string",
"required": false
},
"priority": {
"default": 1,
"description": "Veron j\u00e4rjestys\/sijoitus..",
"type": "integer",
"required": false
},
"compound": {
"default": false,
"description": "Onko t\u00e4m\u00e4 yhdistelm\u00e4veroprosentti.",
"type": "boolean",
"required": false
},
"shipping": {
"default": true,
"description": "K\u00e4ytet\u00e4\u00e4nk\u00f6 t\u00e4t\u00e4 veroprosenttia my\u00f6s toimitukseen.",
"type": "boolean",
"required": false
},
"order": {
"description": "Ilmaisee kutsuissa ilmenev\u00e4n j\u00e4rjestyksen.",
"type": "integer",
"required": false
},
"class": {
"default": "standard",
"description": "Veroluokka.",
"type": "string",
"enum": [
"standard",
"reduced-rate",
"zero-rate"
],
"required": false
},
"postcodes": {
"description": "Luettelo postinumeroista \/ postinumeroista. Esitelty WooCommercessa 5.3.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"cities": {
"description": "Lista kaupunkien nimist\u00e4. Esitelty WooCommercessa 5.3.",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"default": "asc",
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"enum": [
"asc",
"desc"
],
"type": "string",
"required": false
},
"orderby": {
"default": "order",
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"enum": [
"id",
"order",
"priority"
],
"type": "string",
"required": false
},
"class": {
"description": "J\u00e4rjest\u00e4 veroluokan mukaan.",
"enum": [
"standard",
"reduced-rate",
"zero-rate"
],
"type": "string",
"required": false
},
"search": {
"description": "Etsi saman verokoodin perusteella.",
"type": "string",
"required": false
},
"include": {
"description": "Rajoita vastaus kohteisiin joihin on kohdistettu tietty veron m\u00e4\u00e4r\u00e4n tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"country": {
"description": "ISO 3166 -muotoinen maatunnus.",
"type": "string",
"required": false
},
"state": {
"description": "L\u00e4\u00e4nin\/maakunnan koodi.",
"type": "string",
"required": false
},
"postcode": {
"description": "Postinumero\/postiosoite, se ei tue useita arvoja. Vanhentunut WooCommerce 5.3:sta l\u00e4htien, sen sijaan tulisi k\u00e4ytt\u00e4\u00e4 "postinumeroita".",
"type": "string",
"required": false
},
"city": {
"description": "Kaupungin nimi, se ei tue useita arvoja. Vanhentunut WooCommerce 5.3:sta l\u00e4htien, sen sijaan tulisi k\u00e4ytt\u00e4\u00e4 "kaupunkia".",
"type": "string",
"required": false
},
"rate": {
"description": "Veroprosentti.",
"type": "string",
"required": false
},
"name": {
"description": "Veroprosentin nimi.",
"type": "string",
"required": false
},
"priority": {
"default": 1,
"description": "Veron j\u00e4rjestys\/sijoitus..",
"type": "integer",
"required": false
},
"compound": {
"default": false,
"description": "Onko t\u00e4m\u00e4 yhdistelm\u00e4veroprosentti.",
"type": "boolean",
"required": false
},
"shipping": {
"default": true,
"description": "K\u00e4ytet\u00e4\u00e4nk\u00f6 t\u00e4t\u00e4 veroprosenttia my\u00f6s toimitukseen.",
"type": "boolean",
"required": false
},
"order": {
"description": "Ilmaisee kutsuissa ilmenev\u00e4n j\u00e4rjestyksen.",
"type": "integer",
"required": false
},
"class": {
"default": "standard",
"description": "Veroluokka.",
"type": "string",
"enum": [
"standard",
"reduced-rate",
"zero-rate"
],
"required": false
},
"postcodes": {
"description": "Luettelo postinumeroista \/ postinumeroista. Esitelty WooCommercessa 5.3.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"cities": {
"description": "Lista kaupunkien nimist\u00e4. Esitelty WooCommercessa 5.3.",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/taxes"
}
]
}
},
"\/wc-analytics\/taxes\/(?P[\\d]+)": {
"namespace": "wc-analytics",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE",
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"country": {
"description": "ISO 3166 -muotoinen maatunnus.",
"type": "string",
"required": false
},
"state": {
"description": "L\u00e4\u00e4nin\/maakunnan koodi.",
"type": "string",
"required": false
},
"postcode": {
"description": "Postinumero\/postiosoite, se ei tue useita arvoja. Vanhentunut WooCommerce 5.3:sta l\u00e4htien, sen sijaan tulisi k\u00e4ytt\u00e4\u00e4 "postinumeroita".",
"type": "string",
"required": false
},
"city": {
"description": "Kaupungin nimi, se ei tue useita arvoja. Vanhentunut WooCommerce 5.3:sta l\u00e4htien, sen sijaan tulisi k\u00e4ytt\u00e4\u00e4 "kaupunkia".",
"type": "string",
"required": false
},
"rate": {
"description": "Veroprosentti.",
"type": "string",
"required": false
},
"name": {
"description": "Veroprosentin nimi.",
"type": "string",
"required": false
},
"priority": {
"description": "Veron j\u00e4rjestys\/sijoitus..",
"type": "integer",
"required": false
},
"compound": {
"description": "Onko t\u00e4m\u00e4 yhdistelm\u00e4veroprosentti.",
"type": "boolean",
"required": false
},
"shipping": {
"description": "K\u00e4ytet\u00e4\u00e4nk\u00f6 t\u00e4t\u00e4 veroprosenttia my\u00f6s toimitukseen.",
"type": "boolean",
"required": false
},
"order": {
"description": "Ilmaisee kutsuissa ilmenev\u00e4n j\u00e4rjestyksen.",
"type": "integer",
"required": false
},
"class": {
"description": "Veroluokka.",
"type": "string",
"enum": [
"standard",
"reduced-rate",
"zero-rate"
],
"required": false
},
"postcodes": {
"description": "Luettelo postinumeroista \/ postinumeroista. Esitelty WooCommercessa 5.3.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"cities": {
"description": "Lista kaupunkien nimist\u00e4. Esitelty WooCommercessa 5.3.",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "On oltava tosi, koska resurssi ei tue roskakoria.",
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"country": {
"description": "ISO 3166 -muotoinen maatunnus.",
"type": "string",
"required": false
},
"state": {
"description": "L\u00e4\u00e4nin\/maakunnan koodi.",
"type": "string",
"required": false
},
"postcode": {
"description": "Postinumero\/postiosoite, se ei tue useita arvoja. Vanhentunut WooCommerce 5.3:sta l\u00e4htien, sen sijaan tulisi k\u00e4ytt\u00e4\u00e4 "postinumeroita".",
"type": "string",
"required": false
},
"city": {
"description": "Kaupungin nimi, se ei tue useita arvoja. Vanhentunut WooCommerce 5.3:sta l\u00e4htien, sen sijaan tulisi k\u00e4ytt\u00e4\u00e4 "kaupunkia".",
"type": "string",
"required": false
},
"rate": {
"description": "Veroprosentti.",
"type": "string",
"required": false
},
"name": {
"description": "Veroprosentin nimi.",
"type": "string",
"required": false
},
"priority": {
"description": "Veron j\u00e4rjestys\/sijoitus..",
"type": "integer",
"required": false
},
"compound": {
"description": "Onko t\u00e4m\u00e4 yhdistelm\u00e4veroprosentti.",
"type": "boolean",
"required": false
},
"shipping": {
"description": "K\u00e4ytet\u00e4\u00e4nk\u00f6 t\u00e4t\u00e4 veroprosenttia my\u00f6s toimitukseen.",
"type": "boolean",
"required": false
},
"order": {
"description": "Ilmaisee kutsuissa ilmenev\u00e4n j\u00e4rjestyksen.",
"type": "integer",
"required": false
},
"class": {
"description": "Veroluokka.",
"type": "string",
"enum": [
"standard",
"reduced-rate",
"zero-rate"
],
"required": false
},
"postcodes": {
"description": "Luettelo postinumeroista \/ postinumeroista. Esitelty WooCommercessa 5.3.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"cities": {
"description": "Lista kaupunkien nimist\u00e4. Esitelty WooCommercessa 5.3.",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "On oltava tosi, koska resurssi ei tue roskakoria.",
"required": false
}
}
}
]
},
"\/wc-analytics\/taxes\/batch": {
"namespace": "wc-analytics",
"methods": [
"POST",
"PUT",
"PATCH",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"country": {
"description": "ISO 3166 -muotoinen maatunnus.",
"type": "string",
"required": false
},
"state": {
"description": "L\u00e4\u00e4nin\/maakunnan koodi.",
"type": "string",
"required": false
},
"postcode": {
"description": "Postinumero\/postiosoite, se ei tue useita arvoja. Vanhentunut WooCommerce 5.3:sta l\u00e4htien, sen sijaan tulisi k\u00e4ytt\u00e4\u00e4 "postinumeroita".",
"type": "string",
"required": false
},
"city": {
"description": "Kaupungin nimi, se ei tue useita arvoja. Vanhentunut WooCommerce 5.3:sta l\u00e4htien, sen sijaan tulisi k\u00e4ytt\u00e4\u00e4 "kaupunkia".",
"type": "string",
"required": false
},
"rate": {
"description": "Veroprosentti.",
"type": "string",
"required": false
},
"name": {
"description": "Veroprosentin nimi.",
"type": "string",
"required": false
},
"priority": {
"description": "Veron j\u00e4rjestys\/sijoitus..",
"type": "integer",
"required": false
},
"compound": {
"description": "Onko t\u00e4m\u00e4 yhdistelm\u00e4veroprosentti.",
"type": "boolean",
"required": false
},
"shipping": {
"description": "K\u00e4ytet\u00e4\u00e4nk\u00f6 t\u00e4t\u00e4 veroprosenttia my\u00f6s toimitukseen.",
"type": "boolean",
"required": false
},
"order": {
"description": "Ilmaisee kutsuissa ilmenev\u00e4n j\u00e4rjestyksen.",
"type": "integer",
"required": false
},
"class": {
"description": "Veroluokka.",
"type": "string",
"enum": [
"standard",
"reduced-rate",
"zero-rate"
],
"required": false
},
"postcodes": {
"description": "Luettelo postinumeroista \/ postinumeroista. Esitelty WooCommercessa 5.3.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"cities": {
"description": "Lista kaupunkien nimist\u00e4. Esitelty WooCommercessa 5.3.",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"country": {
"description": "ISO 3166 -muotoinen maatunnus.",
"type": "string",
"required": false
},
"state": {
"description": "L\u00e4\u00e4nin\/maakunnan koodi.",
"type": "string",
"required": false
},
"postcode": {
"description": "Postinumero\/postiosoite, se ei tue useita arvoja. Vanhentunut WooCommerce 5.3:sta l\u00e4htien, sen sijaan tulisi k\u00e4ytt\u00e4\u00e4 "postinumeroita".",
"type": "string",
"required": false
},
"city": {
"description": "Kaupungin nimi, se ei tue useita arvoja. Vanhentunut WooCommerce 5.3:sta l\u00e4htien, sen sijaan tulisi k\u00e4ytt\u00e4\u00e4 "kaupunkia".",
"type": "string",
"required": false
},
"rate": {
"description": "Veroprosentti.",
"type": "string",
"required": false
},
"name": {
"description": "Veroprosentin nimi.",
"type": "string",
"required": false
},
"priority": {
"description": "Veron j\u00e4rjestys\/sijoitus..",
"type": "integer",
"required": false
},
"compound": {
"description": "Onko t\u00e4m\u00e4 yhdistelm\u00e4veroprosentti.",
"type": "boolean",
"required": false
},
"shipping": {
"description": "K\u00e4ytet\u00e4\u00e4nk\u00f6 t\u00e4t\u00e4 veroprosenttia my\u00f6s toimitukseen.",
"type": "boolean",
"required": false
},
"order": {
"description": "Ilmaisee kutsuissa ilmenev\u00e4n j\u00e4rjestyksen.",
"type": "integer",
"required": false
},
"class": {
"description": "Veroluokka.",
"type": "string",
"enum": [
"standard",
"reduced-rate",
"zero-rate"
],
"required": false
},
"postcodes": {
"description": "Luettelo postinumeroista \/ postinumeroista. Esitelty WooCommercessa 5.3.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"cities": {
"description": "Lista kaupunkien nimist\u00e4. Esitelty WooCommercessa 5.3.",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-analytics\/taxes\/batch"
}
]
}
},
"\/wc\/store": {
"namespace": "wc\/store",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"namespace": {
"default": "wc\/store",
"required": false
},
"context": {
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/wp-json\/wc\/store\/batch"
}
]
}
},
"\/wc\/store\/cart": {
"namespace": "wc\/store",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n ulottuma; m\u00e4\u00e4ritt\u00e4\u00e4 vastauksessa olevat kent\u00e4t.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Ostoskorin kohteen tuote- tai muunnelma tunnus\/ID.",
"type": "integer",
"required": false
},
"quantity": {
"description": "T\u00e4m\u00e4n tuotteen m\u00e4\u00e4r\u00e4 ostoskoriin lis\u00e4tt\u00e4v\u00e4ksi.",
"type": "integer",
"required": false
},
"variation": {
"description": "Valitut ominaisuudet (muunnelmille).",
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute": {
"description": "Muunnelman ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Muunnelman ominaisuuden arvo.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Ostoskorissa olevan kupongin yksil\u00f6llinen tunniste.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Pyynn\u00f6n ulottuma; m\u00e4\u00e4ritt\u00e4\u00e4 vastauksessa olevat kent\u00e4t.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"code": {
"description": "Kupongin yksil\u00f6llinen koodi.",
"type": "string",
"required": false
},
"discount_type": {
"description": "Kupongin alennustyyppi (esim. prosentti tai kiinte\u00e4 summa)",
"type": "string",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"allow_batch": {
"v1": true
},
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Ostoskorissa olevan kupongin yksil\u00f6llinen tunniste.",
"type": "string",
"required": false
},
"context": {
"description": "Pyynn\u00f6n ulottuma; m\u00e4\u00e4ritt\u00e4\u00e4 vastauksessa olevat kent\u00e4t.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"allow_batch": {
"v1": true
},
"args": {
"code": {
"description": "Ostoskorissa olevan kupongin yksil\u00f6llinen tunniste.",
"type": "string",
"required": false
}
}
}
]
},
"\/wc\/store\/cart\/extensions": {
"namespace": "wc\/store",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"namespace": {
"description": "Laajennuksen nimi \u2013 t\u00e4t\u00e4 k\u00e4ytet\u00e4\u00e4n varmistamaan, ett\u00e4 pyynn\u00f6n tiedot reititet\u00e4\u00e4n oikein.",
"type": "string",
"required": false
},
"data": {
"description": "Laajennukseen v\u00e4litett\u00e4v\u00e4t lis\u00e4tiedot",
"type": "object",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Pyynn\u00f6n ulottuma; m\u00e4\u00e4ritt\u00e4\u00e4 vastauksessa olevat kent\u00e4t.",
"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:\/\/propsbase.com\/fi\/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": "Muista poikkeava tunniste ostoskorissa olevalle kohteelle.",
"type": "string",
"required": false
},
"context": {
"description": "Pyynn\u00f6n ulottuma; m\u00e4\u00e4ritt\u00e4\u00e4 vastauksessa olevat kent\u00e4t.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"allow_batch": {
"v1": true
},
"args": {
"key": {
"description": "Muista poikkeava tunniste ostoskorissa olevalle kohteelle.",
"type": "string",
"required": false
},
"extensions": {
"type": "object",
"properties": [],
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"allow_batch": {
"v1": true
},
"args": {
"key": {
"description": "Muista poikkeava tunniste ostoskorissa olevalle kohteelle.",
"type": "string",
"required": false
}
}
}
]
},
"\/wc\/store\/cart\/remove-coupon": {
"namespace": "wc\/store",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"code": {
"description": "Ostoskorissa olevan kupongin yksil\u00f6llinen tunniste.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Ostoskorituotteen yksil\u00f6llinen tunniste (avain).",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "L\u00e4hetett\u00e4v\u00e4n paketin tunnus. J\u00e4t\u00e4 tyhj\u00e4ksi, jos haluat k\u00e4ytt\u00e4\u00e4 kaikkia paketteja.",
"type": [
"integer",
"string",
"null"
],
"required": false
},
"rate_id": {
"description": "Valittu hintatunnus paketille.",
"type": "string",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "P\u00e4ivitett\u00e4v\u00e4n ostoskorituotteen yksil\u00f6llinen tunniste (avain).",
"type": "string",
"required": false
},
"quantity": {
"description": "Uusi m\u00e4\u00e4r\u00e4 tuotetta ostoskorissa.",
"type": "integer",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Laskutusosoite.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"last_name": {
"description": "Sukunimi",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"company": {
"description": "Yritys",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_1": {
"description": "Osoite",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_2": {
"description": "Huoneisto, yksikk\u00f6, jne.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"city": {
"description": "Kaupunki",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"state": {
"description": "Osavaltion\/maakunnan koodi tai osavaltion, l\u00e4\u00e4nin, provinssin tai piirin nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"postcode": {
"description": "Postinumero",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"country": {
"description": "Maa\/aluekoodi ISO 3166-1 alpha-2 -muodossa.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"phone": {
"description": "Puhelin",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"email": {
"description": "S\u00e4hk\u00f6posti",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
}
},
"required": false
},
"shipping_address": {
"description": "Toimitusosoite.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"last_name": {
"description": "Sukunimi",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"company": {
"description": "Yritys",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_1": {
"description": "Osoite",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_2": {
"description": "Huoneisto, yksikk\u00f6, jne.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"city": {
"description": "Kaupunki",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"state": {
"description": "Osavaltion\/maakunnan koodi tai osavaltion, l\u00e4\u00e4nin, provinssin tai piirin nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"postcode": {
"description": "Postinumero",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"country": {
"description": "Maa\/aluekoodi ISO 3166-1 alpha-2 -muodossa.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"phone": {
"description": "Puhelin",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/store\/cart\/update-customer"
}
]
}
},
"\/wc\/store\/checkout": {
"namespace": "wc\/store",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"allow_batch": {
"v1": true
},
"args": {
"context": {
"description": "Pyynn\u00f6n ulottuma; m\u00e4\u00e4ritt\u00e4\u00e4 vastauksessa olevat kent\u00e4t.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"payment_data": {
"description": "Tiedot, jotka v\u00e4litet\u00e4\u00e4n maksutavalle maksua k\u00e4sitelt\u00e4ess\u00e4.",
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string"
},
"value": {
"type": [
"string",
"boolean"
]
}
}
},
"required": false
},
"customer_password": {
"description": "Customer password for new accounts, if applicable.",
"type": "string",
"required": false
},
"customer_note": {
"description": "Asiakkaan kassalla tilaukseen lis\u00e4tty huomautus.",
"type": "string",
"required": false
},
"billing_address": {
"description": "Laskutusosoite.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"last_name": {
"description": "Sukunimi",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"company": {
"description": "Yritys",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_1": {
"description": "Osoite",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_2": {
"description": "Huoneisto, yksikk\u00f6, jne.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"city": {
"description": "Kaupunki",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"state": {
"description": "Osavaltion\/maakunnan koodi tai osavaltion, l\u00e4\u00e4nin, provinssin tai piirin nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"postcode": {
"description": "Postinumero",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"country": {
"description": "Maa\/aluekoodi ISO 3166-1 alpha-2 -muodossa.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"phone": {
"description": "Puhelin",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"email": {
"description": "S\u00e4hk\u00f6posti",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
}
},
"required": true
},
"shipping_address": {
"description": "Toimitusosoite.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"last_name": {
"description": "Sukunimi",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"company": {
"description": "Yritys",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_1": {
"description": "Osoite",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_2": {
"description": "Huoneisto, yksikk\u00f6, jne.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"city": {
"description": "Kaupunki",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"state": {
"description": "Osavaltion\/maakunnan koodi tai osavaltion, l\u00e4\u00e4nin, provinssin tai piirin nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"postcode": {
"description": "Postinumero",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"country": {
"description": "Maa\/aluekoodi ISO 3166-1 alpha-2 -muodossa.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"phone": {
"description": "Puhelin",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
}
},
"required": false
},
"payment_method": {
"description": "Maksun k\u00e4sittelyyn k\u00e4ytetyn maksutavan tunnus.",
"type": "string",
"enum": [
"bacs",
"cheque",
"cod",
"ppcp-gateway",
"ppcp-card-button-gateway",
"afterpay"
],
"required": false
},
"create_account": {
"description": "Luodaanko uusi k\u00e4ytt\u00e4j\u00e4tili osana tilauksen k\u00e4sittely\u00e4.",
"type": "boolean",
"required": false
},
"additional_fields": {
"description": "Additional fields to be persisted on the order.",
"type": "object",
"properties": [],
"required": false
},
"extensions": {
"type": "object",
"properties": {
"woocommerce\/order-attribution": {
"description": "Extension data registered by woocommerce\/order-attribution",
"type": [
"object",
"null"
],
"context": [
"view",
"edit"
],
"properties": {
"source_type": {
"description": "Order attribution field: source_type",
"type": [
"string",
"null"
],
"context": []
},
"referrer": {
"description": "Order attribution field: referrer",
"type": [
"string",
"null"
],
"context": []
},
"utm_campaign": {
"description": "Order attribution field: utm_campaign",
"type": [
"string",
"null"
],
"context": []
},
"utm_source": {
"description": "Order attribution field: utm_source",
"type": [
"string",
"null"
],
"context": []
},
"utm_medium": {
"description": "Order attribution field: utm_medium",
"type": [
"string",
"null"
],
"context": []
},
"utm_content": {
"description": "Order attribution field: utm_content",
"type": [
"string",
"null"
],
"context": []
},
"utm_id": {
"description": "Order attribution field: utm_id",
"type": [
"string",
"null"
],
"context": []
},
"utm_term": {
"description": "Order attribution field: utm_term",
"type": [
"string",
"null"
],
"context": []
},
"utm_source_platform": {
"description": "Order attribution field: utm_source_platform",
"type": [
"string",
"null"
],
"context": []
},
"utm_creative_format": {
"description": "Order attribution field: utm_creative_format",
"type": [
"string",
"null"
],
"context": []
},
"utm_marketing_tactic": {
"description": "Order attribution field: utm_marketing_tactic",
"type": [
"string",
"null"
],
"context": []
},
"session_entry": {
"description": "Order attribution field: session_entry",
"type": [
"string",
"null"
],
"context": []
},
"session_start_time": {
"description": "Order attribution field: session_start_time",
"type": [
"string",
"null"
],
"context": []
},
"session_pages": {
"description": "Order attribution field: session_pages",
"type": [
"string",
"null"
],
"context": []
},
"session_count": {
"description": "Order attribution field: session_count",
"type": [
"string",
"null"
],
"context": []
},
"user_agent": {
"description": "Order attribution field: user_agent",
"type": [
"string",
"null"
],
"context": []
}
}
}
},
"default": {
"woocommerce\/order-attribution": []
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Tiedot, jotka v\u00e4litet\u00e4\u00e4n maksutavalle maksua k\u00e4sitelt\u00e4ess\u00e4.",
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string"
},
"value": {
"type": [
"string",
"boolean"
]
}
}
},
"required": false
},
"customer_note": {
"description": "Asiakkaan kassalla tilaukseen lis\u00e4tty huomautus.",
"type": "string",
"required": false
},
"billing_address": {
"description": "Laskutusosoite.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"last_name": {
"description": "Sukunimi",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"company": {
"description": "Yritys",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_1": {
"description": "Osoite",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_2": {
"description": "Huoneisto, yksikk\u00f6, jne.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"city": {
"description": "Kaupunki",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"state": {
"description": "Osavaltion\/maakunnan koodi tai osavaltion, l\u00e4\u00e4nin, provinssin tai piirin nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"postcode": {
"description": "Postinumero",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"country": {
"description": "Maa\/aluekoodi ISO 3166-1 alpha-2 -muodossa.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"phone": {
"description": "Puhelin",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"email": {
"description": "S\u00e4hk\u00f6posti",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
}
},
"required": true
},
"shipping_address": {
"description": "Toimitusosoite.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"last_name": {
"description": "Sukunimi",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"company": {
"description": "Yritys",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_1": {
"description": "Osoite",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_2": {
"description": "Huoneisto, yksikk\u00f6, jne.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"city": {
"description": "Kaupunki",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"state": {
"description": "Osavaltion\/maakunnan koodi tai osavaltion, l\u00e4\u00e4nin, provinssin tai piirin nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"postcode": {
"description": "Postinumero",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"country": {
"description": "Maa\/aluekoodi ISO 3166-1 alpha-2 -muodossa.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"phone": {
"description": "Puhelin",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
}
},
"required": false
},
"payment_method": {
"description": "Maksun k\u00e4sittelyyn k\u00e4ytetyn maksutavan tunnus.",
"type": "string",
"enum": [
"bacs",
"cheque",
"cod",
"ppcp-gateway",
"ppcp-card-button-gateway",
"afterpay"
],
"required": false
},
"additional_fields": {
"description": "Additional fields to be persisted on the order.",
"type": "object",
"properties": [],
"required": false
},
"extensions": {
"type": "object",
"properties": {
"woocommerce\/order-attribution": {
"description": "Extension data registered by woocommerce\/order-attribution",
"type": [
"object",
"null"
],
"context": [
"view",
"edit"
],
"properties": {
"source_type": {
"description": "Order attribution field: source_type",
"type": [
"string",
"null"
],
"context": []
},
"referrer": {
"description": "Order attribution field: referrer",
"type": [
"string",
"null"
],
"context": []
},
"utm_campaign": {
"description": "Order attribution field: utm_campaign",
"type": [
"string",
"null"
],
"context": []
},
"utm_source": {
"description": "Order attribution field: utm_source",
"type": [
"string",
"null"
],
"context": []
},
"utm_medium": {
"description": "Order attribution field: utm_medium",
"type": [
"string",
"null"
],
"context": []
},
"utm_content": {
"description": "Order attribution field: utm_content",
"type": [
"string",
"null"
],
"context": []
},
"utm_id": {
"description": "Order attribution field: utm_id",
"type": [
"string",
"null"
],
"context": []
},
"utm_term": {
"description": "Order attribution field: utm_term",
"type": [
"string",
"null"
],
"context": []
},
"utm_source_platform": {
"description": "Order attribution field: utm_source_platform",
"type": [
"string",
"null"
],
"context": []
},
"utm_creative_format": {
"description": "Order attribution field: utm_creative_format",
"type": [
"string",
"null"
],
"context": []
},
"utm_marketing_tactic": {
"description": "Order attribution field: utm_marketing_tactic",
"type": [
"string",
"null"
],
"context": []
},
"session_entry": {
"description": "Order attribution field: session_entry",
"type": [
"string",
"null"
],
"context": []
},
"session_start_time": {
"description": "Order attribution field: session_start_time",
"type": [
"string",
"null"
],
"context": []
},
"session_pages": {
"description": "Order attribution field: session_pages",
"type": [
"string",
"null"
],
"context": []
},
"session_count": {
"description": "Order attribution field: session_count",
"type": [
"string",
"null"
],
"context": []
},
"user_agent": {
"description": "Order attribution field: user_agent",
"type": [
"string",
"null"
],
"context": []
}
}
}
},
"default": {
"woocommerce\/order-attribution": []
},
"required": false
}
}
}
]
},
"\/wc\/store\/order\/(?P[\\d]+)": {
"namespace": "wc\/store",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n ulottuma; m\u00e4\u00e4ritt\u00e4\u00e4 vastauksessa olevat kent\u00e4t.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
}
]
},
"\/wc\/store\/products\/attributes": {
"namespace": "wc\/store",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n ulottuma; m\u00e4\u00e4ritt\u00e4\u00e4 vastauksessa olevat kent\u00e4t.",
"type": "string",
"enum": [
"view",
"edit"
],
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/store\/products\/attributes"
}
]
}
},
"\/wc\/store\/products\/attributes\/(?P[\\d]+)": {
"namespace": "wc\/store",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n ulottuma; m\u00e4\u00e4ritt\u00e4\u00e4 vastauksessa olevat kent\u00e4t.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
}
]
},
"\/wc\/store\/products\/attributes\/(?P[\\d]+)\/terms": {
"namespace": "wc\/store",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"attribute_id": {
"description": "Muista poikkeava tunniste ominaisuudelle.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n ulottuma; m\u00e4\u00e4ritt\u00e4\u00e4 vastauksessa olevat kent\u00e4t.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosjoukossa palautettavien kohteiden enimm\u00e4ism\u00e4\u00e4r\u00e4. Oletuksena ei rajaa, jos se j\u00e4tet\u00e4\u00e4n tyhj\u00e4ksi.",
"type": "integer",
"minimum": 0,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajoita tulokset niihin jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon.",
"type": "string",
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"order": {
"description": "Lajittele nousevasti tai laskevasti.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Lajittele termiomaisuuden mukaan.",
"type": "string",
"default": "name",
"enum": [
"name",
"slug",
"count",
"menu_order",
"name_num",
"id"
],
"required": false
},
"hide_empty": {
"description": "Jos totta, tyhji\u00e4 termej\u00e4 ei palauteta.",
"type": "boolean",
"default": true,
"required": false
}
}
}
]
},
"\/wc\/store\/products\/categories": {
"namespace": "wc\/store",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n ulottuma; m\u00e4\u00e4ritt\u00e4\u00e4 vastauksessa olevat kent\u00e4t.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosjoukossa palautettavien kohteiden enimm\u00e4ism\u00e4\u00e4r\u00e4. Oletuksena ei rajaa, jos se j\u00e4tet\u00e4\u00e4n tyhj\u00e4ksi.",
"type": "integer",
"minimum": 0,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajoita tulokset niihin jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon.",
"type": "string",
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"order": {
"description": "Lajittele nousevasti tai laskevasti.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Lajittele termiomaisuuden mukaan.",
"type": "string",
"default": "name",
"enum": [
"name",
"slug",
"count"
],
"required": false
},
"hide_empty": {
"description": "Jos totta, tyhji\u00e4 termej\u00e4 ei palauteta.",
"type": "boolean",
"default": true,
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/store\/products\/categories"
}
]
}
},
"\/wc\/store\/products\/categories\/(?P[\\d]+)": {
"namespace": "wc\/store",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n ulottuma; m\u00e4\u00e4ritt\u00e4\u00e4 vastauksessa olevat kent\u00e4t.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
}
]
},
"\/wc\/store\/products\/collection-data": {
"namespace": "wc\/store",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n ulottuma; m\u00e4\u00e4ritt\u00e4\u00e4 vastauksessa olevat kent\u00e4t.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosjoukossa palautettavien kohteiden enimm\u00e4ism\u00e4\u00e4r\u00e4. Oletuksena ei rajaa, jos se j\u00e4tet\u00e4\u00e4n tyhj\u00e4ksi.",
"type": "integer",
"default": 10,
"minimum": 0,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajoita tulokset niihin jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon.",
"type": "string",
"required": false
},
"slug": {
"description": "Rajoita tulosjoukko tuotteisiin, joissa on tiettyj\u00e4 etanoita. K\u00e4yt\u00e4 pilkkuja erottaaksesi.",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita vastaus resursseihin, jotka julkaistiin annetun ISO8601-yhteensopivan p\u00e4iv\u00e4yksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita vastaus resursseihin jotka luotu aiemmin kuin p\u00e4iv\u00e4ys annettuna ISO8601 muodossa.",
"type": "string",
"format": "date-time",
"required": false
},
"date_column": {
"description": "Kun rajoitetaan vastaus k\u00e4ytt\u00e4en aiemmin\/my\u00f6hemmin, mit\u00e4 p\u00e4iv\u00e4ys saraketta vasten verrataan.",
"type": "string",
"default": "date",
"enum": [
"date",
"date_gmt",
"modified",
"modified_gmt"
],
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"modified",
"id",
"include",
"title",
"slug",
"price",
"popularity",
"rating",
"menu_order",
"comment_count"
],
"required": false
},
"parent": {
"description": "Rajoita tulosjoukko niihin joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Rajoita tulosjoukko kaikkiin tuotteisiin poislukien ne joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"type": {
"description": "Rajoita tulosjoukko tietyn lajisiin tuotteisiin.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable",
"variation"
],
"required": false
},
"sku": {
"description": "Rajaa tulosjoukko tuotteisiin joilla tietty tuotetunnus (SKU). Jos useita, erota pilkulla.",
"type": "string",
"required": false
},
"featured": {
"description": "Rajoita tuotteiden tulosjoukko esittelyss\u00e4 olevien mukaan.",
"type": "boolean",
"required": false
},
"category": {
"description": "Rajoita tulosjoukko tietyn osaston\/ID tuotteisiin.",
"type": "string",
"required": false
},
"category_operator": {
"description": "Toiminto jolla voidaan verrata tuoteosastojen termej\u00e4.",
"type": "string",
"enum": [
"in",
"not_in",
"and"
],
"default": "in",
"required": false
},
"tag": {
"description": "Rajoita tulosjoukko tuotteisiin joilla on tietty avainsana\/ID.",
"type": "string",
"required": false
},
"tag_operator": {
"description": "Operaattori tuotteen avainsanojen vertailuun.",
"type": "string",
"enum": [
"in",
"not_in",
"and"
],
"default": "in",
"required": false
},
"on_sale": {
"description": "Rajoita tuotteiden tulosjoukko alennuksessa olevien mukaan.",
"type": "boolean",
"required": false
},
"min_price": {
"description": "Rajoita tulos asetettu tuotteisiin v\u00e4himm\u00e4ishinnan perusteella, joka on annettu k\u00e4ytt\u00e4en valuutan pienint\u00e4 yksikk\u00f6\u00e4.",
"type": "string",
"required": false
},
"max_price": {
"description": "Rajoita tulos asetettu tuotteisiin enimm\u00e4ishinnan perusteella, joka on annettu k\u00e4ytt\u00e4en valuutan pienint\u00e4 yksikk\u00f6\u00e4.",
"type": "string",
"required": false
},
"stock_status": {
"description": "Rajoita tuotteiden tulosjoukko tietyn varastotilanteen mukaan.",
"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": "Rajoita vastaus tuotteisiin joilla valitut globaalit ominaisuudet.",
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute": {
"description": "Ominaisuuden luokittelu nimi.",
"type": "string",
"sanitize_callback": "wc_sanitize_taxonomy_name"
},
"term_id": {
"description": "Luettelo ominaisuuden termien tunnuksista\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"sanitize_callback": "wp_parse_id_list"
},
"slug": {
"description": "Luettelo ominaisuuden polkutunnuksista. Jos termin tunnus\/ID annettu, se sivuutetaan.",
"type": "array",
"items": {
"type": "string"
},
"sanitize_callback": "wp_parse_slug_list"
},
"operator": {
"description": "Toiminto jolla voidaan verrata tuoteominaisuuksien termej\u00e4.",
"type": "string",
"enum": [
"in",
"not_in",
"and"
]
}
}
},
"default": [],
"required": false
},
"attribute_relation": {
"description": "Ominaisuuksien v\u00e4linen looginen suhde kun suodatetaan usean yli kerralla.",
"type": "string",
"enum": [
"in",
"and"
],
"default": "and",
"required": false
},
"catalog_visibility": {
"description": "M\u00e4\u00e4r\u00e4\u00e4 n\u00e4ytet\u00e4\u00e4nk\u00f6 tuoteluettelon piilotetut vai n\u00e4kyvill\u00e4 olevat tuoteet.",
"type": "string",
"enum": [
"any",
"visible",
"catalog",
"search",
"hidden"
],
"required": false
},
"rating": {
"description": "Rajoita vastaus tuotteisiin joilla tietty keskim\u00e4\u00e4r\u00e4inen arvostelu.",
"type": "array",
"items": {
"type": "integer",
"enum": [
1,
2,
3,
4,
5
]
},
"default": [],
"required": false
},
"calculate_price_range": {
"description": "Jos tosi, laskee kokoelmalle minimi ja maksimi hinnat.",
"type": "boolean",
"default": false,
"required": false
},
"calculate_stock_status_counts": {
"description": "Jos tosi, laskee kokoelman tuotteiden varastom\u00e4\u00e4r\u00e4t.",
"type": "boolean",
"default": false,
"required": false
},
"calculate_attribute_counts": {
"description": "Jos pyydet\u00e4\u00e4n, laskee ominaisuuden termien lukum\u00e4\u00e4r\u00e4n kokoelmassa.",
"type": "array",
"items": {
"type": "object",
"properties": {
"taxonomy": {
"description": "Luokittelun nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"query_type": {
"description": "Suoritettavan kyselyn laji joka voi vaikuttaa lukum\u00e4\u00e4riin. Arvot \"and\" ja\"or\" kelpaavat.",
"type": "string",
"enum": [
"and",
"or"
],
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"default": [],
"required": false
},
"calculate_rating_counts": {
"description": "Jos tosi, laskee tuotteiden arvostelujen lukum\u00e4\u00e4r\u00e4n kokoelmassa.",
"type": "boolean",
"default": false,
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/store\/products\/collection-data"
}
]
}
},
"\/wc\/store\/products\/reviews": {
"namespace": "wc\/store",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n ulottuma; m\u00e4\u00e4ritt\u00e4\u00e4 vastauksessa olevat kent\u00e4t.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosjoukossa palautettavien kohteiden enimm\u00e4ism\u00e4\u00e4r\u00e4. Oletuksena ei rajaa, jos se j\u00e4tet\u00e4\u00e4n tyhj\u00e4ksi.",
"type": "integer",
"default": 10,
"minimum": 0,
"maximum": 100,
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"date_gmt",
"id",
"rating",
"product"
],
"required": false
},
"category_id": {
"description": "Rajoita tulosjoukko arvosteluihin tietyist\u00e4 luokkatunnuksista.",
"type": "string",
"required": false
},
"product_id": {
"description": "Rajoita tulosjoukko tiettyjen tuotetunnusten arvosteluihin.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/store\/products\/reviews"
}
]
}
},
"\/wc\/store\/products\/tags": {
"namespace": "wc\/store",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n ulottuma; m\u00e4\u00e4ritt\u00e4\u00e4 vastauksessa olevat kent\u00e4t.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosjoukossa palautettavien kohteiden enimm\u00e4ism\u00e4\u00e4r\u00e4. Oletuksena ei rajaa, jos se j\u00e4tet\u00e4\u00e4n tyhj\u00e4ksi.",
"type": "integer",
"minimum": 0,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajoita tulokset niihin jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon.",
"type": "string",
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"order": {
"description": "Lajittele nousevasti tai laskevasti.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Lajittele termiomaisuuden mukaan.",
"type": "string",
"default": "name",
"enum": [
"name",
"slug",
"count"
],
"required": false
},
"hide_empty": {
"description": "Jos totta, tyhji\u00e4 termej\u00e4 ei palauteta.",
"type": "boolean",
"default": true,
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/store\/products\/tags"
}
]
}
},
"\/wc\/store\/products": {
"namespace": "wc\/store",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n ulottuma; m\u00e4\u00e4ritt\u00e4\u00e4 vastauksessa olevat kent\u00e4t.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosjoukossa palautettavien kohteiden enimm\u00e4ism\u00e4\u00e4r\u00e4. Oletuksena ei rajaa, jos se j\u00e4tet\u00e4\u00e4n tyhj\u00e4ksi.",
"type": "integer",
"default": 10,
"minimum": 0,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajoita tulokset niihin jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon.",
"type": "string",
"required": false
},
"slug": {
"description": "Rajoita tulosjoukko tuotteisiin, joissa on tiettyj\u00e4 etanoita. K\u00e4yt\u00e4 pilkkuja erottaaksesi.",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita vastaus resursseihin, jotka julkaistiin annetun ISO8601-yhteensopivan p\u00e4iv\u00e4yksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita vastaus resursseihin jotka luotu aiemmin kuin p\u00e4iv\u00e4ys annettuna ISO8601 muodossa.",
"type": "string",
"format": "date-time",
"required": false
},
"date_column": {
"description": "Kun rajoitetaan vastaus k\u00e4ytt\u00e4en aiemmin\/my\u00f6hemmin, mit\u00e4 p\u00e4iv\u00e4ys saraketta vasten verrataan.",
"type": "string",
"default": "date",
"enum": [
"date",
"date_gmt",
"modified",
"modified_gmt"
],
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"modified",
"id",
"include",
"title",
"slug",
"price",
"popularity",
"rating",
"menu_order",
"comment_count"
],
"required": false
},
"parent": {
"description": "Rajoita tulosjoukko niihin joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Rajoita tulosjoukko kaikkiin tuotteisiin poislukien ne joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"type": {
"description": "Rajoita tulosjoukko tietyn lajisiin tuotteisiin.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable",
"variation"
],
"required": false
},
"sku": {
"description": "Rajaa tulosjoukko tuotteisiin joilla tietty tuotetunnus (SKU). Jos useita, erota pilkulla.",
"type": "string",
"required": false
},
"featured": {
"description": "Rajoita tuotteiden tulosjoukko esittelyss\u00e4 olevien mukaan.",
"type": "boolean",
"required": false
},
"category": {
"description": "Rajoita tulosjoukko tietyn osaston\/ID tuotteisiin.",
"type": "string",
"required": false
},
"category_operator": {
"description": "Toiminto jolla voidaan verrata tuoteosastojen termej\u00e4.",
"type": "string",
"enum": [
"in",
"not_in",
"and"
],
"default": "in",
"required": false
},
"tag": {
"description": "Rajoita tulosjoukko tuotteisiin joilla on tietty avainsana\/ID.",
"type": "string",
"required": false
},
"tag_operator": {
"description": "Operaattori tuotteen avainsanojen vertailuun.",
"type": "string",
"enum": [
"in",
"not_in",
"and"
],
"default": "in",
"required": false
},
"on_sale": {
"description": "Rajoita tuotteiden tulosjoukko alennuksessa olevien mukaan.",
"type": "boolean",
"required": false
},
"min_price": {
"description": "Rajoita tulos asetettu tuotteisiin v\u00e4himm\u00e4ishinnan perusteella, joka on annettu k\u00e4ytt\u00e4en valuutan pienint\u00e4 yksikk\u00f6\u00e4.",
"type": "string",
"required": false
},
"max_price": {
"description": "Rajoita tulos asetettu tuotteisiin enimm\u00e4ishinnan perusteella, joka on annettu k\u00e4ytt\u00e4en valuutan pienint\u00e4 yksikk\u00f6\u00e4.",
"type": "string",
"required": false
},
"stock_status": {
"description": "Rajoita tuotteiden tulosjoukko tietyn varastotilanteen mukaan.",
"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": "Rajoita vastaus tuotteisiin joilla valitut globaalit ominaisuudet.",
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute": {
"description": "Ominaisuuden luokittelu nimi.",
"type": "string",
"sanitize_callback": "wc_sanitize_taxonomy_name"
},
"term_id": {
"description": "Luettelo ominaisuuden termien tunnuksista\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"sanitize_callback": "wp_parse_id_list"
},
"slug": {
"description": "Luettelo ominaisuuden polkutunnuksista. Jos termin tunnus\/ID annettu, se sivuutetaan.",
"type": "array",
"items": {
"type": "string"
},
"sanitize_callback": "wp_parse_slug_list"
},
"operator": {
"description": "Toiminto jolla voidaan verrata tuoteominaisuuksien termej\u00e4.",
"type": "string",
"enum": [
"in",
"not_in",
"and"
]
}
}
},
"default": [],
"required": false
},
"attribute_relation": {
"description": "Ominaisuuksien v\u00e4linen looginen suhde kun suodatetaan usean yli kerralla.",
"type": "string",
"enum": [
"in",
"and"
],
"default": "and",
"required": false
},
"catalog_visibility": {
"description": "M\u00e4\u00e4r\u00e4\u00e4 n\u00e4ytet\u00e4\u00e4nk\u00f6 tuoteluettelon piilotetut vai n\u00e4kyvill\u00e4 olevat tuoteet.",
"type": "string",
"enum": [
"any",
"visible",
"catalog",
"search",
"hidden"
],
"required": false
},
"rating": {
"description": "Rajoita vastaus tuotteisiin joilla tietty keskim\u00e4\u00e4r\u00e4inen arvostelu.",
"type": "array",
"items": {
"type": "integer",
"enum": [
1,
2,
3,
4,
5
]
},
"default": [],
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/store\/products"
}
]
}
},
"\/wc\/store\/products\/(?P[\\d]+)": {
"namespace": "wc\/store",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n ulottuma; m\u00e4\u00e4ritt\u00e4\u00e4 vastauksessa olevat kent\u00e4t.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
}
]
},
"\/wc\/store\/products\/(?P[\\S]+)": {
"namespace": "wc\/store",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"slug": {
"description": "Resurssin etana.",
"type": "string",
"required": false
},
"context": {
"description": "Pyynn\u00f6n ulottuma; m\u00e4\u00e4ritt\u00e4\u00e4 vastauksessa olevat kent\u00e4t.",
"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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/wp-json\/wc\/store\/v1\/batch"
}
]
}
},
"\/wc\/store\/v1\/cart": {
"namespace": "wc\/store\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n ulottuma; m\u00e4\u00e4ritt\u00e4\u00e4 vastauksessa olevat kent\u00e4t.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Ostoskorin kohteen tuote- tai muunnelma tunnus\/ID.",
"type": "integer",
"required": false
},
"quantity": {
"description": "T\u00e4m\u00e4n tuotteen m\u00e4\u00e4r\u00e4 ostoskoriin lis\u00e4tt\u00e4v\u00e4ksi.",
"type": "integer",
"required": false
},
"variation": {
"description": "Valitut ominaisuudet (muunnelmille).",
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute": {
"description": "Muunnelman ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Muunnelman ominaisuuden arvo.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Ostoskorissa olevan kupongin yksil\u00f6llinen tunniste.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Pyynn\u00f6n ulottuma; m\u00e4\u00e4ritt\u00e4\u00e4 vastauksessa olevat kent\u00e4t.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"code": {
"description": "Kupongin yksil\u00f6llinen koodi.",
"type": "string",
"required": false
},
"discount_type": {
"description": "Kupongin alennustyyppi (esim. prosentti tai kiinte\u00e4 summa)",
"type": "string",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"allow_batch": {
"v1": true
},
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Ostoskorissa olevan kupongin yksil\u00f6llinen tunniste.",
"type": "string",
"required": false
},
"context": {
"description": "Pyynn\u00f6n ulottuma; m\u00e4\u00e4ritt\u00e4\u00e4 vastauksessa olevat kent\u00e4t.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"allow_batch": {
"v1": true
},
"args": {
"code": {
"description": "Ostoskorissa olevan kupongin yksil\u00f6llinen tunniste.",
"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": "Laajennuksen nimi \u2013 t\u00e4t\u00e4 k\u00e4ytet\u00e4\u00e4n varmistamaan, ett\u00e4 pyynn\u00f6n tiedot reititet\u00e4\u00e4n oikein.",
"type": "string",
"required": false
},
"data": {
"description": "Laajennukseen v\u00e4litett\u00e4v\u00e4t lis\u00e4tiedot",
"type": "object",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Pyynn\u00f6n ulottuma; m\u00e4\u00e4ritt\u00e4\u00e4 vastauksessa olevat kent\u00e4t.",
"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:\/\/propsbase.com\/fi\/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": "Muista poikkeava tunniste ostoskorissa olevalle kohteelle.",
"type": "string",
"required": false
},
"context": {
"description": "Pyynn\u00f6n ulottuma; m\u00e4\u00e4ritt\u00e4\u00e4 vastauksessa olevat kent\u00e4t.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"allow_batch": {
"v1": true
},
"args": {
"key": {
"description": "Muista poikkeava tunniste ostoskorissa olevalle kohteelle.",
"type": "string",
"required": false
},
"extensions": {
"type": "object",
"properties": [],
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"allow_batch": {
"v1": true
},
"args": {
"key": {
"description": "Muista poikkeava tunniste ostoskorissa olevalle kohteelle.",
"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": "Ostoskorissa olevan kupongin yksil\u00f6llinen tunniste.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Ostoskorituotteen yksil\u00f6llinen tunniste (avain).",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "L\u00e4hetett\u00e4v\u00e4n paketin tunnus. J\u00e4t\u00e4 tyhj\u00e4ksi, jos haluat k\u00e4ytt\u00e4\u00e4 kaikkia paketteja.",
"type": [
"integer",
"string",
"null"
],
"required": false
},
"rate_id": {
"description": "Valittu hintatunnus paketille.",
"type": "string",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "P\u00e4ivitett\u00e4v\u00e4n ostoskorituotteen yksil\u00f6llinen tunniste (avain).",
"type": "string",
"required": false
},
"quantity": {
"description": "Uusi m\u00e4\u00e4r\u00e4 tuotetta ostoskorissa.",
"type": "integer",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Laskutusosoite.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"last_name": {
"description": "Sukunimi",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"company": {
"description": "Yritys",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_1": {
"description": "Osoite",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_2": {
"description": "Huoneisto, yksikk\u00f6, jne.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"city": {
"description": "Kaupunki",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"state": {
"description": "Osavaltion\/maakunnan koodi tai osavaltion, l\u00e4\u00e4nin, provinssin tai piirin nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"postcode": {
"description": "Postinumero",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"country": {
"description": "Maa\/aluekoodi ISO 3166-1 alpha-2 -muodossa.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"phone": {
"description": "Puhelin",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"email": {
"description": "S\u00e4hk\u00f6posti",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
}
},
"required": false
},
"shipping_address": {
"description": "Toimitusosoite.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"last_name": {
"description": "Sukunimi",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"company": {
"description": "Yritys",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_1": {
"description": "Osoite",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_2": {
"description": "Huoneisto, yksikk\u00f6, jne.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"city": {
"description": "Kaupunki",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"state": {
"description": "Osavaltion\/maakunnan koodi tai osavaltion, l\u00e4\u00e4nin, provinssin tai piirin nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"postcode": {
"description": "Postinumero",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"country": {
"description": "Maa\/aluekoodi ISO 3166-1 alpha-2 -muodossa.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"phone": {
"description": "Puhelin",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/store\/v1\/cart\/update-customer"
}
]
}
},
"\/wc\/store\/v1\/checkout": {
"namespace": "wc\/store\/v1",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"allow_batch": {
"v1": true
},
"args": {
"context": {
"description": "Pyynn\u00f6n ulottuma; m\u00e4\u00e4ritt\u00e4\u00e4 vastauksessa olevat kent\u00e4t.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"payment_data": {
"description": "Tiedot, jotka v\u00e4litet\u00e4\u00e4n maksutavalle maksua k\u00e4sitelt\u00e4ess\u00e4.",
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string"
},
"value": {
"type": [
"string",
"boolean"
]
}
}
},
"required": false
},
"customer_password": {
"description": "Customer password for new accounts, if applicable.",
"type": "string",
"required": false
},
"customer_note": {
"description": "Asiakkaan kassalla tilaukseen lis\u00e4tty huomautus.",
"type": "string",
"required": false
},
"billing_address": {
"description": "Laskutusosoite.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"last_name": {
"description": "Sukunimi",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"company": {
"description": "Yritys",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_1": {
"description": "Osoite",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_2": {
"description": "Huoneisto, yksikk\u00f6, jne.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"city": {
"description": "Kaupunki",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"state": {
"description": "Osavaltion\/maakunnan koodi tai osavaltion, l\u00e4\u00e4nin, provinssin tai piirin nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"postcode": {
"description": "Postinumero",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"country": {
"description": "Maa\/aluekoodi ISO 3166-1 alpha-2 -muodossa.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"phone": {
"description": "Puhelin",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"email": {
"description": "S\u00e4hk\u00f6posti",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
}
},
"required": true
},
"shipping_address": {
"description": "Toimitusosoite.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"last_name": {
"description": "Sukunimi",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"company": {
"description": "Yritys",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_1": {
"description": "Osoite",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_2": {
"description": "Huoneisto, yksikk\u00f6, jne.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"city": {
"description": "Kaupunki",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"state": {
"description": "Osavaltion\/maakunnan koodi tai osavaltion, l\u00e4\u00e4nin, provinssin tai piirin nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"postcode": {
"description": "Postinumero",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"country": {
"description": "Maa\/aluekoodi ISO 3166-1 alpha-2 -muodossa.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"phone": {
"description": "Puhelin",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
}
},
"required": false
},
"payment_method": {
"description": "Maksun k\u00e4sittelyyn k\u00e4ytetyn maksutavan tunnus.",
"type": "string",
"enum": [
"bacs",
"cheque",
"cod",
"ppcp-gateway",
"ppcp-card-button-gateway",
"afterpay"
],
"required": false
},
"create_account": {
"description": "Luodaanko uusi k\u00e4ytt\u00e4j\u00e4tili osana tilauksen k\u00e4sittely\u00e4.",
"type": "boolean",
"required": false
},
"additional_fields": {
"description": "Additional fields to be persisted on the order.",
"type": "object",
"properties": [],
"required": false
},
"extensions": {
"type": "object",
"properties": {
"woocommerce\/order-attribution": {
"description": "Extension data registered by woocommerce\/order-attribution",
"type": [
"object",
"null"
],
"context": [
"view",
"edit"
],
"properties": {
"source_type": {
"description": "Order attribution field: source_type",
"type": [
"string",
"null"
],
"context": []
},
"referrer": {
"description": "Order attribution field: referrer",
"type": [
"string",
"null"
],
"context": []
},
"utm_campaign": {
"description": "Order attribution field: utm_campaign",
"type": [
"string",
"null"
],
"context": []
},
"utm_source": {
"description": "Order attribution field: utm_source",
"type": [
"string",
"null"
],
"context": []
},
"utm_medium": {
"description": "Order attribution field: utm_medium",
"type": [
"string",
"null"
],
"context": []
},
"utm_content": {
"description": "Order attribution field: utm_content",
"type": [
"string",
"null"
],
"context": []
},
"utm_id": {
"description": "Order attribution field: utm_id",
"type": [
"string",
"null"
],
"context": []
},
"utm_term": {
"description": "Order attribution field: utm_term",
"type": [
"string",
"null"
],
"context": []
},
"utm_source_platform": {
"description": "Order attribution field: utm_source_platform",
"type": [
"string",
"null"
],
"context": []
},
"utm_creative_format": {
"description": "Order attribution field: utm_creative_format",
"type": [
"string",
"null"
],
"context": []
},
"utm_marketing_tactic": {
"description": "Order attribution field: utm_marketing_tactic",
"type": [
"string",
"null"
],
"context": []
},
"session_entry": {
"description": "Order attribution field: session_entry",
"type": [
"string",
"null"
],
"context": []
},
"session_start_time": {
"description": "Order attribution field: session_start_time",
"type": [
"string",
"null"
],
"context": []
},
"session_pages": {
"description": "Order attribution field: session_pages",
"type": [
"string",
"null"
],
"context": []
},
"session_count": {
"description": "Order attribution field: session_count",
"type": [
"string",
"null"
],
"context": []
},
"user_agent": {
"description": "Order attribution field: user_agent",
"type": [
"string",
"null"
],
"context": []
}
}
}
},
"default": {
"woocommerce\/order-attribution": []
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Tiedot, jotka v\u00e4litet\u00e4\u00e4n maksutavalle maksua k\u00e4sitelt\u00e4ess\u00e4.",
"type": "array",
"items": {
"type": "object",
"properties": {
"key": {
"type": "string"
},
"value": {
"type": [
"string",
"boolean"
]
}
}
},
"required": false
},
"customer_note": {
"description": "Asiakkaan kassalla tilaukseen lis\u00e4tty huomautus.",
"type": "string",
"required": false
},
"billing_address": {
"description": "Laskutusosoite.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"last_name": {
"description": "Sukunimi",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"company": {
"description": "Yritys",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_1": {
"description": "Osoite",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_2": {
"description": "Huoneisto, yksikk\u00f6, jne.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"city": {
"description": "Kaupunki",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"state": {
"description": "Osavaltion\/maakunnan koodi tai osavaltion, l\u00e4\u00e4nin, provinssin tai piirin nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"postcode": {
"description": "Postinumero",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"country": {
"description": "Maa\/aluekoodi ISO 3166-1 alpha-2 -muodossa.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"phone": {
"description": "Puhelin",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"email": {
"description": "S\u00e4hk\u00f6posti",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
}
},
"required": true
},
"shipping_address": {
"description": "Toimitusosoite.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"last_name": {
"description": "Sukunimi",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"company": {
"description": "Yritys",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_1": {
"description": "Osoite",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"address_2": {
"description": "Huoneisto, yksikk\u00f6, jne.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"city": {
"description": "Kaupunki",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"state": {
"description": "Osavaltion\/maakunnan koodi tai osavaltion, l\u00e4\u00e4nin, provinssin tai piirin nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"postcode": {
"description": "Postinumero",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"country": {
"description": "Maa\/aluekoodi ISO 3166-1 alpha-2 -muodossa.",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
},
"phone": {
"description": "Puhelin",
"type": "string",
"context": [
"view",
"edit"
],
"required": true
}
},
"required": false
},
"payment_method": {
"description": "Maksun k\u00e4sittelyyn k\u00e4ytetyn maksutavan tunnus.",
"type": "string",
"enum": [
"bacs",
"cheque",
"cod",
"ppcp-gateway",
"ppcp-card-button-gateway",
"afterpay"
],
"required": false
},
"additional_fields": {
"description": "Additional fields to be persisted on the order.",
"type": "object",
"properties": [],
"required": false
},
"extensions": {
"type": "object",
"properties": {
"woocommerce\/order-attribution": {
"description": "Extension data registered by woocommerce\/order-attribution",
"type": [
"object",
"null"
],
"context": [
"view",
"edit"
],
"properties": {
"source_type": {
"description": "Order attribution field: source_type",
"type": [
"string",
"null"
],
"context": []
},
"referrer": {
"description": "Order attribution field: referrer",
"type": [
"string",
"null"
],
"context": []
},
"utm_campaign": {
"description": "Order attribution field: utm_campaign",
"type": [
"string",
"null"
],
"context": []
},
"utm_source": {
"description": "Order attribution field: utm_source",
"type": [
"string",
"null"
],
"context": []
},
"utm_medium": {
"description": "Order attribution field: utm_medium",
"type": [
"string",
"null"
],
"context": []
},
"utm_content": {
"description": "Order attribution field: utm_content",
"type": [
"string",
"null"
],
"context": []
},
"utm_id": {
"description": "Order attribution field: utm_id",
"type": [
"string",
"null"
],
"context": []
},
"utm_term": {
"description": "Order attribution field: utm_term",
"type": [
"string",
"null"
],
"context": []
},
"utm_source_platform": {
"description": "Order attribution field: utm_source_platform",
"type": [
"string",
"null"
],
"context": []
},
"utm_creative_format": {
"description": "Order attribution field: utm_creative_format",
"type": [
"string",
"null"
],
"context": []
},
"utm_marketing_tactic": {
"description": "Order attribution field: utm_marketing_tactic",
"type": [
"string",
"null"
],
"context": []
},
"session_entry": {
"description": "Order attribution field: session_entry",
"type": [
"string",
"null"
],
"context": []
},
"session_start_time": {
"description": "Order attribution field: session_start_time",
"type": [
"string",
"null"
],
"context": []
},
"session_pages": {
"description": "Order attribution field: session_pages",
"type": [
"string",
"null"
],
"context": []
},
"session_count": {
"description": "Order attribution field: session_count",
"type": [
"string",
"null"
],
"context": []
},
"user_agent": {
"description": "Order attribution field: user_agent",
"type": [
"string",
"null"
],
"context": []
}
}
}
},
"default": {
"woocommerce\/order-attribution": []
},
"required": false
}
}
}
]
},
"\/wc\/store\/v1\/order\/(?P[\\d]+)": {
"namespace": "wc\/store\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n ulottuma; m\u00e4\u00e4ritt\u00e4\u00e4 vastauksessa olevat kent\u00e4t.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
}
]
},
"\/wc\/store\/v1\/products\/attributes": {
"namespace": "wc\/store\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n ulottuma; m\u00e4\u00e4ritt\u00e4\u00e4 vastauksessa olevat kent\u00e4t.",
"type": "string",
"enum": [
"view",
"edit"
],
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/store\/v1\/products\/attributes"
}
]
}
},
"\/wc\/store\/v1\/products\/attributes\/(?P[\\d]+)": {
"namespace": "wc\/store\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n ulottuma; m\u00e4\u00e4ritt\u00e4\u00e4 vastauksessa olevat kent\u00e4t.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
}
]
},
"\/wc\/store\/v1\/products\/attributes\/(?P[\\d]+)\/terms": {
"namespace": "wc\/store\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"attribute_id": {
"description": "Muista poikkeava tunniste ominaisuudelle.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n ulottuma; m\u00e4\u00e4ritt\u00e4\u00e4 vastauksessa olevat kent\u00e4t.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosjoukossa palautettavien kohteiden enimm\u00e4ism\u00e4\u00e4r\u00e4. Oletuksena ei rajaa, jos se j\u00e4tet\u00e4\u00e4n tyhj\u00e4ksi.",
"type": "integer",
"minimum": 0,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajoita tulokset niihin jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon.",
"type": "string",
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"order": {
"description": "Lajittele nousevasti tai laskevasti.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Lajittele termiomaisuuden mukaan.",
"type": "string",
"default": "name",
"enum": [
"name",
"slug",
"count",
"menu_order",
"name_num",
"id"
],
"required": false
},
"hide_empty": {
"description": "Jos totta, tyhji\u00e4 termej\u00e4 ei palauteta.",
"type": "boolean",
"default": true,
"required": false
}
}
}
]
},
"\/wc\/store\/v1\/products\/categories": {
"namespace": "wc\/store\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n ulottuma; m\u00e4\u00e4ritt\u00e4\u00e4 vastauksessa olevat kent\u00e4t.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosjoukossa palautettavien kohteiden enimm\u00e4ism\u00e4\u00e4r\u00e4. Oletuksena ei rajaa, jos se j\u00e4tet\u00e4\u00e4n tyhj\u00e4ksi.",
"type": "integer",
"minimum": 0,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajoita tulokset niihin jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon.",
"type": "string",
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"order": {
"description": "Lajittele nousevasti tai laskevasti.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Lajittele termiomaisuuden mukaan.",
"type": "string",
"default": "name",
"enum": [
"name",
"slug",
"count"
],
"required": false
},
"hide_empty": {
"description": "Jos totta, tyhji\u00e4 termej\u00e4 ei palauteta.",
"type": "boolean",
"default": true,
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/store\/v1\/products\/categories"
}
]
}
},
"\/wc\/store\/v1\/products\/categories\/(?P[\\d]+)": {
"namespace": "wc\/store\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n ulottuma; m\u00e4\u00e4ritt\u00e4\u00e4 vastauksessa olevat kent\u00e4t.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
}
]
},
"\/wc\/store\/v1\/products\/collection-data": {
"namespace": "wc\/store\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n ulottuma; m\u00e4\u00e4ritt\u00e4\u00e4 vastauksessa olevat kent\u00e4t.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosjoukossa palautettavien kohteiden enimm\u00e4ism\u00e4\u00e4r\u00e4. Oletuksena ei rajaa, jos se j\u00e4tet\u00e4\u00e4n tyhj\u00e4ksi.",
"type": "integer",
"default": 10,
"minimum": 0,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajoita tulokset niihin jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon.",
"type": "string",
"required": false
},
"slug": {
"description": "Rajoita tulosjoukko tuotteisiin, joissa on tiettyj\u00e4 etanoita. K\u00e4yt\u00e4 pilkkuja erottaaksesi.",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita vastaus resursseihin, jotka julkaistiin annetun ISO8601-yhteensopivan p\u00e4iv\u00e4yksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita vastaus resursseihin jotka luotu aiemmin kuin p\u00e4iv\u00e4ys annettuna ISO8601 muodossa.",
"type": "string",
"format": "date-time",
"required": false
},
"date_column": {
"description": "Kun rajoitetaan vastaus k\u00e4ytt\u00e4en aiemmin\/my\u00f6hemmin, mit\u00e4 p\u00e4iv\u00e4ys saraketta vasten verrataan.",
"type": "string",
"default": "date",
"enum": [
"date",
"date_gmt",
"modified",
"modified_gmt"
],
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"modified",
"id",
"include",
"title",
"slug",
"price",
"popularity",
"rating",
"menu_order",
"comment_count"
],
"required": false
},
"parent": {
"description": "Rajoita tulosjoukko niihin joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Rajoita tulosjoukko kaikkiin tuotteisiin poislukien ne joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"type": {
"description": "Rajoita tulosjoukko tietyn lajisiin tuotteisiin.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable",
"variation"
],
"required": false
},
"sku": {
"description": "Rajaa tulosjoukko tuotteisiin joilla tietty tuotetunnus (SKU). Jos useita, erota pilkulla.",
"type": "string",
"required": false
},
"featured": {
"description": "Rajoita tuotteiden tulosjoukko esittelyss\u00e4 olevien mukaan.",
"type": "boolean",
"required": false
},
"category": {
"description": "Rajoita tulosjoukko tietyn osaston\/ID tuotteisiin.",
"type": "string",
"required": false
},
"category_operator": {
"description": "Toiminto jolla voidaan verrata tuoteosastojen termej\u00e4.",
"type": "string",
"enum": [
"in",
"not_in",
"and"
],
"default": "in",
"required": false
},
"tag": {
"description": "Rajoita tulosjoukko tuotteisiin joilla on tietty avainsana\/ID.",
"type": "string",
"required": false
},
"tag_operator": {
"description": "Operaattori tuotteen avainsanojen vertailuun.",
"type": "string",
"enum": [
"in",
"not_in",
"and"
],
"default": "in",
"required": false
},
"on_sale": {
"description": "Rajoita tuotteiden tulosjoukko alennuksessa olevien mukaan.",
"type": "boolean",
"required": false
},
"min_price": {
"description": "Rajoita tulos asetettu tuotteisiin v\u00e4himm\u00e4ishinnan perusteella, joka on annettu k\u00e4ytt\u00e4en valuutan pienint\u00e4 yksikk\u00f6\u00e4.",
"type": "string",
"required": false
},
"max_price": {
"description": "Rajoita tulos asetettu tuotteisiin enimm\u00e4ishinnan perusteella, joka on annettu k\u00e4ytt\u00e4en valuutan pienint\u00e4 yksikk\u00f6\u00e4.",
"type": "string",
"required": false
},
"stock_status": {
"description": "Rajoita tuotteiden tulosjoukko tietyn varastotilanteen mukaan.",
"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": "Rajoita vastaus tuotteisiin joilla valitut globaalit ominaisuudet.",
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute": {
"description": "Ominaisuuden luokittelu nimi.",
"type": "string",
"sanitize_callback": "wc_sanitize_taxonomy_name"
},
"term_id": {
"description": "Luettelo ominaisuuden termien tunnuksista\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"sanitize_callback": "wp_parse_id_list"
},
"slug": {
"description": "Luettelo ominaisuuden polkutunnuksista. Jos termin tunnus\/ID annettu, se sivuutetaan.",
"type": "array",
"items": {
"type": "string"
},
"sanitize_callback": "wp_parse_slug_list"
},
"operator": {
"description": "Toiminto jolla voidaan verrata tuoteominaisuuksien termej\u00e4.",
"type": "string",
"enum": [
"in",
"not_in",
"and"
]
}
}
},
"default": [],
"required": false
},
"attribute_relation": {
"description": "Ominaisuuksien v\u00e4linen looginen suhde kun suodatetaan usean yli kerralla.",
"type": "string",
"enum": [
"in",
"and"
],
"default": "and",
"required": false
},
"catalog_visibility": {
"description": "M\u00e4\u00e4r\u00e4\u00e4 n\u00e4ytet\u00e4\u00e4nk\u00f6 tuoteluettelon piilotetut vai n\u00e4kyvill\u00e4 olevat tuoteet.",
"type": "string",
"enum": [
"any",
"visible",
"catalog",
"search",
"hidden"
],
"required": false
},
"rating": {
"description": "Rajoita vastaus tuotteisiin joilla tietty keskim\u00e4\u00e4r\u00e4inen arvostelu.",
"type": "array",
"items": {
"type": "integer",
"enum": [
1,
2,
3,
4,
5
]
},
"default": [],
"required": false
},
"calculate_price_range": {
"description": "Jos tosi, laskee kokoelmalle minimi ja maksimi hinnat.",
"type": "boolean",
"default": false,
"required": false
},
"calculate_stock_status_counts": {
"description": "Jos tosi, laskee kokoelman tuotteiden varastom\u00e4\u00e4r\u00e4t.",
"type": "boolean",
"default": false,
"required": false
},
"calculate_attribute_counts": {
"description": "Jos pyydet\u00e4\u00e4n, laskee ominaisuuden termien lukum\u00e4\u00e4r\u00e4n kokoelmassa.",
"type": "array",
"items": {
"type": "object",
"properties": {
"taxonomy": {
"description": "Luokittelun nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"query_type": {
"description": "Suoritettavan kyselyn laji joka voi vaikuttaa lukum\u00e4\u00e4riin. Arvot \"and\" ja\"or\" kelpaavat.",
"type": "string",
"enum": [
"and",
"or"
],
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"default": [],
"required": false
},
"calculate_rating_counts": {
"description": "Jos tosi, laskee tuotteiden arvostelujen lukum\u00e4\u00e4r\u00e4n kokoelmassa.",
"type": "boolean",
"default": false,
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/store\/v1\/products\/collection-data"
}
]
}
},
"\/wc\/store\/v1\/products\/reviews": {
"namespace": "wc\/store\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n ulottuma; m\u00e4\u00e4ritt\u00e4\u00e4 vastauksessa olevat kent\u00e4t.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosjoukossa palautettavien kohteiden enimm\u00e4ism\u00e4\u00e4r\u00e4. Oletuksena ei rajaa, jos se j\u00e4tet\u00e4\u00e4n tyhj\u00e4ksi.",
"type": "integer",
"default": 10,
"minimum": 0,
"maximum": 100,
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"date_gmt",
"id",
"rating",
"product"
],
"required": false
},
"category_id": {
"description": "Rajoita tulosjoukko arvosteluihin tietyist\u00e4 luokkatunnuksista.",
"type": "string",
"required": false
},
"product_id": {
"description": "Rajoita tulosjoukko tiettyjen tuotetunnusten arvosteluihin.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/store\/v1\/products\/reviews"
}
]
}
},
"\/wc\/store\/v1\/products\/tags": {
"namespace": "wc\/store\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n ulottuma; m\u00e4\u00e4ritt\u00e4\u00e4 vastauksessa olevat kent\u00e4t.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosjoukossa palautettavien kohteiden enimm\u00e4ism\u00e4\u00e4r\u00e4. Oletuksena ei rajaa, jos se j\u00e4tet\u00e4\u00e4n tyhj\u00e4ksi.",
"type": "integer",
"minimum": 0,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajoita tulokset niihin jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon.",
"type": "string",
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"order": {
"description": "Lajittele nousevasti tai laskevasti.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Lajittele termiomaisuuden mukaan.",
"type": "string",
"default": "name",
"enum": [
"name",
"slug",
"count"
],
"required": false
},
"hide_empty": {
"description": "Jos totta, tyhji\u00e4 termej\u00e4 ei palauteta.",
"type": "boolean",
"default": true,
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/store\/v1\/products\/tags"
}
]
}
},
"\/wc\/store\/v1\/products": {
"namespace": "wc\/store\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n ulottuma; m\u00e4\u00e4ritt\u00e4\u00e4 vastauksessa olevat kent\u00e4t.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosjoukossa palautettavien kohteiden enimm\u00e4ism\u00e4\u00e4r\u00e4. Oletuksena ei rajaa, jos se j\u00e4tet\u00e4\u00e4n tyhj\u00e4ksi.",
"type": "integer",
"default": 10,
"minimum": 0,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajoita tulokset niihin jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon.",
"type": "string",
"required": false
},
"slug": {
"description": "Rajoita tulosjoukko tuotteisiin, joissa on tiettyj\u00e4 etanoita. K\u00e4yt\u00e4 pilkkuja erottaaksesi.",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita vastaus resursseihin, jotka julkaistiin annetun ISO8601-yhteensopivan p\u00e4iv\u00e4yksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita vastaus resursseihin jotka luotu aiemmin kuin p\u00e4iv\u00e4ys annettuna ISO8601 muodossa.",
"type": "string",
"format": "date-time",
"required": false
},
"date_column": {
"description": "Kun rajoitetaan vastaus k\u00e4ytt\u00e4en aiemmin\/my\u00f6hemmin, mit\u00e4 p\u00e4iv\u00e4ys saraketta vasten verrataan.",
"type": "string",
"default": "date",
"enum": [
"date",
"date_gmt",
"modified",
"modified_gmt"
],
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"modified",
"id",
"include",
"title",
"slug",
"price",
"popularity",
"rating",
"menu_order",
"comment_count"
],
"required": false
},
"parent": {
"description": "Rajoita tulosjoukko niihin joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Rajoita tulosjoukko kaikkiin tuotteisiin poislukien ne joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"type": {
"description": "Rajoita tulosjoukko tietyn lajisiin tuotteisiin.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable",
"variation"
],
"required": false
},
"sku": {
"description": "Rajaa tulosjoukko tuotteisiin joilla tietty tuotetunnus (SKU). Jos useita, erota pilkulla.",
"type": "string",
"required": false
},
"featured": {
"description": "Rajoita tuotteiden tulosjoukko esittelyss\u00e4 olevien mukaan.",
"type": "boolean",
"required": false
},
"category": {
"description": "Rajoita tulosjoukko tietyn osaston\/ID tuotteisiin.",
"type": "string",
"required": false
},
"category_operator": {
"description": "Toiminto jolla voidaan verrata tuoteosastojen termej\u00e4.",
"type": "string",
"enum": [
"in",
"not_in",
"and"
],
"default": "in",
"required": false
},
"tag": {
"description": "Rajoita tulosjoukko tuotteisiin joilla on tietty avainsana\/ID.",
"type": "string",
"required": false
},
"tag_operator": {
"description": "Operaattori tuotteen avainsanojen vertailuun.",
"type": "string",
"enum": [
"in",
"not_in",
"and"
],
"default": "in",
"required": false
},
"on_sale": {
"description": "Rajoita tuotteiden tulosjoukko alennuksessa olevien mukaan.",
"type": "boolean",
"required": false
},
"min_price": {
"description": "Rajoita tulos asetettu tuotteisiin v\u00e4himm\u00e4ishinnan perusteella, joka on annettu k\u00e4ytt\u00e4en valuutan pienint\u00e4 yksikk\u00f6\u00e4.",
"type": "string",
"required": false
},
"max_price": {
"description": "Rajoita tulos asetettu tuotteisiin enimm\u00e4ishinnan perusteella, joka on annettu k\u00e4ytt\u00e4en valuutan pienint\u00e4 yksikk\u00f6\u00e4.",
"type": "string",
"required": false
},
"stock_status": {
"description": "Rajoita tuotteiden tulosjoukko tietyn varastotilanteen mukaan.",
"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": "Rajoita vastaus tuotteisiin joilla valitut globaalit ominaisuudet.",
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute": {
"description": "Ominaisuuden luokittelu nimi.",
"type": "string",
"sanitize_callback": "wc_sanitize_taxonomy_name"
},
"term_id": {
"description": "Luettelo ominaisuuden termien tunnuksista\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"sanitize_callback": "wp_parse_id_list"
},
"slug": {
"description": "Luettelo ominaisuuden polkutunnuksista. Jos termin tunnus\/ID annettu, se sivuutetaan.",
"type": "array",
"items": {
"type": "string"
},
"sanitize_callback": "wp_parse_slug_list"
},
"operator": {
"description": "Toiminto jolla voidaan verrata tuoteominaisuuksien termej\u00e4.",
"type": "string",
"enum": [
"in",
"not_in",
"and"
]
}
}
},
"default": [],
"required": false
},
"attribute_relation": {
"description": "Ominaisuuksien v\u00e4linen looginen suhde kun suodatetaan usean yli kerralla.",
"type": "string",
"enum": [
"in",
"and"
],
"default": "and",
"required": false
},
"catalog_visibility": {
"description": "M\u00e4\u00e4r\u00e4\u00e4 n\u00e4ytet\u00e4\u00e4nk\u00f6 tuoteluettelon piilotetut vai n\u00e4kyvill\u00e4 olevat tuoteet.",
"type": "string",
"enum": [
"any",
"visible",
"catalog",
"search",
"hidden"
],
"required": false
},
"rating": {
"description": "Rajoita vastaus tuotteisiin joilla tietty keskim\u00e4\u00e4r\u00e4inen arvostelu.",
"type": "array",
"items": {
"type": "integer",
"enum": [
1,
2,
3,
4,
5
]
},
"default": [],
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/store\/v1\/products"
}
]
}
},
"\/wc\/store\/v1\/products\/(?P[\\d]+)": {
"namespace": "wc\/store\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n ulottuma; m\u00e4\u00e4ritt\u00e4\u00e4 vastauksessa olevat kent\u00e4t.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
}
]
},
"\/wc\/store\/v1\/products\/(?P[\\S]+)": {
"namespace": "wc\/store\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"slug": {
"description": "Resurssin etana.",
"type": "string",
"required": false
},
"context": {
"description": "Pyynn\u00f6n ulottuma; m\u00e4\u00e4ritt\u00e4\u00e4 vastauksessa olevat kent\u00e4t.",
"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:\/\/propsbase.com\/fi\/wp-json\/wc\/private"
}
]
}
},
"\/wc\/private\/ai\/store-title": {
"namespace": "wc\/private",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"business_description": {
"description": "The business description for a given store.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/private\/ai\/store-title"
}
]
}
},
"\/wc\/private\/ai\/images": {
"namespace": "wc\/private",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"business_description": {
"description": "The business description for a given store.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/private\/ai\/images"
}
]
}
},
"\/wc\/private\/ai\/patterns": {
"namespace": "wc\/private",
"methods": [
"POST",
"DELETE"
],
"endpoints": [
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"business_description": {
"description": "The business description for a given store.",
"type": "string",
"required": false
},
"images": {
"description": "The images for a given store.",
"type": "object",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"allow_batch": {
"v1": true
},
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/private\/ai\/patterns"
}
]
}
},
"\/wc\/private\/ai\/product": {
"namespace": "wc\/private",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"products_information": {
"description": "Data generated by AI for updating dummy products.",
"type": "object",
"required": false
},
"last_product": {
"description": "Whether the product being updated is the last one in the loop",
"type": "boolean",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/private\/ai\/product"
}
]
}
},
"\/wc\/private\/ai\/products": {
"namespace": "wc\/private",
"methods": [
"POST",
"DELETE"
],
"endpoints": [
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"business_description": {
"description": "The business description for a given store.",
"type": "string",
"required": false
},
"images": {
"description": "The images for a given store.",
"type": "object",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"allow_batch": {
"v1": true
},
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/private\/ai\/products"
}
]
}
},
"\/wc\/private\/ai\/business-description": {
"namespace": "wc\/private",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"business_description": {
"description": "The business description for a given store.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/private\/ai\/business-description"
}
]
}
},
"\/wc\/private\/ai\/store-info": {
"namespace": "wc\/private",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"allow_batch": {
"v1": true
},
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/private\/ai\/store-info"
}
]
}
},
"\/wc\/private\/patterns": {
"namespace": "wc\/private",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
},
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/wp-json\/wp-rocket\/v1\/options\/export"
}
]
}
},
"\/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:\/\/propsbase.com\/fi\/wp-json\/astra\/v1"
}
]
}
},
"\/astra\/v1\/admin\/settings": {
"namespace": "astra\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/astra\/v1\/admin\/settings"
}
]
}
},
"\/elementor\/v1\/globals": {
"namespace": "elementor\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/elementor\/v1\/globals"
}
]
}
},
"\/elementor\/v1\/globals\/colors": {
"namespace": "elementor\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/wp-json\/elementor\/v1\/globals\/typography"
}
]
}
},
"\/elementor\/v1\/globals\/typography\/(?P[\\w]+)": {
"namespace": "elementor\/v1",
"methods": [
"GET",
"POST",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Unique identifier for the object.",
"type": "string",
"required": true
}
}
},
{
"methods": [
"POST"
],
"args": {
"id": {
"description": "Unique identifier for the object.",
"type": "string",
"required": true
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Unique identifier for the object.",
"type": "string",
"required": true
}
}
}
]
},
"\/elementor\/v1\/favorites": {
"namespace": "elementor\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajaa tulokset niihin, jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon. ",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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\/kit-elements-defaults": {
"namespace": "elementor\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/wp-json\/elementor\/v1\/site-navigation\/add-new-post"
}
]
}
},
"\/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",
"landing-page",
"popup",
"header",
"footer",
"single",
"single-post",
"single-page",
"archive",
"search-results",
"error-404",
"product",
"product-archive",
"floating-buttons",
"loop-item"
],
"required": true
},
"content": {
"description": "Elementor data object",
"type": "object",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/elementor\/v1\/template-library\/templates"
}
]
}
},
"\/elementor\/v1\/global-widget\/templates": {
"namespace": "elementor\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/wp-json\/elementor-pro\/v1"
}
]
}
},
"\/elementor-pro\/v1\/posts-widget": {
"namespace": "elementor-pro\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/wp-json\/elementor\/v1\/form-submissions\/restore"
}
]
}
},
"\/elementor\/v1\/form-submissions\/export": {
"namespace": "elementor\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/wp-json\/elementor\/v1\/forms"
}
]
}
},
"\/elementor-pro\/v1\/woocommerce-module": {
"namespace": "elementor-pro\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/elementor-pro\/v1\/woocommerce-module"
}
]
}
},
"\/elementor-pro\/v1\/set-notice-dismissed": {
"namespace": "elementor-pro\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"post_id": {
"type": "integer",
"required": true
},
"is_custom_wc_cart_notice_dismissed": {
"type": "boolean",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/elementor-pro\/v1\/set-notice-dismissed"
}
]
}
},
"\/elementor-pro\/v1\/get-notice-dismissed\/(?P\\d+)": {
"namespace": "elementor-pro\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
]
},
"\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/wp-json\/elementor-pro\/v1\/refresh-loop"
}
]
}
},
"\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/wp-json\/ctxfeed\/v1\/products"
}
]
}
},
"\/ctxfeed\/v1\/products\/ids": {
"namespace": "ctxfeed\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/wp-json\/ctxfeed\/v1\/settings"
}
]
}
},
"\/ctxfeed\/v1\/settings\/custom_settings": {
"namespace": "ctxfeed\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/wp-json\/ctxfeed\/v1\/wp-status"
}
]
}
},
"\/ctxfeed\/v1\/wp-status\/logs": {
"namespace": "ctxfeed\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/wp-json\/ctxfeed\/v1\/woo_feed_docs"
}
]
}
},
"\/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:\/\/propsbase.com\/fi\/wp-json\/wc\/v1"
}
]
}
},
"\/wc\/v1\/coupons": {
"namespace": "wc\/v1",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajaa tulokset niihin, jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon. ",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified"
],
"required": false
},
"filter": {
"type": "object",
"description": "K\u00e4yt\u00e4 WP Query -argumentteja vastauksen muuttamiseen; yksityiset kutsumuuttujat edellytt\u00e4v\u00e4t tarvittavaa valtuutusta.",
"required": false
},
"code": {
"description": "Rajoita tulosjoukko resursseihin joilla on tietty koodi.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"code": {
"description": "Kupongin koodi.",
"type": "string",
"required": true
},
"description": {
"description": "Kupongin kuvaus.",
"type": "string",
"required": false
},
"discount_type": {
"default": "fixed_cart",
"description": "M\u00e4\u00e4r\u00e4\u00e4 millaista alennusta k\u00e4ytet\u00e4\u00e4n.",
"type": "string",
"enum": [
"percent",
"fixed_cart",
"fixed_product"
],
"required": false
},
"amount": {
"description": "Alennuksen m\u00e4\u00e4r\u00e4. Pit\u00e4\u00e4 aina olla luku, my\u00f6s kun asetetaan prosentti.",
"type": "string",
"required": false
},
"expiry_date": {
"description": "UTC DateTime -muodossa aika jolloin kupongin k\u00e4ytt\u00f6aika umpeutuu..",
"type": [
"null",
"string"
],
"required": false
},
"individual_use": {
"default": false,
"description": "Kun tosi, kuponkia voi k\u00e4ytt\u00e4\u00e4 vain yksin\u00e4\u00e4n. Muut k\u00e4ytetyt kupongit poistetaan ostoskorista.",
"type": "boolean",
"required": false
},
"product_ids": {
"description": "Lista tuotteiden tunnuksista\/ID joihin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"exclude_product_ids": {
"description": "Lista tuotteiden tunnuksista\/ID joihin kuponkia ei voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"usage_limit": {
"description": "Kuinka monta kertaa yhteens\u00e4 kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "integer",
"required": false
},
"usage_limit_per_user": {
"description": "Kuinka monta kertaa sama asiakas voi k\u00e4ytt\u00e4\u00e4 kuponkia.",
"type": "integer",
"required": false
},
"limit_usage_to_x_items": {
"description": "Ostoskorissa oleva suurin m\u00e4\u00e4r\u00e4 tuotteita joihin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "integer",
"required": false
},
"free_shipping": {
"default": false,
"description": "Kun tosi ja kun maksuton toimitustapa edellytt\u00e4\u00e4 kupongin, t\u00e4m\u00e4 kuponki mahdollistaa maksuttoman toimituksen.",
"type": "boolean",
"required": false
},
"product_categories": {
"description": "Lista osastojen tunnuksista\/ID joihin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_categories": {
"description": "Lista osastojen tunnuksista\/ID joihin kuponkia ei voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"exclude_sale_items": {
"default": false,
"description": "Kun tosi, t\u00e4t\u00e4 kuponkia ei k\u00e4ytet\u00e4 tuotteisiin joissa alennettu hinta.",
"type": "boolean",
"required": false
},
"minimum_amount": {
"description": "Ostoskorin pienin tilausm\u00e4\u00e4r\u00e4 jolloin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "string",
"required": false
},
"maximum_amount": {
"description": "Ostoskorin suurin tilausm\u00e4\u00e4r\u00e4 jolloin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "string",
"required": false
},
"email_restrictions": {
"description": "Lista s\u00e4hk\u00f6postiosoitteista jotka voivat k\u00e4ytt\u00e4\u00e4 t\u00e4t\u00e4 kuponkia.",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"code": {
"description": "Kupongin koodi.",
"type": "string",
"required": false
},
"description": {
"description": "Kupongin kuvaus.",
"type": "string",
"required": false
},
"discount_type": {
"description": "M\u00e4\u00e4r\u00e4\u00e4 millaista alennusta k\u00e4ytet\u00e4\u00e4n.",
"type": "string",
"enum": [
"percent",
"fixed_cart",
"fixed_product"
],
"required": false
},
"amount": {
"description": "Alennuksen m\u00e4\u00e4r\u00e4. Pit\u00e4\u00e4 aina olla luku, my\u00f6s kun asetetaan prosentti.",
"type": "string",
"required": false
},
"expiry_date": {
"description": "UTC DateTime -muodossa aika jolloin kupongin k\u00e4ytt\u00f6aika umpeutuu..",
"type": [
"null",
"string"
],
"required": false
},
"individual_use": {
"description": "Kun tosi, kuponkia voi k\u00e4ytt\u00e4\u00e4 vain yksin\u00e4\u00e4n. Muut k\u00e4ytetyt kupongit poistetaan ostoskorista.",
"type": "boolean",
"required": false
},
"product_ids": {
"description": "Lista tuotteiden tunnuksista\/ID joihin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"exclude_product_ids": {
"description": "Lista tuotteiden tunnuksista\/ID joihin kuponkia ei voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"usage_limit": {
"description": "Kuinka monta kertaa yhteens\u00e4 kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "integer",
"required": false
},
"usage_limit_per_user": {
"description": "Kuinka monta kertaa sama asiakas voi k\u00e4ytt\u00e4\u00e4 kuponkia.",
"type": "integer",
"required": false
},
"limit_usage_to_x_items": {
"description": "Ostoskorissa oleva suurin m\u00e4\u00e4r\u00e4 tuotteita joihin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "integer",
"required": false
},
"free_shipping": {
"description": "Kun tosi ja kun maksuton toimitustapa edellytt\u00e4\u00e4 kupongin, t\u00e4m\u00e4 kuponki mahdollistaa maksuttoman toimituksen.",
"type": "boolean",
"required": false
},
"product_categories": {
"description": "Lista osastojen tunnuksista\/ID joihin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_categories": {
"description": "Lista osastojen tunnuksista\/ID joihin kuponkia ei voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"exclude_sale_items": {
"description": "Kun tosi, t\u00e4t\u00e4 kuponkia ei k\u00e4ytet\u00e4 tuotteisiin joissa alennettu hinta.",
"type": "boolean",
"required": false
},
"minimum_amount": {
"description": "Ostoskorin pienin tilausm\u00e4\u00e4r\u00e4 jolloin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "string",
"required": false
},
"maximum_amount": {
"description": "Ostoskorin suurin tilausm\u00e4\u00e4r\u00e4 jolloin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "string",
"required": false
},
"email_restrictions": {
"description": "Lista s\u00e4hk\u00f6postiosoitteista jotka voivat k\u00e4ytt\u00e4\u00e4 t\u00e4t\u00e4 kuponkia.",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ohitetaanko roskakori ja pakotetaan poisto.",
"required": false
}
}
}
]
},
"\/wc\/v1\/coupons\/batch": {
"namespace": "wc\/v1",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"code": {
"description": "Kupongin koodi.",
"type": "string",
"required": false
},
"description": {
"description": "Kupongin kuvaus.",
"type": "string",
"required": false
},
"discount_type": {
"description": "M\u00e4\u00e4r\u00e4\u00e4 millaista alennusta k\u00e4ytet\u00e4\u00e4n.",
"type": "string",
"enum": [
"percent",
"fixed_cart",
"fixed_product"
],
"required": false
},
"amount": {
"description": "Alennuksen m\u00e4\u00e4r\u00e4. Pit\u00e4\u00e4 aina olla luku, my\u00f6s kun asetetaan prosentti.",
"type": "string",
"required": false
},
"expiry_date": {
"description": "UTC DateTime -muodossa aika jolloin kupongin k\u00e4ytt\u00f6aika umpeutuu..",
"type": [
"null",
"string"
],
"required": false
},
"individual_use": {
"description": "Kun tosi, kuponkia voi k\u00e4ytt\u00e4\u00e4 vain yksin\u00e4\u00e4n. Muut k\u00e4ytetyt kupongit poistetaan ostoskorista.",
"type": "boolean",
"required": false
},
"product_ids": {
"description": "Lista tuotteiden tunnuksista\/ID joihin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"exclude_product_ids": {
"description": "Lista tuotteiden tunnuksista\/ID joihin kuponkia ei voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"usage_limit": {
"description": "Kuinka monta kertaa yhteens\u00e4 kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "integer",
"required": false
},
"usage_limit_per_user": {
"description": "Kuinka monta kertaa sama asiakas voi k\u00e4ytt\u00e4\u00e4 kuponkia.",
"type": "integer",
"required": false
},
"limit_usage_to_x_items": {
"description": "Ostoskorissa oleva suurin m\u00e4\u00e4r\u00e4 tuotteita joihin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "integer",
"required": false
},
"free_shipping": {
"description": "Kun tosi ja kun maksuton toimitustapa edellytt\u00e4\u00e4 kupongin, t\u00e4m\u00e4 kuponki mahdollistaa maksuttoman toimituksen.",
"type": "boolean",
"required": false
},
"product_categories": {
"description": "Lista osastojen tunnuksista\/ID joihin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_categories": {
"description": "Lista osastojen tunnuksista\/ID joihin kuponkia ei voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"exclude_sale_items": {
"description": "Kun tosi, t\u00e4t\u00e4 kuponkia ei k\u00e4ytet\u00e4 tuotteisiin joissa alennettu hinta.",
"type": "boolean",
"required": false
},
"minimum_amount": {
"description": "Ostoskorin pienin tilausm\u00e4\u00e4r\u00e4 jolloin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "string",
"required": false
},
"maximum_amount": {
"description": "Ostoskorin suurin tilausm\u00e4\u00e4r\u00e4 jolloin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "string",
"required": false
},
"email_restrictions": {
"description": "Lista s\u00e4hk\u00f6postiosoitteista jotka voivat k\u00e4ytt\u00e4\u00e4 t\u00e4t\u00e4 kuponkia.",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v1\/coupons\/batch"
}
]
}
},
"\/wc\/v1\/customers\/(?P[\\d]+)\/downloads": {
"namespace": "wc\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"customer_id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
}
}
}
]
},
"\/wc\/v1\/customers": {
"namespace": "wc\/v1",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajaa tulokset niihin, jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon. ",
"type": "string",
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"default": "asc",
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"enum": [
"asc",
"desc"
],
"type": "string",
"required": false
},
"orderby": {
"default": "name",
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"enum": [
"id",
"include",
"name",
"registered_date"
],
"type": "string",
"required": false
},
"email": {
"description": "Rajoita tulosjoukko resursseihin joissa on tietty s\u00e4hk\u00f6postiosoite.",
"type": "string",
"format": "email",
"required": false
},
"role": {
"description": "Rajoita tulosjoukko resursseihin joilla on tietty rooli.",
"type": "string",
"default": "customer",
"enum": [
"all",
"administrator",
"editor",
"author",
"contributor",
"subscriber",
"customer",
"shop_manager"
],
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"email": {
"type": "string",
"description": "Uusi k\u00e4ytt\u00e4j\u00e4n s\u00e4hk\u00f6postiosoite.",
"required": true
},
"first_name": {
"description": "Asiakkaan etunimi.",
"type": "string",
"required": false
},
"last_name": {
"description": "Asiakkaan sukunimi.",
"type": "string",
"required": false
},
"username": {
"description": "Uusi k\u00e4ytt\u00e4j\u00e4nimi.",
"type": "string",
"required": false
},
"password": {
"description": "Uusi salasana.",
"type": "string",
"required": false
},
"billing": {
"description": "Laskutusosoitteen tietojen lista.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2.",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maan ISO-koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "S\u00e4hk\u00f6postiosoite.",
"type": "string",
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Puhelinnumero.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Toimitusosoitteen tietojen lista.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2.",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maan ISO-koodi.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"email": {
"description": "Asiakkaan s\u00e4hk\u00f6postiosoite.",
"type": "string",
"format": "email",
"required": false
},
"first_name": {
"description": "Asiakkaan etunimi.",
"type": "string",
"required": false
},
"last_name": {
"description": "Asiakkaan sukunimi.",
"type": "string",
"required": false
},
"username": {
"description": "Asiakkaan kirjautumistunnus.",
"type": "string",
"required": false
},
"password": {
"description": "Asiakkaan salasana.",
"type": "string",
"required": false
},
"billing": {
"description": "Laskutusosoitteen tietojen lista.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2.",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maan ISO-koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "S\u00e4hk\u00f6postiosoite.",
"type": "string",
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Puhelinnumero.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Toimitusosoitteen tietojen lista.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2.",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maan ISO-koodi.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "On oltava tosi, koska resurssi ei tue roskakoria.",
"required": false
},
"reassign": {
"default": 0,
"type": "integer",
"description": "Tunnus\/ID johon artikkeli kohdistetaan.",
"required": false
}
}
}
]
},
"\/wc\/v1\/customers\/batch": {
"namespace": "wc\/v1",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"email": {
"description": "Asiakkaan s\u00e4hk\u00f6postiosoite.",
"type": "string",
"format": "email",
"required": false
},
"first_name": {
"description": "Asiakkaan etunimi.",
"type": "string",
"required": false
},
"last_name": {
"description": "Asiakkaan sukunimi.",
"type": "string",
"required": false
},
"username": {
"description": "Asiakkaan kirjautumistunnus.",
"type": "string",
"required": false
},
"password": {
"description": "Asiakkaan salasana.",
"type": "string",
"required": false
},
"billing": {
"description": "Laskutusosoitteen tietojen lista.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2.",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maan ISO-koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "S\u00e4hk\u00f6postiosoite.",
"type": "string",
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Puhelinnumero.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Toimitusosoitteen tietojen lista.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2.",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maan ISO-koodi.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Tilauksen tunniste\/ID.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"order_id": {
"description": "Tilauksen tunniste\/ID.",
"type": "integer",
"required": false
},
"note": {
"type": "string",
"description": "Tilauksen kommentin sis\u00e4lt\u00f6.",
"required": true
},
"customer_note": {
"default": false,
"description": "N\u00e4ytt\u00e4\u00e4\/m\u00e4\u00e4rit\u00e4 jos kommentti on vain tiedoksi tai asiakasta varten (ilmoitetaan asiakkaalle).",
"type": "boolean",
"required": false
}
}
}
]
},
"\/wc\/v1\/orders\/(?P[\\d]+)\/notes\/(?P[\\d]+)": {
"namespace": "wc\/v1",
"methods": [
"GET",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"order_id": {
"description": "Tilauksen tunniste\/ID.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"order_id": {
"description": "Tilauksen tunniste\/ID.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "On oltava tosi, koska resurssi ei tue roskakoria.",
"required": false
}
}
}
]
},
"\/wc\/v1\/orders\/(?P[\\d]+)\/refunds": {
"namespace": "wc\/v1",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"order_id": {
"description": "Tilauksen tunniste\/ID.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajaa tulokset niihin, jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon. ",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified"
],
"required": false
},
"filter": {
"type": "object",
"description": "K\u00e4yt\u00e4 WP Query -argumentteja vastauksen muuttamiseen; yksityiset kutsumuuttujat edellytt\u00e4v\u00e4t tarvittavaa valtuutusta.",
"required": false
},
"status": {
"default": "any",
"description": "Rajoita tulosjoukko tilauksiin joilla on tietty tila.",
"type": "string",
"enum": [
"any",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"required": false
},
"customer": {
"description": "Rajoita tulosjoukko tilauksiin joissa on tietty asiakas.",
"type": "integer",
"required": false
},
"product": {
"description": "Rajoita tulosjoukko tilauksiin joissa on tietty tuote.",
"type": "integer",
"required": false
},
"dp": {
"default": 2,
"description": "Desimaalien m\u00e4\u00e4r\u00e4 jota k\u00e4ytet\u00e4\u00e4n resursseissa.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"order_id": {
"description": "Tilauksen tunniste\/ID.",
"type": "integer",
"required": false
},
"amount": {
"description": "Hyvityksen m\u00e4\u00e4r\u00e4.",
"type": "string",
"required": false
},
"reason": {
"description": "Hyvityksen syy.",
"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": "Tilauksen tunniste\/ID.",
"type": "integer",
"required": false
},
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"order_id": {
"description": "Tilauksen tunniste\/ID.",
"type": "integer",
"required": false
},
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": true,
"type": "boolean",
"description": "On oltava tosi, koska resurssi ei tue roskakoria.",
"required": false
}
}
}
]
},
"\/wc\/v1\/orders": {
"namespace": "wc\/v1",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajaa tulokset niihin, jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon. ",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified"
],
"required": false
},
"filter": {
"type": "object",
"description": "K\u00e4yt\u00e4 WP Query -argumentteja vastauksen muuttamiseen; yksityiset kutsumuuttujat edellytt\u00e4v\u00e4t tarvittavaa valtuutusta.",
"required": false
},
"status": {
"default": "any",
"description": "Rajoita tulosjoukko tilauksiin joilla on tietty tila.",
"type": "string",
"enum": [
"any",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"required": false
},
"customer": {
"description": "Rajoita tulosjoukko tilauksiin joissa on tietty asiakas.",
"type": "integer",
"required": false
},
"product": {
"description": "Rajoita tulosjoukko tilauksiin joissa on tietty tuote.",
"type": "integer",
"required": false
},
"dp": {
"default": 2,
"description": "Desimaalien m\u00e4\u00e4r\u00e4 jota k\u00e4ytet\u00e4\u00e4n resursseissa.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"parent_id": {
"description": "Ylemm\u00e4n tason tilauksen numero.",
"type": "integer",
"required": false
},
"status": {
"default": "pending",
"description": "Tilauksen tila.",
"type": "string",
"enum": [
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"required": false
},
"currency": {
"default": "USD",
"description": "ISO muodossa valuutta jolla tilaus on tehty.",
"type": "string",
"enum": [
"AED",
"AFN",
"ALL",
"AMD",
"ANG",
"AOA",
"ARS",
"AUD",
"AWG",
"AZN",
"BAM",
"BBD",
"BDT",
"BGN",
"BHD",
"BIF",
"BMD",
"BND",
"BOB",
"BRL",
"BSD",
"BTC",
"BTN",
"BWP",
"BYR",
"BYN",
"BZD",
"CAD",
"CDF",
"CHF",
"CLP",
"CNY",
"COP",
"CRC",
"CUC",
"CUP",
"CVE",
"CZK",
"DJF",
"DKK",
"DOP",
"DZD",
"EGP",
"ERN",
"ETB",
"EUR",
"FJD",
"FKP",
"GBP",
"GEL",
"GGP",
"GHS",
"GIP",
"GMD",
"GNF",
"GTQ",
"GYD",
"HKD",
"HNL",
"HRK",
"HTG",
"HUF",
"IDR",
"ILS",
"IMP",
"INR",
"IQD",
"IRR",
"IRT",
"ISK",
"JEP",
"JMD",
"JOD",
"JPY",
"KES",
"KGS",
"KHR",
"KMF",
"KPW",
"KRW",
"KWD",
"KYD",
"KZT",
"LAK",
"LBP",
"LKR",
"LRD",
"LSL",
"LYD",
"MAD",
"MDL",
"MGA",
"MKD",
"MMK",
"MNT",
"MOP",
"MRU",
"MUR",
"MVR",
"MWK",
"MXN",
"MYR",
"MZN",
"NAD",
"NGN",
"NIO",
"NOK",
"NPR",
"NZD",
"OMR",
"PAB",
"PEN",
"PGK",
"PHP",
"PKR",
"PLN",
"PRB",
"PYG",
"QAR",
"RON",
"RSD",
"RUB",
"RWF",
"SAR",
"SBD",
"SCR",
"SDG",
"SEK",
"SGD",
"SHP",
"SLL",
"SOS",
"SRD",
"SSP",
"STN",
"SYP",
"SZL",
"THB",
"TJS",
"TMT",
"TND",
"TOP",
"TRY",
"TTD",
"TWD",
"TZS",
"UAH",
"UGX",
"USD",
"UYU",
"UZS",
"VEF",
"VES",
"VND",
"VUV",
"WST",
"XAF",
"XCD",
"XOF",
"XPF",
"YER",
"ZAR",
"ZMW"
],
"required": false
},
"customer_id": {
"default": 0,
"description": "Tilauksen omistajan tunnus\/ID. Vierailijoille 0.",
"type": "integer",
"required": false
},
"billing": {
"description": "Laskutusosoite.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2.",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maakoodi ISO 3166-1 alpha-2 -muodossa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "S\u00e4hk\u00f6postiosoite.",
"type": "string",
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Puhelinnumero.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Toimitusosoite.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2.",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maakoodi ISO 3166-1 alpha-2 -muodossa.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"payment_method": {
"description": "Maksutavan tunnus\/ID",
"type": "string",
"required": false
},
"payment_method_title": {
"description": "Maksutavan otsikko.",
"type": "string",
"required": false
},
"set_paid": {
"default": false,
"description": "M\u00e4\u00e4rit\u00e4 onko tilaus maksettu. Kun se tehd\u00e4\u00e4n, tila asetetaan K\u00e4sittelyss\u00e4 tilaksi ja varaston m\u00e4\u00e4r\u00e4\u00e4 pienennet\u00e4\u00e4n.",
"type": "boolean",
"required": false
},
"transaction_id": {
"description": "Muista poikkeava tapahtuman tunnus\/ID.",
"type": "string",
"required": false
},
"customer_note": {
"description": "Asiakkaan kassalla j\u00e4tt\u00e4m\u00e4 kommentti.",
"type": "string",
"required": false
},
"line_items": {
"description": "Tuoterivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Tuotteen nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"sku": {
"description": "Tuotetunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"product_id": {
"description": "Tuotteen ID.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"variation_id": {
"description": "Muunnelman tunnus\/ID, jos tarvitaan.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"quantity": {
"description": "Tilattu m\u00e4\u00e4r\u00e4.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Tuotteen veroluokka.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"price": {
"description": "Tuotteen hinta.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"subtotal": {
"description": "Rivien v\u00e4lisumma (ennen alennuksia).",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal_tax": {
"description": "Rivien verojen v\u00e4lisumma (ennen alennuksia).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"subtotal": {
"description": "Verojen v\u00e4lisumma.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta": {
"description": "Tuoterivien meta-tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"label": {
"description": "Meta-tunnus\/nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
}
}
},
"required": false
},
"shipping_lines": {
"description": "Toimitusrivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"method_title": {
"description": "Toimitustavan nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"method_id": {
"description": "Toimitustavan tunnus\/ID.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
}
}
},
"required": false
},
"fee_lines": {
"description": "Maksurivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Maksun nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Maksun veroluokka.",
"type": "string",
"context": [
"view",
"edit"
]
},
"tax_status": {
"description": "Maksun veron tila.",
"type": "string",
"context": [
"view",
"edit"
],
"enum": [
"taxable",
"none"
]
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"subtotal": {
"description": "Verojen v\u00e4lisumma.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
}
}
},
"required": false
},
"coupon_lines": {
"description": "Kuponkirivin tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"code": {
"description": "Kupongin koodi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"discount": {
"description": "Alennukset yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
]
},
"discount_tax": {
"description": "Alennuksen vero yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"parent_id": {
"description": "Ylemm\u00e4n tason tilauksen numero.",
"type": "integer",
"required": false
},
"status": {
"description": "Tilauksen tila.",
"type": "string",
"enum": [
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"required": false
},
"currency": {
"description": "ISO muodossa valuutta jolla tilaus on tehty.",
"type": "string",
"enum": [
"AED",
"AFN",
"ALL",
"AMD",
"ANG",
"AOA",
"ARS",
"AUD",
"AWG",
"AZN",
"BAM",
"BBD",
"BDT",
"BGN",
"BHD",
"BIF",
"BMD",
"BND",
"BOB",
"BRL",
"BSD",
"BTC",
"BTN",
"BWP",
"BYR",
"BYN",
"BZD",
"CAD",
"CDF",
"CHF",
"CLP",
"CNY",
"COP",
"CRC",
"CUC",
"CUP",
"CVE",
"CZK",
"DJF",
"DKK",
"DOP",
"DZD",
"EGP",
"ERN",
"ETB",
"EUR",
"FJD",
"FKP",
"GBP",
"GEL",
"GGP",
"GHS",
"GIP",
"GMD",
"GNF",
"GTQ",
"GYD",
"HKD",
"HNL",
"HRK",
"HTG",
"HUF",
"IDR",
"ILS",
"IMP",
"INR",
"IQD",
"IRR",
"IRT",
"ISK",
"JEP",
"JMD",
"JOD",
"JPY",
"KES",
"KGS",
"KHR",
"KMF",
"KPW",
"KRW",
"KWD",
"KYD",
"KZT",
"LAK",
"LBP",
"LKR",
"LRD",
"LSL",
"LYD",
"MAD",
"MDL",
"MGA",
"MKD",
"MMK",
"MNT",
"MOP",
"MRU",
"MUR",
"MVR",
"MWK",
"MXN",
"MYR",
"MZN",
"NAD",
"NGN",
"NIO",
"NOK",
"NPR",
"NZD",
"OMR",
"PAB",
"PEN",
"PGK",
"PHP",
"PKR",
"PLN",
"PRB",
"PYG",
"QAR",
"RON",
"RSD",
"RUB",
"RWF",
"SAR",
"SBD",
"SCR",
"SDG",
"SEK",
"SGD",
"SHP",
"SLL",
"SOS",
"SRD",
"SSP",
"STN",
"SYP",
"SZL",
"THB",
"TJS",
"TMT",
"TND",
"TOP",
"TRY",
"TTD",
"TWD",
"TZS",
"UAH",
"UGX",
"USD",
"UYU",
"UZS",
"VEF",
"VES",
"VND",
"VUV",
"WST",
"XAF",
"XCD",
"XOF",
"XPF",
"YER",
"ZAR",
"ZMW"
],
"required": false
},
"customer_id": {
"description": "Tilauksen omistajan tunnus\/ID. Vierailijoille 0.",
"type": "integer",
"required": false
},
"billing": {
"description": "Laskutusosoite.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2.",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maakoodi ISO 3166-1 alpha-2 -muodossa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "S\u00e4hk\u00f6postiosoite.",
"type": "string",
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Puhelinnumero.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Toimitusosoite.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2.",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maakoodi ISO 3166-1 alpha-2 -muodossa.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"payment_method": {
"description": "Maksutavan tunnus\/ID",
"type": "string",
"required": false
},
"payment_method_title": {
"description": "Maksutavan otsikko.",
"type": "string",
"required": false
},
"set_paid": {
"description": "M\u00e4\u00e4rit\u00e4 onko tilaus maksettu. Kun se tehd\u00e4\u00e4n, tila asetetaan K\u00e4sittelyss\u00e4 tilaksi ja varaston m\u00e4\u00e4r\u00e4\u00e4 pienennet\u00e4\u00e4n.",
"type": "boolean",
"required": false
},
"transaction_id": {
"description": "Muista poikkeava tapahtuman tunnus\/ID.",
"type": "string",
"required": false
},
"customer_note": {
"description": "Asiakkaan kassalla j\u00e4tt\u00e4m\u00e4 kommentti.",
"type": "string",
"required": false
},
"line_items": {
"description": "Tuoterivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Tuotteen nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"sku": {
"description": "Tuotetunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"product_id": {
"description": "Tuotteen ID.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"variation_id": {
"description": "Muunnelman tunnus\/ID, jos tarvitaan.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"quantity": {
"description": "Tilattu m\u00e4\u00e4r\u00e4.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Tuotteen veroluokka.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"price": {
"description": "Tuotteen hinta.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"subtotal": {
"description": "Rivien v\u00e4lisumma (ennen alennuksia).",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal_tax": {
"description": "Rivien verojen v\u00e4lisumma (ennen alennuksia).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"subtotal": {
"description": "Verojen v\u00e4lisumma.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta": {
"description": "Tuoterivien meta-tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"label": {
"description": "Meta-tunnus\/nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
}
}
},
"required": false
},
"shipping_lines": {
"description": "Toimitusrivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"method_title": {
"description": "Toimitustavan nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"method_id": {
"description": "Toimitustavan tunnus\/ID.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
}
}
},
"required": false
},
"fee_lines": {
"description": "Maksurivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Maksun nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Maksun veroluokka.",
"type": "string",
"context": [
"view",
"edit"
]
},
"tax_status": {
"description": "Maksun veron tila.",
"type": "string",
"context": [
"view",
"edit"
],
"enum": [
"taxable",
"none"
]
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"subtotal": {
"description": "Verojen v\u00e4lisumma.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
}
}
},
"required": false
},
"coupon_lines": {
"description": "Kuponkirivin tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"code": {
"description": "Kupongin koodi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"discount": {
"description": "Alennukset yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
]
},
"discount_tax": {
"description": "Alennuksen vero yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ohitetaanko roskakori ja pakotetaan poisto.",
"required": false
}
}
}
]
},
"\/wc\/v1\/orders\/batch": {
"namespace": "wc\/v1",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"parent_id": {
"description": "Ylemm\u00e4n tason tilauksen numero.",
"type": "integer",
"required": false
},
"status": {
"description": "Tilauksen tila.",
"type": "string",
"enum": [
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"required": false
},
"currency": {
"description": "ISO muodossa valuutta jolla tilaus on tehty.",
"type": "string",
"enum": [
"AED",
"AFN",
"ALL",
"AMD",
"ANG",
"AOA",
"ARS",
"AUD",
"AWG",
"AZN",
"BAM",
"BBD",
"BDT",
"BGN",
"BHD",
"BIF",
"BMD",
"BND",
"BOB",
"BRL",
"BSD",
"BTC",
"BTN",
"BWP",
"BYR",
"BYN",
"BZD",
"CAD",
"CDF",
"CHF",
"CLP",
"CNY",
"COP",
"CRC",
"CUC",
"CUP",
"CVE",
"CZK",
"DJF",
"DKK",
"DOP",
"DZD",
"EGP",
"ERN",
"ETB",
"EUR",
"FJD",
"FKP",
"GBP",
"GEL",
"GGP",
"GHS",
"GIP",
"GMD",
"GNF",
"GTQ",
"GYD",
"HKD",
"HNL",
"HRK",
"HTG",
"HUF",
"IDR",
"ILS",
"IMP",
"INR",
"IQD",
"IRR",
"IRT",
"ISK",
"JEP",
"JMD",
"JOD",
"JPY",
"KES",
"KGS",
"KHR",
"KMF",
"KPW",
"KRW",
"KWD",
"KYD",
"KZT",
"LAK",
"LBP",
"LKR",
"LRD",
"LSL",
"LYD",
"MAD",
"MDL",
"MGA",
"MKD",
"MMK",
"MNT",
"MOP",
"MRU",
"MUR",
"MVR",
"MWK",
"MXN",
"MYR",
"MZN",
"NAD",
"NGN",
"NIO",
"NOK",
"NPR",
"NZD",
"OMR",
"PAB",
"PEN",
"PGK",
"PHP",
"PKR",
"PLN",
"PRB",
"PYG",
"QAR",
"RON",
"RSD",
"RUB",
"RWF",
"SAR",
"SBD",
"SCR",
"SDG",
"SEK",
"SGD",
"SHP",
"SLL",
"SOS",
"SRD",
"SSP",
"STN",
"SYP",
"SZL",
"THB",
"TJS",
"TMT",
"TND",
"TOP",
"TRY",
"TTD",
"TWD",
"TZS",
"UAH",
"UGX",
"USD",
"UYU",
"UZS",
"VEF",
"VES",
"VND",
"VUV",
"WST",
"XAF",
"XCD",
"XOF",
"XPF",
"YER",
"ZAR",
"ZMW"
],
"required": false
},
"customer_id": {
"description": "Tilauksen omistajan tunnus\/ID. Vierailijoille 0.",
"type": "integer",
"required": false
},
"billing": {
"description": "Laskutusosoite.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2.",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maakoodi ISO 3166-1 alpha-2 -muodossa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "S\u00e4hk\u00f6postiosoite.",
"type": "string",
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Puhelinnumero.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Toimitusosoite.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2.",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maakoodi ISO 3166-1 alpha-2 -muodossa.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"payment_method": {
"description": "Maksutavan tunnus\/ID",
"type": "string",
"required": false
},
"payment_method_title": {
"description": "Maksutavan otsikko.",
"type": "string",
"required": false
},
"set_paid": {
"description": "M\u00e4\u00e4rit\u00e4 onko tilaus maksettu. Kun se tehd\u00e4\u00e4n, tila asetetaan K\u00e4sittelyss\u00e4 tilaksi ja varaston m\u00e4\u00e4r\u00e4\u00e4 pienennet\u00e4\u00e4n.",
"type": "boolean",
"required": false
},
"transaction_id": {
"description": "Muista poikkeava tapahtuman tunnus\/ID.",
"type": "string",
"required": false
},
"customer_note": {
"description": "Asiakkaan kassalla j\u00e4tt\u00e4m\u00e4 kommentti.",
"type": "string",
"required": false
},
"line_items": {
"description": "Tuoterivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Tuotteen nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"sku": {
"description": "Tuotetunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"product_id": {
"description": "Tuotteen ID.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"variation_id": {
"description": "Muunnelman tunnus\/ID, jos tarvitaan.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"quantity": {
"description": "Tilattu m\u00e4\u00e4r\u00e4.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Tuotteen veroluokka.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"price": {
"description": "Tuotteen hinta.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"subtotal": {
"description": "Rivien v\u00e4lisumma (ennen alennuksia).",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal_tax": {
"description": "Rivien verojen v\u00e4lisumma (ennen alennuksia).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"subtotal": {
"description": "Verojen v\u00e4lisumma.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta": {
"description": "Tuoterivien meta-tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"label": {
"description": "Meta-tunnus\/nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
}
}
},
"required": false
},
"shipping_lines": {
"description": "Toimitusrivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"method_title": {
"description": "Toimitustavan nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"method_id": {
"description": "Toimitustavan tunnus\/ID.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
}
}
},
"required": false
},
"fee_lines": {
"description": "Maksurivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Maksun nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Maksun veroluokka.",
"type": "string",
"context": [
"view",
"edit"
]
},
"tax_status": {
"description": "Maksun veron tila.",
"type": "string",
"context": [
"view",
"edit"
],
"enum": [
"taxable",
"none"
]
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"subtotal": {
"description": "Verojen v\u00e4lisumma.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
}
}
},
"required": false
},
"coupon_lines": {
"description": "Kuponkirivin tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"code": {
"description": "Kupongin koodi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"discount": {
"description": "Alennukset yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
]
},
"discount_tax": {
"description": "Alennuksen vero yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Muista poikkeava tunnus termien ominaisuudelle.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajaa tulokset niihin, jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon. ",
"type": "string",
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Korvaa asetettu tulos tietyll\u00e4 m\u00e4\u00e4r\u00e4ll\u00e4 kohteita. Koskee vain hierarkkisia taksonomioita.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma resurssin ominaisuuden perusteella.",
"type": "string",
"default": "name",
"enum": [
"id",
"include",
"name",
"slug",
"term_group",
"description",
"count"
],
"required": false
},
"hide_empty": {
"description": "Piilotetaanko resurssit joita ei ole liitetty mihink\u00e4\u00e4n tuotteeseen.",
"type": "boolean",
"default": false,
"required": false
},
"parent": {
"description": "Rajoita tulosjoukko tietylle vanhemmalle m\u00e4\u00e4ritettyihin resursseihin. Koskee vain hierarkkisia taksonomioita.",
"type": "integer",
"required": false
},
"product": {
"description": "Rajoita tulosjoukko niihin resursseihin jotka on liitetty tiettyyn tuotteeseen.",
"type": "integer",
"default": null,
"required": false
},
"slug": {
"description": "Rajoita tulosjoukko niihin resursseihin joilla on tietty polkutunnus.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"attribute_id": {
"description": "Muista poikkeava tunnus termien ominaisuudelle.",
"type": "integer",
"required": false
},
"name": {
"type": "string",
"description": "Resurssin nimi.",
"required": true
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys jota k\u00e4ytet\u00e4\u00e4n mukautetussa resurssien j\u00e4rjest\u00e4misess\u00e4.",
"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": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"attribute_id": {
"description": "Muista poikkeava tunnus termien ominaisuudelle.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"attribute_id": {
"description": "Muista poikkeava tunnus termien ominaisuudelle.",
"type": "integer",
"required": false
},
"name": {
"description": "Termin nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys jota k\u00e4ytet\u00e4\u00e4n mukautetussa resurssien j\u00e4rjest\u00e4misess\u00e4.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"attribute_id": {
"description": "Muista poikkeava tunnus termien ominaisuudelle.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "On oltava tosi, koska resurssi ei tue roskakoria.",
"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": "Muista poikkeava tunnus termien ominaisuudelle.",
"type": "integer",
"required": false
},
"name": {
"description": "Termin nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys jota k\u00e4ytet\u00e4\u00e4n mukautetussa resurssien j\u00e4rjest\u00e4misess\u00e4.",
"type": "integer",
"required": false
}
}
}
]
},
"\/wc\/v1\/products\/attributes": {
"namespace": "wc\/v1",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"description": "Resurssin nimi.",
"type": "string",
"required": true
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"type": {
"default": "select",
"description": "Ominaisuuden laji.",
"type": "string",
"enum": [
"button",
"color",
"image",
"variation_img",
"radio",
"viwpvs_default",
"select"
],
"required": false
},
"order_by": {
"default": "menu_order",
"description": "Oletuksena k\u00e4ytett\u00e4v\u00e4 lajittelutapa.",
"type": "string",
"enum": [
"menu_order",
"name",
"name_num",
"id"
],
"required": false
},
"has_archives": {
"default": false,
"description": "Ota k\u00e4ytt\u00f6\u00f6n\/poista k\u00e4yt\u00f6st\u00e4 ominaisuuksien arkisto.",
"type": "boolean",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"type": {
"description": "Ominaisuuden laji.",
"type": "string",
"enum": [
"button",
"color",
"image",
"variation_img",
"radio",
"viwpvs_default",
"select"
],
"required": false
},
"order_by": {
"description": "Oletuksena k\u00e4ytett\u00e4v\u00e4 lajittelutapa.",
"type": "string",
"enum": [
"menu_order",
"name",
"name_num",
"id"
],
"required": false
},
"has_archives": {
"description": "Ota k\u00e4ytt\u00f6\u00f6n\/poista k\u00e4yt\u00f6st\u00e4 ominaisuuksien arkisto.",
"type": "boolean",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": true,
"type": "boolean",
"description": "On oltava tosi, koska resurssi ei tue roskakoria.",
"required": false
}
}
}
]
},
"\/wc\/v1\/products\/attributes\/batch": {
"namespace": "wc\/v1",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"type": {
"description": "Ominaisuuden laji.",
"type": "string",
"enum": [
"button",
"color",
"image",
"variation_img",
"radio",
"viwpvs_default",
"select"
],
"required": false
},
"order_by": {
"description": "Oletuksena k\u00e4ytett\u00e4v\u00e4 lajittelutapa.",
"type": "string",
"enum": [
"menu_order",
"name",
"name_num",
"id"
],
"required": false
},
"has_archives": {
"description": "Ota k\u00e4ytt\u00f6\u00f6n\/poista k\u00e4yt\u00f6st\u00e4 ominaisuuksien arkisto.",
"type": "boolean",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v1\/products\/attributes\/batch"
}
]
}
},
"\/wc\/v1\/products\/categories": {
"namespace": "wc\/v1",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajaa tulokset niihin, jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon. ",
"type": "string",
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Korvaa asetettu tulos tietyll\u00e4 m\u00e4\u00e4r\u00e4ll\u00e4 kohteita. Koskee vain hierarkkisia taksonomioita.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma resurssin ominaisuuden perusteella.",
"type": "string",
"default": "name",
"enum": [
"id",
"include",
"name",
"slug",
"term_group",
"description",
"count"
],
"required": false
},
"hide_empty": {
"description": "Piilotetaanko resurssit joita ei ole liitetty mihink\u00e4\u00e4n tuotteeseen.",
"type": "boolean",
"default": false,
"required": false
},
"parent": {
"description": "Rajoita tulosjoukko tietylle vanhemmalle m\u00e4\u00e4ritettyihin resursseihin. Koskee vain hierarkkisia taksonomioita.",
"type": "integer",
"required": false
},
"product": {
"description": "Rajoita tulosjoukko niihin resursseihin jotka on liitetty tiettyyn tuotteeseen.",
"type": "integer",
"default": null,
"required": false
},
"slug": {
"description": "Rajoita tulosjoukko niihin resursseihin joilla on tietty polkutunnus.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"type": "string",
"description": "Resurssin nimi.",
"required": true
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"parent": {
"description": "Ylemm\u00e4n tason resurssin tunnus\/ID.",
"type": "integer",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
},
"display": {
"default": "default",
"description": "Osastojen arkisto, n\u00e4ytt\u00e4misen laji.",
"type": "string",
"enum": [
"default",
"products",
"subcategories",
"both"
],
"required": false
},
"image": {
"description": "Kuvan tiedot.",
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"title": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys jota k\u00e4ytet\u00e4\u00e4n mukautetussa resurssien j\u00e4rjest\u00e4misess\u00e4.",
"type": "integer",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"name": {
"description": "Osaston nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"parent": {
"description": "Ylemm\u00e4n tason resurssin tunnus\/ID.",
"type": "integer",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
},
"display": {
"description": "Osastojen arkisto, n\u00e4ytt\u00e4misen laji.",
"type": "string",
"enum": [
"default",
"products",
"subcategories",
"both"
],
"required": false
},
"image": {
"description": "Kuvan tiedot.",
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"title": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys jota k\u00e4ytet\u00e4\u00e4n mukautetussa resurssien j\u00e4rjest\u00e4misess\u00e4.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "On oltava tosi, koska resurssi ei tue roskakoria.",
"required": false
}
}
}
]
},
"\/wc\/v1\/products\/categories\/batch": {
"namespace": "wc\/v1",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Osaston nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"parent": {
"description": "Ylemm\u00e4n tason resurssin tunnus\/ID.",
"type": "integer",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
},
"display": {
"description": "Osastojen arkisto, n\u00e4ytt\u00e4misen laji.",
"type": "string",
"enum": [
"default",
"products",
"subcategories",
"both"
],
"required": false
},
"image": {
"description": "Kuvan tiedot.",
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"title": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys jota k\u00e4ytet\u00e4\u00e4n mukautetussa resurssien j\u00e4rjest\u00e4misess\u00e4.",
"type": "integer",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"id": {
"description": "Muista poikkeava tunniste muunnelmalle.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"id": {
"description": "Muista poikkeava tunniste muunnelmalle.",
"type": "integer",
"required": false
},
"review": {
"type": "string",
"description": "Arvion sis\u00e4lt\u00f6.",
"required": true
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin tuotearvio luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"rating": {
"description": "Arvostelu tuotearviosta (0 - 5).",
"type": "integer",
"required": false
},
"name": {
"type": "string",
"description": "Arvioijan nimi.",
"required": true
},
"email": {
"type": "string",
"description": "Arvioijan s\u00e4hk\u00f6postiosoite.",
"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": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"review": {
"description": "Arvion sis\u00e4lt\u00f6.",
"type": "string",
"required": false
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin tuotearvio luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"rating": {
"description": "Arvostelu tuotearviosta (0 - 5).",
"type": "integer",
"required": false
},
"name": {
"description": "Arvioijan nimi.",
"type": "string",
"required": false
},
"email": {
"description": "Arvioijan s\u00e4hk\u00f6postiosoite.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ohitetaanko roskakori ja pakotetaan poisto.",
"required": false
}
}
}
]
},
"\/wc\/v1\/products\/shipping_classes": {
"namespace": "wc\/v1",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajaa tulokset niihin, jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon. ",
"type": "string",
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Korvaa asetettu tulos tietyll\u00e4 m\u00e4\u00e4r\u00e4ll\u00e4 kohteita. Koskee vain hierarkkisia taksonomioita.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma resurssin ominaisuuden perusteella.",
"type": "string",
"default": "name",
"enum": [
"id",
"include",
"name",
"slug",
"term_group",
"description",
"count"
],
"required": false
},
"hide_empty": {
"description": "Piilotetaanko resurssit joita ei ole liitetty mihink\u00e4\u00e4n tuotteeseen.",
"type": "boolean",
"default": false,
"required": false
},
"parent": {
"description": "Rajoita tulosjoukko tietylle vanhemmalle m\u00e4\u00e4ritettyihin resursseihin. Koskee vain hierarkkisia taksonomioita.",
"type": "integer",
"required": false
},
"product": {
"description": "Rajoita tulosjoukko niihin resursseihin jotka on liitetty tiettyyn tuotteeseen.",
"type": "integer",
"default": null,
"required": false
},
"slug": {
"description": "Rajoita tulosjoukko niihin resursseihin joilla on tietty polkutunnus.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"type": "string",
"description": "Resurssin nimi.",
"required": true
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"name": {
"description": "Toimitusluokan nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "On oltava tosi, koska resurssi ei tue roskakoria.",
"required": false
}
}
}
]
},
"\/wc\/v1\/products\/shipping_classes\/batch": {
"namespace": "wc\/v1",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Toimitusluokan nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v1\/products\/shipping_classes\/batch"
}
]
}
},
"\/wc\/v1\/products\/tags": {
"namespace": "wc\/v1",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajaa tulokset niihin, jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon. ",
"type": "string",
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Korvaa asetettu tulos tietyll\u00e4 m\u00e4\u00e4r\u00e4ll\u00e4 kohteita. Koskee vain hierarkkisia taksonomioita.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma resurssin ominaisuuden perusteella.",
"type": "string",
"default": "name",
"enum": [
"id",
"include",
"name",
"slug",
"term_group",
"description",
"count"
],
"required": false
},
"hide_empty": {
"description": "Piilotetaanko resurssit joita ei ole liitetty mihink\u00e4\u00e4n tuotteeseen.",
"type": "boolean",
"default": false,
"required": false
},
"parent": {
"description": "Rajoita tulosjoukko tietylle vanhemmalle m\u00e4\u00e4ritettyihin resursseihin. Koskee vain hierarkkisia taksonomioita.",
"type": "integer",
"required": false
},
"product": {
"description": "Rajoita tulosjoukko niihin resursseihin jotka on liitetty tiettyyn tuotteeseen.",
"type": "integer",
"default": null,
"required": false
},
"slug": {
"description": "Rajoita tulosjoukko niihin resursseihin joilla on tietty polkutunnus.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"type": "string",
"description": "Resurssin nimi.",
"required": true
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"name": {
"description": "Avainsanan nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "On oltava tosi, koska resurssi ei tue roskakoria.",
"required": false
}
}
}
]
},
"\/wc\/v1\/products\/tags\/batch": {
"namespace": "wc\/v1",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Avainsanan nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v1\/products\/tags\/batch"
}
]
}
},
"\/wc\/v1\/products": {
"namespace": "wc\/v1",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajaa tulokset niihin, jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon. ",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified"
],
"required": false
},
"filter": {
"type": "object",
"description": "K\u00e4yt\u00e4 WP Query -argumentteja vastauksen muuttamiseen; yksityiset kutsumuuttujat edellytt\u00e4v\u00e4t tarvittavaa valtuutusta.",
"required": false
},
"slug": {
"description": "Rajoita tulosjoukko niihin tuotteisiin joilla on tietty polkutunnus.",
"type": "string",
"required": false
},
"status": {
"default": "any",
"description": "Rajoita tulosjoukko tuotteisiin joilla on tietty tila.",
"type": "string",
"enum": [
"any",
"future",
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"type": {
"description": "Rajoita tulosjoukko tietyn lajisiin tuotteisiin.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"category": {
"description": "Rajoita tulosjoukko tietyn osaston\/ID tuotteisiin.",
"type": "string",
"required": false
},
"tag": {
"description": "Rajoita tulosjoukko tuotteisiin joilla on tietty avainsana\/ID.",
"type": "string",
"required": false
},
"shipping_class": {
"description": "Rajoita tulosjoukko tuotteisiin joilla on tietty toimitusluokka\/ID.",
"type": "string",
"required": false
},
"attribute": {
"description": "Rajoita tulosjoukko tuotteisiin joilla on tietty ominaisuus.",
"type": "string",
"required": false
},
"attribute_term": {
"description": "Rajoita tulosjoukkot tuotteisiin joilla on tietty ominaisuuden arvo (edellytt\u00e4\u00e4 asetettua ominaisuutta).",
"type": "string",
"required": false
},
"sku": {
"description": "Rajoita tulosjoukko tuotteisiin joilla on tietty tuotetunnus\/SKU.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"description": "Tuotteen nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Tuotteen polkutunnus.",
"type": "string",
"required": false
},
"type": {
"default": "simple",
"description": "Tuotteen laji.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"status": {
"default": "publish",
"description": "Tuotteen tila (julkaisun tila).",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish",
"future"
],
"required": false
},
"featured": {
"default": false,
"description": "Esittelyss\u00e4 oleva tuote.",
"type": "boolean",
"required": false
},
"catalog_visibility": {
"default": "visible",
"description": "Tuoteluettelon n\u00e4kyvyys.",
"type": "string",
"enum": [
"visible",
"catalog",
"search",
"hidden"
],
"required": false
},
"description": {
"description": "Tuotteen kuvaus.",
"type": "string",
"required": false
},
"short_description": {
"description": "Tuotteen lyhyt kuvaus.",
"type": "string",
"required": false
},
"sku": {
"description": "Muista poikkeava tunniste.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Tuotteen normaali hinta.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Tuotteen alennettu hinta.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "Alennettu hinta alkaa (pvm).",
"type": "string",
"required": false
},
"date_on_sale_to": {
"description": "Alennettu hinta loppuu (pvm).",
"type": "string",
"required": false
},
"virtual": {
"default": false,
"description": "Jos tuote on palvelu.",
"type": "boolean",
"required": false
},
"downloadable": {
"default": false,
"description": "Jos tuote on ladattava tuote.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"default": -1,
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer",
"required": false
},
"download_expiry": {
"default": -1,
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer",
"required": false
},
"download_type": {
"default": "standard",
"description": "Latauksen laji, t\u00e4ll\u00e4 m\u00e4\u00e4ritet\u00e4\u00e4n malli julkisella puolella.",
"type": "string",
"enum": [
"standard"
],
"required": false
},
"external_url": {
"description": "Tuotteen ulkopuolinen verkko-osoite. Vain ulkopuolisille tuotteille.",
"type": "string",
"format": "uri",
"required": false
},
"button_text": {
"description": "Tuotteen ulkopuolisen painikkeen teksti. Vain ulkopuolisille tuotteille.",
"type": "string",
"required": false
},
"tax_status": {
"default": "taxable",
"description": "Veron tila.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Veroluokka.",
"type": "string",
"required": false
},
"manage_stock": {
"default": false,
"description": "Varaston hallinta tuotetasolla.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"in_stock": {
"default": true,
"description": "T\u00e4ss\u00e4 asetetaan kuinka varastotilanne n\u00e4kyy julkisella puolella. Joko 'Varastossa' tai 'Varasto loppu'.",
"type": "boolean",
"required": false
},
"backorders": {
"default": "no",
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"sold_individually": {
"default": false,
"description": "Yksi tuote voidaan ostaa yht\u00e4 tilausta kohden.",
"type": "boolean",
"required": false
},
"weight": {
"description": "Tuotteen paino (kg (kilogramma)).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Tuotteen mitat.",
"type": "object",
"properties": {
"length": {
"description": "Tuotteen pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Tuotteen leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Tuotteen korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Toimitusluokan polkutunnus.",
"type": "string",
"required": false
},
"reviews_allowed": {
"default": true,
"description": "Salli tuotearviot.",
"type": "boolean",
"required": false
},
"upsell_ids": {
"description": "Lista 'parempi tuote' tuotteiden tunnuksista\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"cross_sell_ids": {
"description": "Lista Lis\u00e4tuote (Cross-Sell) tuotteiden tunnuksista\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"parent_id": {
"description": "Ylemm\u00e4n tason tuotteen tunnus\/ID.",
"type": "integer",
"required": false
},
"purchase_note": {
"description": "Valinnainen kommentti joka l\u00e4hetet\u00e4\u00e4n asiakkaalle oston j\u00e4lkeen.",
"type": "string",
"required": false
},
"categories": {
"description": "Osatojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Osaston tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Osaston nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Osaston polkutunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"tags": {
"description": "Avainsanojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Avainsanan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Avainsanan nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Avainsanan polkutunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"images": {
"description": "Kuvien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Kuvan sijainti. 0 tarkoittaa, ett\u00e4 kuva on artikkelikuva.",
"type": "integer",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"attributes": {
"description": "Ominisuuksien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Ominaisuuden sijainti.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"visible": {
"description": "M\u00e4\u00e4rit\u00e4 n\u00e4kyyk\u00f6 ominaisuus \"Lis\u00e4tiedot\" v\u00e4lilehdell\u00e4 tuotteen sivulla.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"variation": {
"description": "M\u00e4\u00e4rit\u00e4, voidaanko ominaisuutta k\u00e4ytt\u00e4\u00e4 muunnelmana.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"options": {
"description": "Ominaisuuden saatavilla olevien (termi)nimien lista.",
"type": "array",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"default_attributes": {
"description": "Muunnelman oletusominaisuudet.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"variations": {
"description": "Muunnelmien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Muunnelman tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin muunnelma luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin muunnelmaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"permalink": {
"description": "Muunnelman verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
],
"readonly": true
},
"sku": {
"description": "Muista poikkeava tunniste.",
"type": "string",
"context": [
"view",
"edit"
]
},
"price": {
"description": "Nykyinen muunnelman hinta.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"regular_price": {
"description": "Muunnelman tavallinen hinta.",
"type": "string",
"context": [
"view",
"edit"
]
},
"sale_price": {
"description": "Muunnelman alennettu hinta.",
"type": "string",
"context": [
"view",
"edit"
]
},
"date_on_sale_from": {
"description": "Alennettu hinta alkaa (pvm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"date_on_sale_to": {
"description": "Alennettu hinta loppuu (pvm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"on_sale": {
"description": "N\u00e4ytt\u00e4\u00e4 jos muunnelma on alennuksessa.",
"type": "boolean",
"context": [
"view",
"edit"
],
"readonly": true
},
"purchasable": {
"description": "N\u00e4ytt\u00e4\u00e4 jos muunnelman voi ostaa.",
"type": "boolean",
"context": [
"view",
"edit"
],
"readonly": true
},
"visible": {
"description": "Jos muunnelma n\u00e4ytet\u00e4\u00e4n.",
"type": "boolean",
"context": [
"view",
"edit"
]
},
"virtual": {
"description": "Jos muunnelma on palvelu.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"downloadable": {
"description": "Jos muunnelma on ladattava.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"downloads": {
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"download_limit": {
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer",
"default": null,
"context": [
"view",
"edit"
]
},
"download_expiry": {
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer",
"default": null,
"context": [
"view",
"edit"
]
},
"tax_status": {
"description": "Veron tila.",
"type": "string",
"default": "taxable",
"enum": [
"taxable",
"shipping",
"none"
],
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Veroluokka.",
"type": "string",
"context": [
"view",
"edit"
]
},
"manage_stock": {
"description": "Varaston hallinta muunnelmien tasolla.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"stock_quantity": {
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"in_stock": {
"description": "Asettaa kuinka muunnelma esitet\u00e4\u00e4n julkisella puolella; joko \"varastossa\" tai \"loppu varastosta\".",
"type": "boolean",
"default": true,
"context": [
"view",
"edit"
]
},
"backorders": {
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"default": "no",
"enum": [
"no",
"notify",
"yes"
],
"context": [
"view",
"edit"
]
},
"backorders_allowed": {
"description": "N\u00e4ytt\u00e4\u00e4 sallitaanko j\u00e4lkitoimitukset.",
"type": "boolean",
"context": [
"view",
"edit"
],
"readonly": true
},
"backordered": {
"description": "N\u00e4ytt\u00e4\u00e4 jos muunnelma on j\u00e4lkitoimituksessa.",
"type": "boolean",
"context": [
"view",
"edit"
],
"readonly": true
},
"weight": {
"description": "Muunnelman paino (kg (kilogramma)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"dimensions": {
"description": "Muunnelman mitat.",
"type": "object",
"context": [
"view",
"edit"
],
"properties": {
"length": {
"description": "Muunnelman pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Muunnelman leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Muunnelman korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"shipping_class": {
"description": "Toimitusluokan polkutunnus.",
"type": "string",
"context": [
"view",
"edit"
]
},
"shipping_class_id": {
"description": "Toimitusluokan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"image": {
"description": "Muunnelman kuvan tiedot.",
"type": "object",
"context": [
"view",
"edit"
],
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Kuvan sijainti. 0 tarkoittaa, ett\u00e4 kuva on artikkelikuva.",
"type": "integer",
"context": [
"view",
"edit"
]
}
}
},
"attributes": {
"description": "Ominisuuksien lista.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys, k\u00e4ytet\u00e4\u00e4n tuotteiden mukautettuun j\u00e4rjest\u00e4miseen.",
"type": "integer",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"name": {
"description": "Tuotteen nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Tuotteen polkutunnus.",
"type": "string",
"required": false
},
"type": {
"description": "Tuotteen laji.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"status": {
"description": "Tuotteen tila (julkaisun tila).",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish",
"future"
],
"required": false
},
"featured": {
"description": "Esittelyss\u00e4 oleva tuote.",
"type": "boolean",
"required": false
},
"catalog_visibility": {
"description": "Tuoteluettelon n\u00e4kyvyys.",
"type": "string",
"enum": [
"visible",
"catalog",
"search",
"hidden"
],
"required": false
},
"description": {
"description": "Tuotteen kuvaus.",
"type": "string",
"required": false
},
"short_description": {
"description": "Tuotteen lyhyt kuvaus.",
"type": "string",
"required": false
},
"sku": {
"description": "Muista poikkeava tunniste.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Tuotteen normaali hinta.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Tuotteen alennettu hinta.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "Alennettu hinta alkaa (pvm).",
"type": "string",
"required": false
},
"date_on_sale_to": {
"description": "Alennettu hinta loppuu (pvm).",
"type": "string",
"required": false
},
"virtual": {
"description": "Jos tuote on palvelu.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Jos tuote on ladattava tuote.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer",
"required": false
},
"download_type": {
"description": "Latauksen laji, t\u00e4ll\u00e4 m\u00e4\u00e4ritet\u00e4\u00e4n malli julkisella puolella.",
"type": "string",
"enum": [
"standard"
],
"required": false
},
"external_url": {
"description": "Tuotteen ulkopuolinen verkko-osoite. Vain ulkopuolisille tuotteille.",
"type": "string",
"format": "uri",
"required": false
},
"button_text": {
"description": "Tuotteen ulkopuolisen painikkeen teksti. Vain ulkopuolisille tuotteille.",
"type": "string",
"required": false
},
"tax_status": {
"description": "Veron tila.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Veroluokka.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Varaston hallinta tuotetasolla.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"in_stock": {
"description": "T\u00e4ss\u00e4 asetetaan kuinka varastotilanne n\u00e4kyy julkisella puolella. Joko 'Varastossa' tai 'Varasto loppu'.",
"type": "boolean",
"required": false
},
"backorders": {
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"sold_individually": {
"description": "Yksi tuote voidaan ostaa yht\u00e4 tilausta kohden.",
"type": "boolean",
"required": false
},
"weight": {
"description": "Tuotteen paino (kg (kilogramma)).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Tuotteen mitat.",
"type": "object",
"properties": {
"length": {
"description": "Tuotteen pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Tuotteen leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Tuotteen korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Toimitusluokan polkutunnus.",
"type": "string",
"required": false
},
"reviews_allowed": {
"description": "Salli tuotearviot.",
"type": "boolean",
"required": false
},
"upsell_ids": {
"description": "Lista 'parempi tuote' tuotteiden tunnuksista\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"cross_sell_ids": {
"description": "Lista Lis\u00e4tuote (Cross-Sell) tuotteiden tunnuksista\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"parent_id": {
"description": "Ylemm\u00e4n tason tuotteen tunnus\/ID.",
"type": "integer",
"required": false
},
"purchase_note": {
"description": "Valinnainen kommentti joka l\u00e4hetet\u00e4\u00e4n asiakkaalle oston j\u00e4lkeen.",
"type": "string",
"required": false
},
"categories": {
"description": "Osatojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Osaston tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Osaston nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Osaston polkutunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"tags": {
"description": "Avainsanojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Avainsanan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Avainsanan nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Avainsanan polkutunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"images": {
"description": "Kuvien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Kuvan sijainti. 0 tarkoittaa, ett\u00e4 kuva on artikkelikuva.",
"type": "integer",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"attributes": {
"description": "Ominisuuksien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Ominaisuuden sijainti.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"visible": {
"description": "M\u00e4\u00e4rit\u00e4 n\u00e4kyyk\u00f6 ominaisuus \"Lis\u00e4tiedot\" v\u00e4lilehdell\u00e4 tuotteen sivulla.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"variation": {
"description": "M\u00e4\u00e4rit\u00e4, voidaanko ominaisuutta k\u00e4ytt\u00e4\u00e4 muunnelmana.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"options": {
"description": "Ominaisuuden saatavilla olevien (termi)nimien lista.",
"type": "array",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"default_attributes": {
"description": "Muunnelman oletusominaisuudet.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"variations": {
"description": "Muunnelmien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Muunnelman tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin muunnelma luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin muunnelmaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"permalink": {
"description": "Muunnelman verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
],
"readonly": true
},
"sku": {
"description": "Muista poikkeava tunniste.",
"type": "string",
"context": [
"view",
"edit"
]
},
"price": {
"description": "Nykyinen muunnelman hinta.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"regular_price": {
"description": "Muunnelman tavallinen hinta.",
"type": "string",
"context": [
"view",
"edit"
]
},
"sale_price": {
"description": "Muunnelman alennettu hinta.",
"type": "string",
"context": [
"view",
"edit"
]
},
"date_on_sale_from": {
"description": "Alennettu hinta alkaa (pvm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"date_on_sale_to": {
"description": "Alennettu hinta loppuu (pvm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"on_sale": {
"description": "N\u00e4ytt\u00e4\u00e4 jos muunnelma on alennuksessa.",
"type": "boolean",
"context": [
"view",
"edit"
],
"readonly": true
},
"purchasable": {
"description": "N\u00e4ytt\u00e4\u00e4 jos muunnelman voi ostaa.",
"type": "boolean",
"context": [
"view",
"edit"
],
"readonly": true
},
"visible": {
"description": "Jos muunnelma n\u00e4ytet\u00e4\u00e4n.",
"type": "boolean",
"context": [
"view",
"edit"
]
},
"virtual": {
"description": "Jos muunnelma on palvelu.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"downloadable": {
"description": "Jos muunnelma on ladattava.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"downloads": {
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"download_limit": {
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer",
"default": null,
"context": [
"view",
"edit"
]
},
"download_expiry": {
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer",
"default": null,
"context": [
"view",
"edit"
]
},
"tax_status": {
"description": "Veron tila.",
"type": "string",
"default": "taxable",
"enum": [
"taxable",
"shipping",
"none"
],
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Veroluokka.",
"type": "string",
"context": [
"view",
"edit"
]
},
"manage_stock": {
"description": "Varaston hallinta muunnelmien tasolla.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"stock_quantity": {
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"in_stock": {
"description": "Asettaa kuinka muunnelma esitet\u00e4\u00e4n julkisella puolella; joko \"varastossa\" tai \"loppu varastosta\".",
"type": "boolean",
"default": true,
"context": [
"view",
"edit"
]
},
"backorders": {
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"default": "no",
"enum": [
"no",
"notify",
"yes"
],
"context": [
"view",
"edit"
]
},
"backorders_allowed": {
"description": "N\u00e4ytt\u00e4\u00e4 sallitaanko j\u00e4lkitoimitukset.",
"type": "boolean",
"context": [
"view",
"edit"
],
"readonly": true
},
"backordered": {
"description": "N\u00e4ytt\u00e4\u00e4 jos muunnelma on j\u00e4lkitoimituksessa.",
"type": "boolean",
"context": [
"view",
"edit"
],
"readonly": true
},
"weight": {
"description": "Muunnelman paino (kg (kilogramma)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"dimensions": {
"description": "Muunnelman mitat.",
"type": "object",
"context": [
"view",
"edit"
],
"properties": {
"length": {
"description": "Muunnelman pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Muunnelman leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Muunnelman korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"shipping_class": {
"description": "Toimitusluokan polkutunnus.",
"type": "string",
"context": [
"view",
"edit"
]
},
"shipping_class_id": {
"description": "Toimitusluokan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"image": {
"description": "Muunnelman kuvan tiedot.",
"type": "object",
"context": [
"view",
"edit"
],
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Kuvan sijainti. 0 tarkoittaa, ett\u00e4 kuva on artikkelikuva.",
"type": "integer",
"context": [
"view",
"edit"
]
}
}
},
"attributes": {
"description": "Ominisuuksien lista.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys, k\u00e4ytet\u00e4\u00e4n tuotteiden mukautettuun j\u00e4rjest\u00e4miseen.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"description": "Ohitetaanko roskakori ja pakotetaan poisto.",
"type": "boolean",
"required": false
}
}
}
]
},
"\/wc\/v1\/products\/batch": {
"namespace": "wc\/v1",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Tuotteen nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Tuotteen polkutunnus.",
"type": "string",
"required": false
},
"type": {
"description": "Tuotteen laji.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"status": {
"description": "Tuotteen tila (julkaisun tila).",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish",
"future"
],
"required": false
},
"featured": {
"description": "Esittelyss\u00e4 oleva tuote.",
"type": "boolean",
"required": false
},
"catalog_visibility": {
"description": "Tuoteluettelon n\u00e4kyvyys.",
"type": "string",
"enum": [
"visible",
"catalog",
"search",
"hidden"
],
"required": false
},
"description": {
"description": "Tuotteen kuvaus.",
"type": "string",
"required": false
},
"short_description": {
"description": "Tuotteen lyhyt kuvaus.",
"type": "string",
"required": false
},
"sku": {
"description": "Muista poikkeava tunniste.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Tuotteen normaali hinta.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Tuotteen alennettu hinta.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "Alennettu hinta alkaa (pvm).",
"type": "string",
"required": false
},
"date_on_sale_to": {
"description": "Alennettu hinta loppuu (pvm).",
"type": "string",
"required": false
},
"virtual": {
"description": "Jos tuote on palvelu.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Jos tuote on ladattava tuote.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer",
"required": false
},
"download_type": {
"description": "Latauksen laji, t\u00e4ll\u00e4 m\u00e4\u00e4ritet\u00e4\u00e4n malli julkisella puolella.",
"type": "string",
"enum": [
"standard"
],
"required": false
},
"external_url": {
"description": "Tuotteen ulkopuolinen verkko-osoite. Vain ulkopuolisille tuotteille.",
"type": "string",
"format": "uri",
"required": false
},
"button_text": {
"description": "Tuotteen ulkopuolisen painikkeen teksti. Vain ulkopuolisille tuotteille.",
"type": "string",
"required": false
},
"tax_status": {
"description": "Veron tila.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Veroluokka.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Varaston hallinta tuotetasolla.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"in_stock": {
"description": "T\u00e4ss\u00e4 asetetaan kuinka varastotilanne n\u00e4kyy julkisella puolella. Joko 'Varastossa' tai 'Varasto loppu'.",
"type": "boolean",
"required": false
},
"backorders": {
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"sold_individually": {
"description": "Yksi tuote voidaan ostaa yht\u00e4 tilausta kohden.",
"type": "boolean",
"required": false
},
"weight": {
"description": "Tuotteen paino (kg (kilogramma)).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Tuotteen mitat.",
"type": "object",
"properties": {
"length": {
"description": "Tuotteen pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Tuotteen leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Tuotteen korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Toimitusluokan polkutunnus.",
"type": "string",
"required": false
},
"reviews_allowed": {
"description": "Salli tuotearviot.",
"type": "boolean",
"required": false
},
"upsell_ids": {
"description": "Lista 'parempi tuote' tuotteiden tunnuksista\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"cross_sell_ids": {
"description": "Lista Lis\u00e4tuote (Cross-Sell) tuotteiden tunnuksista\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"parent_id": {
"description": "Ylemm\u00e4n tason tuotteen tunnus\/ID.",
"type": "integer",
"required": false
},
"purchase_note": {
"description": "Valinnainen kommentti joka l\u00e4hetet\u00e4\u00e4n asiakkaalle oston j\u00e4lkeen.",
"type": "string",
"required": false
},
"categories": {
"description": "Osatojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Osaston tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Osaston nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Osaston polkutunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"tags": {
"description": "Avainsanojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Avainsanan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Avainsanan nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Avainsanan polkutunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"images": {
"description": "Kuvien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Kuvan sijainti. 0 tarkoittaa, ett\u00e4 kuva on artikkelikuva.",
"type": "integer",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"attributes": {
"description": "Ominisuuksien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Ominaisuuden sijainti.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"visible": {
"description": "M\u00e4\u00e4rit\u00e4 n\u00e4kyyk\u00f6 ominaisuus \"Lis\u00e4tiedot\" v\u00e4lilehdell\u00e4 tuotteen sivulla.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"variation": {
"description": "M\u00e4\u00e4rit\u00e4, voidaanko ominaisuutta k\u00e4ytt\u00e4\u00e4 muunnelmana.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"options": {
"description": "Ominaisuuden saatavilla olevien (termi)nimien lista.",
"type": "array",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"default_attributes": {
"description": "Muunnelman oletusominaisuudet.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"variations": {
"description": "Muunnelmien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Muunnelman tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin muunnelma luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin muunnelmaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"permalink": {
"description": "Muunnelman verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
],
"readonly": true
},
"sku": {
"description": "Muista poikkeava tunniste.",
"type": "string",
"context": [
"view",
"edit"
]
},
"price": {
"description": "Nykyinen muunnelman hinta.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"regular_price": {
"description": "Muunnelman tavallinen hinta.",
"type": "string",
"context": [
"view",
"edit"
]
},
"sale_price": {
"description": "Muunnelman alennettu hinta.",
"type": "string",
"context": [
"view",
"edit"
]
},
"date_on_sale_from": {
"description": "Alennettu hinta alkaa (pvm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"date_on_sale_to": {
"description": "Alennettu hinta loppuu (pvm).",
"type": "string",
"context": [
"view",
"edit"
]
},
"on_sale": {
"description": "N\u00e4ytt\u00e4\u00e4 jos muunnelma on alennuksessa.",
"type": "boolean",
"context": [
"view",
"edit"
],
"readonly": true
},
"purchasable": {
"description": "N\u00e4ytt\u00e4\u00e4 jos muunnelman voi ostaa.",
"type": "boolean",
"context": [
"view",
"edit"
],
"readonly": true
},
"visible": {
"description": "Jos muunnelma n\u00e4ytet\u00e4\u00e4n.",
"type": "boolean",
"context": [
"view",
"edit"
]
},
"virtual": {
"description": "Jos muunnelma on palvelu.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"downloadable": {
"description": "Jos muunnelma on ladattava.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"downloads": {
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"download_limit": {
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer",
"default": null,
"context": [
"view",
"edit"
]
},
"download_expiry": {
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer",
"default": null,
"context": [
"view",
"edit"
]
},
"tax_status": {
"description": "Veron tila.",
"type": "string",
"default": "taxable",
"enum": [
"taxable",
"shipping",
"none"
],
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Veroluokka.",
"type": "string",
"context": [
"view",
"edit"
]
},
"manage_stock": {
"description": "Varaston hallinta muunnelmien tasolla.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"stock_quantity": {
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"in_stock": {
"description": "Asettaa kuinka muunnelma esitet\u00e4\u00e4n julkisella puolella; joko \"varastossa\" tai \"loppu varastosta\".",
"type": "boolean",
"default": true,
"context": [
"view",
"edit"
]
},
"backorders": {
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"default": "no",
"enum": [
"no",
"notify",
"yes"
],
"context": [
"view",
"edit"
]
},
"backorders_allowed": {
"description": "N\u00e4ytt\u00e4\u00e4 sallitaanko j\u00e4lkitoimitukset.",
"type": "boolean",
"context": [
"view",
"edit"
],
"readonly": true
},
"backordered": {
"description": "N\u00e4ytt\u00e4\u00e4 jos muunnelma on j\u00e4lkitoimituksessa.",
"type": "boolean",
"context": [
"view",
"edit"
],
"readonly": true
},
"weight": {
"description": "Muunnelman paino (kg (kilogramma)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"dimensions": {
"description": "Muunnelman mitat.",
"type": "object",
"context": [
"view",
"edit"
],
"properties": {
"length": {
"description": "Muunnelman pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Muunnelman leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Muunnelman korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"shipping_class": {
"description": "Toimitusluokan polkutunnus.",
"type": "string",
"context": [
"view",
"edit"
]
},
"shipping_class_id": {
"description": "Toimitusluokan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"image": {
"description": "Muunnelman kuvan tiedot.",
"type": "object",
"context": [
"view",
"edit"
],
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Kuvan sijainti. 0 tarkoittaa, ett\u00e4 kuva on artikkelikuva.",
"type": "integer",
"context": [
"view",
"edit"
]
}
}
},
"attributes": {
"description": "Ominisuuksien lista.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys, k\u00e4ytet\u00e4\u00e4n tuotteiden mukautettuun j\u00e4rjest\u00e4miseen.",
"type": "integer",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v1\/products\/batch"
}
]
}
},
"\/wc\/v1\/reports\/sales": {
"namespace": "wc\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
},
"period": {
"description": "Raportin ajanjakso.",
"type": "string",
"enum": [
"week",
"month",
"last_month",
"year"
],
"required": false
},
"date_min": {
"description": "Palauttaa myynnit tietylle aloitus p\u00e4iv\u00e4lle, p\u00e4iv\u00e4yksen on oltava YYYY-MM-DD muodossa.",
"type": "string",
"format": "date",
"required": false
},
"date_max": {
"description": "Palauttaa myynnit tietylle lopetus p\u00e4iv\u00e4lle, p\u00e4iv\u00e4yksen on oltava YYYY-MM-DD muodossa.",
"type": "string",
"format": "date",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v1\/reports\/sales"
}
]
}
},
"\/wc\/v1\/reports\/top_sellers": {
"namespace": "wc\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
},
"period": {
"description": "Raportin ajanjakso.",
"type": "string",
"enum": [
"week",
"month",
"last_month",
"year"
],
"required": false
},
"date_min": {
"description": "Palauttaa myynnit tietylle aloitus p\u00e4iv\u00e4lle, p\u00e4iv\u00e4yksen on oltava YYYY-MM-DD muodossa.",
"type": "string",
"format": "date",
"required": false
},
"date_max": {
"description": "Palauttaa myynnit tietylle lopetus p\u00e4iv\u00e4lle, p\u00e4iv\u00e4yksen on oltava YYYY-MM-DD muodossa.",
"type": "string",
"format": "date",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v1\/reports\/top_sellers"
}
]
}
},
"\/wc\/v1\/reports": {
"namespace": "wc\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v1\/reports"
}
]
}
},
"\/wc\/v1\/taxes\/classes": {
"namespace": "wc\/v1",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"description": "Veroluokan nimi.",
"type": "string",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Resurssin muista poikkeava polkutunnus.",
"type": "string",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "On oltava tosi, koska resurssi ei tue roskakoria.",
"required": false
}
}
}
]
},
"\/wc\/v1\/taxes": {
"namespace": "wc\/v1",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"default": "asc",
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"enum": [
"asc",
"desc"
],
"type": "string",
"required": false
},
"orderby": {
"default": "order",
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"enum": [
"id",
"order",
"priority"
],
"type": "string",
"required": false
},
"class": {
"description": "J\u00e4rjest\u00e4 veroluokan mukaan.",
"enum": [
"standard",
"reduced-rate",
"zero-rate"
],
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"country": {
"description": "ISO 3166 -muotoinen maatunnus.",
"type": "string",
"required": false
},
"state": {
"description": "L\u00e4\u00e4nin\/maakunnan koodi.",
"type": "string",
"required": false
},
"postcode": {
"description": "Postinumero.",
"type": "string",
"required": false
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"required": false
},
"rate": {
"description": "Veroprosentti.",
"type": "string",
"required": false
},
"name": {
"description": "Veroprosentin nimi.",
"type": "string",
"required": false
},
"priority": {
"default": 1,
"description": "Veron j\u00e4rjestys\/sijoitus..",
"type": "integer",
"required": false
},
"compound": {
"default": false,
"description": "Onko t\u00e4m\u00e4 yhdistelm\u00e4veroprosentti.",
"type": "boolean",
"required": false
},
"shipping": {
"default": true,
"description": "K\u00e4ytet\u00e4\u00e4nk\u00f6 t\u00e4t\u00e4 veroprosenttia my\u00f6s toimitukseen.",
"type": "boolean",
"required": false
},
"order": {
"description": "Ilmaisee kutsuissa ilmenev\u00e4n j\u00e4rjestyksen.",
"type": "integer",
"required": false
},
"class": {
"default": "standard",
"description": "Veroluokka.",
"type": "string",
"enum": [
"standard",
"reduced-rate",
"zero-rate"
],
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"country": {
"description": "ISO 3166 -muotoinen maatunnus.",
"type": "string",
"required": false
},
"state": {
"description": "L\u00e4\u00e4nin\/maakunnan koodi.",
"type": "string",
"required": false
},
"postcode": {
"description": "Postinumero.",
"type": "string",
"required": false
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"required": false
},
"rate": {
"description": "Veroprosentti.",
"type": "string",
"required": false
},
"name": {
"description": "Veroprosentin nimi.",
"type": "string",
"required": false
},
"priority": {
"description": "Veron j\u00e4rjestys\/sijoitus..",
"type": "integer",
"required": false
},
"compound": {
"description": "Onko t\u00e4m\u00e4 yhdistelm\u00e4veroprosentti.",
"type": "boolean",
"required": false
},
"shipping": {
"description": "K\u00e4ytet\u00e4\u00e4nk\u00f6 t\u00e4t\u00e4 veroprosenttia my\u00f6s toimitukseen.",
"type": "boolean",
"required": false
},
"order": {
"description": "Ilmaisee kutsuissa ilmenev\u00e4n j\u00e4rjestyksen.",
"type": "integer",
"required": false
},
"class": {
"description": "Veroluokka.",
"type": "string",
"enum": [
"standard",
"reduced-rate",
"zero-rate"
],
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "On oltava tosi, koska resurssi ei tue roskakoria.",
"required": false
}
}
}
]
},
"\/wc\/v1\/taxes\/batch": {
"namespace": "wc\/v1",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"country": {
"description": "ISO 3166 -muotoinen maatunnus.",
"type": "string",
"required": false
},
"state": {
"description": "L\u00e4\u00e4nin\/maakunnan koodi.",
"type": "string",
"required": false
},
"postcode": {
"description": "Postinumero.",
"type": "string",
"required": false
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"required": false
},
"rate": {
"description": "Veroprosentti.",
"type": "string",
"required": false
},
"name": {
"description": "Veroprosentin nimi.",
"type": "string",
"required": false
},
"priority": {
"description": "Veron j\u00e4rjestys\/sijoitus..",
"type": "integer",
"required": false
},
"compound": {
"description": "Onko t\u00e4m\u00e4 yhdistelm\u00e4veroprosentti.",
"type": "boolean",
"required": false
},
"shipping": {
"description": "K\u00e4ytet\u00e4\u00e4nk\u00f6 t\u00e4t\u00e4 veroprosenttia my\u00f6s toimitukseen.",
"type": "boolean",
"required": false
},
"order": {
"description": "Ilmaisee kutsuissa ilmenev\u00e4n j\u00e4rjestyksen.",
"type": "integer",
"required": false
},
"class": {
"description": "Veroluokka.",
"type": "string",
"enum": [
"standard",
"reduced-rate",
"zero-rate"
],
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v1\/taxes\/batch"
}
]
}
},
"\/wc\/v1\/webhooks": {
"namespace": "wc\/v1",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajaa tulokset niihin, jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon. ",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"title"
],
"required": false
},
"status": {
"default": "all",
"description": "Rajoita tulosjoukko verkkotoimintokutsuihin joilla on tietty tila.",
"type": "string",
"enum": [
"all",
"active",
"paused",
"disabled"
],
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"description": "Helposti muistettava nimi verkkotoimintokutsulle.",
"type": "string",
"required": false
},
"status": {
"default": "active",
"description": "Verkkotoimintokutsun tila.",
"type": "string",
"enum": [
"active",
"paused",
"disabled"
],
"required": false
},
"topic": {
"type": "string",
"description": "Verkkotoimintokutsun aihe.",
"required": true
},
"secret": {
"description": "Salainen avain jota k\u00e4ytetty toimitetun verkkotoimintokutsun salausavaimen luomisessa ja joka on pyynn\u00f6n headereissa. Oletuksena on MD5-salausavain joka on tehty k\u00e4ytt\u00e4j\u00e4n tunnuksesta (ID) | k\u00e4ytt\u00e4j\u00e4tunnus jos muuten ei ole asetettu.",
"type": "string",
"required": false
},
"delivery_url": {
"type": "string",
"description": "Verkkotoimintokutsun toimitus verkko-osoite.",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"name": {
"description": "Helposti muistettava nimi verkkotoimintokutsulle.",
"type": "string",
"required": false
},
"status": {
"description": "Verkkotoimintokutsun tila.",
"type": "string",
"enum": [
"active",
"paused",
"disabled"
],
"required": false
},
"topic": {
"description": "Verkkotoimintokutsun aihe.",
"type": "string",
"required": false
},
"secret": {
"description": "Salainen avain jota k\u00e4ytetty toimitetun verkkotoimintokutsun salausavaimen luomisessa ja joka on pyynn\u00f6n headereissa. Oletuksena on MD5-salausavain joka on tehty k\u00e4ytt\u00e4j\u00e4n tunnuksesta (ID) | k\u00e4ytt\u00e4j\u00e4tunnus jos muuten ei ole asetettu.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "On oltava tosi, koska resurssi ei tue roskakoria.",
"required": false
}
}
}
]
},
"\/wc\/v1\/webhooks\/batch": {
"namespace": "wc\/v1",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Helposti muistettava nimi verkkotoimintokutsulle.",
"type": "string",
"required": false
},
"status": {
"description": "Verkkotoimintokutsun tila.",
"type": "string",
"enum": [
"active",
"paused",
"disabled"
],
"required": false
},
"topic": {
"description": "Verkkotoimintokutsun aihe.",
"type": "string",
"required": false
},
"secret": {
"description": "Salainen avain jota k\u00e4ytetty toimitetun verkkotoimintokutsun salausavaimen luomisessa ja joka on pyynn\u00f6n headereissa. Oletuksena on MD5-salausavain joka on tehty k\u00e4ytt\u00e4j\u00e4n tunnuksesta (ID) | k\u00e4ytt\u00e4j\u00e4tunnus jos muuten ei ole asetettu.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v1\/webhooks\/batch"
}
]
}
},
"\/wc\/v1\/webhooks\/(?P[\\d]+)\/deliveries": {
"namespace": "wc\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"webhook_id": {
"description": "Muista poikkeava verkkotoimintokutsun tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"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": "Muista poikkeava verkkotoimintokutsun tunniste.",
"type": "integer",
"required": false
},
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
}
]
},
"\/wc\/v2": {
"namespace": "wc\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"namespace": {
"default": "wc\/v2",
"required": false
},
"context": {
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v2"
}
]
}
},
"\/wc\/v2\/coupons": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajoita tulokset niihin jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon.",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Rajoita vastaus resursseihin, joita on muutettu tietyn ISO8601-yhteensopivuuden j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Rajoita vastaus resursseihin, joita on muokattu ennen tietty\u00e4 ISO8601-yhteensopivaa p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Otetaanko GMT-l\u00e4hetysp\u00e4iv\u00e4t huomioon, kun vastaus rajoitetaan julkaistuun tai muutettuun p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4n.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified"
],
"required": false
},
"code": {
"description": "Rajoita tulosjoukko resursseihin joilla on tietty koodi.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"code": {
"description": "Kupongin koodi.",
"type": "string",
"required": true
},
"amount": {
"description": "Alennuksen m\u00e4\u00e4r\u00e4. Pit\u00e4\u00e4 aina olla luku, my\u00f6s kun asetetaan prosentti.",
"type": "string",
"required": false
},
"status": {
"description": "Kupongin tila. Pit\u00e4isi aina olla luonnos, julkaistu tai odottaa tarkistusta",
"type": "string",
"required": false
},
"discount_type": {
"default": "fixed_cart",
"description": "M\u00e4\u00e4r\u00e4\u00e4 millaista alennusta k\u00e4ytet\u00e4\u00e4n.",
"type": "string",
"enum": [
"percent",
"fixed_cart",
"fixed_product"
],
"required": false
},
"description": {
"description": "Kupongin kuvaus.",
"type": "string",
"required": false
},
"date_expires": {
"description": "P\u00e4iv\u00e4ys jolloin kuponki umpeutuu, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_expires_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuponki umpeutuu, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"individual_use": {
"default": false,
"description": "Kun tosi, kuponkia voi k\u00e4ytt\u00e4\u00e4 vain yksin\u00e4\u00e4n. Muut k\u00e4ytetyt kupongit poistetaan ostoskorista.",
"type": "boolean",
"required": false
},
"product_ids": {
"description": "Lista tuotteiden tunnuksista\/ID joihin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_ids": {
"description": "Lista tuotteiden tunnuksista\/ID joihin kuponkia ei voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"usage_limit": {
"description": "Kuinka monta kertaa yhteens\u00e4 kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "integer",
"required": false
},
"usage_limit_per_user": {
"description": "Kuinka monta kertaa sama asiakas voi k\u00e4ytt\u00e4\u00e4 kuponkia.",
"type": "integer",
"required": false
},
"limit_usage_to_x_items": {
"description": "Ostoskorissa oleva suurin m\u00e4\u00e4r\u00e4 tuotteita joihin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "integer",
"required": false
},
"free_shipping": {
"default": false,
"description": "Kun tosi ja kun maksuton toimitustapa edellytt\u00e4\u00e4 kupongin, t\u00e4m\u00e4 kuponki mahdollistaa maksuttoman toimituksen.",
"type": "boolean",
"required": false
},
"product_categories": {
"description": "Lista osastojen tunnuksista\/ID joihin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_categories": {
"description": "Lista osastojen tunnuksista\/ID joihin kuponkia ei voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"exclude_sale_items": {
"default": false,
"description": "Kun tosi, t\u00e4t\u00e4 kuponkia ei k\u00e4ytet\u00e4 tuotteisiin joissa alennettu hinta.",
"type": "boolean",
"required": false
},
"minimum_amount": {
"description": "Ostoskorin pienin tilausm\u00e4\u00e4r\u00e4 jolloin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "string",
"required": false
},
"maximum_amount": {
"description": "Ostoskorin suurin tilausm\u00e4\u00e4r\u00e4 jolloin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "string",
"required": false
},
"email_restrictions": {
"description": "Lista s\u00e4hk\u00f6postiosoitteista jotka voivat k\u00e4ytt\u00e4\u00e4 t\u00e4t\u00e4 kuponkia.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"code": {
"description": "Kupongin koodi.",
"type": "string",
"required": false
},
"amount": {
"description": "Alennuksen m\u00e4\u00e4r\u00e4. Pit\u00e4\u00e4 aina olla luku, my\u00f6s kun asetetaan prosentti.",
"type": "string",
"required": false
},
"status": {
"description": "Kupongin tila. Pit\u00e4isi aina olla luonnos, julkaistu tai odottaa tarkistusta",
"type": "string",
"required": false
},
"discount_type": {
"description": "M\u00e4\u00e4r\u00e4\u00e4 millaista alennusta k\u00e4ytet\u00e4\u00e4n.",
"type": "string",
"enum": [
"percent",
"fixed_cart",
"fixed_product"
],
"required": false
},
"description": {
"description": "Kupongin kuvaus.",
"type": "string",
"required": false
},
"date_expires": {
"description": "P\u00e4iv\u00e4ys jolloin kuponki umpeutuu, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_expires_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuponki umpeutuu, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"individual_use": {
"description": "Kun tosi, kuponkia voi k\u00e4ytt\u00e4\u00e4 vain yksin\u00e4\u00e4n. Muut k\u00e4ytetyt kupongit poistetaan ostoskorista.",
"type": "boolean",
"required": false
},
"product_ids": {
"description": "Lista tuotteiden tunnuksista\/ID joihin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_ids": {
"description": "Lista tuotteiden tunnuksista\/ID joihin kuponkia ei voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"usage_limit": {
"description": "Kuinka monta kertaa yhteens\u00e4 kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "integer",
"required": false
},
"usage_limit_per_user": {
"description": "Kuinka monta kertaa sama asiakas voi k\u00e4ytt\u00e4\u00e4 kuponkia.",
"type": "integer",
"required": false
},
"limit_usage_to_x_items": {
"description": "Ostoskorissa oleva suurin m\u00e4\u00e4r\u00e4 tuotteita joihin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "integer",
"required": false
},
"free_shipping": {
"description": "Kun tosi ja kun maksuton toimitustapa edellytt\u00e4\u00e4 kupongin, t\u00e4m\u00e4 kuponki mahdollistaa maksuttoman toimituksen.",
"type": "boolean",
"required": false
},
"product_categories": {
"description": "Lista osastojen tunnuksista\/ID joihin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_categories": {
"description": "Lista osastojen tunnuksista\/ID joihin kuponkia ei voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"exclude_sale_items": {
"description": "Kun tosi, t\u00e4t\u00e4 kuponkia ei k\u00e4ytet\u00e4 tuotteisiin joissa alennettu hinta.",
"type": "boolean",
"required": false
},
"minimum_amount": {
"description": "Ostoskorin pienin tilausm\u00e4\u00e4r\u00e4 jolloin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "string",
"required": false
},
"maximum_amount": {
"description": "Ostoskorin suurin tilausm\u00e4\u00e4r\u00e4 jolloin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "string",
"required": false
},
"email_restrictions": {
"description": "Lista s\u00e4hk\u00f6postiosoitteista jotka voivat k\u00e4ytt\u00e4\u00e4 t\u00e4t\u00e4 kuponkia.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ohitetaanko roskakori ja pakotetaan poisto.",
"required": false
}
}
}
]
},
"\/wc\/v2\/coupons\/batch": {
"namespace": "wc\/v2",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"code": {
"description": "Kupongin koodi.",
"type": "string",
"required": false
},
"amount": {
"description": "Alennuksen m\u00e4\u00e4r\u00e4. Pit\u00e4\u00e4 aina olla luku, my\u00f6s kun asetetaan prosentti.",
"type": "string",
"required": false
},
"status": {
"description": "Kupongin tila. Pit\u00e4isi aina olla luonnos, julkaistu tai odottaa tarkistusta",
"type": "string",
"required": false
},
"discount_type": {
"description": "M\u00e4\u00e4r\u00e4\u00e4 millaista alennusta k\u00e4ytet\u00e4\u00e4n.",
"type": "string",
"enum": [
"percent",
"fixed_cart",
"fixed_product"
],
"required": false
},
"description": {
"description": "Kupongin kuvaus.",
"type": "string",
"required": false
},
"date_expires": {
"description": "P\u00e4iv\u00e4ys jolloin kuponki umpeutuu, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_expires_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuponki umpeutuu, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"individual_use": {
"description": "Kun tosi, kuponkia voi k\u00e4ytt\u00e4\u00e4 vain yksin\u00e4\u00e4n. Muut k\u00e4ytetyt kupongit poistetaan ostoskorista.",
"type": "boolean",
"required": false
},
"product_ids": {
"description": "Lista tuotteiden tunnuksista\/ID joihin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_ids": {
"description": "Lista tuotteiden tunnuksista\/ID joihin kuponkia ei voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"usage_limit": {
"description": "Kuinka monta kertaa yhteens\u00e4 kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "integer",
"required": false
},
"usage_limit_per_user": {
"description": "Kuinka monta kertaa sama asiakas voi k\u00e4ytt\u00e4\u00e4 kuponkia.",
"type": "integer",
"required": false
},
"limit_usage_to_x_items": {
"description": "Ostoskorissa oleva suurin m\u00e4\u00e4r\u00e4 tuotteita joihin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "integer",
"required": false
},
"free_shipping": {
"description": "Kun tosi ja kun maksuton toimitustapa edellytt\u00e4\u00e4 kupongin, t\u00e4m\u00e4 kuponki mahdollistaa maksuttoman toimituksen.",
"type": "boolean",
"required": false
},
"product_categories": {
"description": "Lista osastojen tunnuksista\/ID joihin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_categories": {
"description": "Lista osastojen tunnuksista\/ID joihin kuponkia ei voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"exclude_sale_items": {
"description": "Kun tosi, t\u00e4t\u00e4 kuponkia ei k\u00e4ytet\u00e4 tuotteisiin joissa alennettu hinta.",
"type": "boolean",
"required": false
},
"minimum_amount": {
"description": "Ostoskorin pienin tilausm\u00e4\u00e4r\u00e4 jolloin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "string",
"required": false
},
"maximum_amount": {
"description": "Ostoskorin suurin tilausm\u00e4\u00e4r\u00e4 jolloin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "string",
"required": false
},
"email_restrictions": {
"description": "Lista s\u00e4hk\u00f6postiosoitteista jotka voivat k\u00e4ytt\u00e4\u00e4 t\u00e4t\u00e4 kuponkia.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v2\/coupons\/batch"
}
]
}
},
"\/wc\/v2\/customers\/(?P[\\d]+)\/downloads": {
"namespace": "wc\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"customer_id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
}
}
}
]
},
"\/wc\/v2\/customers": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajaa tulokset niihin, jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon. ",
"type": "string",
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"default": "asc",
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"enum": [
"asc",
"desc"
],
"type": "string",
"required": false
},
"orderby": {
"default": "name",
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"enum": [
"id",
"include",
"name",
"registered_date"
],
"type": "string",
"required": false
},
"email": {
"description": "Rajoita tulosjoukko resursseihin joissa on tietty s\u00e4hk\u00f6postiosoite.",
"type": "string",
"format": "email",
"required": false
},
"role": {
"description": "Rajoita tulosjoukko resursseihin joilla on tietty rooli.",
"type": "string",
"default": "customer",
"enum": [
"all",
"administrator",
"editor",
"author",
"contributor",
"subscriber",
"customer",
"shop_manager"
],
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"email": {
"type": "string",
"description": "Uusi k\u00e4ytt\u00e4j\u00e4n s\u00e4hk\u00f6postiosoite.",
"required": true
},
"first_name": {
"description": "Asiakkaan etunimi.",
"type": "string",
"required": false
},
"last_name": {
"description": "Asiakkaan sukunimi.",
"type": "string",
"required": false
},
"username": {
"description": "Uusi k\u00e4ytt\u00e4j\u00e4nimi.",
"type": "string",
"required": false
},
"password": {
"description": "Uusi salasana.",
"type": "string",
"required": false
},
"billing": {
"description": "Laskutusosoitteen tietojen lista.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maan ISO-koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "S\u00e4hk\u00f6postiosoite.",
"type": "string",
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Puhelinnumero.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Toimitusosoitteen tietojen lista.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maan ISO-koodi.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"email": {
"description": "Asiakkaan s\u00e4hk\u00f6postiosoite.",
"type": "string",
"format": "email",
"required": false
},
"first_name": {
"description": "Asiakkaan etunimi.",
"type": "string",
"required": false
},
"last_name": {
"description": "Asiakkaan sukunimi.",
"type": "string",
"required": false
},
"username": {
"description": "Asiakkaan kirjautumistunnus.",
"type": "string",
"required": false
},
"password": {
"description": "Asiakkaan salasana.",
"type": "string",
"required": false
},
"billing": {
"description": "Laskutusosoitteen tietojen lista.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maan ISO-koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "S\u00e4hk\u00f6postiosoite.",
"type": "string",
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Puhelinnumero.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Toimitusosoitteen tietojen lista.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maan ISO-koodi.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "On oltava tosi, koska resurssi ei tue roskakoria.",
"required": false
},
"reassign": {
"default": 0,
"type": "integer",
"description": "Tunnus\/ID johon artikkeli kohdistetaan.",
"required": false
}
}
}
]
},
"\/wc\/v2\/customers\/batch": {
"namespace": "wc\/v2",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"email": {
"description": "Asiakkaan s\u00e4hk\u00f6postiosoite.",
"type": "string",
"format": "email",
"required": false
},
"first_name": {
"description": "Asiakkaan etunimi.",
"type": "string",
"required": false
},
"last_name": {
"description": "Asiakkaan sukunimi.",
"type": "string",
"required": false
},
"username": {
"description": "Asiakkaan kirjautumistunnus.",
"type": "string",
"required": false
},
"password": {
"description": "Asiakkaan salasana.",
"type": "string",
"required": false
},
"billing": {
"description": "Laskutusosoitteen tietojen lista.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maan ISO-koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "S\u00e4hk\u00f6postiosoite.",
"type": "string",
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Puhelinnumero.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Toimitusosoitteen tietojen lista.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maan ISO-koodi.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Tilauksen tunniste\/ID.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"type": {
"default": "any",
"description": "Rajoita tulokset asiakkaisiin tai sis\u00e4isiin muistiinpanoihin.",
"type": "string",
"enum": [
"any",
"customer",
"internal"
],
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"order_id": {
"description": "Tilauksen tunniste\/ID.",
"type": "integer",
"required": false
},
"note": {
"type": "string",
"description": "Tilauksen kommentin sis\u00e4lt\u00f6.",
"required": true
},
"customer_note": {
"default": false,
"description": "Kun tosi, kommentti n\u00e4ytet\u00e4\u00e4n asiakkaille ja heille ilmoitetaan. Jos ep\u00e4tosi, kommentti on vain hallinnon k\u00e4ytett\u00e4viss\u00e4.",
"type": "boolean",
"required": false
}
}
}
]
},
"\/wc\/v2\/orders\/(?P[\\d]+)\/notes\/(?P[\\d]+)": {
"namespace": "wc\/v2",
"methods": [
"GET",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"order_id": {
"description": "Tilauksen tunniste\/ID.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"order_id": {
"description": "Tilauksen tunniste\/ID.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "On oltava tosi, koska resurssi ei tue roskakoria.",
"required": false
}
}
}
]
},
"\/wc\/v2\/orders\/(?P[\\d]+)\/refunds": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"order_id": {
"description": "Tilauksen tunniste\/ID.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajoita tulokset niihin jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon.",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Rajoita vastaus resursseihin, joita on muutettu tietyn ISO8601-yhteensopivuuden j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Rajoita vastaus resursseihin, joita on muokattu ennen tietty\u00e4 ISO8601-yhteensopivaa p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Otetaanko GMT-l\u00e4hetysp\u00e4iv\u00e4t huomioon, kun vastaus rajoitetaan julkaistuun tai muutettuun p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4n.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified"
],
"required": false
},
"parent": {
"description": "Rajoita tulosjoukko niihin joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Rajoita tulosjoukko kaikkiin tuotteisiin poislukien ne joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"dp": {
"default": 2,
"description": "Desimaalien m\u00e4\u00e4r\u00e4 jota k\u00e4ytet\u00e4\u00e4n resursseissa.",
"type": "integer",
"required": false
},
"order_item_display_meta": {
"default": false,
"description": "N\u00e4yt\u00e4 vain meta, joka on tarkoitettu n\u00e4ytett\u00e4v\u00e4ksi tilaukselle.",
"type": "boolean",
"required": false
},
"include_meta": {
"default": [],
"description": "Rajoita meta_data tiettyihin avaimiin.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Varmista, ett\u00e4 meta_data ei sis\u00e4ll\u00e4 tietyt avaimet.",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"order_id": {
"description": "Tilauksen tunniste\/ID.",
"type": "integer",
"required": false
},
"amount": {
"description": "Hyvityksen m\u00e4\u00e4r\u00e4.",
"type": "string",
"required": false
},
"reason": {
"description": "Hyvityksen syy.",
"type": "string",
"required": false
},
"refunded_by": {
"description": "Hyvityksen luoneen k\u00e4ytt\u00e4j\u00e4n tunnus\/ID.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"shipping_lines": {
"description": "Toimitusrivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"method_title": {
"description": "Toimitustavan nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"method_id": {
"description": "Toimitustavan tunnus\/ID.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"instance_id": {
"description": "Toimitustapahtuman tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"fee_lines": {
"description": "Maksurivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Maksun nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Maksun veroluokka.",
"type": "string",
"context": [
"view",
"edit"
]
},
"tax_status": {
"description": "Maksun veron tila.",
"type": "string",
"context": [
"view",
"edit"
],
"enum": [
"taxable",
"none"
]
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"subtotal": {
"description": "Verojen v\u00e4lisumma.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"api_refund": {
"default": true,
"description": "Kun tosi, maksuk\u00e4yt\u00e4v\u00e4n rajapintaa\/API k\u00e4ytet\u00e4\u00e4n hyvityksen tekemisess\u00e4.",
"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": "Tilauksen tunniste\/ID.",
"type": "integer",
"required": false
},
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"order_id": {
"description": "Tilauksen tunniste\/ID.",
"type": "integer",
"required": false
},
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": true,
"type": "boolean",
"description": "On oltava tosi, koska resurssi ei tue roskakoria.",
"required": false
}
}
}
]
},
"\/wc\/v2\/orders": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajoita tulokset niihin jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon.",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Rajoita vastaus resursseihin, joita on muutettu tietyn ISO8601-yhteensopivuuden j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Rajoita vastaus resursseihin, joita on muokattu ennen tietty\u00e4 ISO8601-yhteensopivaa p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Otetaanko GMT-l\u00e4hetysp\u00e4iv\u00e4t huomioon, kun vastaus rajoitetaan julkaistuun tai muutettuun p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4n.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified"
],
"required": false
},
"parent": {
"description": "Rajoita tulosjoukko niihin joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Rajoita tulosjoukko kaikkiin tuotteisiin poislukien ne joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"status": {
"default": "any",
"description": "Rajoita tulosjoukko tilauksiin joilla on tietty tila.",
"type": "string",
"enum": [
"any",
"trash",
"auto-draft",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"required": false
},
"customer": {
"description": "Rajoita tulosjoukko tilauksiin joissa on tietty asiakas.",
"type": "integer",
"required": false
},
"product": {
"description": "Rajoita tulosjoukko tilauksiin joissa on tietty tuote.",
"type": "integer",
"required": false
},
"dp": {
"default": 2,
"description": "Desimaalien m\u00e4\u00e4r\u00e4 jota k\u00e4ytet\u00e4\u00e4n resursseissa.",
"type": "integer",
"required": false
},
"order_item_display_meta": {
"default": false,
"description": "N\u00e4yt\u00e4 vain meta, joka on tarkoitettu n\u00e4ytett\u00e4v\u00e4ksi tilaukselle.",
"type": "boolean",
"required": false
},
"include_meta": {
"default": [],
"description": "Rajoita meta_data tiettyihin avaimiin.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Varmista, ett\u00e4 meta_data ei sis\u00e4ll\u00e4 tietyt avaimet.",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"parent_id": {
"description": "Ylemm\u00e4n tason tilauksen numero.",
"type": "integer",
"required": false
},
"status": {
"default": "pending",
"description": "Tilauksen tila.",
"type": "string",
"enum": [
"auto-draft",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"required": false
},
"currency": {
"default": "USD",
"description": "ISO muodossa valuutta jolla tilaus on tehty.",
"type": "string",
"enum": [
"AED",
"AFN",
"ALL",
"AMD",
"ANG",
"AOA",
"ARS",
"AUD",
"AWG",
"AZN",
"BAM",
"BBD",
"BDT",
"BGN",
"BHD",
"BIF",
"BMD",
"BND",
"BOB",
"BRL",
"BSD",
"BTC",
"BTN",
"BWP",
"BYR",
"BYN",
"BZD",
"CAD",
"CDF",
"CHF",
"CLP",
"CNY",
"COP",
"CRC",
"CUC",
"CUP",
"CVE",
"CZK",
"DJF",
"DKK",
"DOP",
"DZD",
"EGP",
"ERN",
"ETB",
"EUR",
"FJD",
"FKP",
"GBP",
"GEL",
"GGP",
"GHS",
"GIP",
"GMD",
"GNF",
"GTQ",
"GYD",
"HKD",
"HNL",
"HRK",
"HTG",
"HUF",
"IDR",
"ILS",
"IMP",
"INR",
"IQD",
"IRR",
"IRT",
"ISK",
"JEP",
"JMD",
"JOD",
"JPY",
"KES",
"KGS",
"KHR",
"KMF",
"KPW",
"KRW",
"KWD",
"KYD",
"KZT",
"LAK",
"LBP",
"LKR",
"LRD",
"LSL",
"LYD",
"MAD",
"MDL",
"MGA",
"MKD",
"MMK",
"MNT",
"MOP",
"MRU",
"MUR",
"MVR",
"MWK",
"MXN",
"MYR",
"MZN",
"NAD",
"NGN",
"NIO",
"NOK",
"NPR",
"NZD",
"OMR",
"PAB",
"PEN",
"PGK",
"PHP",
"PKR",
"PLN",
"PRB",
"PYG",
"QAR",
"RON",
"RSD",
"RUB",
"RWF",
"SAR",
"SBD",
"SCR",
"SDG",
"SEK",
"SGD",
"SHP",
"SLL",
"SOS",
"SRD",
"SSP",
"STN",
"SYP",
"SZL",
"THB",
"TJS",
"TMT",
"TND",
"TOP",
"TRY",
"TTD",
"TWD",
"TZS",
"UAH",
"UGX",
"USD",
"UYU",
"UZS",
"VEF",
"VES",
"VND",
"VUV",
"WST",
"XAF",
"XCD",
"XOF",
"XPF",
"YER",
"ZAR",
"ZMW"
],
"required": false
},
"customer_id": {
"default": 0,
"description": "Tilauksen omistajan tunnus\/ID. Vierailijoille 0.",
"type": "integer",
"required": false
},
"customer_note": {
"description": "Asiakkaan kassalla j\u00e4tt\u00e4m\u00e4 kommentti.",
"type": "string",
"required": false
},
"billing": {
"description": "Laskutusosoite.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maakoodi ISO 3166-1 alpha-2 -muodossa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "S\u00e4hk\u00f6postiosoite.",
"type": [
"string",
"null"
],
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Puhelinnumero.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Toimitusosoite.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maakoodi ISO 3166-1 alpha-2 -muodossa.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"payment_method": {
"description": "Maksutavan tunnus\/ID",
"type": "string",
"required": false
},
"payment_method_title": {
"description": "Maksutavan otsikko.",
"type": "string",
"required": false
},
"transaction_id": {
"description": "Muista poikkeava tapahtuman tunnus\/ID.",
"type": "string",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"line_items": {
"description": "Tuoterivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Tuotteen nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"parent_name": {
"description": "P\u00e4\u00e4tuotteen nimi, jos tuote on muunnelma.",
"type": "string",
"context": [
"view",
"edit"
]
},
"product_id": {
"description": "Tuotteen ID.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"variation_id": {
"description": "Muunnelman tunnus\/ID, jos tarvitaan.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"quantity": {
"description": "Tilattu m\u00e4\u00e4r\u00e4.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Tuotteen veroluokka.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Rivien v\u00e4lisumma (ennen alennuksia).",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal_tax": {
"description": "Rivien verojen v\u00e4lisumma (ennen alennuksia).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Verojen v\u00e4lisumma.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"display_key": {
"description": "Meta-avain k\u00e4ytt\u00f6liittym\u00e4n n\u00e4yt\u00f6lle.",
"type": "string",
"context": [
"view",
"edit"
]
},
"display_value": {
"description": "K\u00e4ytt\u00f6liittym\u00e4n n\u00e4yt\u00f6n meta-arvo.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"sku": {
"description": "Tuotetunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"price": {
"description": "Tuotteen hinta.",
"type": "number",
"context": [
"view",
"edit"
],
"readonly": true
},
"image": {
"description": "P\u00e4\u00e4tuotekuvan ominaisuudet.",
"type": "object",
"context": [
"view",
"edit"
],
"readonly": true,
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
}
}
}
}
},
"required": false
},
"shipping_lines": {
"description": "Toimitusrivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"method_title": {
"description": "Toimitustavan nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"method_id": {
"description": "Toimitustavan tunnus\/ID.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"instance_id": {
"description": "Toimitustapahtuman tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"fee_lines": {
"description": "Maksurivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Maksun nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Maksun veroluokka.",
"type": "string",
"context": [
"view",
"edit"
]
},
"tax_status": {
"description": "Maksun veron tila.",
"type": "string",
"context": [
"view",
"edit"
],
"enum": [
"taxable",
"none"
]
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"subtotal": {
"description": "Verojen v\u00e4lisumma.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"coupon_lines": {
"description": "Kuponkirivin tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"code": {
"description": "Kupongin koodi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"discount": {
"description": "Alennukset yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
]
},
"discount_tax": {
"description": "Alennuksen vero yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"discount_type": {
"description": "Alennustyyppi.",
"type": "string",
"context": [
"view"
],
"readonly": true
},
"nominal_amount": {
"description": "Discount amount as defined in the coupon (absolute value or a percent, depending on the discount type).",
"type": "number",
"context": [
"view"
],
"readonly": true
},
"free_shipping": {
"description": "Whether the coupon grants free shipping or not.",
"type": "boolean",
"context": [
"view"
],
"readonly": true
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"set_paid": {
"default": false,
"description": "M\u00e4\u00e4rit\u00e4 onko tilaus maksettu. Kun se tehd\u00e4\u00e4n, tila asetetaan K\u00e4sittelyss\u00e4 tilaksi ja varaston m\u00e4\u00e4r\u00e4\u00e4 pienennet\u00e4\u00e4n.",
"type": "boolean",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"parent_id": {
"description": "Ylemm\u00e4n tason tilauksen numero.",
"type": "integer",
"required": false
},
"status": {
"description": "Tilauksen tila.",
"type": "string",
"enum": [
"auto-draft",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"required": false
},
"currency": {
"description": "ISO muodossa valuutta jolla tilaus on tehty.",
"type": "string",
"enum": [
"AED",
"AFN",
"ALL",
"AMD",
"ANG",
"AOA",
"ARS",
"AUD",
"AWG",
"AZN",
"BAM",
"BBD",
"BDT",
"BGN",
"BHD",
"BIF",
"BMD",
"BND",
"BOB",
"BRL",
"BSD",
"BTC",
"BTN",
"BWP",
"BYR",
"BYN",
"BZD",
"CAD",
"CDF",
"CHF",
"CLP",
"CNY",
"COP",
"CRC",
"CUC",
"CUP",
"CVE",
"CZK",
"DJF",
"DKK",
"DOP",
"DZD",
"EGP",
"ERN",
"ETB",
"EUR",
"FJD",
"FKP",
"GBP",
"GEL",
"GGP",
"GHS",
"GIP",
"GMD",
"GNF",
"GTQ",
"GYD",
"HKD",
"HNL",
"HRK",
"HTG",
"HUF",
"IDR",
"ILS",
"IMP",
"INR",
"IQD",
"IRR",
"IRT",
"ISK",
"JEP",
"JMD",
"JOD",
"JPY",
"KES",
"KGS",
"KHR",
"KMF",
"KPW",
"KRW",
"KWD",
"KYD",
"KZT",
"LAK",
"LBP",
"LKR",
"LRD",
"LSL",
"LYD",
"MAD",
"MDL",
"MGA",
"MKD",
"MMK",
"MNT",
"MOP",
"MRU",
"MUR",
"MVR",
"MWK",
"MXN",
"MYR",
"MZN",
"NAD",
"NGN",
"NIO",
"NOK",
"NPR",
"NZD",
"OMR",
"PAB",
"PEN",
"PGK",
"PHP",
"PKR",
"PLN",
"PRB",
"PYG",
"QAR",
"RON",
"RSD",
"RUB",
"RWF",
"SAR",
"SBD",
"SCR",
"SDG",
"SEK",
"SGD",
"SHP",
"SLL",
"SOS",
"SRD",
"SSP",
"STN",
"SYP",
"SZL",
"THB",
"TJS",
"TMT",
"TND",
"TOP",
"TRY",
"TTD",
"TWD",
"TZS",
"UAH",
"UGX",
"USD",
"UYU",
"UZS",
"VEF",
"VES",
"VND",
"VUV",
"WST",
"XAF",
"XCD",
"XOF",
"XPF",
"YER",
"ZAR",
"ZMW"
],
"required": false
},
"customer_id": {
"description": "Tilauksen omistajan tunnus\/ID. Vierailijoille 0.",
"type": "integer",
"required": false
},
"customer_note": {
"description": "Asiakkaan kassalla j\u00e4tt\u00e4m\u00e4 kommentti.",
"type": "string",
"required": false
},
"billing": {
"description": "Laskutusosoite.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maakoodi ISO 3166-1 alpha-2 -muodossa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "S\u00e4hk\u00f6postiosoite.",
"type": [
"string",
"null"
],
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Puhelinnumero.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Toimitusosoite.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maakoodi ISO 3166-1 alpha-2 -muodossa.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"payment_method": {
"description": "Maksutavan tunnus\/ID",
"type": "string",
"required": false
},
"payment_method_title": {
"description": "Maksutavan otsikko.",
"type": "string",
"required": false
},
"transaction_id": {
"description": "Muista poikkeava tapahtuman tunnus\/ID.",
"type": "string",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"line_items": {
"description": "Tuoterivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Tuotteen nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"parent_name": {
"description": "P\u00e4\u00e4tuotteen nimi, jos tuote on muunnelma.",
"type": "string",
"context": [
"view",
"edit"
]
},
"product_id": {
"description": "Tuotteen ID.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"variation_id": {
"description": "Muunnelman tunnus\/ID, jos tarvitaan.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"quantity": {
"description": "Tilattu m\u00e4\u00e4r\u00e4.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Tuotteen veroluokka.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Rivien v\u00e4lisumma (ennen alennuksia).",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal_tax": {
"description": "Rivien verojen v\u00e4lisumma (ennen alennuksia).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Verojen v\u00e4lisumma.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"display_key": {
"description": "Meta-avain k\u00e4ytt\u00f6liittym\u00e4n n\u00e4yt\u00f6lle.",
"type": "string",
"context": [
"view",
"edit"
]
},
"display_value": {
"description": "K\u00e4ytt\u00f6liittym\u00e4n n\u00e4yt\u00f6n meta-arvo.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"sku": {
"description": "Tuotetunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"price": {
"description": "Tuotteen hinta.",
"type": "number",
"context": [
"view",
"edit"
],
"readonly": true
},
"image": {
"description": "P\u00e4\u00e4tuotekuvan ominaisuudet.",
"type": "object",
"context": [
"view",
"edit"
],
"readonly": true,
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
}
}
}
}
},
"required": false
},
"shipping_lines": {
"description": "Toimitusrivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"method_title": {
"description": "Toimitustavan nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"method_id": {
"description": "Toimitustavan tunnus\/ID.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"instance_id": {
"description": "Toimitustapahtuman tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"fee_lines": {
"description": "Maksurivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Maksun nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Maksun veroluokka.",
"type": "string",
"context": [
"view",
"edit"
]
},
"tax_status": {
"description": "Maksun veron tila.",
"type": "string",
"context": [
"view",
"edit"
],
"enum": [
"taxable",
"none"
]
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"subtotal": {
"description": "Verojen v\u00e4lisumma.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"coupon_lines": {
"description": "Kuponkirivin tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"code": {
"description": "Kupongin koodi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"discount": {
"description": "Alennukset yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
]
},
"discount_tax": {
"description": "Alennuksen vero yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"discount_type": {
"description": "Alennustyyppi.",
"type": "string",
"context": [
"view"
],
"readonly": true
},
"nominal_amount": {
"description": "Discount amount as defined in the coupon (absolute value or a percent, depending on the discount type).",
"type": "number",
"context": [
"view"
],
"readonly": true
},
"free_shipping": {
"description": "Whether the coupon grants free shipping or not.",
"type": "boolean",
"context": [
"view"
],
"readonly": true
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"set_paid": {
"description": "M\u00e4\u00e4rit\u00e4 onko tilaus maksettu. Kun se tehd\u00e4\u00e4n, tila asetetaan K\u00e4sittelyss\u00e4 tilaksi ja varaston m\u00e4\u00e4r\u00e4\u00e4 pienennet\u00e4\u00e4n.",
"type": "boolean",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ohitetaanko roskakori ja pakotetaan poisto.",
"required": false
}
}
}
]
},
"\/wc\/v2\/orders\/batch": {
"namespace": "wc\/v2",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"parent_id": {
"description": "Ylemm\u00e4n tason tilauksen numero.",
"type": "integer",
"required": false
},
"status": {
"description": "Tilauksen tila.",
"type": "string",
"enum": [
"auto-draft",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"required": false
},
"currency": {
"description": "ISO muodossa valuutta jolla tilaus on tehty.",
"type": "string",
"enum": [
"AED",
"AFN",
"ALL",
"AMD",
"ANG",
"AOA",
"ARS",
"AUD",
"AWG",
"AZN",
"BAM",
"BBD",
"BDT",
"BGN",
"BHD",
"BIF",
"BMD",
"BND",
"BOB",
"BRL",
"BSD",
"BTC",
"BTN",
"BWP",
"BYR",
"BYN",
"BZD",
"CAD",
"CDF",
"CHF",
"CLP",
"CNY",
"COP",
"CRC",
"CUC",
"CUP",
"CVE",
"CZK",
"DJF",
"DKK",
"DOP",
"DZD",
"EGP",
"ERN",
"ETB",
"EUR",
"FJD",
"FKP",
"GBP",
"GEL",
"GGP",
"GHS",
"GIP",
"GMD",
"GNF",
"GTQ",
"GYD",
"HKD",
"HNL",
"HRK",
"HTG",
"HUF",
"IDR",
"ILS",
"IMP",
"INR",
"IQD",
"IRR",
"IRT",
"ISK",
"JEP",
"JMD",
"JOD",
"JPY",
"KES",
"KGS",
"KHR",
"KMF",
"KPW",
"KRW",
"KWD",
"KYD",
"KZT",
"LAK",
"LBP",
"LKR",
"LRD",
"LSL",
"LYD",
"MAD",
"MDL",
"MGA",
"MKD",
"MMK",
"MNT",
"MOP",
"MRU",
"MUR",
"MVR",
"MWK",
"MXN",
"MYR",
"MZN",
"NAD",
"NGN",
"NIO",
"NOK",
"NPR",
"NZD",
"OMR",
"PAB",
"PEN",
"PGK",
"PHP",
"PKR",
"PLN",
"PRB",
"PYG",
"QAR",
"RON",
"RSD",
"RUB",
"RWF",
"SAR",
"SBD",
"SCR",
"SDG",
"SEK",
"SGD",
"SHP",
"SLL",
"SOS",
"SRD",
"SSP",
"STN",
"SYP",
"SZL",
"THB",
"TJS",
"TMT",
"TND",
"TOP",
"TRY",
"TTD",
"TWD",
"TZS",
"UAH",
"UGX",
"USD",
"UYU",
"UZS",
"VEF",
"VES",
"VND",
"VUV",
"WST",
"XAF",
"XCD",
"XOF",
"XPF",
"YER",
"ZAR",
"ZMW"
],
"required": false
},
"customer_id": {
"description": "Tilauksen omistajan tunnus\/ID. Vierailijoille 0.",
"type": "integer",
"required": false
},
"customer_note": {
"description": "Asiakkaan kassalla j\u00e4tt\u00e4m\u00e4 kommentti.",
"type": "string",
"required": false
},
"billing": {
"description": "Laskutusosoite.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maakoodi ISO 3166-1 alpha-2 -muodossa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "S\u00e4hk\u00f6postiosoite.",
"type": [
"string",
"null"
],
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Puhelinnumero.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Toimitusosoite.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maakoodi ISO 3166-1 alpha-2 -muodossa.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"payment_method": {
"description": "Maksutavan tunnus\/ID",
"type": "string",
"required": false
},
"payment_method_title": {
"description": "Maksutavan otsikko.",
"type": "string",
"required": false
},
"transaction_id": {
"description": "Muista poikkeava tapahtuman tunnus\/ID.",
"type": "string",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"line_items": {
"description": "Tuoterivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Tuotteen nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"parent_name": {
"description": "P\u00e4\u00e4tuotteen nimi, jos tuote on muunnelma.",
"type": "string",
"context": [
"view",
"edit"
]
},
"product_id": {
"description": "Tuotteen ID.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"variation_id": {
"description": "Muunnelman tunnus\/ID, jos tarvitaan.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"quantity": {
"description": "Tilattu m\u00e4\u00e4r\u00e4.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Tuotteen veroluokka.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Rivien v\u00e4lisumma (ennen alennuksia).",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal_tax": {
"description": "Rivien verojen v\u00e4lisumma (ennen alennuksia).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Verojen v\u00e4lisumma.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"display_key": {
"description": "Meta-avain k\u00e4ytt\u00f6liittym\u00e4n n\u00e4yt\u00f6lle.",
"type": "string",
"context": [
"view",
"edit"
]
},
"display_value": {
"description": "K\u00e4ytt\u00f6liittym\u00e4n n\u00e4yt\u00f6n meta-arvo.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"sku": {
"description": "Tuotetunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"price": {
"description": "Tuotteen hinta.",
"type": "number",
"context": [
"view",
"edit"
],
"readonly": true
},
"image": {
"description": "P\u00e4\u00e4tuotekuvan ominaisuudet.",
"type": "object",
"context": [
"view",
"edit"
],
"readonly": true,
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
}
}
}
}
},
"required": false
},
"shipping_lines": {
"description": "Toimitusrivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"method_title": {
"description": "Toimitustavan nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"method_id": {
"description": "Toimitustavan tunnus\/ID.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"instance_id": {
"description": "Toimitustapahtuman tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"fee_lines": {
"description": "Maksurivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Maksun nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Maksun veroluokka.",
"type": "string",
"context": [
"view",
"edit"
]
},
"tax_status": {
"description": "Maksun veron tila.",
"type": "string",
"context": [
"view",
"edit"
],
"enum": [
"taxable",
"none"
]
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"subtotal": {
"description": "Verojen v\u00e4lisumma.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"coupon_lines": {
"description": "Kuponkirivin tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"code": {
"description": "Kupongin koodi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"discount": {
"description": "Alennukset yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
]
},
"discount_tax": {
"description": "Alennuksen vero yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"discount_type": {
"description": "Alennustyyppi.",
"type": "string",
"context": [
"view"
],
"readonly": true
},
"nominal_amount": {
"description": "Discount amount as defined in the coupon (absolute value or a percent, depending on the discount type).",
"type": "number",
"context": [
"view"
],
"readonly": true
},
"free_shipping": {
"description": "Whether the coupon grants free shipping or not.",
"type": "boolean",
"context": [
"view"
],
"readonly": true
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"set_paid": {
"description": "M\u00e4\u00e4rit\u00e4 onko tilaus maksettu. Kun se tehd\u00e4\u00e4n, tila asetetaan K\u00e4sittelyss\u00e4 tilaksi ja varaston m\u00e4\u00e4r\u00e4\u00e4 pienennet\u00e4\u00e4n.",
"type": "boolean",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Muista poikkeava tunnus termien ominaisuudelle.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajaa tulokset niihin, jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon. ",
"type": "string",
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Korvaa asetettu tulos tietyll\u00e4 m\u00e4\u00e4r\u00e4ll\u00e4 kohteita. Koskee vain hierarkkisia taksonomioita.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma resurssin ominaisuuden perusteella.",
"type": "string",
"default": "name",
"enum": [
"id",
"include",
"name",
"slug",
"term_group",
"description",
"count"
],
"required": false
},
"hide_empty": {
"description": "Piilotetaanko resurssit joita ei ole liitetty mihink\u00e4\u00e4n tuotteeseen.",
"type": "boolean",
"default": false,
"required": false
},
"parent": {
"description": "Rajoita tulosjoukko tietylle vanhemmalle m\u00e4\u00e4ritettyihin resursseihin. Koskee vain hierarkkisia taksonomioita.",
"type": "integer",
"required": false
},
"product": {
"description": "Rajoita tulosjoukko niihin resursseihin jotka on liitetty tiettyyn tuotteeseen.",
"type": "integer",
"default": null,
"required": false
},
"slug": {
"description": "Rajoita tulosjoukko niihin resursseihin joilla on tietty polkutunnus.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"attribute_id": {
"description": "Muista poikkeava tunnus termien ominaisuudelle.",
"type": "integer",
"required": false
},
"name": {
"type": "string",
"description": "Resurssin nimi.",
"required": true
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys jota k\u00e4ytet\u00e4\u00e4n mukautetussa resurssien j\u00e4rjest\u00e4misess\u00e4.",
"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": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"attribute_id": {
"description": "Muista poikkeava tunnus termien ominaisuudelle.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"attribute_id": {
"description": "Muista poikkeava tunnus termien ominaisuudelle.",
"type": "integer",
"required": false
},
"name": {
"description": "Termin nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys jota k\u00e4ytet\u00e4\u00e4n mukautetussa resurssien j\u00e4rjest\u00e4misess\u00e4.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"attribute_id": {
"description": "Muista poikkeava tunnus termien ominaisuudelle.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "On oltava tosi, koska resurssi ei tue roskakoria.",
"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": "Muista poikkeava tunnus termien ominaisuudelle.",
"type": "integer",
"required": false
},
"name": {
"description": "Termin nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys jota k\u00e4ytet\u00e4\u00e4n mukautetussa resurssien j\u00e4rjest\u00e4misess\u00e4.",
"type": "integer",
"required": false
}
}
}
]
},
"\/wc\/v2\/products\/attributes": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"description": "Resurssin nimi.",
"type": "string",
"required": true
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"type": {
"default": "select",
"description": "Ominaisuuden laji.",
"type": "string",
"enum": [
"button",
"color",
"image",
"variation_img",
"radio",
"viwpvs_default",
"select"
],
"required": false
},
"order_by": {
"default": "menu_order",
"description": "Oletuksena k\u00e4ytett\u00e4v\u00e4 lajittelutapa.",
"type": "string",
"enum": [
"menu_order",
"name",
"name_num",
"id"
],
"required": false
},
"has_archives": {
"default": false,
"description": "Ota k\u00e4ytt\u00f6\u00f6n\/poista k\u00e4yt\u00f6st\u00e4 ominaisuuksien arkisto.",
"type": "boolean",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"type": {
"description": "Ominaisuuden laji.",
"type": "string",
"enum": [
"button",
"color",
"image",
"variation_img",
"radio",
"viwpvs_default",
"select"
],
"required": false
},
"order_by": {
"description": "Oletuksena k\u00e4ytett\u00e4v\u00e4 lajittelutapa.",
"type": "string",
"enum": [
"menu_order",
"name",
"name_num",
"id"
],
"required": false
},
"has_archives": {
"description": "Ota k\u00e4ytt\u00f6\u00f6n\/poista k\u00e4yt\u00f6st\u00e4 ominaisuuksien arkisto.",
"type": "boolean",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": true,
"type": "boolean",
"description": "On oltava tosi, koska resurssi ei tue roskakoria.",
"required": false
}
}
}
]
},
"\/wc\/v2\/products\/attributes\/batch": {
"namespace": "wc\/v2",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"type": {
"description": "Ominaisuuden laji.",
"type": "string",
"enum": [
"button",
"color",
"image",
"variation_img",
"radio",
"viwpvs_default",
"select"
],
"required": false
},
"order_by": {
"description": "Oletuksena k\u00e4ytett\u00e4v\u00e4 lajittelutapa.",
"type": "string",
"enum": [
"menu_order",
"name",
"name_num",
"id"
],
"required": false
},
"has_archives": {
"description": "Ota k\u00e4ytt\u00f6\u00f6n\/poista k\u00e4yt\u00f6st\u00e4 ominaisuuksien arkisto.",
"type": "boolean",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v2\/products\/attributes\/batch"
}
]
}
},
"\/wc\/v2\/products\/categories": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajaa tulokset niihin, jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon. ",
"type": "string",
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Korvaa asetettu tulos tietyll\u00e4 m\u00e4\u00e4r\u00e4ll\u00e4 kohteita. Koskee vain hierarkkisia taksonomioita.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma resurssin ominaisuuden perusteella.",
"type": "string",
"default": "name",
"enum": [
"id",
"include",
"name",
"slug",
"term_group",
"description",
"count"
],
"required": false
},
"hide_empty": {
"description": "Piilotetaanko resurssit joita ei ole liitetty mihink\u00e4\u00e4n tuotteeseen.",
"type": "boolean",
"default": false,
"required": false
},
"parent": {
"description": "Rajoita tulosjoukko tietylle vanhemmalle m\u00e4\u00e4ritettyihin resursseihin. Koskee vain hierarkkisia taksonomioita.",
"type": "integer",
"required": false
},
"product": {
"description": "Rajoita tulosjoukko niihin resursseihin jotka on liitetty tiettyyn tuotteeseen.",
"type": "integer",
"default": null,
"required": false
},
"slug": {
"description": "Rajoita tulosjoukko niihin resursseihin joilla on tietty polkutunnus.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"type": "string",
"description": "Resurssin nimi.",
"required": true
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"parent": {
"description": "Ylemm\u00e4n tason resurssin tunnus\/ID.",
"type": "integer",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
},
"display": {
"default": "default",
"description": "Osastojen arkisto, n\u00e4ytt\u00e4misen laji.",
"type": "string",
"enum": [
"default",
"products",
"subcategories",
"both"
],
"required": false
},
"image": {
"description": "Kuvan tiedot.",
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"title": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys jota k\u00e4ytet\u00e4\u00e4n mukautetussa resurssien j\u00e4rjest\u00e4misess\u00e4.",
"type": "integer",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"name": {
"description": "Osaston nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"parent": {
"description": "Ylemm\u00e4n tason resurssin tunnus\/ID.",
"type": "integer",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
},
"display": {
"description": "Osastojen arkisto, n\u00e4ytt\u00e4misen laji.",
"type": "string",
"enum": [
"default",
"products",
"subcategories",
"both"
],
"required": false
},
"image": {
"description": "Kuvan tiedot.",
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"title": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys jota k\u00e4ytet\u00e4\u00e4n mukautetussa resurssien j\u00e4rjest\u00e4misess\u00e4.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "On oltava tosi, koska resurssi ei tue roskakoria.",
"required": false
}
}
}
]
},
"\/wc\/v2\/products\/categories\/batch": {
"namespace": "wc\/v2",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Osaston nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"parent": {
"description": "Ylemm\u00e4n tason resurssin tunnus\/ID.",
"type": "integer",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
},
"display": {
"description": "Osastojen arkisto, n\u00e4ytt\u00e4misen laji.",
"type": "string",
"enum": [
"default",
"products",
"subcategories",
"both"
],
"required": false
},
"image": {
"description": "Kuvan tiedot.",
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"title": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys jota k\u00e4ytet\u00e4\u00e4n mukautetussa resurssien j\u00e4rjest\u00e4misess\u00e4.",
"type": "integer",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"id": {
"description": "Muista poikkeava tunniste muunnelmalle.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"id": {
"description": "Muista poikkeava tunniste muunnelmalle.",
"type": "integer",
"required": false
},
"review": {
"type": "string",
"description": "Arvion sis\u00e4lt\u00f6.",
"required": true
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin tuotearvio luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin arviointi luotiin, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"rating": {
"description": "Arvostelu tuotearviosta (0 - 5).",
"type": "integer",
"required": false
},
"name": {
"type": "string",
"description": "Arvioijan nimi.",
"required": true
},
"email": {
"type": "string",
"description": "Arvioijan s\u00e4hk\u00f6postiosoite.",
"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": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"review": {
"description": "Arvion sis\u00e4lt\u00f6.",
"type": "string",
"required": false
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin tuotearvio luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin arviointi luotiin, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"rating": {
"description": "Arvostelu tuotearviosta (0 - 5).",
"type": "integer",
"required": false
},
"name": {
"description": "Arvioijan nimi.",
"type": "string",
"required": false
},
"email": {
"description": "Arvioijan s\u00e4hk\u00f6postiosoite.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ohitetaanko roskakori ja pakotetaan poisto.",
"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": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"review": {
"description": "Arvion sis\u00e4lt\u00f6.",
"type": "string",
"required": false
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin tuotearvio luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin arviointi luotiin, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"rating": {
"description": "Arvostelu tuotearviosta (0 - 5).",
"type": "integer",
"required": false
},
"name": {
"description": "Arvioijan nimi.",
"type": "string",
"required": false
},
"email": {
"description": "Arvioijan s\u00e4hk\u00f6postiosoite.",
"type": "string",
"required": false
}
}
}
]
},
"\/wc\/v2\/products\/shipping_classes": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajaa tulokset niihin, jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon. ",
"type": "string",
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Korvaa asetettu tulos tietyll\u00e4 m\u00e4\u00e4r\u00e4ll\u00e4 kohteita. Koskee vain hierarkkisia taksonomioita.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma resurssin ominaisuuden perusteella.",
"type": "string",
"default": "name",
"enum": [
"id",
"include",
"name",
"slug",
"term_group",
"description",
"count"
],
"required": false
},
"hide_empty": {
"description": "Piilotetaanko resurssit joita ei ole liitetty mihink\u00e4\u00e4n tuotteeseen.",
"type": "boolean",
"default": false,
"required": false
},
"parent": {
"description": "Rajoita tulosjoukko tietylle vanhemmalle m\u00e4\u00e4ritettyihin resursseihin. Koskee vain hierarkkisia taksonomioita.",
"type": "integer",
"required": false
},
"product": {
"description": "Rajoita tulosjoukko niihin resursseihin jotka on liitetty tiettyyn tuotteeseen.",
"type": "integer",
"default": null,
"required": false
},
"slug": {
"description": "Rajoita tulosjoukko niihin resursseihin joilla on tietty polkutunnus.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"type": "string",
"description": "Resurssin nimi.",
"required": true
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"name": {
"description": "Toimitusluokan nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "On oltava tosi, koska resurssi ei tue roskakoria.",
"required": false
}
}
}
]
},
"\/wc\/v2\/products\/shipping_classes\/batch": {
"namespace": "wc\/v2",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Toimitusluokan nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v2\/products\/shipping_classes\/batch"
}
]
}
},
"\/wc\/v2\/products\/tags": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajaa tulokset niihin, jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon. ",
"type": "string",
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Korvaa asetettu tulos tietyll\u00e4 m\u00e4\u00e4r\u00e4ll\u00e4 kohteita. Koskee vain hierarkkisia taksonomioita.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma resurssin ominaisuuden perusteella.",
"type": "string",
"default": "name",
"enum": [
"id",
"include",
"name",
"slug",
"term_group",
"description",
"count"
],
"required": false
},
"hide_empty": {
"description": "Piilotetaanko resurssit joita ei ole liitetty mihink\u00e4\u00e4n tuotteeseen.",
"type": "boolean",
"default": false,
"required": false
},
"parent": {
"description": "Rajoita tulosjoukko tietylle vanhemmalle m\u00e4\u00e4ritettyihin resursseihin. Koskee vain hierarkkisia taksonomioita.",
"type": "integer",
"required": false
},
"product": {
"description": "Rajoita tulosjoukko niihin resursseihin jotka on liitetty tiettyyn tuotteeseen.",
"type": "integer",
"default": null,
"required": false
},
"slug": {
"description": "Rajoita tulosjoukko niihin resursseihin joilla on tietty polkutunnus.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"type": "string",
"description": "Resurssin nimi.",
"required": true
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"name": {
"description": "Avainsanan nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "On oltava tosi, koska resurssi ei tue roskakoria.",
"required": false
}
}
}
]
},
"\/wc\/v2\/products\/tags\/batch": {
"namespace": "wc\/v2",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Avainsanan nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v2\/products\/tags\/batch"
}
]
}
},
"\/wc\/v2\/products": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajoita tulokset niihin jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon.",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Rajoita vastaus resursseihin, joita on muutettu tietyn ISO8601-yhteensopivuuden j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Rajoita vastaus resursseihin, joita on muokattu ennen tietty\u00e4 ISO8601-yhteensopivaa p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Otetaanko GMT-l\u00e4hetysp\u00e4iv\u00e4t huomioon, kun vastaus rajoitetaan julkaistuun tai muutettuun p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4n.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified",
"popularity",
"rating",
"popularity",
"rating",
"menu_order"
],
"required": false
},
"parent": {
"description": "Rajoita tulosjoukko niihin joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Rajoita tulosjoukko kaikkiin tuotteisiin poislukien ne joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"slug": {
"description": "Rajoita tulosjoukko niihin tuotteisiin joilla on tietty polkutunnus.",
"type": "string",
"required": false
},
"status": {
"default": "any",
"description": "Rajoita tulosjoukko tuotteisiin joilla on tietty tila.",
"type": "string",
"enum": [
"any",
"future",
"trash",
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"type": {
"description": "Rajoita tulosjoukko tietyn lajisiin tuotteisiin.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"sku": {
"description": "Rajaa tulosjoukko tuotteisiin joilla tietty tuotetunnus (SKU). Jos useita, erota pilkulla.",
"type": "string",
"required": false
},
"featured": {
"description": "Rajoita tuotteiden tulosjoukko esittelyss\u00e4 olevien mukaan.",
"type": "boolean",
"required": false
},
"category": {
"description": "Rajoita tulosjoukko tietyn osaston\/ID tuotteisiin.",
"type": "string",
"required": false
},
"tag": {
"description": "Rajoita tulosjoukko tuotteisiin joilla on tietty avainsana\/ID.",
"type": "string",
"required": false
},
"shipping_class": {
"description": "Rajoita tulosjoukko tuotteisiin joilla on tietty toimitusluokka\/ID.",
"type": "string",
"required": false
},
"attribute": {
"description": "Rajoita tulokset tuotteisiin joilla tietty ominaisuus. K\u00e4yt\u00e4 luokittelunime\u00e4 tai ominaisuuden polkutunnusta.",
"type": "string",
"required": false
},
"attribute_term": {
"description": "Rajoita tulosjoukkot tuotteisiin joilla on tietty ominaisuuden arvo (edellytt\u00e4\u00e4 asetettua ominaisuutta).",
"type": "string",
"required": false
},
"in_stock": {
"description": "Rajoita tuotteiden tulosjoukko varastossa tai loppu varastosta mukaan.",
"type": "boolean",
"required": false
},
"on_sale": {
"description": "Rajoita tuotteiden tulosjoukko alennuksessa olevien mukaan.",
"type": "boolean",
"required": false
},
"min_price": {
"description": "Rajoita tuotteiden tulosjoukko alimman hinnan mukaan.",
"type": "string",
"required": false
},
"max_price": {
"description": "Rajoita tuotteiden tulosjoukko korkeimman hinnan mukaan.",
"type": "string",
"required": false
},
"include_meta": {
"default": [],
"description": "Rajoita meta_data tiettyihin avaimiin.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Varmista, ett\u00e4 meta_data ei sis\u00e4ll\u00e4 tietyt avaimet.",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"description": "Tuotteen nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Tuotteen polkutunnus.",
"type": "string",
"required": false
},
"type": {
"default": "simple",
"description": "Tuotteen laji.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"status": {
"default": "publish",
"description": "Tuotteen tila (julkaisun tila).",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish",
"future"
],
"required": false
},
"featured": {
"default": false,
"description": "Esittelyss\u00e4 oleva tuote.",
"type": "boolean",
"required": false
},
"catalog_visibility": {
"default": "visible",
"description": "Tuoteluettelon n\u00e4kyvyys.",
"type": "string",
"enum": [
"visible",
"catalog",
"search",
"hidden"
],
"required": false
},
"description": {
"description": "Tuotteen kuvaus.",
"type": "string",
"required": false
},
"short_description": {
"description": "Tuotteen lyhyt kuvaus.",
"type": "string",
"required": false
},
"sku": {
"description": "Muista poikkeava tunniste.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Tuotteen normaali hinta.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Tuotteen alennettu hinta.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "Alennushinnan p\u00e4\u00e4ttymisp\u00e4iv\u00e4 (GMT aikavy\u00f6hyke).",
"type": [
"null",
"string"
],
"required": false
},
"virtual": {
"default": false,
"description": "Jos tuote on palvelu.",
"type": "boolean",
"required": false
},
"downloadable": {
"default": false,
"description": "Jos tuote on ladattava tuote.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"default": -1,
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer",
"required": false
},
"download_expiry": {
"default": -1,
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer",
"required": false
},
"external_url": {
"description": "Tuotteen ulkopuolinen verkko-osoite. Vain ulkopuolisille tuotteille.",
"type": "string",
"format": "uri",
"required": false
},
"button_text": {
"description": "Tuotteen ulkopuolisen painikkeen teksti. Vain ulkopuolisille tuotteille.",
"type": "string",
"required": false
},
"tax_status": {
"default": "taxable",
"description": "Veron tila.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Veroluokka.",
"type": "string",
"required": false
},
"manage_stock": {
"default": false,
"description": "Varaston hallinta tuotetasolla.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"in_stock": {
"default": true,
"description": "T\u00e4ss\u00e4 asetetaan kuinka varastotilanne n\u00e4kyy julkisella puolella. Joko 'Varastossa' tai 'Varasto loppu'.",
"type": "boolean",
"required": false
},
"backorders": {
"default": "no",
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"sold_individually": {
"default": false,
"description": "Yksi tuote voidaan ostaa yht\u00e4 tilausta kohden.",
"type": "boolean",
"required": false
},
"weight": {
"description": "Tuotteen paino (kg (kilogramma)).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Tuotteen mitat.",
"type": "object",
"properties": {
"length": {
"description": "Tuotteen pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Tuotteen leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Tuotteen korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Toimitusluokan polkutunnus.",
"type": "string",
"required": false
},
"reviews_allowed": {
"default": true,
"description": "Salli tuotearviot.",
"type": "boolean",
"required": false
},
"upsell_ids": {
"description": "Lista Parempi tuote (Up-Sell) tuotteiden tunnuksista\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"cross_sell_ids": {
"description": "Lista Lis\u00e4tuote (Cross-Sell) tuotteiden tunnuksista\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"parent_id": {
"description": "Ylemm\u00e4n tason tuotteen tunnus\/ID.",
"type": "integer",
"required": false
},
"purchase_note": {
"description": "Valinnainen kommentti joka l\u00e4hetet\u00e4\u00e4n asiakkaalle oston j\u00e4lkeen.",
"type": "string",
"required": false
},
"categories": {
"description": "Osatojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Osaston tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Osaston nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Osaston polkutunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"tags": {
"description": "Avainsanojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Avainsanan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Avainsanan nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Avainsanan polkutunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"images": {
"description": "Kuvien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Kuvan sijainti. 0 tarkoittaa, ett\u00e4 kuva on artikkelikuva.",
"type": "integer",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"attributes": {
"description": "Ominisuuksien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Ominaisuuden sijainti.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"visible": {
"description": "M\u00e4\u00e4rit\u00e4 n\u00e4kyyk\u00f6 ominaisuus \"Lis\u00e4tiedot\" v\u00e4lilehdell\u00e4 tuotteen sivulla.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"variation": {
"description": "M\u00e4\u00e4rit\u00e4, voidaanko ominaisuutta k\u00e4ytt\u00e4\u00e4 muunnelmana.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"options": {
"description": "Ominaisuuden saatavilla olevien (termi)nimien lista.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "string"
}
}
}
},
"required": false
},
"default_attributes": {
"description": "Muunnelman oletusominaisuudet.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"grouped_products": {
"description": "Joukkotuotteiden tunnusten\/ID lista.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys, k\u00e4ytet\u00e4\u00e4n tuotteiden mukautettuun j\u00e4rjest\u00e4miseen.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"name": {
"description": "Tuotteen nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Tuotteen polkutunnus.",
"type": "string",
"required": false
},
"type": {
"description": "Tuotteen laji.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"status": {
"description": "Tuotteen tila (julkaisun tila).",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish",
"future"
],
"required": false
},
"featured": {
"description": "Esittelyss\u00e4 oleva tuote.",
"type": "boolean",
"required": false
},
"catalog_visibility": {
"description": "Tuoteluettelon n\u00e4kyvyys.",
"type": "string",
"enum": [
"visible",
"catalog",
"search",
"hidden"
],
"required": false
},
"description": {
"description": "Tuotteen kuvaus.",
"type": "string",
"required": false
},
"short_description": {
"description": "Tuotteen lyhyt kuvaus.",
"type": "string",
"required": false
},
"sku": {
"description": "Muista poikkeava tunniste.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Tuotteen normaali hinta.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Tuotteen alennettu hinta.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "Alennushinnan p\u00e4\u00e4ttymisp\u00e4iv\u00e4 (GMT aikavy\u00f6hyke).",
"type": [
"null",
"string"
],
"required": false
},
"virtual": {
"description": "Jos tuote on palvelu.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Jos tuote on ladattava tuote.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer",
"required": false
},
"external_url": {
"description": "Tuotteen ulkopuolinen verkko-osoite. Vain ulkopuolisille tuotteille.",
"type": "string",
"format": "uri",
"required": false
},
"button_text": {
"description": "Tuotteen ulkopuolisen painikkeen teksti. Vain ulkopuolisille tuotteille.",
"type": "string",
"required": false
},
"tax_status": {
"description": "Veron tila.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Veroluokka.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Varaston hallinta tuotetasolla.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"in_stock": {
"description": "T\u00e4ss\u00e4 asetetaan kuinka varastotilanne n\u00e4kyy julkisella puolella. Joko 'Varastossa' tai 'Varasto loppu'.",
"type": "boolean",
"required": false
},
"backorders": {
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"sold_individually": {
"description": "Yksi tuote voidaan ostaa yht\u00e4 tilausta kohden.",
"type": "boolean",
"required": false
},
"weight": {
"description": "Tuotteen paino (kg (kilogramma)).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Tuotteen mitat.",
"type": "object",
"properties": {
"length": {
"description": "Tuotteen pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Tuotteen leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Tuotteen korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Toimitusluokan polkutunnus.",
"type": "string",
"required": false
},
"reviews_allowed": {
"description": "Salli tuotearviot.",
"type": "boolean",
"required": false
},
"upsell_ids": {
"description": "Lista Parempi tuote (Up-Sell) tuotteiden tunnuksista\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"cross_sell_ids": {
"description": "Lista Lis\u00e4tuote (Cross-Sell) tuotteiden tunnuksista\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"parent_id": {
"description": "Ylemm\u00e4n tason tuotteen tunnus\/ID.",
"type": "integer",
"required": false
},
"purchase_note": {
"description": "Valinnainen kommentti joka l\u00e4hetet\u00e4\u00e4n asiakkaalle oston j\u00e4lkeen.",
"type": "string",
"required": false
},
"categories": {
"description": "Osatojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Osaston tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Osaston nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Osaston polkutunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"tags": {
"description": "Avainsanojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Avainsanan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Avainsanan nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Avainsanan polkutunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"images": {
"description": "Kuvien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Kuvan sijainti. 0 tarkoittaa, ett\u00e4 kuva on artikkelikuva.",
"type": "integer",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"attributes": {
"description": "Ominisuuksien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Ominaisuuden sijainti.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"visible": {
"description": "M\u00e4\u00e4rit\u00e4 n\u00e4kyyk\u00f6 ominaisuus \"Lis\u00e4tiedot\" v\u00e4lilehdell\u00e4 tuotteen sivulla.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"variation": {
"description": "M\u00e4\u00e4rit\u00e4, voidaanko ominaisuutta k\u00e4ytt\u00e4\u00e4 muunnelmana.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"options": {
"description": "Ominaisuuden saatavilla olevien (termi)nimien lista.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "string"
}
}
}
},
"required": false
},
"default_attributes": {
"description": "Muunnelman oletusominaisuudet.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"grouped_products": {
"description": "Joukkotuotteiden tunnusten\/ID lista.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys, k\u00e4ytet\u00e4\u00e4n tuotteiden mukautettuun j\u00e4rjest\u00e4miseen.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"description": "Ohitetaanko roskakori ja pakotetaan poisto.",
"type": "boolean",
"required": false
}
}
}
]
},
"\/wc\/v2\/products\/batch": {
"namespace": "wc\/v2",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Tuotteen nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Tuotteen polkutunnus.",
"type": "string",
"required": false
},
"type": {
"description": "Tuotteen laji.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"status": {
"description": "Tuotteen tila (julkaisun tila).",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish",
"future"
],
"required": false
},
"featured": {
"description": "Esittelyss\u00e4 oleva tuote.",
"type": "boolean",
"required": false
},
"catalog_visibility": {
"description": "Tuoteluettelon n\u00e4kyvyys.",
"type": "string",
"enum": [
"visible",
"catalog",
"search",
"hidden"
],
"required": false
},
"description": {
"description": "Tuotteen kuvaus.",
"type": "string",
"required": false
},
"short_description": {
"description": "Tuotteen lyhyt kuvaus.",
"type": "string",
"required": false
},
"sku": {
"description": "Muista poikkeava tunniste.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Tuotteen normaali hinta.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Tuotteen alennettu hinta.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "Alennushinnan p\u00e4\u00e4ttymisp\u00e4iv\u00e4 (GMT aikavy\u00f6hyke).",
"type": [
"null",
"string"
],
"required": false
},
"virtual": {
"description": "Jos tuote on palvelu.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Jos tuote on ladattava tuote.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer",
"required": false
},
"external_url": {
"description": "Tuotteen ulkopuolinen verkko-osoite. Vain ulkopuolisille tuotteille.",
"type": "string",
"format": "uri",
"required": false
},
"button_text": {
"description": "Tuotteen ulkopuolisen painikkeen teksti. Vain ulkopuolisille tuotteille.",
"type": "string",
"required": false
},
"tax_status": {
"description": "Veron tila.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Veroluokka.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Varaston hallinta tuotetasolla.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"in_stock": {
"description": "T\u00e4ss\u00e4 asetetaan kuinka varastotilanne n\u00e4kyy julkisella puolella. Joko 'Varastossa' tai 'Varasto loppu'.",
"type": "boolean",
"required": false
},
"backorders": {
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"sold_individually": {
"description": "Yksi tuote voidaan ostaa yht\u00e4 tilausta kohden.",
"type": "boolean",
"required": false
},
"weight": {
"description": "Tuotteen paino (kg (kilogramma)).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Tuotteen mitat.",
"type": "object",
"properties": {
"length": {
"description": "Tuotteen pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Tuotteen leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Tuotteen korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Toimitusluokan polkutunnus.",
"type": "string",
"required": false
},
"reviews_allowed": {
"description": "Salli tuotearviot.",
"type": "boolean",
"required": false
},
"upsell_ids": {
"description": "Lista Parempi tuote (Up-Sell) tuotteiden tunnuksista\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"cross_sell_ids": {
"description": "Lista Lis\u00e4tuote (Cross-Sell) tuotteiden tunnuksista\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"parent_id": {
"description": "Ylemm\u00e4n tason tuotteen tunnus\/ID.",
"type": "integer",
"required": false
},
"purchase_note": {
"description": "Valinnainen kommentti joka l\u00e4hetet\u00e4\u00e4n asiakkaalle oston j\u00e4lkeen.",
"type": "string",
"required": false
},
"categories": {
"description": "Osatojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Osaston tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Osaston nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Osaston polkutunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"tags": {
"description": "Avainsanojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Avainsanan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Avainsanan nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Avainsanan polkutunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"images": {
"description": "Kuvien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Kuvan sijainti. 0 tarkoittaa, ett\u00e4 kuva on artikkelikuva.",
"type": "integer",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"attributes": {
"description": "Ominisuuksien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Ominaisuuden sijainti.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"visible": {
"description": "M\u00e4\u00e4rit\u00e4 n\u00e4kyyk\u00f6 ominaisuus \"Lis\u00e4tiedot\" v\u00e4lilehdell\u00e4 tuotteen sivulla.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"variation": {
"description": "M\u00e4\u00e4rit\u00e4, voidaanko ominaisuutta k\u00e4ytt\u00e4\u00e4 muunnelmana.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"options": {
"description": "Ominaisuuden saatavilla olevien (termi)nimien lista.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "string"
}
}
}
},
"required": false
},
"default_attributes": {
"description": "Muunnelman oletusominaisuudet.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"grouped_products": {
"description": "Joukkotuotteiden tunnusten\/ID lista.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys, k\u00e4ytet\u00e4\u00e4n tuotteiden mukautettuun j\u00e4rjest\u00e4miseen.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v2\/products\/batch"
}
]
}
},
"\/wc\/v2\/products\/(?P[\\d]+)\/variations": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajoita tulokset niihin jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon.",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Rajoita vastaus resursseihin, joita on muutettu tietyn ISO8601-yhteensopivuuden j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Rajoita vastaus resursseihin, joita on muokattu ennen tietty\u00e4 ISO8601-yhteensopivaa p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Otetaanko GMT-l\u00e4hetysp\u00e4iv\u00e4t huomioon, kun vastaus rajoitetaan julkaistuun tai muutettuun p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4n.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified",
"menu_order"
],
"required": false
},
"parent": {
"description": "Rajoita tulosjoukko niihin joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Rajoita tulosjoukko kaikkiin tuotteisiin poislukien ne joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"slug": {
"description": "Rajoita tulosjoukko niihin tuotteisiin joilla on tietty polkutunnus.",
"type": "string",
"required": false
},
"status": {
"default": "any",
"description": "Rajoita tulosjoukko tuotteisiin joilla on tietty tila.",
"type": "string",
"enum": [
"any",
"future",
"trash",
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"type": {
"description": "Rajoita tulosjoukko tietyn lajisiin tuotteisiin.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"sku": {
"description": "Rajaa tulosjoukko tuotteisiin joilla tietty tuotetunnus (SKU). Jos useita, erota pilkulla.",
"type": "string",
"required": false
},
"featured": {
"description": "Rajoita tuotteiden tulosjoukko esittelyss\u00e4 olevien mukaan.",
"type": "boolean",
"required": false
},
"category": {
"description": "Rajoita tulosjoukko tietyn osaston\/ID tuotteisiin.",
"type": "string",
"required": false
},
"tag": {
"description": "Rajoita tulosjoukko tuotteisiin joilla on tietty avainsana\/ID.",
"type": "string",
"required": false
},
"shipping_class": {
"description": "Rajoita tulosjoukko tuotteisiin joilla on tietty toimitusluokka\/ID.",
"type": "string",
"required": false
},
"attribute": {
"description": "Rajoita tulokset tuotteisiin joilla tietty ominaisuus. K\u00e4yt\u00e4 luokittelunime\u00e4 tai ominaisuuden polkutunnusta.",
"type": "string",
"required": false
},
"attribute_term": {
"description": "Rajoita tulosjoukkot tuotteisiin joilla on tietty ominaisuuden arvo (edellytt\u00e4\u00e4 asetettua ominaisuutta).",
"type": "string",
"required": false
},
"in_stock": {
"description": "Rajoita tuotteiden tulosjoukko varastossa tai loppu varastosta mukaan.",
"type": "boolean",
"required": false
},
"on_sale": {
"description": "Rajoita tuotteiden tulosjoukko alennuksessa olevien mukaan.",
"type": "boolean",
"required": false
},
"min_price": {
"description": "Rajoita tuotteiden tulosjoukko alimman hinnan mukaan.",
"type": "string",
"required": false
},
"max_price": {
"description": "Rajoita tuotteiden tulosjoukko korkeimman hinnan mukaan.",
"type": "string",
"required": false
},
"include_meta": {
"default": [],
"description": "Rajoita meta_data tiettyihin avaimiin.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Varmista, ett\u00e4 meta_data ei sis\u00e4ll\u00e4 tietyt avaimet.",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"description": {
"description": "Muunnelman kuvaus",
"type": "string",
"required": false
},
"sku": {
"description": "Muista poikkeava tunniste.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Muunnelman tavallinen hinta.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Muunnelman alennettu hinta.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "Alennushinnan p\u00e4\u00e4ttymisp\u00e4iv\u00e4 (GMT aikavy\u00f6hyke).",
"type": [
"null",
"string"
],
"required": false
},
"visible": {
"default": true,
"description": "M\u00e4\u00e4rit\u00e4 onko muunnelma n\u00e4kyviss\u00e4 tuotesivulla.",
"type": "boolean",
"required": false
},
"virtual": {
"default": false,
"description": "Jos muunnelma on palvelu.",
"type": "boolean",
"required": false
},
"downloadable": {
"default": false,
"description": "Jos muunnelma on ladattava.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"default": -1,
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer",
"required": false
},
"download_expiry": {
"default": -1,
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer",
"required": false
},
"tax_status": {
"default": "taxable",
"description": "Veron tila.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Veroluokka.",
"type": "string",
"required": false
},
"manage_stock": {
"default": false,
"description": "Varaston hallinta muunnelmien tasolla.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"required": false
},
"stock_quantity": {
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"in_stock": {
"default": true,
"description": "Asettaa kuinka muunnelma esitet\u00e4\u00e4n julkisella puolella; joko \"varastossa\" tai \"loppu varastosta\".",
"type": "boolean",
"required": false
},
"backorders": {
"default": "no",
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"weight": {
"description": "Muunnelman paino (kg (kilogramma)).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Muunnelman mitat.",
"type": "object",
"properties": {
"length": {
"description": "Muunnelman pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Muunnelman leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Muunnelman korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Toimitusluokan polkutunnus.",
"type": "string",
"required": false
},
"image": {
"description": "Muunnelman kuvan tiedot.",
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Kuvan sijainti. 0 tarkoittaa, ett\u00e4 kuva on artikkelikuva.",
"type": "integer",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"attributes": {
"description": "Ominisuuksien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys, k\u00e4ytet\u00e4\u00e4n tuotteiden mukautettuun j\u00e4rjest\u00e4miseen.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
]
},
"\/wc\/v2\/products\/(?P[\\d]+)\/variations\/(?P[\\d]+)": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"id": {
"description": "Muista poikkeava tunniste muunnelmalle.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"id": {
"description": "Muista poikkeava tunniste muunnelmalle.",
"type": "integer",
"required": false
},
"description": {
"description": "Muunnelman kuvaus",
"type": "string",
"required": false
},
"sku": {
"description": "Muista poikkeava tunniste.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Muunnelman tavallinen hinta.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Muunnelman alennettu hinta.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "Alennushinnan p\u00e4\u00e4ttymisp\u00e4iv\u00e4 (GMT aikavy\u00f6hyke).",
"type": [
"null",
"string"
],
"required": false
},
"visible": {
"description": "M\u00e4\u00e4rit\u00e4 onko muunnelma n\u00e4kyviss\u00e4 tuotesivulla.",
"type": "boolean",
"required": false
},
"virtual": {
"description": "Jos muunnelma on palvelu.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Jos muunnelma on ladattava.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer",
"required": false
},
"tax_status": {
"description": "Veron tila.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Veroluokka.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Varaston hallinta muunnelmien tasolla.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"required": false
},
"stock_quantity": {
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"in_stock": {
"description": "Asettaa kuinka muunnelma esitet\u00e4\u00e4n julkisella puolella; joko \"varastossa\" tai \"loppu varastosta\".",
"type": "boolean",
"required": false
},
"backorders": {
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"weight": {
"description": "Muunnelman paino (kg (kilogramma)).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Muunnelman mitat.",
"type": "object",
"properties": {
"length": {
"description": "Muunnelman pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Muunnelman leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Muunnelman korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Toimitusluokan polkutunnus.",
"type": "string",
"required": false
},
"image": {
"description": "Muunnelman kuvan tiedot.",
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Kuvan sijainti. 0 tarkoittaa, ett\u00e4 kuva on artikkelikuva.",
"type": "integer",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"attributes": {
"description": "Ominisuuksien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys, k\u00e4ytet\u00e4\u00e4n tuotteiden mukautettuun j\u00e4rjest\u00e4miseen.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"id": {
"description": "Muista poikkeava tunniste muunnelmalle.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ohitetaanko roskakori ja pakotetaan poisto.",
"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": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"description": {
"description": "Muunnelman kuvaus",
"type": "string",
"required": false
},
"sku": {
"description": "Muista poikkeava tunniste.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Muunnelman tavallinen hinta.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Muunnelman alennettu hinta.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "Alennushinnan p\u00e4\u00e4ttymisp\u00e4iv\u00e4 (GMT aikavy\u00f6hyke).",
"type": [
"null",
"string"
],
"required": false
},
"visible": {
"description": "M\u00e4\u00e4rit\u00e4 onko muunnelma n\u00e4kyviss\u00e4 tuotesivulla.",
"type": "boolean",
"required": false
},
"virtual": {
"description": "Jos muunnelma on palvelu.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Jos muunnelma on ladattava.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer",
"required": false
},
"tax_status": {
"description": "Veron tila.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Veroluokka.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Varaston hallinta muunnelmien tasolla.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"required": false
},
"stock_quantity": {
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"in_stock": {
"description": "Asettaa kuinka muunnelma esitet\u00e4\u00e4n julkisella puolella; joko \"varastossa\" tai \"loppu varastosta\".",
"type": "boolean",
"required": false
},
"backorders": {
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"weight": {
"description": "Muunnelman paino (kg (kilogramma)).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Muunnelman mitat.",
"type": "object",
"properties": {
"length": {
"description": "Muunnelman pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Muunnelman leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Muunnelman korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Toimitusluokan polkutunnus.",
"type": "string",
"required": false
},
"image": {
"description": "Muunnelman kuvan tiedot.",
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Kuvan sijainti. 0 tarkoittaa, ett\u00e4 kuva on artikkelikuva.",
"type": "integer",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"attributes": {
"description": "Ominisuuksien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys, k\u00e4ytet\u00e4\u00e4n tuotteiden mukautettuun j\u00e4rjest\u00e4miseen.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
]
},
"\/wc\/v2\/reports\/sales": {
"namespace": "wc\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
},
"period": {
"description": "Raportin ajanjakso.",
"type": "string",
"enum": [
"week",
"month",
"last_month",
"year"
],
"required": false
},
"date_min": {
"description": "Palauttaa myynnit tietylle aloitus p\u00e4iv\u00e4lle, p\u00e4iv\u00e4yksen on oltava YYYY-MM-DD muodossa.",
"type": "string",
"format": "date",
"required": false
},
"date_max": {
"description": "Palauttaa myynnit tietylle lopetus p\u00e4iv\u00e4lle, p\u00e4iv\u00e4yksen on oltava YYYY-MM-DD muodossa.",
"type": "string",
"format": "date",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v2\/reports\/sales"
}
]
}
},
"\/wc\/v2\/reports\/top_sellers": {
"namespace": "wc\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
},
"period": {
"description": "Raportin ajanjakso.",
"type": "string",
"enum": [
"week",
"month",
"last_month",
"year"
],
"required": false
},
"date_min": {
"description": "Palauttaa myynnit tietylle aloitus p\u00e4iv\u00e4lle, p\u00e4iv\u00e4yksen on oltava YYYY-MM-DD muodossa.",
"type": "string",
"format": "date",
"required": false
},
"date_max": {
"description": "Palauttaa myynnit tietylle lopetus p\u00e4iv\u00e4lle, p\u00e4iv\u00e4yksen on oltava YYYY-MM-DD muodossa.",
"type": "string",
"format": "date",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v2\/reports\/top_sellers"
}
]
}
},
"\/wc\/v2\/reports": {
"namespace": "wc\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v2\/reports"
}
]
}
},
"\/wc\/v2\/settings": {
"namespace": "wc\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v2\/settings"
}
]
}
},
"\/wc\/v2\/settings\/(?P[\\w-]+)": {
"namespace": "wc\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"group": {
"description": "Asetusten ryhm\u00e4tunnus\/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": "Asetusten ryhm\u00e4tunnus\/ID.",
"type": "string",
"required": false
},
"value": {
"description": "Asetuksen arvo.",
"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": "Asetusten ryhm\u00e4tunnus\/ID.",
"type": "string",
"required": false
},
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"group": {
"description": "Asetusten ryhm\u00e4tunnus\/ID.",
"type": "string",
"required": false
},
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "string",
"required": false
},
"value": {
"description": "Asetuksen arvo.",
"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": "Toimitusvy\u00f6hykkeen nimi.",
"required": true
},
"order": {
"description": "Toimitusvy\u00f6hykkeiden j\u00e4rjestys.",
"type": "integer",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Muista poikkeava tunnus\/ID resurssille.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava tunnus\/ID resurssille.",
"type": "integer",
"required": false
},
"name": {
"description": "Toimitusvy\u00f6hykkeen nimi.",
"type": "string",
"required": false
},
"order": {
"description": "Toimitusvy\u00f6hykkeiden j\u00e4rjestys.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava tunnus\/ID resurssille.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ohitetaanko roskakori ja pakotetaan poisto.",
"required": false
}
}
}
]
},
"\/wc\/v2\/shipping\/zones\/(?P[\\d]+)\/locations": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Muista poikkeava tunnus\/ID resurssille.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava tunnus\/ID resurssille.",
"type": "integer",
"required": false
},
"code": {
"description": "Toimitusvy\u00f6hyke sijainnin koodi.",
"type": "string",
"required": false
},
"type": {
"description": "Toimitusvy\u00f6hyke sijainnin laji.",
"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": "Muista poikkeava tunnus\/ID vy\u00f6hykkeelle.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"zone_id": {
"description": "Muista poikkeava tunnus\/ID vy\u00f6hykkeelle.",
"type": "integer",
"required": false
},
"order": {
"description": "Toimitustavan lajitteluj\u00e4rjestys.",
"type": "integer",
"required": false
},
"enabled": {
"description": "Toimitustavan tila, onko k\u00e4yt\u00f6ss\u00e4.",
"type": "boolean",
"required": false
},
"settings": {
"description": "Toimitustavan asetukset.",
"type": "object",
"properties": {
"id": {
"description": "Muista poikkeava tunniste asetukselle.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"label": {
"description": "Asetuksen selkokielinen tunnus jota k\u00e4ytet\u00e4\u00e4n k\u00e4ytt\u00f6liittymiss\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"description": {
"description": "Asetuksen selkokielinen kuvaus jota k\u00e4ytet\u00e4\u00e4n k\u00e4ytt\u00f6liittymiss\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"type": {
"description": "Asetuksen laji.",
"type": "string",
"context": [
"view",
"edit"
],
"enum": [
"text",
"email",
"number",
"color",
"password",
"textarea",
"select",
"multiselect",
"radio",
"image_width",
"checkbox"
],
"readonly": true
},
"value": {
"description": "Asetuksen arvo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"default": {
"description": "Asetuksen oletusarvo.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"tip": {
"description": "Asetuksesta k\u00e4ytt\u00e4j\u00e4lle n\u00e4ytett\u00e4v\u00e4n lis\u00e4ohjeen teksti.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"placeholder": {
"description": "Paikanvaraus teksti joka n\u00e4ytet\u00e4\u00e4n tekstilaatikoissa.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
},
"required": false
},
"method_id": {
"description": "Toimitustavan tunnus\/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": "Muista poikkeava tunnus\/ID vy\u00f6hykkeelle.",
"type": "integer",
"required": false
},
"instance_id": {
"description": "Muista poikkeava tunnus\/ID tapaukselle.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"zone_id": {
"description": "Muista poikkeava tunnus\/ID vy\u00f6hykkeelle.",
"type": "integer",
"required": false
},
"instance_id": {
"description": "Muista poikkeava tunnus\/ID tapaukselle.",
"type": "integer",
"required": false
},
"order": {
"description": "Toimitustavan lajitteluj\u00e4rjestys.",
"type": "integer",
"required": false
},
"enabled": {
"description": "Toimitustavan tila, onko k\u00e4yt\u00f6ss\u00e4.",
"type": "boolean",
"required": false
},
"settings": {
"description": "Toimitustavan asetukset.",
"type": "object",
"properties": {
"id": {
"description": "Muista poikkeava tunniste asetukselle.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"label": {
"description": "Asetuksen selkokielinen tunnus jota k\u00e4ytet\u00e4\u00e4n k\u00e4ytt\u00f6liittymiss\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"description": {
"description": "Asetuksen selkokielinen kuvaus jota k\u00e4ytet\u00e4\u00e4n k\u00e4ytt\u00f6liittymiss\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"type": {
"description": "Asetuksen laji.",
"type": "string",
"context": [
"view",
"edit"
],
"enum": [
"text",
"email",
"number",
"color",
"password",
"textarea",
"select",
"multiselect",
"radio",
"image_width",
"checkbox"
],
"readonly": true
},
"value": {
"description": "Asetuksen arvo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"default": {
"description": "Asetuksen oletusarvo.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"tip": {
"description": "Asetuksesta k\u00e4ytt\u00e4j\u00e4lle n\u00e4ytett\u00e4v\u00e4n lis\u00e4ohjeen teksti.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"placeholder": {
"description": "Paikanvaraus teksti joka n\u00e4ytet\u00e4\u00e4n tekstilaatikoissa.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"zone_id": {
"description": "Muista poikkeava tunnus\/ID vy\u00f6hykkeelle.",
"type": "integer",
"required": false
},
"instance_id": {
"description": "Muista poikkeava tunnus\/ID tapaukselle.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ohitetaanko roskakori ja pakotetaan poisto.",
"required": false
}
}
}
]
},
"\/wc\/v2\/taxes\/classes": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"description": "Veroluokan nimi.",
"type": "string",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Resurssin muista poikkeava polkutunnus.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"slug": {
"description": "Resurssin muista poikkeava polkutunnus.",
"type": "string",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "On oltava tosi, koska resurssi ei tue roskakoria.",
"required": false
}
}
}
]
},
"\/wc\/v2\/taxes": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"default": "asc",
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"enum": [
"asc",
"desc"
],
"type": "string",
"required": false
},
"orderby": {
"default": "order",
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"enum": [
"id",
"order",
"priority"
],
"type": "string",
"required": false
},
"class": {
"description": "J\u00e4rjest\u00e4 veroluokan mukaan.",
"enum": [
"standard",
"reduced-rate",
"zero-rate"
],
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"country": {
"description": "ISO 3166 -muotoinen maatunnus.",
"type": "string",
"required": false
},
"state": {
"description": "L\u00e4\u00e4nin\/maakunnan koodi.",
"type": "string",
"required": false
},
"postcode": {
"description": "Postinumero.",
"type": "string",
"required": false
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"required": false
},
"rate": {
"description": "Veroprosentti.",
"type": "string",
"required": false
},
"name": {
"description": "Veroprosentin nimi.",
"type": "string",
"required": false
},
"priority": {
"default": 1,
"description": "Veron j\u00e4rjestys\/sijoitus..",
"type": "integer",
"required": false
},
"compound": {
"default": false,
"description": "Onko t\u00e4m\u00e4 yhdistelm\u00e4veroprosentti.",
"type": "boolean",
"required": false
},
"shipping": {
"default": true,
"description": "K\u00e4ytet\u00e4\u00e4nk\u00f6 t\u00e4t\u00e4 veroprosenttia my\u00f6s toimitukseen.",
"type": "boolean",
"required": false
},
"order": {
"description": "Ilmaisee kutsuissa ilmenev\u00e4n j\u00e4rjestyksen.",
"type": "integer",
"required": false
},
"class": {
"default": "standard",
"description": "Veroluokka.",
"type": "string",
"enum": [
"standard",
"reduced-rate",
"zero-rate"
],
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"country": {
"description": "ISO 3166 -muotoinen maatunnus.",
"type": "string",
"required": false
},
"state": {
"description": "L\u00e4\u00e4nin\/maakunnan koodi.",
"type": "string",
"required": false
},
"postcode": {
"description": "Postinumero.",
"type": "string",
"required": false
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"required": false
},
"rate": {
"description": "Veroprosentti.",
"type": "string",
"required": false
},
"name": {
"description": "Veroprosentin nimi.",
"type": "string",
"required": false
},
"priority": {
"description": "Veron j\u00e4rjestys\/sijoitus..",
"type": "integer",
"required": false
},
"compound": {
"description": "Onko t\u00e4m\u00e4 yhdistelm\u00e4veroprosentti.",
"type": "boolean",
"required": false
},
"shipping": {
"description": "K\u00e4ytet\u00e4\u00e4nk\u00f6 t\u00e4t\u00e4 veroprosenttia my\u00f6s toimitukseen.",
"type": "boolean",
"required": false
},
"order": {
"description": "Ilmaisee kutsuissa ilmenev\u00e4n j\u00e4rjestyksen.",
"type": "integer",
"required": false
},
"class": {
"description": "Veroluokka.",
"type": "string",
"enum": [
"standard",
"reduced-rate",
"zero-rate"
],
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "On oltava tosi, koska resurssi ei tue roskakoria.",
"required": false
}
}
}
]
},
"\/wc\/v2\/taxes\/batch": {
"namespace": "wc\/v2",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"country": {
"description": "ISO 3166 -muotoinen maatunnus.",
"type": "string",
"required": false
},
"state": {
"description": "L\u00e4\u00e4nin\/maakunnan koodi.",
"type": "string",
"required": false
},
"postcode": {
"description": "Postinumero.",
"type": "string",
"required": false
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"required": false
},
"rate": {
"description": "Veroprosentti.",
"type": "string",
"required": false
},
"name": {
"description": "Veroprosentin nimi.",
"type": "string",
"required": false
},
"priority": {
"description": "Veron j\u00e4rjestys\/sijoitus..",
"type": "integer",
"required": false
},
"compound": {
"description": "Onko t\u00e4m\u00e4 yhdistelm\u00e4veroprosentti.",
"type": "boolean",
"required": false
},
"shipping": {
"description": "K\u00e4ytet\u00e4\u00e4nk\u00f6 t\u00e4t\u00e4 veroprosenttia my\u00f6s toimitukseen.",
"type": "boolean",
"required": false
},
"order": {
"description": "Ilmaisee kutsuissa ilmenev\u00e4n j\u00e4rjestyksen.",
"type": "integer",
"required": false
},
"class": {
"description": "Veroluokka.",
"type": "string",
"enum": [
"standard",
"reduced-rate",
"zero-rate"
],
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v2\/taxes\/batch"
}
]
}
},
"\/wc\/v2\/webhooks": {
"namespace": "wc\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajaa tulokset niihin, jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon. ",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"title"
],
"required": false
},
"status": {
"default": "all",
"description": "Rajoita tulosjoukko verkkotoimintokutsuihin joilla on tietty tila.",
"type": "string",
"enum": [
"all",
"active",
"paused",
"disabled"
],
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"description": "Helposti muistettava nimi verkkotoimintokutsulle.",
"type": "string",
"required": false
},
"status": {
"default": "active",
"description": "Verkkotoimintokutsun tila.",
"type": "string",
"enum": [
"active",
"paused",
"disabled"
],
"required": false
},
"topic": {
"type": "string",
"description": "Verkkotoimintokutsun aihe.",
"required": true
},
"secret": {
"description": "Salainen avain jota k\u00e4ytetty toimitetun verkkotoimintokutsun salausavaimen luomisessa ja joka on pyynn\u00f6n headereissa. Oletuksena on MD5-salausavain joka on tehty k\u00e4ytt\u00e4j\u00e4n tunnuksesta (ID) | k\u00e4ytt\u00e4j\u00e4tunnus jos muuten ei ole asetettu.",
"type": "string",
"required": false
},
"delivery_url": {
"type": "string",
"description": "Verkkotoimintokutsun toimitus verkko-osoite.",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"name": {
"description": "Helposti muistettava nimi verkkotoimintokutsulle.",
"type": "string",
"required": false
},
"status": {
"description": "Verkkotoimintokutsun tila.",
"type": "string",
"enum": [
"active",
"paused",
"disabled"
],
"required": false
},
"topic": {
"description": "Verkkotoimintokutsun aihe.",
"type": "string",
"required": false
},
"secret": {
"description": "Salainen avain jota k\u00e4ytetty toimitetun verkkotoimintokutsun salausavaimen luomisessa ja joka on pyynn\u00f6n headereissa. Oletuksena on MD5-salausavain joka on tehty k\u00e4ytt\u00e4j\u00e4n tunnuksesta (ID) | k\u00e4ytt\u00e4j\u00e4tunnus jos muuten ei ole asetettu.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "On oltava tosi, koska resurssi ei tue roskakoria.",
"required": false
}
}
}
]
},
"\/wc\/v2\/webhooks\/batch": {
"namespace": "wc\/v2",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Helposti muistettava nimi verkkotoimintokutsulle.",
"type": "string",
"required": false
},
"status": {
"description": "Verkkotoimintokutsun tila.",
"type": "string",
"enum": [
"active",
"paused",
"disabled"
],
"required": false
},
"topic": {
"description": "Verkkotoimintokutsun aihe.",
"type": "string",
"required": false
},
"secret": {
"description": "Salainen avain jota k\u00e4ytetty toimitetun verkkotoimintokutsun salausavaimen luomisessa ja joka on pyynn\u00f6n headereissa. Oletuksena on MD5-salausavain joka on tehty k\u00e4ytt\u00e4j\u00e4n tunnuksesta (ID) | k\u00e4ytt\u00e4j\u00e4tunnus jos muuten ei ole asetettu.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v2\/webhooks\/batch"
}
]
}
},
"\/wc\/v2\/webhooks\/(?P[\\d]+)\/deliveries": {
"namespace": "wc\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"webhook_id": {
"description": "Muista poikkeava verkkotoimintokutsun tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"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": "Muista poikkeava verkkotoimintokutsun tunniste.",
"type": "integer",
"required": false
},
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
}
]
},
"\/wc\/v2\/system_status": {
"namespace": "wc\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v2\/system_status"
}
]
}
},
"\/wc\/v2\/system_status\/tools": {
"namespace": "wc\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Muista poikkeava resurssin tunniste.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava ty\u00f6kalun tunniste.",
"type": "string",
"required": false
},
"name": {
"description": "Ty\u00f6kalun nimi.",
"type": "string",
"required": false
},
"action": {
"description": "Mit\u00e4 ty\u00f6kalu tekee.",
"type": "string",
"required": false
},
"description": {
"description": "Ty\u00f6kalun kuvaus.",
"type": "string",
"required": false
},
"success": {
"description": "Suorittiko ty\u00f6kalu teht\u00e4v\u00e4n?",
"type": "boolean",
"required": false
},
"message": {
"description": "Ty\u00f6kalun palauttama viesti.",
"type": "string",
"required": false
}
}
}
]
},
"\/wc\/v2\/shipping_methods": {
"namespace": "wc\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v2\/shipping_methods"
}
]
}
},
"\/wc\/v2\/shipping_methods\/(?P[\\w-]+)": {
"namespace": "wc\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "string",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
}
}
}
]
},
"\/wc\/v2\/payment_gateways": {
"namespace": "wc\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Muista poikkeava resurssin tunniste.",
"type": "string",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "string",
"required": false
},
"title": {
"description": "Maksuk\u00e4yt\u00e4v\u00e4 otsikko kassalla.",
"type": "string",
"required": false
},
"description": {
"description": "Maksuk\u00e4yt\u00e4v\u00e4 kuvaus kassalla.",
"type": "string",
"required": false
},
"order": {
"description": "Maksuk\u00e4yt\u00e4v\u00e4 lajitteluj\u00e4rjestys.",
"type": "integer",
"required": false
},
"enabled": {
"description": "Maksuk\u00e4yt\u00e4v\u00e4 k\u00e4yt\u00f6ss\u00e4 tila.",
"type": "boolean",
"required": false
},
"settings": {
"description": "Maksuk\u00e4yt\u00e4v\u00e4n asetukset.",
"type": "object",
"properties": {
"id": {
"description": "Muista poikkeava tunniste asetukselle.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"label": {
"description": "Asetuksen selkokielinen tunnus jota k\u00e4ytet\u00e4\u00e4n k\u00e4ytt\u00f6liittymiss\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"description": {
"description": "Asetuksen selkokielinen kuvaus jota k\u00e4ytet\u00e4\u00e4n k\u00e4ytt\u00f6liittymiss\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"type": {
"description": "Asetuksen laji.",
"type": "string",
"context": [
"view",
"edit"
],
"enum": [
"text",
"email",
"number",
"color",
"password",
"textarea",
"select",
"multiselect",
"radio",
"image_width",
"checkbox"
],
"readonly": true
},
"value": {
"description": "Asetuksen arvo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"default": {
"description": "Asetuksen oletusarvo.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"tip": {
"description": "Asetuksesta k\u00e4ytt\u00e4j\u00e4lle n\u00e4ytett\u00e4v\u00e4n lis\u00e4ohjeen teksti.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"placeholder": {
"description": "Paikanvaraus teksti joka n\u00e4ytet\u00e4\u00e4n tekstilaatikoissa.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
},
"required": false
}
}
}
]
},
"\/wc\/v3\/coupons": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajoita tulokset niihin jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon.",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Rajoita vastaus resursseihin, joita on muutettu tietyn ISO8601-yhteensopivuuden j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Rajoita vastaus resursseihin, joita on muokattu ennen tietty\u00e4 ISO8601-yhteensopivaa p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Otetaanko GMT-l\u00e4hetysp\u00e4iv\u00e4t huomioon, kun vastaus rajoitetaan julkaistuun tai muutettuun p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4n.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified"
],
"required": false
},
"code": {
"description": "Rajoita tulosjoukko resursseihin joilla on tietty koodi.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"code": {
"description": "Kupongin koodi.",
"type": "string",
"required": true
},
"amount": {
"description": "Alennuksen m\u00e4\u00e4r\u00e4. Pit\u00e4\u00e4 aina olla luku, my\u00f6s kun asetetaan prosentti.",
"type": "string",
"required": false
},
"status": {
"description": "Kupongin tila. Pit\u00e4isi aina olla luonnos, julkaistu tai odottaa tarkistusta",
"type": "string",
"required": false
},
"discount_type": {
"default": "fixed_cart",
"description": "M\u00e4\u00e4r\u00e4\u00e4 millaista alennusta k\u00e4ytet\u00e4\u00e4n.",
"type": "string",
"enum": [
"percent",
"fixed_cart",
"fixed_product"
],
"required": false
},
"description": {
"description": "Kupongin kuvaus.",
"type": "string",
"required": false
},
"date_expires": {
"description": "P\u00e4iv\u00e4ys jolloin kuponki umpeutuu, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_expires_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuponki umpeutuu, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"individual_use": {
"default": false,
"description": "Kun tosi, kuponkia voi k\u00e4ytt\u00e4\u00e4 vain yksin\u00e4\u00e4n. Muut k\u00e4ytetyt kupongit poistetaan ostoskorista.",
"type": "boolean",
"required": false
},
"product_ids": {
"description": "Lista tuotteiden tunnuksista\/ID joihin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_ids": {
"description": "Lista tuotteiden tunnuksista\/ID joihin kuponkia ei voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"usage_limit": {
"description": "Kuinka monta kertaa yhteens\u00e4 kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "integer",
"required": false
},
"usage_limit_per_user": {
"description": "Kuinka monta kertaa sama asiakas voi k\u00e4ytt\u00e4\u00e4 kuponkia.",
"type": "integer",
"required": false
},
"limit_usage_to_x_items": {
"description": "Ostoskorissa oleva suurin m\u00e4\u00e4r\u00e4 tuotteita joihin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "integer",
"required": false
},
"free_shipping": {
"default": false,
"description": "Kun tosi ja kun maksuton toimitustapa edellytt\u00e4\u00e4 kupongin, t\u00e4m\u00e4 kuponki mahdollistaa maksuttoman toimituksen.",
"type": "boolean",
"required": false
},
"product_categories": {
"description": "Lista osastojen tunnuksista\/ID joihin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_categories": {
"description": "Lista osastojen tunnuksista\/ID joihin kuponkia ei voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"exclude_sale_items": {
"default": false,
"description": "Kun tosi, t\u00e4t\u00e4 kuponkia ei k\u00e4ytet\u00e4 tuotteisiin joissa alennettu hinta.",
"type": "boolean",
"required": false
},
"minimum_amount": {
"description": "Ostoskorin pienin tilausm\u00e4\u00e4r\u00e4 jolloin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "string",
"required": false
},
"maximum_amount": {
"description": "Ostoskorin suurin tilausm\u00e4\u00e4r\u00e4 jolloin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "string",
"required": false
},
"email_restrictions": {
"description": "Lista s\u00e4hk\u00f6postiosoitteista jotka voivat k\u00e4ytt\u00e4\u00e4 t\u00e4t\u00e4 kuponkia.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"code": {
"description": "Kupongin koodi.",
"type": "string",
"required": false
},
"amount": {
"description": "Alennuksen m\u00e4\u00e4r\u00e4. Pit\u00e4\u00e4 aina olla luku, my\u00f6s kun asetetaan prosentti.",
"type": "string",
"required": false
},
"status": {
"description": "Kupongin tila. Pit\u00e4isi aina olla luonnos, julkaistu tai odottaa tarkistusta",
"type": "string",
"required": false
},
"discount_type": {
"description": "M\u00e4\u00e4r\u00e4\u00e4 millaista alennusta k\u00e4ytet\u00e4\u00e4n.",
"type": "string",
"enum": [
"percent",
"fixed_cart",
"fixed_product"
],
"required": false
},
"description": {
"description": "Kupongin kuvaus.",
"type": "string",
"required": false
},
"date_expires": {
"description": "P\u00e4iv\u00e4ys jolloin kuponki umpeutuu, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_expires_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuponki umpeutuu, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"individual_use": {
"description": "Kun tosi, kuponkia voi k\u00e4ytt\u00e4\u00e4 vain yksin\u00e4\u00e4n. Muut k\u00e4ytetyt kupongit poistetaan ostoskorista.",
"type": "boolean",
"required": false
},
"product_ids": {
"description": "Lista tuotteiden tunnuksista\/ID joihin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_ids": {
"description": "Lista tuotteiden tunnuksista\/ID joihin kuponkia ei voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"usage_limit": {
"description": "Kuinka monta kertaa yhteens\u00e4 kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "integer",
"required": false
},
"usage_limit_per_user": {
"description": "Kuinka monta kertaa sama asiakas voi k\u00e4ytt\u00e4\u00e4 kuponkia.",
"type": "integer",
"required": false
},
"limit_usage_to_x_items": {
"description": "Ostoskorissa oleva suurin m\u00e4\u00e4r\u00e4 tuotteita joihin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "integer",
"required": false
},
"free_shipping": {
"description": "Kun tosi ja kun maksuton toimitustapa edellytt\u00e4\u00e4 kupongin, t\u00e4m\u00e4 kuponki mahdollistaa maksuttoman toimituksen.",
"type": "boolean",
"required": false
},
"product_categories": {
"description": "Lista osastojen tunnuksista\/ID joihin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_categories": {
"description": "Lista osastojen tunnuksista\/ID joihin kuponkia ei voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"exclude_sale_items": {
"description": "Kun tosi, t\u00e4t\u00e4 kuponkia ei k\u00e4ytet\u00e4 tuotteisiin joissa alennettu hinta.",
"type": "boolean",
"required": false
},
"minimum_amount": {
"description": "Ostoskorin pienin tilausm\u00e4\u00e4r\u00e4 jolloin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "string",
"required": false
},
"maximum_amount": {
"description": "Ostoskorin suurin tilausm\u00e4\u00e4r\u00e4 jolloin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "string",
"required": false
},
"email_restrictions": {
"description": "Lista s\u00e4hk\u00f6postiosoitteista jotka voivat k\u00e4ytt\u00e4\u00e4 t\u00e4t\u00e4 kuponkia.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ohitetaanko roskakori ja pakotetaan poisto.",
"required": false
}
}
}
]
},
"\/wc\/v3\/coupons\/batch": {
"namespace": "wc\/v3",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"code": {
"description": "Kupongin koodi.",
"type": "string",
"required": false
},
"amount": {
"description": "Alennuksen m\u00e4\u00e4r\u00e4. Pit\u00e4\u00e4 aina olla luku, my\u00f6s kun asetetaan prosentti.",
"type": "string",
"required": false
},
"status": {
"description": "Kupongin tila. Pit\u00e4isi aina olla luonnos, julkaistu tai odottaa tarkistusta",
"type": "string",
"required": false
},
"discount_type": {
"description": "M\u00e4\u00e4r\u00e4\u00e4 millaista alennusta k\u00e4ytet\u00e4\u00e4n.",
"type": "string",
"enum": [
"percent",
"fixed_cart",
"fixed_product"
],
"required": false
},
"description": {
"description": "Kupongin kuvaus.",
"type": "string",
"required": false
},
"date_expires": {
"description": "P\u00e4iv\u00e4ys jolloin kuponki umpeutuu, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_expires_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuponki umpeutuu, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"individual_use": {
"description": "Kun tosi, kuponkia voi k\u00e4ytt\u00e4\u00e4 vain yksin\u00e4\u00e4n. Muut k\u00e4ytetyt kupongit poistetaan ostoskorista.",
"type": "boolean",
"required": false
},
"product_ids": {
"description": "Lista tuotteiden tunnuksista\/ID joihin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_ids": {
"description": "Lista tuotteiden tunnuksista\/ID joihin kuponkia ei voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"usage_limit": {
"description": "Kuinka monta kertaa yhteens\u00e4 kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "integer",
"required": false
},
"usage_limit_per_user": {
"description": "Kuinka monta kertaa sama asiakas voi k\u00e4ytt\u00e4\u00e4 kuponkia.",
"type": "integer",
"required": false
},
"limit_usage_to_x_items": {
"description": "Ostoskorissa oleva suurin m\u00e4\u00e4r\u00e4 tuotteita joihin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "integer",
"required": false
},
"free_shipping": {
"description": "Kun tosi ja kun maksuton toimitustapa edellytt\u00e4\u00e4 kupongin, t\u00e4m\u00e4 kuponki mahdollistaa maksuttoman toimituksen.",
"type": "boolean",
"required": false
},
"product_categories": {
"description": "Lista osastojen tunnuksista\/ID joihin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"excluded_product_categories": {
"description": "Lista osastojen tunnuksista\/ID joihin kuponkia ei voi k\u00e4ytt\u00e4\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"exclude_sale_items": {
"description": "Kun tosi, t\u00e4t\u00e4 kuponkia ei k\u00e4ytet\u00e4 tuotteisiin joissa alennettu hinta.",
"type": "boolean",
"required": false
},
"minimum_amount": {
"description": "Ostoskorin pienin tilausm\u00e4\u00e4r\u00e4 jolloin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "string",
"required": false
},
"maximum_amount": {
"description": "Ostoskorin suurin tilausm\u00e4\u00e4r\u00e4 jolloin kuponkia voi k\u00e4ytt\u00e4\u00e4.",
"type": "string",
"required": false
},
"email_restrictions": {
"description": "Lista s\u00e4hk\u00f6postiosoitteista jotka voivat k\u00e4ytt\u00e4\u00e4 t\u00e4t\u00e4 kuponkia.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v3\/coupons\/batch"
}
]
}
},
"\/wc\/v3\/customers\/(?P[\\d]+)\/downloads": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"customer_id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
}
}
}
]
},
"\/wc\/v3\/customers": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajaa tulokset niihin, jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon. ",
"type": "string",
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"default": "asc",
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"enum": [
"asc",
"desc"
],
"type": "string",
"required": false
},
"orderby": {
"default": "name",
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"enum": [
"id",
"include",
"name",
"registered_date"
],
"type": "string",
"required": false
},
"email": {
"description": "Rajoita tulosjoukko resursseihin joissa on tietty s\u00e4hk\u00f6postiosoite.",
"type": "string",
"format": "email",
"required": false
},
"role": {
"description": "Rajoita tulosjoukko resursseihin joilla on tietty rooli.",
"type": "string",
"default": "customer",
"enum": [
"all",
"administrator",
"editor",
"author",
"contributor",
"subscriber",
"customer",
"shop_manager"
],
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"email": {
"type": "string",
"description": "Uusi k\u00e4ytt\u00e4j\u00e4n s\u00e4hk\u00f6postiosoite.",
"required": true
},
"first_name": {
"description": "Asiakkaan etunimi.",
"type": "string",
"required": false
},
"last_name": {
"description": "Asiakkaan sukunimi.",
"type": "string",
"required": false
},
"username": {
"description": "Uusi k\u00e4ytt\u00e4j\u00e4nimi.",
"type": "string",
"required": false
},
"password": {
"description": "Uusi salasana.",
"type": "string",
"required": false
},
"billing": {
"description": "Laskutusosoitteen tietojen lista.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maan ISO-koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "S\u00e4hk\u00f6postiosoite.",
"type": "string",
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Puhelinnumero.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Toimitusosoitteen tietojen lista.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maan ISO-koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Puhelinnumero.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"email": {
"description": "Asiakkaan s\u00e4hk\u00f6postiosoite.",
"type": "string",
"format": "email",
"required": false
},
"first_name": {
"description": "Asiakkaan etunimi.",
"type": "string",
"required": false
},
"last_name": {
"description": "Asiakkaan sukunimi.",
"type": "string",
"required": false
},
"username": {
"description": "Asiakkaan kirjautumistunnus.",
"type": "string",
"required": false
},
"password": {
"description": "Asiakkaan salasana.",
"type": "string",
"required": false
},
"billing": {
"description": "Laskutusosoitteen tietojen lista.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maan ISO-koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "S\u00e4hk\u00f6postiosoite.",
"type": "string",
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Puhelinnumero.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Toimitusosoitteen tietojen lista.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maan ISO-koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Puhelinnumero.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "On oltava tosi, koska resurssi ei tue roskakoria.",
"required": false
},
"reassign": {
"default": 0,
"type": "integer",
"description": "Tunnus\/ID johon artikkeli kohdistetaan.",
"required": false
}
}
}
]
},
"\/wc\/v3\/customers\/batch": {
"namespace": "wc\/v3",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"email": {
"description": "Asiakkaan s\u00e4hk\u00f6postiosoite.",
"type": "string",
"format": "email",
"required": false
},
"first_name": {
"description": "Asiakkaan etunimi.",
"type": "string",
"required": false
},
"last_name": {
"description": "Asiakkaan sukunimi.",
"type": "string",
"required": false
},
"username": {
"description": "Asiakkaan kirjautumistunnus.",
"type": "string",
"required": false
},
"password": {
"description": "Asiakkaan salasana.",
"type": "string",
"required": false
},
"billing": {
"description": "Laskutusosoitteen tietojen lista.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maan ISO-koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "S\u00e4hk\u00f6postiosoite.",
"type": "string",
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Puhelinnumero.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Toimitusosoitteen tietojen lista.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maan ISO-koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Puhelinnumero.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v3\/customers\/batch"
}
]
}
},
"\/wc\/v3\/layout-templates": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"area": {
"description": "Area to get templates for.",
"type": "string",
"default": "",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Muista poikkeava resurssin tunniste.",
"type": "string",
"required": false
}
}
}
]
},
"\/wc\/v3\/orders\/(?P[\\d]+)\/notes": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"order_id": {
"description": "Tilauksen tunniste\/ID.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"type": {
"default": "any",
"description": "Rajoita tulokset asiakkaisiin tai sis\u00e4isiin muistiinpanoihin.",
"type": "string",
"enum": [
"any",
"customer",
"internal"
],
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"order_id": {
"description": "Tilauksen tunniste\/ID.",
"type": "integer",
"required": false
},
"note": {
"type": "string",
"description": "Tilauksen kommentin sis\u00e4lt\u00f6.",
"required": true
},
"customer_note": {
"default": false,
"description": "Kun tosi, kommentti n\u00e4ytet\u00e4\u00e4n asiakkaille ja heille ilmoitetaan. Jos ep\u00e4tosi, kommentti on vain hallinnon k\u00e4ytett\u00e4viss\u00e4.",
"type": "boolean",
"required": false
},
"added_by_user": {
"default": false,
"description": "Kun tosi, t\u00e4m\u00e4 kommentti liitet\u00e4\u00e4n nykyiseen k\u00e4ytt\u00e4j\u00e4\u00e4n. Kun ep\u00e4tosi, kommentti liitet\u00e4\u00e4n j\u00e4rjestelm\u00e4\u00e4n.",
"type": "boolean",
"required": false
}
}
}
]
},
"\/wc\/v3\/orders\/(?P[\\d]+)\/notes\/(?P[\\d]+)": {
"namespace": "wc\/v3",
"methods": [
"GET",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"order_id": {
"description": "Tilauksen tunniste\/ID.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"order_id": {
"description": "Tilauksen tunniste\/ID.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "On oltava tosi, koska resurssi ei tue roskakoria.",
"required": false
}
}
}
]
},
"\/wc\/v3\/orders\/(?P[\\d]+)\/refunds": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"order_id": {
"description": "Tilauksen tunniste\/ID.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajoita tulokset niihin jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon.",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Rajoita vastaus resursseihin, joita on muutettu tietyn ISO8601-yhteensopivuuden j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Rajoita vastaus resursseihin, joita on muokattu ennen tietty\u00e4 ISO8601-yhteensopivaa p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Otetaanko GMT-l\u00e4hetysp\u00e4iv\u00e4t huomioon, kun vastaus rajoitetaan julkaistuun tai muutettuun p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4n.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified"
],
"required": false
},
"parent": {
"description": "Rajoita tulosjoukko niihin joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Rajoita tulosjoukko kaikkiin tuotteisiin poislukien ne joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"dp": {
"default": 2,
"description": "Desimaalien m\u00e4\u00e4r\u00e4 jota k\u00e4ytet\u00e4\u00e4n resursseissa.",
"type": "integer",
"required": false
},
"order_item_display_meta": {
"default": false,
"description": "N\u00e4yt\u00e4 vain meta, joka on tarkoitettu n\u00e4ytett\u00e4v\u00e4ksi tilaukselle.",
"type": "boolean",
"required": false
},
"include_meta": {
"default": [],
"description": "Rajoita meta_data tiettyihin avaimiin.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Varmista, ett\u00e4 meta_data ei sis\u00e4ll\u00e4 tietyt avaimet.",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"order_id": {
"description": "Tilauksen tunniste\/ID.",
"type": "integer",
"required": false
},
"amount": {
"description": "Hyvityksen m\u00e4\u00e4r\u00e4.",
"type": "string",
"required": false
},
"reason": {
"description": "Hyvityksen syy.",
"type": "string",
"required": false
},
"refunded_by": {
"description": "Hyvityksen luoneen k\u00e4ytt\u00e4j\u00e4n tunnus\/ID.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"shipping_lines": {
"description": "Toimitusrivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"method_title": {
"description": "Toimitustavan nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"method_id": {
"description": "Toimitustavan tunnus\/ID.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"instance_id": {
"description": "Toimitustapahtuman tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"fee_lines": {
"description": "Maksurivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Maksun nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Maksun veroluokka.",
"type": "string",
"context": [
"view",
"edit"
]
},
"tax_status": {
"description": "Maksun veron tila.",
"type": "string",
"context": [
"view",
"edit"
],
"enum": [
"taxable",
"none"
]
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"subtotal": {
"description": "Verojen v\u00e4lisumma.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"api_refund": {
"default": true,
"description": "Kun tosi, maksuk\u00e4yt\u00e4v\u00e4n rajapintaa\/API k\u00e4ytet\u00e4\u00e4n hyvityksen tekemisess\u00e4.",
"type": "boolean",
"required": false
},
"api_restock": {
"default": true,
"description": "Kun totta, hyvitetyt tuotteet t\u00e4ytet\u00e4\u00e4n uudelleen.",
"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": "Tilauksen tunniste\/ID.",
"type": "integer",
"required": false
},
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"order_id": {
"description": "Tilauksen tunniste\/ID.",
"type": "integer",
"required": false
},
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": true,
"type": "boolean",
"description": "On oltava tosi, koska resurssi ei tue roskakoria.",
"required": false
}
}
}
]
},
"\/wc\/v3\/orders": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajoita tulokset niihin jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon.",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Rajoita vastaus resursseihin, joita on muutettu tietyn ISO8601-yhteensopivuuden j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Rajoita vastaus resursseihin, joita on muokattu ennen tietty\u00e4 ISO8601-yhteensopivaa p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Otetaanko GMT-l\u00e4hetysp\u00e4iv\u00e4t huomioon, kun vastaus rajoitetaan julkaistuun tai muutettuun p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4n.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified"
],
"required": false
},
"parent": {
"description": "Rajoita tulosjoukko niihin joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Rajoita tulosjoukko kaikkiin tuotteisiin poislukien ne joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"status": {
"default": "any",
"description": "Rajoita tulosjoukko tilauksiin joilla on tietty tila.",
"type": "array",
"items": {
"type": "string",
"enum": [
"any",
"trash",
"auto-draft",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
]
},
"required": false
},
"customer": {
"description": "Rajoita tulosjoukko tilauksiin joissa on tietty asiakas.",
"type": "integer",
"required": false
},
"product": {
"description": "Rajoita tulosjoukko tilauksiin joissa on tietty tuote.",
"type": "integer",
"required": false
},
"dp": {
"default": 2,
"description": "Desimaalien m\u00e4\u00e4r\u00e4 jota k\u00e4ytet\u00e4\u00e4n resursseissa.",
"type": "integer",
"required": false
},
"order_item_display_meta": {
"default": false,
"description": "N\u00e4yt\u00e4 vain meta, joka on tarkoitettu n\u00e4ytett\u00e4v\u00e4ksi tilaukselle.",
"type": "boolean",
"required": false
},
"include_meta": {
"default": [],
"description": "Rajoita meta_data tiettyihin avaimiin.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Varmista, ett\u00e4 meta_data ei sis\u00e4ll\u00e4 tietyt avaimet.",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"parent_id": {
"description": "Ylemm\u00e4n tason tilauksen numero.",
"type": "integer",
"required": false
},
"status": {
"default": "pending",
"description": "Tilauksen tila.",
"type": "string",
"enum": [
"auto-draft",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"required": false
},
"currency": {
"default": "USD",
"description": "ISO muodossa valuutta jolla tilaus on tehty.",
"type": "string",
"enum": [
"AED",
"AFN",
"ALL",
"AMD",
"ANG",
"AOA",
"ARS",
"AUD",
"AWG",
"AZN",
"BAM",
"BBD",
"BDT",
"BGN",
"BHD",
"BIF",
"BMD",
"BND",
"BOB",
"BRL",
"BSD",
"BTC",
"BTN",
"BWP",
"BYR",
"BYN",
"BZD",
"CAD",
"CDF",
"CHF",
"CLP",
"CNY",
"COP",
"CRC",
"CUC",
"CUP",
"CVE",
"CZK",
"DJF",
"DKK",
"DOP",
"DZD",
"EGP",
"ERN",
"ETB",
"EUR",
"FJD",
"FKP",
"GBP",
"GEL",
"GGP",
"GHS",
"GIP",
"GMD",
"GNF",
"GTQ",
"GYD",
"HKD",
"HNL",
"HRK",
"HTG",
"HUF",
"IDR",
"ILS",
"IMP",
"INR",
"IQD",
"IRR",
"IRT",
"ISK",
"JEP",
"JMD",
"JOD",
"JPY",
"KES",
"KGS",
"KHR",
"KMF",
"KPW",
"KRW",
"KWD",
"KYD",
"KZT",
"LAK",
"LBP",
"LKR",
"LRD",
"LSL",
"LYD",
"MAD",
"MDL",
"MGA",
"MKD",
"MMK",
"MNT",
"MOP",
"MRU",
"MUR",
"MVR",
"MWK",
"MXN",
"MYR",
"MZN",
"NAD",
"NGN",
"NIO",
"NOK",
"NPR",
"NZD",
"OMR",
"PAB",
"PEN",
"PGK",
"PHP",
"PKR",
"PLN",
"PRB",
"PYG",
"QAR",
"RON",
"RSD",
"RUB",
"RWF",
"SAR",
"SBD",
"SCR",
"SDG",
"SEK",
"SGD",
"SHP",
"SLL",
"SOS",
"SRD",
"SSP",
"STN",
"SYP",
"SZL",
"THB",
"TJS",
"TMT",
"TND",
"TOP",
"TRY",
"TTD",
"TWD",
"TZS",
"UAH",
"UGX",
"USD",
"UYU",
"UZS",
"VEF",
"VES",
"VND",
"VUV",
"WST",
"XAF",
"XCD",
"XOF",
"XPF",
"YER",
"ZAR",
"ZMW"
],
"required": false
},
"customer_id": {
"default": 0,
"description": "Tilauksen omistajan tunnus\/ID. Vierailijoille 0.",
"type": "integer",
"required": false
},
"customer_note": {
"description": "Asiakkaan kassalla j\u00e4tt\u00e4m\u00e4 kommentti.",
"type": "string",
"required": false
},
"billing": {
"description": "Laskutusosoite.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maakoodi ISO 3166-1 alpha-2 -muodossa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "S\u00e4hk\u00f6postiosoite.",
"type": [
"string",
"null"
],
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Puhelinnumero.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Toimitusosoite.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maakoodi ISO 3166-1 alpha-2 -muodossa.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"payment_method": {
"description": "Maksutavan tunnus\/ID",
"type": "string",
"required": false
},
"payment_method_title": {
"description": "Maksutavan otsikko.",
"type": "string",
"required": false
},
"transaction_id": {
"description": "Muista poikkeava tapahtuman tunnus\/ID.",
"type": "string",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"line_items": {
"description": "Tuoterivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Tuotteen nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"parent_name": {
"description": "P\u00e4\u00e4tuotteen nimi, jos tuote on muunnelma.",
"type": "string",
"context": [
"view",
"edit"
]
},
"product_id": {
"description": "Tuotteen ID.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"variation_id": {
"description": "Muunnelman tunnus\/ID, jos tarvitaan.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"quantity": {
"description": "Tilattu m\u00e4\u00e4r\u00e4.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Tuotteen veroluokka.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Rivien v\u00e4lisumma (ennen alennuksia).",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal_tax": {
"description": "Rivien verojen v\u00e4lisumma (ennen alennuksia).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Verojen v\u00e4lisumma.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"display_key": {
"description": "Meta-avain k\u00e4ytt\u00f6liittym\u00e4n n\u00e4yt\u00f6lle.",
"type": "string",
"context": [
"view",
"edit"
]
},
"display_value": {
"description": "K\u00e4ytt\u00f6liittym\u00e4n n\u00e4yt\u00f6n meta-arvo.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"sku": {
"description": "Tuotetunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"price": {
"description": "Tuotteen hinta.",
"type": "number",
"context": [
"view",
"edit"
],
"readonly": true
},
"image": {
"description": "P\u00e4\u00e4tuotekuvan ominaisuudet.",
"type": "object",
"context": [
"view",
"edit"
],
"readonly": true,
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
}
}
}
}
},
"required": false
},
"shipping_lines": {
"description": "Toimitusrivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"method_title": {
"description": "Toimitustavan nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"method_id": {
"description": "Toimitustavan tunnus\/ID.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"instance_id": {
"description": "Toimitustapahtuman tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"fee_lines": {
"description": "Maksurivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Maksun nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Maksun veroluokka.",
"type": "string",
"context": [
"view",
"edit"
]
},
"tax_status": {
"description": "Maksun veron tila.",
"type": "string",
"context": [
"view",
"edit"
],
"enum": [
"taxable",
"none"
]
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"subtotal": {
"description": "Verojen v\u00e4lisumma.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"coupon_lines": {
"description": "Kuponkirivin tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"code": {
"description": "Kupongin koodi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"discount": {
"description": "Alennukset yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"discount_tax": {
"description": "Alennuksen vero yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"discount_type": {
"description": "Alennustyyppi.",
"type": "string",
"context": [
"view"
],
"readonly": true
},
"nominal_amount": {
"description": "Discount amount as defined in the coupon (absolute value or a percent, depending on the discount type).",
"type": "number",
"context": [
"view"
],
"readonly": true
},
"free_shipping": {
"description": "Whether the coupon grants free shipping or not.",
"type": "boolean",
"context": [
"view"
],
"readonly": true
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"set_paid": {
"default": false,
"description": "M\u00e4\u00e4rit\u00e4 onko tilaus maksettu. Kun se tehd\u00e4\u00e4n, tila asetetaan K\u00e4sittelyss\u00e4 tilaksi ja varaston m\u00e4\u00e4r\u00e4\u00e4 pienennet\u00e4\u00e4n.",
"type": "boolean",
"required": false
},
"manual_update": {
"default": false,
"description": "Set the action as manual so that the order note registers as \"added by user\".",
"type": "boolean",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"parent_id": {
"description": "Ylemm\u00e4n tason tilauksen numero.",
"type": "integer",
"required": false
},
"status": {
"description": "Tilauksen tila.",
"type": "string",
"enum": [
"auto-draft",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"required": false
},
"currency": {
"description": "ISO muodossa valuutta jolla tilaus on tehty.",
"type": "string",
"enum": [
"AED",
"AFN",
"ALL",
"AMD",
"ANG",
"AOA",
"ARS",
"AUD",
"AWG",
"AZN",
"BAM",
"BBD",
"BDT",
"BGN",
"BHD",
"BIF",
"BMD",
"BND",
"BOB",
"BRL",
"BSD",
"BTC",
"BTN",
"BWP",
"BYR",
"BYN",
"BZD",
"CAD",
"CDF",
"CHF",
"CLP",
"CNY",
"COP",
"CRC",
"CUC",
"CUP",
"CVE",
"CZK",
"DJF",
"DKK",
"DOP",
"DZD",
"EGP",
"ERN",
"ETB",
"EUR",
"FJD",
"FKP",
"GBP",
"GEL",
"GGP",
"GHS",
"GIP",
"GMD",
"GNF",
"GTQ",
"GYD",
"HKD",
"HNL",
"HRK",
"HTG",
"HUF",
"IDR",
"ILS",
"IMP",
"INR",
"IQD",
"IRR",
"IRT",
"ISK",
"JEP",
"JMD",
"JOD",
"JPY",
"KES",
"KGS",
"KHR",
"KMF",
"KPW",
"KRW",
"KWD",
"KYD",
"KZT",
"LAK",
"LBP",
"LKR",
"LRD",
"LSL",
"LYD",
"MAD",
"MDL",
"MGA",
"MKD",
"MMK",
"MNT",
"MOP",
"MRU",
"MUR",
"MVR",
"MWK",
"MXN",
"MYR",
"MZN",
"NAD",
"NGN",
"NIO",
"NOK",
"NPR",
"NZD",
"OMR",
"PAB",
"PEN",
"PGK",
"PHP",
"PKR",
"PLN",
"PRB",
"PYG",
"QAR",
"RON",
"RSD",
"RUB",
"RWF",
"SAR",
"SBD",
"SCR",
"SDG",
"SEK",
"SGD",
"SHP",
"SLL",
"SOS",
"SRD",
"SSP",
"STN",
"SYP",
"SZL",
"THB",
"TJS",
"TMT",
"TND",
"TOP",
"TRY",
"TTD",
"TWD",
"TZS",
"UAH",
"UGX",
"USD",
"UYU",
"UZS",
"VEF",
"VES",
"VND",
"VUV",
"WST",
"XAF",
"XCD",
"XOF",
"XPF",
"YER",
"ZAR",
"ZMW"
],
"required": false
},
"customer_id": {
"description": "Tilauksen omistajan tunnus\/ID. Vierailijoille 0.",
"type": "integer",
"required": false
},
"customer_note": {
"description": "Asiakkaan kassalla j\u00e4tt\u00e4m\u00e4 kommentti.",
"type": "string",
"required": false
},
"billing": {
"description": "Laskutusosoite.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maakoodi ISO 3166-1 alpha-2 -muodossa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "S\u00e4hk\u00f6postiosoite.",
"type": [
"string",
"null"
],
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Puhelinnumero.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Toimitusosoite.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maakoodi ISO 3166-1 alpha-2 -muodossa.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"payment_method": {
"description": "Maksutavan tunnus\/ID",
"type": "string",
"required": false
},
"payment_method_title": {
"description": "Maksutavan otsikko.",
"type": "string",
"required": false
},
"transaction_id": {
"description": "Muista poikkeava tapahtuman tunnus\/ID.",
"type": "string",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"line_items": {
"description": "Tuoterivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Tuotteen nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"parent_name": {
"description": "P\u00e4\u00e4tuotteen nimi, jos tuote on muunnelma.",
"type": "string",
"context": [
"view",
"edit"
]
},
"product_id": {
"description": "Tuotteen ID.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"variation_id": {
"description": "Muunnelman tunnus\/ID, jos tarvitaan.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"quantity": {
"description": "Tilattu m\u00e4\u00e4r\u00e4.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Tuotteen veroluokka.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Rivien v\u00e4lisumma (ennen alennuksia).",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal_tax": {
"description": "Rivien verojen v\u00e4lisumma (ennen alennuksia).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Verojen v\u00e4lisumma.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"display_key": {
"description": "Meta-avain k\u00e4ytt\u00f6liittym\u00e4n n\u00e4yt\u00f6lle.",
"type": "string",
"context": [
"view",
"edit"
]
},
"display_value": {
"description": "K\u00e4ytt\u00f6liittym\u00e4n n\u00e4yt\u00f6n meta-arvo.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"sku": {
"description": "Tuotetunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"price": {
"description": "Tuotteen hinta.",
"type": "number",
"context": [
"view",
"edit"
],
"readonly": true
},
"image": {
"description": "P\u00e4\u00e4tuotekuvan ominaisuudet.",
"type": "object",
"context": [
"view",
"edit"
],
"readonly": true,
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
}
}
}
}
},
"required": false
},
"shipping_lines": {
"description": "Toimitusrivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"method_title": {
"description": "Toimitustavan nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"method_id": {
"description": "Toimitustavan tunnus\/ID.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"instance_id": {
"description": "Toimitustapahtuman tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"fee_lines": {
"description": "Maksurivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Maksun nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Maksun veroluokka.",
"type": "string",
"context": [
"view",
"edit"
]
},
"tax_status": {
"description": "Maksun veron tila.",
"type": "string",
"context": [
"view",
"edit"
],
"enum": [
"taxable",
"none"
]
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"subtotal": {
"description": "Verojen v\u00e4lisumma.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"coupon_lines": {
"description": "Kuponkirivin tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"code": {
"description": "Kupongin koodi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"discount": {
"description": "Alennukset yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"discount_tax": {
"description": "Alennuksen vero yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"discount_type": {
"description": "Alennustyyppi.",
"type": "string",
"context": [
"view"
],
"readonly": true
},
"nominal_amount": {
"description": "Discount amount as defined in the coupon (absolute value or a percent, depending on the discount type).",
"type": "number",
"context": [
"view"
],
"readonly": true
},
"free_shipping": {
"description": "Whether the coupon grants free shipping or not.",
"type": "boolean",
"context": [
"view"
],
"readonly": true
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"set_paid": {
"description": "M\u00e4\u00e4rit\u00e4 onko tilaus maksettu. Kun se tehd\u00e4\u00e4n, tila asetetaan K\u00e4sittelyss\u00e4 tilaksi ja varaston m\u00e4\u00e4r\u00e4\u00e4 pienennet\u00e4\u00e4n.",
"type": "boolean",
"required": false
},
"manual_update": {
"description": "Set the action as manual so that the order note registers as \"added by user\".",
"type": "boolean",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ohitetaanko roskakori ja pakotetaan poisto.",
"required": false
}
}
}
]
},
"\/wc\/v3\/orders\/batch": {
"namespace": "wc\/v3",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"parent_id": {
"description": "Ylemm\u00e4n tason tilauksen numero.",
"type": "integer",
"required": false
},
"status": {
"description": "Tilauksen tila.",
"type": "string",
"enum": [
"auto-draft",
"pending",
"processing",
"on-hold",
"completed",
"cancelled",
"refunded",
"failed",
"checkout-draft"
],
"required": false
},
"currency": {
"description": "ISO muodossa valuutta jolla tilaus on tehty.",
"type": "string",
"enum": [
"AED",
"AFN",
"ALL",
"AMD",
"ANG",
"AOA",
"ARS",
"AUD",
"AWG",
"AZN",
"BAM",
"BBD",
"BDT",
"BGN",
"BHD",
"BIF",
"BMD",
"BND",
"BOB",
"BRL",
"BSD",
"BTC",
"BTN",
"BWP",
"BYR",
"BYN",
"BZD",
"CAD",
"CDF",
"CHF",
"CLP",
"CNY",
"COP",
"CRC",
"CUC",
"CUP",
"CVE",
"CZK",
"DJF",
"DKK",
"DOP",
"DZD",
"EGP",
"ERN",
"ETB",
"EUR",
"FJD",
"FKP",
"GBP",
"GEL",
"GGP",
"GHS",
"GIP",
"GMD",
"GNF",
"GTQ",
"GYD",
"HKD",
"HNL",
"HRK",
"HTG",
"HUF",
"IDR",
"ILS",
"IMP",
"INR",
"IQD",
"IRR",
"IRT",
"ISK",
"JEP",
"JMD",
"JOD",
"JPY",
"KES",
"KGS",
"KHR",
"KMF",
"KPW",
"KRW",
"KWD",
"KYD",
"KZT",
"LAK",
"LBP",
"LKR",
"LRD",
"LSL",
"LYD",
"MAD",
"MDL",
"MGA",
"MKD",
"MMK",
"MNT",
"MOP",
"MRU",
"MUR",
"MVR",
"MWK",
"MXN",
"MYR",
"MZN",
"NAD",
"NGN",
"NIO",
"NOK",
"NPR",
"NZD",
"OMR",
"PAB",
"PEN",
"PGK",
"PHP",
"PKR",
"PLN",
"PRB",
"PYG",
"QAR",
"RON",
"RSD",
"RUB",
"RWF",
"SAR",
"SBD",
"SCR",
"SDG",
"SEK",
"SGD",
"SHP",
"SLL",
"SOS",
"SRD",
"SSP",
"STN",
"SYP",
"SZL",
"THB",
"TJS",
"TMT",
"TND",
"TOP",
"TRY",
"TTD",
"TWD",
"TZS",
"UAH",
"UGX",
"USD",
"UYU",
"UZS",
"VEF",
"VES",
"VND",
"VUV",
"WST",
"XAF",
"XCD",
"XOF",
"XPF",
"YER",
"ZAR",
"ZMW"
],
"required": false
},
"customer_id": {
"description": "Tilauksen omistajan tunnus\/ID. Vierailijoille 0.",
"type": "integer",
"required": false
},
"customer_note": {
"description": "Asiakkaan kassalla j\u00e4tt\u00e4m\u00e4 kommentti.",
"type": "string",
"required": false
},
"billing": {
"description": "Laskutusosoite.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maakoodi ISO 3166-1 alpha-2 -muodossa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"email": {
"description": "S\u00e4hk\u00f6postiosoite.",
"type": [
"string",
"null"
],
"format": "email",
"context": [
"view",
"edit"
]
},
"phone": {
"description": "Puhelinnumero.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping": {
"description": "Toimitusosoite.",
"type": "object",
"properties": {
"first_name": {
"description": "Etunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"last_name": {
"description": "Sukunimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"company": {
"description": "Yrityksen nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_1": {
"description": "Osoiterivi 1",
"type": "string",
"context": [
"view",
"edit"
]
},
"address_2": {
"description": "Osoiterivi 2",
"type": "string",
"context": [
"view",
"edit"
]
},
"city": {
"description": "Postitoimipaikan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"state": {
"description": "L\u00e4\u00e4nin, maakunnan, osavaltion, provinssin tai alueen ISO-koodi tai nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"postcode": {
"description": "Postinumero tai -koodi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"country": {
"description": "Maakoodi ISO 3166-1 alpha-2 -muodossa.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"payment_method": {
"description": "Maksutavan tunnus\/ID",
"type": "string",
"required": false
},
"payment_method_title": {
"description": "Maksutavan otsikko.",
"type": "string",
"required": false
},
"transaction_id": {
"description": "Muista poikkeava tapahtuman tunnus\/ID.",
"type": "string",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"line_items": {
"description": "Tuoterivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Tuotteen nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"parent_name": {
"description": "P\u00e4\u00e4tuotteen nimi, jos tuote on muunnelma.",
"type": "string",
"context": [
"view",
"edit"
]
},
"product_id": {
"description": "Tuotteen ID.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"variation_id": {
"description": "Muunnelman tunnus\/ID, jos tarvitaan.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"quantity": {
"description": "Tilattu m\u00e4\u00e4r\u00e4.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Tuotteen veroluokka.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Rivien v\u00e4lisumma (ennen alennuksia).",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal_tax": {
"description": "Rivien verojen v\u00e4lisumma (ennen alennuksia).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
]
},
"subtotal": {
"description": "Verojen v\u00e4lisumma.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"display_key": {
"description": "Meta-avain k\u00e4ytt\u00f6liittym\u00e4n n\u00e4yt\u00f6lle.",
"type": "string",
"context": [
"view",
"edit"
]
},
"display_value": {
"description": "K\u00e4ytt\u00f6liittym\u00e4n n\u00e4yt\u00f6n meta-arvo.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"sku": {
"description": "Tuotetunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"price": {
"description": "Tuotteen hinta.",
"type": "number",
"context": [
"view",
"edit"
],
"readonly": true
},
"image": {
"description": "P\u00e4\u00e4tuotekuvan ominaisuudet.",
"type": "object",
"context": [
"view",
"edit"
],
"readonly": true,
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
}
}
}
}
},
"required": false
},
"shipping_lines": {
"description": "Toimitusrivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"method_title": {
"description": "Toimitustavan nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"method_id": {
"description": "Toimitustavan tunnus\/ID.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"instance_id": {
"description": "Toimitustapahtuman tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"fee_lines": {
"description": "Maksurivien tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"name": {
"description": "Maksun nimi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"tax_class": {
"description": "Maksun veroluokka.",
"type": "string",
"context": [
"view",
"edit"
]
},
"tax_status": {
"description": "Maksun veron tila.",
"type": "string",
"context": [
"view",
"edit"
],
"enum": [
"taxable",
"none"
]
},
"total": {
"description": "Rivit yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
]
},
"total_tax": {
"description": "Rivien verot yhteens\u00e4 (alennusten j\u00e4lkeen).",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"taxes": {
"description": "Rivin verot.",
"type": "array",
"context": [
"view",
"edit"
],
"readonly": true,
"items": {
"type": "object",
"properties": {
"id": {
"description": "Veroprosentin tunnus\/ID",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"total": {
"description": "Verot yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"subtotal": {
"description": "Verojen v\u00e4lisumma.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
}
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"coupon_lines": {
"description": "Kuponkirivin tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tuotteen tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"code": {
"description": "Kupongin koodi.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
},
"discount": {
"description": "Alennukset yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"discount_tax": {
"description": "Alennuksen vero yhteens\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"discount_type": {
"description": "Alennustyyppi.",
"type": "string",
"context": [
"view"
],
"readonly": true
},
"nominal_amount": {
"description": "Discount amount as defined in the coupon (absolute value or a percent, depending on the discount type).",
"type": "number",
"context": [
"view"
],
"readonly": true
},
"free_shipping": {
"description": "Whether the coupon grants free shipping or not.",
"type": "boolean",
"context": [
"view"
],
"readonly": true
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"context": [
"view",
"edit"
],
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
}
},
"required": false
},
"set_paid": {
"description": "M\u00e4\u00e4rit\u00e4 onko tilaus maksettu. Kun se tehd\u00e4\u00e4n, tila asetetaan K\u00e4sittelyss\u00e4 tilaksi ja varaston m\u00e4\u00e4r\u00e4\u00e4 pienennet\u00e4\u00e4n.",
"type": "boolean",
"required": false
},
"manual_update": {
"description": "Set the action as manual so that the order note registers as \"added by user\".",
"type": "boolean",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Muista poikkeava tunnus termien ominaisuudelle.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajaa tulokset niihin, jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon. ",
"type": "string",
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Korvaa asetettu tulos tietyll\u00e4 m\u00e4\u00e4r\u00e4ll\u00e4 kohteita. Koskee vain hierarkkisia taksonomioita.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma resurssin ominaisuuden perusteella.",
"type": "string",
"default": "name",
"enum": [
"id",
"include",
"name",
"slug",
"term_group",
"description",
"count"
],
"required": false
},
"hide_empty": {
"description": "Piilotetaanko resurssit joita ei ole liitetty mihink\u00e4\u00e4n tuotteeseen.",
"type": "boolean",
"default": false,
"required": false
},
"parent": {
"description": "Rajoita tulosjoukko tietylle vanhemmalle m\u00e4\u00e4ritettyihin resursseihin. Koskee vain hierarkkisia taksonomioita.",
"type": "integer",
"required": false
},
"product": {
"description": "Rajoita tulosjoukko niihin resursseihin jotka on liitetty tiettyyn tuotteeseen.",
"type": "integer",
"default": null,
"required": false
},
"slug": {
"description": "Rajoita tulosjoukko niihin resursseihin joilla on tietty polkutunnus.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"attribute_id": {
"description": "Muista poikkeava tunnus termien ominaisuudelle.",
"type": "integer",
"required": false
},
"name": {
"type": "string",
"description": "Resurssin nimi.",
"required": true
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys jota k\u00e4ytet\u00e4\u00e4n mukautetussa resurssien j\u00e4rjest\u00e4misess\u00e4.",
"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": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"attribute_id": {
"description": "Muista poikkeava tunnus termien ominaisuudelle.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"attribute_id": {
"description": "Muista poikkeava tunnus termien ominaisuudelle.",
"type": "integer",
"required": false
},
"name": {
"description": "Termin nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys jota k\u00e4ytet\u00e4\u00e4n mukautetussa resurssien j\u00e4rjest\u00e4misess\u00e4.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"attribute_id": {
"description": "Muista poikkeava tunnus termien ominaisuudelle.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "On oltava tosi, koska resurssi ei tue roskakoria.",
"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": "Muista poikkeava tunnus termien ominaisuudelle.",
"type": "integer",
"required": false
},
"name": {
"description": "Termin nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys jota k\u00e4ytet\u00e4\u00e4n mukautetussa resurssien j\u00e4rjest\u00e4misess\u00e4.",
"type": "integer",
"required": false
}
}
}
]
},
"\/wc\/v3\/products\/attributes": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"description": "Resurssin nimi.",
"type": "string",
"required": true
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"type": {
"default": "select",
"description": "Ominaisuuden laji.",
"type": "string",
"enum": [
"button",
"color",
"image",
"variation_img",
"radio",
"viwpvs_default",
"select"
],
"required": false
},
"order_by": {
"default": "menu_order",
"description": "Oletuksena k\u00e4ytett\u00e4v\u00e4 lajittelutapa.",
"type": "string",
"enum": [
"menu_order",
"name",
"name_num",
"id"
],
"required": false
},
"has_archives": {
"default": false,
"description": "Ota k\u00e4ytt\u00f6\u00f6n\/poista k\u00e4yt\u00f6st\u00e4 ominaisuuksien arkisto.",
"type": "boolean",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"type": {
"description": "Ominaisuuden laji.",
"type": "string",
"enum": [
"button",
"color",
"image",
"variation_img",
"radio",
"viwpvs_default",
"select"
],
"required": false
},
"order_by": {
"description": "Oletuksena k\u00e4ytett\u00e4v\u00e4 lajittelutapa.",
"type": "string",
"enum": [
"menu_order",
"name",
"name_num",
"id"
],
"required": false
},
"has_archives": {
"description": "Ota k\u00e4ytt\u00f6\u00f6n\/poista k\u00e4yt\u00f6st\u00e4 ominaisuuksien arkisto.",
"type": "boolean",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": true,
"type": "boolean",
"description": "On oltava tosi, koska resurssi ei tue roskakoria.",
"required": false
}
}
}
]
},
"\/wc\/v3\/products\/attributes\/batch": {
"namespace": "wc\/v3",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"type": {
"description": "Ominaisuuden laji.",
"type": "string",
"enum": [
"button",
"color",
"image",
"variation_img",
"radio",
"viwpvs_default",
"select"
],
"required": false
},
"order_by": {
"description": "Oletuksena k\u00e4ytett\u00e4v\u00e4 lajittelutapa.",
"type": "string",
"enum": [
"menu_order",
"name",
"name_num",
"id"
],
"required": false
},
"has_archives": {
"description": "Ota k\u00e4ytt\u00f6\u00f6n\/poista k\u00e4yt\u00f6st\u00e4 ominaisuuksien arkisto.",
"type": "boolean",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v3\/products\/attributes\/batch"
}
]
}
},
"\/wc\/v3\/products\/categories": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajaa tulokset niihin, jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon. ",
"type": "string",
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Korvaa asetettu tulos tietyll\u00e4 m\u00e4\u00e4r\u00e4ll\u00e4 kohteita. Koskee vain hierarkkisia taksonomioita.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma resurssin ominaisuuden perusteella.",
"type": "string",
"default": "name",
"enum": [
"id",
"include",
"name",
"slug",
"term_group",
"description",
"count"
],
"required": false
},
"hide_empty": {
"description": "Piilotetaanko resurssit joita ei ole liitetty mihink\u00e4\u00e4n tuotteeseen.",
"type": "boolean",
"default": false,
"required": false
},
"parent": {
"description": "Rajoita tulosjoukko tietylle vanhemmalle m\u00e4\u00e4ritettyihin resursseihin. Koskee vain hierarkkisia taksonomioita.",
"type": "integer",
"required": false
},
"product": {
"description": "Rajoita tulosjoukko niihin resursseihin jotka on liitetty tiettyyn tuotteeseen.",
"type": "integer",
"default": null,
"required": false
},
"slug": {
"description": "Rajoita tulosjoukko niihin resursseihin joilla on tietty polkutunnus.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"type": "string",
"description": "Resurssin nimi.",
"required": true
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"parent": {
"description": "Ylemm\u00e4n tason resurssin tunnus\/ID.",
"type": "integer",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
},
"display": {
"default": "default",
"description": "Osastojen arkisto, n\u00e4ytt\u00e4misen laji.",
"type": "string",
"enum": [
"default",
"products",
"subcategories",
"both"
],
"required": false
},
"image": {
"description": "Kuvan tiedot.",
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys jota k\u00e4ytet\u00e4\u00e4n mukautetussa resurssien j\u00e4rjest\u00e4misess\u00e4.",
"type": "integer",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"name": {
"description": "Osaston nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"parent": {
"description": "Ylemm\u00e4n tason resurssin tunnus\/ID.",
"type": "integer",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
},
"display": {
"description": "Osastojen arkisto, n\u00e4ytt\u00e4misen laji.",
"type": "string",
"enum": [
"default",
"products",
"subcategories",
"both"
],
"required": false
},
"image": {
"description": "Kuvan tiedot.",
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys jota k\u00e4ytet\u00e4\u00e4n mukautetussa resurssien j\u00e4rjest\u00e4misess\u00e4.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "On oltava tosi, koska resurssi ei tue roskakoria.",
"required": false
}
}
}
]
},
"\/wc\/v3\/products\/categories\/batch": {
"namespace": "wc\/v3",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Osaston nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"parent": {
"description": "Ylemm\u00e4n tason resurssin tunnus\/ID.",
"type": "integer",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
},
"display": {
"description": "Osastojen arkisto, n\u00e4ytt\u00e4misen laji.",
"type": "string",
"enum": [
"default",
"products",
"subcategories",
"both"
],
"required": false
},
"image": {
"description": "Kuvan tiedot.",
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys jota k\u00e4ytet\u00e4\u00e4n mukautetussa resurssien j\u00e4rjest\u00e4misess\u00e4.",
"type": "integer",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v3\/products\/categories\/batch"
}
]
}
},
"\/wc\/v3\/products\/custom-fields\/names": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajaa tulokset niihin, jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon. ",
"type": "string",
"required": false
},
"order": {
"description": "Order sort items ascending or descending.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v3\/products\/custom-fields\/names"
}
]
}
},
"\/wc\/v3\/products\/reviews": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajaa tulokset niihin, jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon. ",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita vastaus arviointeihin jotka julkaistu ennen annettua p\u00e4iv\u00e4yst\u00e4 ISO8601 muodossa.",
"type": "string",
"format": "date-time",
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date_gmt",
"enum": [
"date",
"date_gmt",
"id",
"include",
"product"
],
"required": false
},
"reviewer": {
"description": "Rajoita arviointien tulosjoukko tietyn k\u00e4ytt\u00e4j\u00e4tunnuksen\/ID mukaan.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"reviewer_exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois arvioinnit tietyn k\u00e4ytt\u00e4j\u00e4tunnuksen\/ID mukaan.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"reviewer_email": {
"default": null,
"description": "Rajoita tulosjoukko tietyn kirjoittajan s\u00e4hk\u00f6postin mukaan.",
"format": "email",
"type": "string",
"required": false
},
"product": {
"default": [],
"description": "Rajoita arviointien tulosjoukko tietyn tuotetunnuksen\/ID mukaan.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"status": {
"default": "approved",
"description": "Rajoita arviointien tulosjoukko tietyn tilan mukaan.",
"type": "string",
"enum": [
"all",
"hold",
"approved",
"spam",
"trash"
],
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste tuotteelle.",
"type": "integer",
"required": true
},
"product_name": {
"description": "Tuotteen nimi.",
"type": "string",
"required": false
},
"status": {
"default": "approved",
"description": "Arvioinnin tila.",
"type": "string",
"enum": [
"approved",
"hold",
"spam",
"unspam",
"trash",
"untrash"
],
"required": false
},
"reviewer": {
"type": "string",
"description": "Arvioijan nimi.",
"required": true
},
"reviewer_email": {
"type": "string",
"description": "Arvioijan s\u00e4hk\u00f6postiosoite.",
"required": true
},
"review": {
"type": "string",
"description": "Arvion sis\u00e4lt\u00f6.",
"required": true
},
"rating": {
"description": "Arvostelu tuotearviosta (0 - 5).",
"type": "integer",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"product_id": {
"description": "Tuotteen muista poikkeava tunnus jota arviointi koskee.",
"type": "integer",
"required": false
},
"product_name": {
"description": "Tuotteen nimi.",
"type": "string",
"required": false
},
"status": {
"description": "Arvioinnin tila.",
"type": "string",
"enum": [
"approved",
"hold",
"spam",
"unspam",
"trash",
"untrash"
],
"required": false
},
"reviewer": {
"description": "Arvioijan nimi.",
"type": "string",
"required": false
},
"reviewer_email": {
"description": "Arvioijan s\u00e4hk\u00f6postiosoite.",
"type": "string",
"format": "email",
"required": false
},
"review": {
"description": "Arvion sis\u00e4lt\u00f6.",
"type": "string",
"required": false
},
"rating": {
"description": "Arvostelu tuotearviosta (0 - 5).",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ohitetaanko roskakori ja pakotetaan poisto.",
"required": false
}
}
}
]
},
"\/wc\/v3\/products\/reviews\/batch": {
"namespace": "wc\/v3",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"product_id": {
"description": "Tuotteen muista poikkeava tunnus jota arviointi koskee.",
"type": "integer",
"required": false
},
"product_name": {
"description": "Tuotteen nimi.",
"type": "string",
"required": false
},
"status": {
"description": "Arvioinnin tila.",
"type": "string",
"enum": [
"approved",
"hold",
"spam",
"unspam",
"trash",
"untrash"
],
"required": false
},
"reviewer": {
"description": "Arvioijan nimi.",
"type": "string",
"required": false
},
"reviewer_email": {
"description": "Arvioijan s\u00e4hk\u00f6postiosoite.",
"type": "string",
"format": "email",
"required": false
},
"review": {
"description": "Arvion sis\u00e4lt\u00f6.",
"type": "string",
"required": false
},
"rating": {
"description": "Arvostelu tuotearviosta (0 - 5).",
"type": "integer",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v3\/products\/reviews\/batch"
}
]
}
},
"\/wc\/v3\/products\/shipping_classes": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajaa tulokset niihin, jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon. ",
"type": "string",
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Korvaa asetettu tulos tietyll\u00e4 m\u00e4\u00e4r\u00e4ll\u00e4 kohteita. Koskee vain hierarkkisia taksonomioita.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma resurssin ominaisuuden perusteella.",
"type": "string",
"default": "name",
"enum": [
"id",
"include",
"name",
"slug",
"term_group",
"description",
"count"
],
"required": false
},
"hide_empty": {
"description": "Piilotetaanko resurssit joita ei ole liitetty mihink\u00e4\u00e4n tuotteeseen.",
"type": "boolean",
"default": false,
"required": false
},
"parent": {
"description": "Rajoita tulosjoukko tietylle vanhemmalle m\u00e4\u00e4ritettyihin resursseihin. Koskee vain hierarkkisia taksonomioita.",
"type": "integer",
"required": false
},
"product": {
"description": "Rajoita tulosjoukko niihin resursseihin jotka on liitetty tiettyyn tuotteeseen.",
"type": "integer",
"default": null,
"required": false
},
"slug": {
"description": "Rajoita tulosjoukko niihin resursseihin joilla on tietty polkutunnus.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"type": "string",
"description": "Resurssin nimi.",
"required": true
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"name": {
"description": "Toimitusluokan nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "On oltava tosi, koska resurssi ei tue roskakoria.",
"required": false
}
}
}
]
},
"\/wc\/v3\/products\/shipping_classes\/batch": {
"namespace": "wc\/v3",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Toimitusluokan nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Toimitusluokan nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajaa tulokset niihin, jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon. ",
"type": "string",
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Korvaa asetettu tulos tietyll\u00e4 m\u00e4\u00e4r\u00e4ll\u00e4 kohteita. Koskee vain hierarkkisia taksonomioita.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma resurssin ominaisuuden perusteella.",
"type": "string",
"default": "name",
"enum": [
"id",
"include",
"name",
"slug",
"term_group",
"description",
"count"
],
"required": false
},
"hide_empty": {
"description": "Piilotetaanko resurssit joita ei ole liitetty mihink\u00e4\u00e4n tuotteeseen.",
"type": "boolean",
"default": false,
"required": false
},
"parent": {
"description": "Rajoita tulosjoukko tietylle vanhemmalle m\u00e4\u00e4ritettyihin resursseihin. Koskee vain hierarkkisia taksonomioita.",
"type": "integer",
"required": false
},
"product": {
"description": "Rajoita tulosjoukko niihin resursseihin jotka on liitetty tiettyyn tuotteeseen.",
"type": "integer",
"default": null,
"required": false
},
"slug": {
"description": "Rajoita tulosjoukko niihin resursseihin joilla on tietty polkutunnus.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"type": "string",
"description": "Resurssin nimi.",
"required": true
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"name": {
"description": "Avainsanan nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "On oltava tosi, koska resurssi ei tue roskakoria.",
"required": false
}
}
}
]
},
"\/wc\/v3\/products\/tags\/batch": {
"namespace": "wc\/v3",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Avainsanan nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Resurssin kirjaimista ja numeroista koostuva tunniste joka poikkeaa muista saman lajin resursseista.",
"type": "string",
"required": false
},
"description": {
"description": "Resurssin HTML-muotoiltu kuvaus.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v3\/products\/tags\/batch"
}
]
}
},
"\/wc\/v3\/products": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajoita tulokset niihin jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon.",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Rajoita vastaus resursseihin, joita on muutettu tietyn ISO8601-yhteensopivuuden j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Rajoita vastaus resursseihin, joita on muokattu ennen tietty\u00e4 ISO8601-yhteensopivaa p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Otetaanko GMT-l\u00e4hetysp\u00e4iv\u00e4t huomioon, kun vastaus rajoitetaan julkaistuun tai muutettuun p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4n.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified",
"popularity",
"rating",
"popularity",
"rating",
"menu_order",
"price",
"popularity",
"rating"
],
"required": false
},
"parent": {
"description": "Rajoita tulosjoukko niihin joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Rajoita tulosjoukko kaikkiin tuotteisiin poislukien ne joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"slug": {
"description": "Rajoita tulosjoukko niihin tuotteisiin joilla on tietty polkutunnus.",
"type": "string",
"required": false
},
"status": {
"default": "any",
"description": "Rajoita tulosjoukko tuotteisiin joilla on tietty tila.",
"type": "string",
"enum": [
"any",
"future",
"trash",
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"type": {
"description": "Rajoita tulosjoukko tietyn lajisiin tuotteisiin.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"sku": {
"description": "Rajaa tulosjoukko tuotteisiin joilla tietty tuotetunnus (SKU). Jos useita, erota pilkulla.",
"type": "string",
"required": false
},
"featured": {
"description": "Rajoita tuotteiden tulosjoukko esittelyss\u00e4 olevien mukaan.",
"type": "boolean",
"required": false
},
"category": {
"description": "Rajoita tulosjoukko tietyn osaston\/ID tuotteisiin.",
"type": "string",
"required": false
},
"tag": {
"description": "Rajoita tulosjoukko tuotteisiin joilla on tietty avainsana\/ID.",
"type": "string",
"required": false
},
"shipping_class": {
"description": "Rajoita tulosjoukko tuotteisiin joilla on tietty toimitusluokka\/ID.",
"type": "string",
"required": false
},
"attribute": {
"description": "Rajoita tulokset tuotteisiin joilla tietty ominaisuus. K\u00e4yt\u00e4 luokittelunime\u00e4 tai ominaisuuden polkutunnusta.",
"type": "string",
"required": false
},
"attribute_term": {
"description": "Rajoita tulosjoukkot tuotteisiin joilla on tietty ominaisuuden arvo (edellytt\u00e4\u00e4 asetettua ominaisuutta).",
"type": "string",
"required": false
},
"on_sale": {
"description": "Rajoita tuotteiden tulosjoukko alennuksessa olevien mukaan.",
"type": "boolean",
"required": false
},
"min_price": {
"description": "Rajoita tuotteiden tulosjoukko alimman hinnan mukaan.",
"type": "string",
"required": false
},
"max_price": {
"description": "Rajoita tuotteiden tulosjoukko korkeimman hinnan mukaan.",
"type": "string",
"required": false
},
"include_meta": {
"default": [],
"description": "Rajoita meta_data tiettyihin avaimiin.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Varmista, ett\u00e4 meta_data ei sis\u00e4ll\u00e4 tietyt avaimet.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"stock_status": {
"description": "Rajoita tuotteiden tulosjoukko tietyn varastotilanteen mukaan.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"search_sku": {
"description": "Rajoita tulokset niihin, joiden SKU osittain vastaa merkkijonoa.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"description": "Tuotteen nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Tuotteen polkutunnus.",
"type": "string",
"required": false
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin tuote luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin tuote luotiin, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"type": {
"default": "simple",
"description": "Tuotteen laji.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"status": {
"default": "publish",
"description": "Tuotteen tila (julkaisun tila).",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish",
"future",
"auto-draft",
"trash"
],
"required": false
},
"featured": {
"default": false,
"description": "Esittelyss\u00e4 oleva tuote.",
"type": "boolean",
"required": false
},
"catalog_visibility": {
"default": "visible",
"description": "Tuoteluettelon n\u00e4kyvyys.",
"type": "string",
"enum": [
"visible",
"catalog",
"search",
"hidden"
],
"required": false
},
"description": {
"description": "Tuotteen kuvaus.",
"type": "string",
"required": false
},
"short_description": {
"description": "Tuotteen lyhyt kuvaus.",
"type": "string",
"required": false
},
"sku": {
"description": "Stock Keeping Unit.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN or ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Tuotteen normaali hinta.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Tuotteen alennettu hinta.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"virtual": {
"default": false,
"description": "Jos tuote on palvelu.",
"type": "boolean",
"required": false
},
"downloadable": {
"default": false,
"description": "Jos tuote on ladattava tuote.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"default": -1,
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer",
"required": false
},
"download_expiry": {
"default": -1,
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer",
"required": false
},
"external_url": {
"description": "Tuotteen ulkopuolinen verkko-osoite. Vain ulkopuolisille tuotteille.",
"type": "string",
"format": "uri",
"required": false
},
"button_text": {
"description": "Tuotteen ulkopuolisen painikkeen teksti. Vain ulkopuolisille tuotteille.",
"type": "string",
"required": false
},
"tax_status": {
"default": "taxable",
"description": "Veron tila.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Veroluokka.",
"type": "string",
"required": false
},
"manage_stock": {
"default": false,
"description": "Varaston hallinta tuotetasolla.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"stock_status": {
"default": "instock",
"description": "Hallitsee tuotteen varastotilannetta.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"default": "no",
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Alhainen varastom\u00e4\u00e4r\u00e4 tuotteelle.",
"type": [
"integer",
"null"
],
"required": false
},
"sold_individually": {
"default": false,
"description": "Yksi tuote voidaan ostaa yht\u00e4 tilausta kohden.",
"type": "boolean",
"required": false
},
"weight": {
"description": "Tuotteen paino (kg (kilogramma)).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Tuotteen mitat.",
"type": "object",
"properties": {
"length": {
"description": "Tuotteen pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Tuotteen leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Tuotteen korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Toimitusluokan polkutunnus.",
"type": "string",
"required": false
},
"reviews_allowed": {
"default": true,
"description": "Salli tuotearviot.",
"type": "boolean",
"required": false
},
"post_password": {
"description": "Artikkelin salasana.",
"type": "string",
"required": false
},
"upsell_ids": {
"description": "Lista Parempi tuote (Up-Sell) tuotteiden tunnuksista\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"cross_sell_ids": {
"description": "Lista Lis\u00e4tuote (Cross-Sell) tuotteiden tunnuksista\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"parent_id": {
"description": "Ylemm\u00e4n tason tuotteen tunnus\/ID.",
"type": "integer",
"required": false
},
"purchase_note": {
"description": "Valinnainen kommentti joka l\u00e4hetet\u00e4\u00e4n asiakkaalle oston j\u00e4lkeen.",
"type": "string",
"required": false
},
"categories": {
"description": "Osatojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Osaston tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Osaston nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Osaston polkutunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"tags": {
"description": "Avainsanojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Avainsanan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Avainsanan nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Avainsanan polkutunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"images": {
"description": "Kuvien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"attributes": {
"description": "Ominisuuksien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Ominaisuuden sijainti.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"visible": {
"description": "M\u00e4\u00e4rit\u00e4 n\u00e4kyyk\u00f6 ominaisuus \"Lis\u00e4tiedot\" v\u00e4lilehdell\u00e4 tuotteen sivulla.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"variation": {
"description": "M\u00e4\u00e4rit\u00e4, voidaanko ominaisuutta k\u00e4ytt\u00e4\u00e4 muunnelmana.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"options": {
"description": "Ominaisuuden saatavilla olevien (termi)nimien lista.",
"type": "array",
"items": {
"type": "string"
},
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"default_attributes": {
"description": "Muunnelman oletusominaisuudet.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys, k\u00e4ytet\u00e4\u00e4n tuotteiden mukautettuun j\u00e4rjest\u00e4miseen.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"name": {
"description": "Tuotteen nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Tuotteen polkutunnus.",
"type": "string",
"required": false
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin tuote luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin tuote luotiin, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"type": {
"description": "Tuotteen laji.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"status": {
"description": "Tuotteen tila (julkaisun tila).",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish",
"future",
"auto-draft",
"trash"
],
"required": false
},
"featured": {
"description": "Esittelyss\u00e4 oleva tuote.",
"type": "boolean",
"required": false
},
"catalog_visibility": {
"description": "Tuoteluettelon n\u00e4kyvyys.",
"type": "string",
"enum": [
"visible",
"catalog",
"search",
"hidden"
],
"required": false
},
"description": {
"description": "Tuotteen kuvaus.",
"type": "string",
"required": false
},
"short_description": {
"description": "Tuotteen lyhyt kuvaus.",
"type": "string",
"required": false
},
"sku": {
"description": "Stock Keeping Unit.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN or ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Tuotteen normaali hinta.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Tuotteen alennettu hinta.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"virtual": {
"description": "Jos tuote on palvelu.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Jos tuote on ladattava tuote.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer",
"required": false
},
"external_url": {
"description": "Tuotteen ulkopuolinen verkko-osoite. Vain ulkopuolisille tuotteille.",
"type": "string",
"format": "uri",
"required": false
},
"button_text": {
"description": "Tuotteen ulkopuolisen painikkeen teksti. Vain ulkopuolisille tuotteille.",
"type": "string",
"required": false
},
"tax_status": {
"description": "Veron tila.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Veroluokka.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Varaston hallinta tuotetasolla.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"stock_status": {
"description": "Hallitsee tuotteen varastotilannetta.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Alhainen varastom\u00e4\u00e4r\u00e4 tuotteelle.",
"type": [
"integer",
"null"
],
"required": false
},
"sold_individually": {
"description": "Yksi tuote voidaan ostaa yht\u00e4 tilausta kohden.",
"type": "boolean",
"required": false
},
"weight": {
"description": "Tuotteen paino (kg (kilogramma)).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Tuotteen mitat.",
"type": "object",
"properties": {
"length": {
"description": "Tuotteen pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Tuotteen leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Tuotteen korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Toimitusluokan polkutunnus.",
"type": "string",
"required": false
},
"reviews_allowed": {
"description": "Salli tuotearviot.",
"type": "boolean",
"required": false
},
"post_password": {
"description": "Artikkelin salasana.",
"type": "string",
"required": false
},
"upsell_ids": {
"description": "Lista Parempi tuote (Up-Sell) tuotteiden tunnuksista\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"cross_sell_ids": {
"description": "Lista Lis\u00e4tuote (Cross-Sell) tuotteiden tunnuksista\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"parent_id": {
"description": "Ylemm\u00e4n tason tuotteen tunnus\/ID.",
"type": "integer",
"required": false
},
"purchase_note": {
"description": "Valinnainen kommentti joka l\u00e4hetet\u00e4\u00e4n asiakkaalle oston j\u00e4lkeen.",
"type": "string",
"required": false
},
"categories": {
"description": "Osatojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Osaston tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Osaston nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Osaston polkutunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"tags": {
"description": "Avainsanojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Avainsanan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Avainsanan nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Avainsanan polkutunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"images": {
"description": "Kuvien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"attributes": {
"description": "Ominisuuksien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Ominaisuuden sijainti.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"visible": {
"description": "M\u00e4\u00e4rit\u00e4 n\u00e4kyyk\u00f6 ominaisuus \"Lis\u00e4tiedot\" v\u00e4lilehdell\u00e4 tuotteen sivulla.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"variation": {
"description": "M\u00e4\u00e4rit\u00e4, voidaanko ominaisuutta k\u00e4ytt\u00e4\u00e4 muunnelmana.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"options": {
"description": "Ominaisuuden saatavilla olevien (termi)nimien lista.",
"type": "array",
"items": {
"type": "string"
},
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"default_attributes": {
"description": "Muunnelman oletusominaisuudet.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys, k\u00e4ytet\u00e4\u00e4n tuotteiden mukautettuun j\u00e4rjest\u00e4miseen.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"description": "Ohitetaanko roskakori ja pakotetaan poisto.",
"type": "boolean",
"required": false
}
}
}
]
},
"\/wc\/v3\/products\/batch": {
"namespace": "wc\/v3",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Tuotteen nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Tuotteen polkutunnus.",
"type": "string",
"required": false
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin tuote luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin tuote luotiin, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"type": {
"description": "Tuotteen laji.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"status": {
"description": "Tuotteen tila (julkaisun tila).",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish",
"future",
"auto-draft",
"trash"
],
"required": false
},
"featured": {
"description": "Esittelyss\u00e4 oleva tuote.",
"type": "boolean",
"required": false
},
"catalog_visibility": {
"description": "Tuoteluettelon n\u00e4kyvyys.",
"type": "string",
"enum": [
"visible",
"catalog",
"search",
"hidden"
],
"required": false
},
"description": {
"description": "Tuotteen kuvaus.",
"type": "string",
"required": false
},
"short_description": {
"description": "Tuotteen lyhyt kuvaus.",
"type": "string",
"required": false
},
"sku": {
"description": "Stock Keeping Unit.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN or ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Tuotteen normaali hinta.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Tuotteen alennettu hinta.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"virtual": {
"description": "Jos tuote on palvelu.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Jos tuote on ladattava tuote.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer",
"required": false
},
"external_url": {
"description": "Tuotteen ulkopuolinen verkko-osoite. Vain ulkopuolisille tuotteille.",
"type": "string",
"format": "uri",
"required": false
},
"button_text": {
"description": "Tuotteen ulkopuolisen painikkeen teksti. Vain ulkopuolisille tuotteille.",
"type": "string",
"required": false
},
"tax_status": {
"description": "Veron tila.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Veroluokka.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Varaston hallinta tuotetasolla.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"stock_status": {
"description": "Hallitsee tuotteen varastotilannetta.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Alhainen varastom\u00e4\u00e4r\u00e4 tuotteelle.",
"type": [
"integer",
"null"
],
"required": false
},
"sold_individually": {
"description": "Yksi tuote voidaan ostaa yht\u00e4 tilausta kohden.",
"type": "boolean",
"required": false
},
"weight": {
"description": "Tuotteen paino (kg (kilogramma)).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Tuotteen mitat.",
"type": "object",
"properties": {
"length": {
"description": "Tuotteen pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Tuotteen leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Tuotteen korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Toimitusluokan polkutunnus.",
"type": "string",
"required": false
},
"reviews_allowed": {
"description": "Salli tuotearviot.",
"type": "boolean",
"required": false
},
"post_password": {
"description": "Artikkelin salasana.",
"type": "string",
"required": false
},
"upsell_ids": {
"description": "Lista Parempi tuote (Up-Sell) tuotteiden tunnuksista\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"cross_sell_ids": {
"description": "Lista Lis\u00e4tuote (Cross-Sell) tuotteiden tunnuksista\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"parent_id": {
"description": "Ylemm\u00e4n tason tuotteen tunnus\/ID.",
"type": "integer",
"required": false
},
"purchase_note": {
"description": "Valinnainen kommentti joka l\u00e4hetet\u00e4\u00e4n asiakkaalle oston j\u00e4lkeen.",
"type": "string",
"required": false
},
"categories": {
"description": "Osatojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Osaston tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Osaston nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Osaston polkutunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"tags": {
"description": "Avainsanojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Avainsanan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Avainsanan nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Avainsanan polkutunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"images": {
"description": "Kuvien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"attributes": {
"description": "Ominisuuksien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Ominaisuuden sijainti.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"visible": {
"description": "M\u00e4\u00e4rit\u00e4 n\u00e4kyyk\u00f6 ominaisuus \"Lis\u00e4tiedot\" v\u00e4lilehdell\u00e4 tuotteen sivulla.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"variation": {
"description": "M\u00e4\u00e4rit\u00e4, voidaanko ominaisuutta k\u00e4ytt\u00e4\u00e4 muunnelmana.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"options": {
"description": "Ominaisuuden saatavilla olevien (termi)nimien lista.",
"type": "array",
"items": {
"type": "string"
},
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"default_attributes": {
"description": "Muunnelman oletusominaisuudet.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys, k\u00e4ytet\u00e4\u00e4n tuotteiden mukautettuun j\u00e4rjest\u00e4miseen.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v3\/products\/batch"
}
]
}
},
"\/wc\/v3\/products\/suggested-products": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajoita tulokset niihin jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon.",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Rajoita vastaus resursseihin, joita on muutettu tietyn ISO8601-yhteensopivuuden j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Rajoita vastaus resursseihin, joita on muokattu ennen tietty\u00e4 ISO8601-yhteensopivaa p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Otetaanko GMT-l\u00e4hetysp\u00e4iv\u00e4t huomioon, kun vastaus rajoitetaan julkaistuun tai muutettuun p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4n.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified",
"popularity",
"rating",
"popularity",
"rating",
"menu_order"
],
"required": false
},
"parent": {
"description": "Rajoita tulosjoukko niihin joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Rajoita tulosjoukko kaikkiin tuotteisiin poislukien ne joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"slug": {
"description": "Rajoita tulosjoukko niihin tuotteisiin joilla on tietty polkutunnus.",
"type": "string",
"required": false
},
"status": {
"default": "any",
"description": "Rajoita tulosjoukko tuotteisiin joilla on tietty tila.",
"type": "string",
"enum": [
"any",
"future",
"trash",
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"type": {
"description": "Rajoita tulosjoukko tietyn lajisiin tuotteisiin.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"sku": {
"description": "Rajaa tulosjoukko tuotteisiin joilla tietty tuotetunnus (SKU). Jos useita, erota pilkulla.",
"type": "string",
"required": false
},
"featured": {
"description": "Rajoita tuotteiden tulosjoukko esittelyss\u00e4 olevien mukaan.",
"type": "boolean",
"required": false
},
"category": {
"description": "Rajoita tulosjoukko tietyn osaston\/ID tuotteisiin.",
"type": "string",
"required": false
},
"tag": {
"description": "Rajoita tulosjoukko tuotteisiin joilla on tietty avainsana\/ID.",
"type": "string",
"required": false
},
"shipping_class": {
"description": "Rajoita tulosjoukko tuotteisiin joilla on tietty toimitusluokka\/ID.",
"type": "string",
"required": false
},
"attribute": {
"description": "Rajoita tulokset tuotteisiin joilla tietty ominaisuus. K\u00e4yt\u00e4 luokittelunime\u00e4 tai ominaisuuden polkutunnusta.",
"type": "string",
"required": false
},
"attribute_term": {
"description": "Rajoita tulosjoukkot tuotteisiin joilla on tietty ominaisuuden arvo (edellytt\u00e4\u00e4 asetettua ominaisuutta).",
"type": "string",
"required": false
},
"in_stock": {
"description": "Rajoita tuotteiden tulosjoukko varastossa tai loppu varastosta mukaan.",
"type": "boolean",
"required": false
},
"on_sale": {
"description": "Rajoita tuotteiden tulosjoukko alennuksessa olevien mukaan.",
"type": "boolean",
"required": false
},
"min_price": {
"description": "Rajoita tuotteiden tulosjoukko alimman hinnan mukaan.",
"type": "string",
"required": false
},
"max_price": {
"description": "Rajoita tuotteiden tulosjoukko korkeimman hinnan mukaan.",
"type": "string",
"required": false
},
"include_meta": {
"default": [],
"description": "Rajoita meta_data tiettyihin avaimiin.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Varmista, ett\u00e4 meta_data ei sis\u00e4ll\u00e4 tietyt avaimet.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"categories": {
"description": "Limit result set to specific product categorie ids.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"tags": {
"description": "Limit result set to specific product tag ids.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"limit": {
"description": "Limit result set to specific amount of suggested products.",
"type": "integer",
"default": 5,
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v3\/products\/suggested-products"
}
]
}
},
"\/wc\/v3\/products\/(?P[\\d]+)\/duplicate": {
"namespace": "wc\/v3",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"name": {
"description": "Tuotteen nimi.",
"type": "string",
"required": false
},
"slug": {
"description": "Tuotteen polkutunnus.",
"type": "string",
"required": false
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin tuote luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin tuote luotiin, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"type": {
"description": "Tuotteen laji.",
"type": "string",
"enum": [
"simple",
"grouped",
"external",
"variable"
],
"required": false
},
"status": {
"description": "Tuotteen tila (julkaisun tila).",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish",
"future",
"auto-draft",
"trash"
],
"required": false
},
"featured": {
"description": "Esittelyss\u00e4 oleva tuote.",
"type": "boolean",
"required": false
},
"catalog_visibility": {
"description": "Tuoteluettelon n\u00e4kyvyys.",
"type": "string",
"enum": [
"visible",
"catalog",
"search",
"hidden"
],
"required": false
},
"description": {
"description": "Tuotteen kuvaus.",
"type": "string",
"required": false
},
"short_description": {
"description": "Tuotteen lyhyt kuvaus.",
"type": "string",
"required": false
},
"sku": {
"description": "Stock Keeping Unit.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN or ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Tuotteen normaali hinta.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Tuotteen alennettu hinta.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"virtual": {
"description": "Jos tuote on palvelu.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Jos tuote on ladattava tuote.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer",
"required": false
},
"external_url": {
"description": "Tuotteen ulkopuolinen verkko-osoite. Vain ulkopuolisille tuotteille.",
"type": "string",
"format": "uri",
"required": false
},
"button_text": {
"description": "Tuotteen ulkopuolisen painikkeen teksti. Vain ulkopuolisille tuotteille.",
"type": "string",
"required": false
},
"tax_status": {
"description": "Veron tila.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Veroluokka.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Varaston hallinta tuotetasolla.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"stock_status": {
"description": "Hallitsee tuotteen varastotilannetta.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Alhainen varastom\u00e4\u00e4r\u00e4 tuotteelle.",
"type": [
"integer",
"null"
],
"required": false
},
"sold_individually": {
"description": "Yksi tuote voidaan ostaa yht\u00e4 tilausta kohden.",
"type": "boolean",
"required": false
},
"weight": {
"description": "Tuotteen paino (kg (kilogramma)).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Tuotteen mitat.",
"type": "object",
"properties": {
"length": {
"description": "Tuotteen pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Tuotteen leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Tuotteen korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Toimitusluokan polkutunnus.",
"type": "string",
"required": false
},
"reviews_allowed": {
"description": "Salli tuotearviot.",
"type": "boolean",
"required": false
},
"post_password": {
"description": "Artikkelin salasana.",
"type": "string",
"required": false
},
"upsell_ids": {
"description": "Lista Parempi tuote (Up-Sell) tuotteiden tunnuksista\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"cross_sell_ids": {
"description": "Lista Lis\u00e4tuote (Cross-Sell) tuotteiden tunnuksista\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"parent_id": {
"description": "Ylemm\u00e4n tason tuotteen tunnus\/ID.",
"type": "integer",
"required": false
},
"purchase_note": {
"description": "Valinnainen kommentti joka l\u00e4hetet\u00e4\u00e4n asiakkaalle oston j\u00e4lkeen.",
"type": "string",
"required": false
},
"categories": {
"description": "Osatojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Osaston tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Osaston nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Osaston polkutunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"tags": {
"description": "Avainsanojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Avainsanan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Avainsanan nimi.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"slug": {
"description": "Avainsanan polkutunnus.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
}
},
"required": false
},
"images": {
"description": "Kuvien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"attributes": {
"description": "Ominisuuksien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"position": {
"description": "Ominaisuuden sijainti.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"visible": {
"description": "M\u00e4\u00e4rit\u00e4 n\u00e4kyyk\u00f6 ominaisuus \"Lis\u00e4tiedot\" v\u00e4lilehdell\u00e4 tuotteen sivulla.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"variation": {
"description": "M\u00e4\u00e4rit\u00e4, voidaanko ominaisuutta k\u00e4ytt\u00e4\u00e4 muunnelmana.",
"type": "boolean",
"default": false,
"context": [
"view",
"edit"
]
},
"options": {
"description": "Ominaisuuden saatavilla olevien (termi)nimien lista.",
"type": "array",
"items": {
"type": "string"
},
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"default_attributes": {
"description": "Muunnelman oletusominaisuudet.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys, k\u00e4ytet\u00e4\u00e4n tuotteiden mukautettuun j\u00e4rjest\u00e4miseen.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
]
},
"\/wc\/v3\/products\/(?P[\\d]+)\/variations": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajoita tulokset niihin jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon.",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Rajoita vastaus resursseihin, joita on muutettu tietyn ISO8601-yhteensopivuuden j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Rajoita vastaus resursseihin, joita on muokattu ennen tietty\u00e4 ISO8601-yhteensopivaa p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Otetaanko GMT-l\u00e4hetysp\u00e4iv\u00e4t huomioon, kun vastaus rajoitetaan julkaistuun tai muutettuun p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4n.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified",
"menu_order"
],
"required": false
},
"parent": {
"description": "Rajoita tulosjoukko niihin joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Rajoita tulosjoukko kaikkiin tuotteisiin poislukien ne joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"slug": {
"description": "Rajoita tulosjoukko niihin tuotteisiin joilla on tietty polkutunnus.",
"type": "string",
"required": false
},
"status": {
"default": "any",
"description": "Rajoita tulosjoukko tuotteisiin joilla on tietty tila.",
"type": "string",
"enum": [
"any",
"future",
"trash",
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"sku": {
"description": "Rajaa tulosjoukko tuotteisiin joilla tietty tuotetunnus (SKU). Jos useita, erota pilkulla.",
"type": "string",
"required": false
},
"on_sale": {
"description": "Rajoita tuotteiden tulosjoukko alennuksessa olevien mukaan.",
"type": "boolean",
"required": false
},
"min_price": {
"description": "Rajoita tuotteiden tulosjoukko alimman hinnan mukaan.",
"type": "string",
"required": false
},
"max_price": {
"description": "Rajoita tuotteiden tulosjoukko korkeimman hinnan mukaan.",
"type": "string",
"required": false
},
"include_meta": {
"default": [],
"description": "Rajoita meta_data tiettyihin avaimiin.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Varmista, ett\u00e4 meta_data ei sis\u00e4ll\u00e4 tietyt avaimet.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"stock_status": {
"description": "Rajoita tuotteiden tulosjoukko tietyn varastotilanteen mukaan.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"has_price": {
"description": "Rajoita tulos asetettu tuotteisiin, joissa on hinta tai ei.",
"type": "boolean",
"required": false
},
"attributes": {
"description": "Limit result set to products with specified attributes.",
"type": "array",
"items": {
"type": "object",
"properties": {
"attribute": {
"type": "string",
"description": "Ominaisuuden polkutunnus."
},
"term": {
"type": "string",
"description": "Attribute term."
},
"terms": {
"type": "array",
"description": "Attribute terms."
}
}
},
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"description": {
"description": "Muunnelman kuvaus",
"type": "string",
"required": false
},
"sku": {
"description": "Stock Keeping Unit.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN or ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Muunnelman tavallinen hinta.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Muunnelman alennettu hinta.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"status": {
"default": "publish",
"description": "Muunnelman tila.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"virtual": {
"default": false,
"description": "Jos muunnelma on palvelu.",
"type": "boolean",
"required": false
},
"downloadable": {
"default": false,
"description": "Jos muunnelma on ladattava.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"default": -1,
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer",
"required": false
},
"download_expiry": {
"default": -1,
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer",
"required": false
},
"tax_status": {
"default": "taxable",
"description": "Veron tila.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Veroluokka.",
"type": "string",
"required": false
},
"manage_stock": {
"default": false,
"description": "Varaston hallinta muunnelmien tasolla.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"stock_status": {
"default": "instock",
"description": "Hallitsee tuotteen varastotilannetta.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"default": "no",
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Alhainen varastom\u00e4\u00e4r\u00e4 vaihtelua varten.",
"type": [
"integer",
"null"
],
"required": false
},
"weight": {
"description": "Muunnelman paino (kg (kilogramma)).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Muunnelman mitat.",
"type": "object",
"properties": {
"length": {
"description": "Muunnelman pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Muunnelman leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Muunnelman korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Toimitusluokan polkutunnus.",
"type": "string",
"required": false
},
"image": {
"description": "Muunnelman kuvan tiedot.",
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"attributes": {
"description": "Ominisuuksien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys, k\u00e4ytet\u00e4\u00e4n tuotteiden mukautettuun j\u00e4rjest\u00e4miseen.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
]
},
"\/wc\/v3\/products\/(?P[\\d]+)\/variations\/(?P[\\d]+)": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST",
"PUT",
"PATCH",
"DELETE"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"id": {
"description": "Muista poikkeava tunniste muunnelmalle.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"id": {
"description": "Muista poikkeava tunniste muunnelmalle.",
"type": "integer",
"required": false
},
"description": {
"description": "Muunnelman kuvaus",
"type": "string",
"required": false
},
"sku": {
"description": "Stock Keeping Unit.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN or ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Muunnelman tavallinen hinta.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Muunnelman alennettu hinta.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"status": {
"description": "Muunnelman tila.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"virtual": {
"description": "Jos muunnelma on palvelu.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Jos muunnelma on ladattava.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer",
"required": false
},
"tax_status": {
"description": "Veron tila.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Veroluokka.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Varaston hallinta muunnelmien tasolla.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"stock_status": {
"description": "Hallitsee tuotteen varastotilannetta.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Alhainen varastom\u00e4\u00e4r\u00e4 vaihtelua varten.",
"type": [
"integer",
"null"
],
"required": false
},
"weight": {
"description": "Muunnelman paino (kg (kilogramma)).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Muunnelman mitat.",
"type": "object",
"properties": {
"length": {
"description": "Muunnelman pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Muunnelman leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Muunnelman korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Toimitusluokan polkutunnus.",
"type": "string",
"required": false
},
"image": {
"description": "Muunnelman kuvan tiedot.",
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"attributes": {
"description": "Ominisuuksien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys, k\u00e4ytet\u00e4\u00e4n tuotteiden mukautettuun j\u00e4rjest\u00e4miseen.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"id": {
"description": "Muista poikkeava tunniste muunnelmalle.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ohitetaanko roskakori ja pakotetaan poisto.",
"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": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"description": {
"description": "Muunnelman kuvaus",
"type": "string",
"required": false
},
"sku": {
"description": "Stock Keeping Unit.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN or ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Muunnelman tavallinen hinta.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Muunnelman alennettu hinta.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"status": {
"description": "Muunnelman tila.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"virtual": {
"description": "Jos muunnelma on palvelu.",
"type": "boolean",
"required": false
},
"downloadable": {
"description": "Jos muunnelma on ladattava.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer",
"required": false
},
"download_expiry": {
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer",
"required": false
},
"tax_status": {
"description": "Veron tila.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Veroluokka.",
"type": "string",
"required": false
},
"manage_stock": {
"description": "Varaston hallinta muunnelmien tasolla.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"stock_status": {
"description": "Hallitsee tuotteen varastotilannetta.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Alhainen varastom\u00e4\u00e4r\u00e4 vaihtelua varten.",
"type": [
"integer",
"null"
],
"required": false
},
"weight": {
"description": "Muunnelman paino (kg (kilogramma)).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Muunnelman mitat.",
"type": "object",
"properties": {
"length": {
"description": "Muunnelman pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Muunnelman leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Muunnelman korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Toimitusluokan polkutunnus.",
"type": "string",
"required": false
},
"image": {
"description": "Muunnelman kuvan tiedot.",
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"attributes": {
"description": "Ominisuuksien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys, k\u00e4ytet\u00e4\u00e4n tuotteiden mukautettuun j\u00e4rjest\u00e4miseen.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
]
},
"\/wc\/v3\/products\/(?P[\\d]+)\/variations\/generate": {
"namespace": "wc\/v3",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"product_id": {
"description": "Muista poikkeava tunniste muunnelmatuotteelle.",
"type": "integer",
"required": false
},
"delete": {
"description": "Poistaa k\u00e4ytt\u00e4m\u00e4tt\u00f6m\u00e4t muunnelmat.",
"type": "boolean",
"required": false
},
"default_values": {
"description": "Default values for generated variations.",
"type": "object",
"properties": {
"description": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Muunnelman kuvaus",
"type": "string"
},
"sku": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Stock Keeping Unit.",
"type": "string"
},
"global_unique_id": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "GTIN, UPC, EAN or ISBN.",
"type": "string"
},
"regular_price": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Muunnelman tavallinen hinta.",
"type": "string"
},
"sale_price": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Muunnelman alennettu hinta.",
"type": "string"
},
"date_on_sale_from": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
]
},
"date_on_sale_from_gmt": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, GMT aika.",
"type": [
"null",
"string"
]
},
"date_on_sale_to": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
]
},
"date_on_sale_to_gmt": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
]
},
"status": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Muunnelman tila.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
]
},
"virtual": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Jos muunnelma on palvelu.",
"type": "boolean"
},
"downloadable": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Jos muunnelma on ladattava.",
"type": "boolean"
},
"downloads": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"download_limit": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer"
},
"download_expiry": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer"
},
"tax_status": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Veron tila.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
]
},
"tax_class": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Veroluokka.",
"type": "string"
},
"manage_stock": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Varaston hallinta muunnelmien tasolla.",
"type": "boolean"
},
"stock_quantity": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer"
},
"stock_status": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Hallitsee tuotteen varastotilannetta.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
]
},
"backorders": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
]
},
"low_stock_amount": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Alhainen varastom\u00e4\u00e4r\u00e4 vaihtelua varten.",
"type": [
"integer",
"null"
]
},
"weight": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Muunnelman paino (kg (kilogramma)).",
"type": "string"
},
"dimensions": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Muunnelman mitat.",
"type": "object",
"properties": {
"length": {
"description": "Muunnelman pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Muunnelman leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Muunnelman korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"shipping_class": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Toimitusluokan polkutunnus.",
"type": "string"
},
"image": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Muunnelman kuvan tiedot.",
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"attributes": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Ominisuuksien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
}
},
"menu_order": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Valikkojen j\u00e4rjestys, k\u00e4ytet\u00e4\u00e4n tuotteiden mukautettuun j\u00e4rjest\u00e4miseen.",
"type": "integer"
},
"meta_data": {
"validate_callback": "rest_validate_request_arg",
"sanitize_callback": "rest_sanitize_request_arg",
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
}
}
},
"required": false
},
"description": {
"description": "Muunnelman kuvaus",
"type": "string",
"required": false
},
"sku": {
"description": "Stock Keeping Unit.",
"type": "string",
"required": false
},
"global_unique_id": {
"description": "GTIN, UPC, EAN or ISBN.",
"type": "string",
"required": false
},
"regular_price": {
"description": "Muunnelman tavallinen hinta.",
"type": "string",
"required": false
},
"sale_price": {
"description": "Muunnelman alennettu hinta.",
"type": "string",
"required": false
},
"date_on_sale_from": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_from_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo alkaa, GMT aika.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"date_on_sale_to_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin ale-hinnan voimassaolo p\u00e4\u00e4ttyy, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"required": false
},
"status": {
"default": "publish",
"description": "Muunnelman tila.",
"type": "string",
"enum": [
"draft",
"pending",
"private",
"publish"
],
"required": false
},
"virtual": {
"default": false,
"description": "Jos muunnelma on palvelu.",
"type": "boolean",
"required": false
},
"downloadable": {
"default": false,
"description": "Jos muunnelma on ladattava.",
"type": "boolean",
"required": false
},
"downloads": {
"description": "Ladattavien tiedostojen lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Tiedoston tunnus\/ID.",
"type": "string",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Tiedoston nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"file": {
"description": "Tiedoston verkko-osoite.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"download_limit": {
"default": -1,
"description": "Kuinka monta kertaa ladattavan tiedoston voi ladata ostamisen j\u00e4lkeen.",
"type": "integer",
"required": false
},
"download_expiry": {
"default": -1,
"description": "Kuinka monen p\u00e4iv\u00e4n kuluttua p\u00e4\u00e4sy ladattaviin tiedostoihin umpeutuu.",
"type": "integer",
"required": false
},
"tax_status": {
"default": "taxable",
"description": "Veron tila.",
"type": "string",
"enum": [
"taxable",
"shipping",
"none"
],
"required": false
},
"tax_class": {
"description": "Veroluokka.",
"type": "string",
"required": false
},
"manage_stock": {
"default": false,
"description": "Varaston hallinta muunnelmien tasolla.",
"type": "boolean",
"required": false
},
"stock_quantity": {
"description": "Varaston m\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"stock_status": {
"default": "instock",
"description": "Hallitsee tuotteen varastotilannetta.",
"type": "string",
"enum": [
"instock",
"outofstock",
"onbackorder"
],
"required": false
},
"backorders": {
"default": "no",
"description": "Jos hallitaan varastoa, t\u00e4ss\u00e4 asetetaan sallitaanko j\u00e4lkitoimitukset.",
"type": "string",
"enum": [
"no",
"notify",
"yes"
],
"required": false
},
"low_stock_amount": {
"description": "Alhainen varastom\u00e4\u00e4r\u00e4 vaihtelua varten.",
"type": [
"integer",
"null"
],
"required": false
},
"weight": {
"description": "Muunnelman paino (kg (kilogramma)).",
"type": "string",
"required": false
},
"dimensions": {
"description": "Muunnelman mitat.",
"type": "object",
"properties": {
"length": {
"description": "Muunnelman pituus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"width": {
"description": "Muunnelman leveys (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
},
"height": {
"description": "Muunnelman korkeus (cm (senttimetri)).",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"shipping_class": {
"description": "Toimitusluokan polkutunnus.",
"type": "string",
"required": false
},
"image": {
"description": "Muunnelman kuvan tiedot.",
"type": "object",
"properties": {
"id": {
"description": "Kuvan tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"date_created": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_created_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuva luotiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, sivuston aikavy\u00f6hykkeell\u00e4.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"date_modified_gmt": {
"description": "P\u00e4iv\u00e4ys jolloin kuvaa viimeksi muokattiin, GMT aika.",
"type": [
"null",
"string"
],
"context": [
"view",
"edit"
],
"readonly": true
},
"src": {
"description": "Kuvan verkko-osoite.",
"type": "string",
"format": "uri",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Kuvan nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"alt": {
"description": "Kuvan vaihtoehtoinen (alt) teksti.",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"attributes": {
"description": "Ominisuuksien lista.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Ominaisuuden tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
]
},
"name": {
"description": "Ominaisuuden nimi.",
"type": "string",
"context": [
"view",
"edit"
]
},
"option": {
"description": "Valittu ominaisuus termin nimi.",
"type": "string",
"context": [
"view",
"edit"
]
}
}
},
"required": false
},
"menu_order": {
"description": "Valikkojen j\u00e4rjestys, k\u00e4ytet\u00e4\u00e4n tuotteiden mukautettuun j\u00e4rjest\u00e4miseen.",
"type": "integer",
"required": false
},
"meta_data": {
"description": "Meta tiedot.",
"type": "array",
"items": {
"type": "object",
"properties": {
"id": {
"description": "Meta tunnus\/ID.",
"type": "integer",
"context": [
"view",
"edit"
],
"readonly": true
},
"key": {
"description": "Meta-avain.",
"type": "string",
"context": [
"view",
"edit"
]
},
"value": {
"description": "Meta-arvo.",
"type": [
"null",
"object",
"string",
"number",
"boolean",
"integer",
"array"
],
"context": [
"view",
"edit"
]
}
}
},
"required": false
}
}
}
]
},
"\/wc\/v3\/refunds": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajoita tulokset niihin jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon.",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Rajoita vastaus resursseihin, joita on muutettu tietyn ISO8601-yhteensopivuuden j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Rajoita vastaus resursseihin, joita on muokattu ennen tietty\u00e4 ISO8601-yhteensopivaa p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"dates_are_gmt": {
"description": "Otetaanko GMT-l\u00e4hetysp\u00e4iv\u00e4t huomioon, kun vastaus rajoitetaan julkaistuun tai muutettuun p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4n.",
"type": "boolean",
"default": false,
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"include",
"title",
"slug",
"modified"
],
"required": false
},
"parent": {
"description": "Rajoita tulosjoukko niihin joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Rajoita tulosjoukko kaikkiin tuotteisiin poislukien ne joilla on tietty ylemm\u00e4n tason tunnus\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"dp": {
"default": 2,
"description": "Desimaalien m\u00e4\u00e4r\u00e4 jota k\u00e4ytet\u00e4\u00e4n resursseissa.",
"type": "integer",
"required": false
},
"order_item_display_meta": {
"default": false,
"description": "N\u00e4yt\u00e4 vain meta, joka on tarkoitettu n\u00e4ytett\u00e4v\u00e4ksi tilaukselle.",
"type": "boolean",
"required": false
},
"include_meta": {
"default": [],
"description": "Rajoita meta_data tiettyihin avaimiin.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"exclude_meta": {
"default": [],
"description": "Varmista, ett\u00e4 meta_data ei sis\u00e4ll\u00e4 tietyt avaimet.",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v3\/refunds"
}
]
}
},
"\/wc\/v3\/reports\/sales": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
},
"period": {
"description": "Raportin ajanjakso.",
"type": "string",
"enum": [
"week",
"month",
"last_month",
"year"
],
"required": false
},
"date_min": {
"description": "Palauttaa myynnit tietylle aloitus p\u00e4iv\u00e4lle, p\u00e4iv\u00e4yksen on oltava YYYY-MM-DD muodossa.",
"type": "string",
"format": "date",
"required": false
},
"date_max": {
"description": "Palauttaa myynnit tietylle lopetus p\u00e4iv\u00e4lle, p\u00e4iv\u00e4yksen on oltava YYYY-MM-DD muodossa.",
"type": "string",
"format": "date",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v3\/reports\/sales"
}
]
}
},
"\/wc\/v3\/reports\/top_sellers": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
},
"period": {
"description": "Raportin ajanjakso.",
"type": "string",
"enum": [
"week",
"month",
"last_month",
"year"
],
"required": false
},
"date_min": {
"description": "Palauttaa myynnit tietylle aloitus p\u00e4iv\u00e4lle, p\u00e4iv\u00e4yksen on oltava YYYY-MM-DD muodossa.",
"type": "string",
"format": "date",
"required": false
},
"date_max": {
"description": "Palauttaa myynnit tietylle lopetus p\u00e4iv\u00e4lle, p\u00e4iv\u00e4yksen on oltava YYYY-MM-DD muodossa.",
"type": "string",
"format": "date",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v3\/reports\/top_sellers"
}
]
}
},
"\/wc\/v3\/reports\/orders\/totals": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v3\/reports\/orders\/totals"
}
]
}
},
"\/wc\/v3\/reports\/products\/totals": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v3\/reports\/products\/totals"
}
]
}
},
"\/wc\/v3\/reports\/customers\/totals": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v3\/reports\/customers\/totals"
}
]
}
},
"\/wc\/v3\/reports\/coupons\/totals": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v3\/reports\/coupons\/totals"
}
]
}
},
"\/wc\/v3\/reports\/reviews\/totals": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v3\/reports\/reviews\/totals"
}
]
}
},
"\/wc\/v3\/reports": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v3\/reports"
}
]
}
},
"\/wc\/v3\/settings": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/wp-json\/wc\/v3\/settings\/batch"
}
]
}
},
"\/wc\/v3\/settings\/(?P[\\w-]+)": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"group": {
"description": "Asetusten ryhm\u00e4tunnus\/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": "Asetusten ryhm\u00e4tunnus\/ID.",
"type": "string",
"required": false
},
"value": {
"description": "Asetuksen arvo.",
"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": "Asetusten ryhm\u00e4tunnus\/ID.",
"type": "string",
"required": false
},
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"group": {
"description": "Asetusten ryhm\u00e4tunnus\/ID.",
"type": "string",
"required": false
},
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "string",
"required": false
},
"value": {
"description": "Asetuksen arvo.",
"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": "Toimitusvy\u00f6hykkeen nimi.",
"required": true
},
"order": {
"description": "Toimitusvy\u00f6hykkeiden j\u00e4rjestys.",
"type": "integer",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Muista poikkeava tunnus\/ID resurssille.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava tunnus\/ID resurssille.",
"type": "integer",
"required": false
},
"name": {
"description": "Toimitusvy\u00f6hykkeen nimi.",
"type": "string",
"required": false
},
"order": {
"description": "Toimitusvy\u00f6hykkeiden j\u00e4rjestys.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava tunnus\/ID resurssille.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ohitetaanko roskakori ja pakotetaan poisto.",
"required": false
}
}
}
]
},
"\/wc\/v3\/shipping\/zones\/(?P[\\d]+)\/locations": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Muista poikkeava tunnus\/ID resurssille.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava tunnus\/ID resurssille.",
"type": "integer",
"required": false
},
"code": {
"description": "Toimitusvy\u00f6hyke sijainnin koodi.",
"type": "string",
"required": false
},
"type": {
"description": "Toimitusvy\u00f6hyke sijainnin laji.",
"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": "Muista poikkeava tunnus\/ID vy\u00f6hykkeelle.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"zone_id": {
"description": "Muista poikkeava tunnus\/ID vy\u00f6hykkeelle.",
"type": "integer",
"required": false
},
"order": {
"description": "Toimitustavan lajitteluj\u00e4rjestys.",
"type": "integer",
"required": false
},
"enabled": {
"description": "Toimitustavan tila, onko k\u00e4yt\u00f6ss\u00e4.",
"type": "boolean",
"required": false
},
"settings": {
"description": "Toimitustavan asetukset.",
"type": "object",
"properties": {
"id": {
"description": "Muista poikkeava tunniste asetukselle.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"label": {
"description": "Asetuksen selkokielinen tunnus jota k\u00e4ytet\u00e4\u00e4n k\u00e4ytt\u00f6liittymiss\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"description": {
"description": "Asetuksen selkokielinen kuvaus jota k\u00e4ytet\u00e4\u00e4n k\u00e4ytt\u00f6liittymiss\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"type": {
"description": "Asetuksen laji.",
"type": "string",
"context": [
"view",
"edit"
],
"enum": [
"text",
"email",
"number",
"color",
"password",
"textarea",
"select",
"multiselect",
"radio",
"image_width",
"checkbox",
"class",
"order"
],
"readonly": true
},
"value": {
"description": "Asetuksen arvo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"default": {
"description": "Asetuksen oletusarvo.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"tip": {
"description": "Asetuksesta k\u00e4ytt\u00e4j\u00e4lle n\u00e4ytett\u00e4v\u00e4n lis\u00e4ohjeen teksti.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"placeholder": {
"description": "Paikanvaraus teksti joka n\u00e4ytet\u00e4\u00e4n tekstilaatikoissa.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
},
"required": false
},
"method_id": {
"description": "Toimitustavan tunnus\/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": "Muista poikkeava tunnus\/ID vy\u00f6hykkeelle.",
"type": "integer",
"required": false
},
"instance_id": {
"description": "Muista poikkeava tunnus\/ID tapaukselle.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"zone_id": {
"description": "Muista poikkeava tunnus\/ID vy\u00f6hykkeelle.",
"type": "integer",
"required": false
},
"instance_id": {
"description": "Muista poikkeava tunnus\/ID tapaukselle.",
"type": "integer",
"required": false
},
"order": {
"description": "Toimitustavan lajitteluj\u00e4rjestys.",
"type": "integer",
"required": false
},
"enabled": {
"description": "Toimitustavan tila, onko k\u00e4yt\u00f6ss\u00e4.",
"type": "boolean",
"required": false
},
"settings": {
"description": "Toimitustavan asetukset.",
"type": "object",
"properties": {
"id": {
"description": "Muista poikkeava tunniste asetukselle.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"label": {
"description": "Asetuksen selkokielinen tunnus jota k\u00e4ytet\u00e4\u00e4n k\u00e4ytt\u00f6liittymiss\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"description": {
"description": "Asetuksen selkokielinen kuvaus jota k\u00e4ytet\u00e4\u00e4n k\u00e4ytt\u00f6liittymiss\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"type": {
"description": "Asetuksen laji.",
"type": "string",
"context": [
"view",
"edit"
],
"enum": [
"text",
"email",
"number",
"color",
"password",
"textarea",
"select",
"multiselect",
"radio",
"image_width",
"checkbox",
"class",
"order"
],
"readonly": true
},
"value": {
"description": "Asetuksen arvo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"default": {
"description": "Asetuksen oletusarvo.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"tip": {
"description": "Asetuksesta k\u00e4ytt\u00e4j\u00e4lle n\u00e4ytett\u00e4v\u00e4n lis\u00e4ohjeen teksti.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"placeholder": {
"description": "Paikanvaraus teksti joka n\u00e4ytet\u00e4\u00e4n tekstilaatikoissa.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"zone_id": {
"description": "Muista poikkeava tunnus\/ID vy\u00f6hykkeelle.",
"type": "integer",
"required": false
},
"instance_id": {
"description": "Muista poikkeava tunnus\/ID tapaukselle.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "Ohitetaanko roskakori ja pakotetaan poisto.",
"required": false
}
}
}
]
},
"\/wc\/v3\/taxes\/classes": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"description": "Veroluokan nimi.",
"type": "string",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Resurssin muista poikkeava polkutunnus.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"slug": {
"description": "Resurssin muista poikkeava polkutunnus.",
"type": "string",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "On oltava tosi, koska resurssi ei tue roskakoria.",
"required": false
}
}
}
]
},
"\/wc\/v3\/taxes": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Nykyinen sivu kokoelmassa.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Tulosten joukossa palautettavien tuotteiden suurin m\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"default": "asc",
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"enum": [
"asc",
"desc"
],
"type": "string",
"required": false
},
"orderby": {
"default": "order",
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"enum": [
"id",
"order",
"priority"
],
"type": "string",
"required": false
},
"class": {
"description": "J\u00e4rjest\u00e4 veroluokan mukaan.",
"enum": [
"standard",
"reduced-rate",
"zero-rate"
],
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"country": {
"description": "ISO 3166 -muotoinen maatunnus.",
"type": "string",
"required": false
},
"state": {
"description": "L\u00e4\u00e4nin\/maakunnan koodi.",
"type": "string",
"required": false
},
"postcode": {
"description": "Postinumero\/postiosoite, se ei tue useita arvoja. Vanhentunut WooCommerce 5.3:sta l\u00e4htien, sen sijaan tulisi k\u00e4ytt\u00e4\u00e4 "postinumeroita".",
"type": "string",
"required": false
},
"city": {
"description": "Kaupungin nimi, se ei tue useita arvoja. Vanhentunut WooCommerce 5.3:sta l\u00e4htien, sen sijaan tulisi k\u00e4ytt\u00e4\u00e4 "kaupunkia".",
"type": "string",
"required": false
},
"rate": {
"description": "Veroprosentti.",
"type": "string",
"required": false
},
"name": {
"description": "Veroprosentin nimi.",
"type": "string",
"required": false
},
"priority": {
"default": 1,
"description": "Veron j\u00e4rjestys\/sijoitus..",
"type": "integer",
"required": false
},
"compound": {
"default": false,
"description": "Onko t\u00e4m\u00e4 yhdistelm\u00e4veroprosentti.",
"type": "boolean",
"required": false
},
"shipping": {
"default": true,
"description": "K\u00e4ytet\u00e4\u00e4nk\u00f6 t\u00e4t\u00e4 veroprosenttia my\u00f6s toimitukseen.",
"type": "boolean",
"required": false
},
"order": {
"description": "Ilmaisee kutsuissa ilmenev\u00e4n j\u00e4rjestyksen.",
"type": "integer",
"required": false
},
"class": {
"default": "standard",
"description": "Veroluokka.",
"type": "string",
"enum": [
"standard",
"reduced-rate",
"zero-rate"
],
"required": false
},
"postcodes": {
"description": "Luettelo postinumeroista \/ postinumeroista. Esitelty WooCommercessa 5.3.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"cities": {
"description": "Lista kaupunkien nimist\u00e4. Esitelty WooCommercessa 5.3.",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"country": {
"description": "ISO 3166 -muotoinen maatunnus.",
"type": "string",
"required": false
},
"state": {
"description": "L\u00e4\u00e4nin\/maakunnan koodi.",
"type": "string",
"required": false
},
"postcode": {
"description": "Postinumero\/postiosoite, se ei tue useita arvoja. Vanhentunut WooCommerce 5.3:sta l\u00e4htien, sen sijaan tulisi k\u00e4ytt\u00e4\u00e4 "postinumeroita".",
"type": "string",
"required": false
},
"city": {
"description": "Kaupungin nimi, se ei tue useita arvoja. Vanhentunut WooCommerce 5.3:sta l\u00e4htien, sen sijaan tulisi k\u00e4ytt\u00e4\u00e4 "kaupunkia".",
"type": "string",
"required": false
},
"rate": {
"description": "Veroprosentti.",
"type": "string",
"required": false
},
"name": {
"description": "Veroprosentin nimi.",
"type": "string",
"required": false
},
"priority": {
"description": "Veron j\u00e4rjestys\/sijoitus..",
"type": "integer",
"required": false
},
"compound": {
"description": "Onko t\u00e4m\u00e4 yhdistelm\u00e4veroprosentti.",
"type": "boolean",
"required": false
},
"shipping": {
"description": "K\u00e4ytet\u00e4\u00e4nk\u00f6 t\u00e4t\u00e4 veroprosenttia my\u00f6s toimitukseen.",
"type": "boolean",
"required": false
},
"order": {
"description": "Ilmaisee kutsuissa ilmenev\u00e4n j\u00e4rjestyksen.",
"type": "integer",
"required": false
},
"class": {
"description": "Veroluokka.",
"type": "string",
"enum": [
"standard",
"reduced-rate",
"zero-rate"
],
"required": false
},
"postcodes": {
"description": "Luettelo postinumeroista \/ postinumeroista. Esitelty WooCommercessa 5.3.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"cities": {
"description": "Lista kaupunkien nimist\u00e4. Esitelty WooCommercessa 5.3.",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "On oltava tosi, koska resurssi ei tue roskakoria.",
"required": false
}
}
}
]
},
"\/wc\/v3\/taxes\/batch": {
"namespace": "wc\/v3",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"country": {
"description": "ISO 3166 -muotoinen maatunnus.",
"type": "string",
"required": false
},
"state": {
"description": "L\u00e4\u00e4nin\/maakunnan koodi.",
"type": "string",
"required": false
},
"postcode": {
"description": "Postinumero\/postiosoite, se ei tue useita arvoja. Vanhentunut WooCommerce 5.3:sta l\u00e4htien, sen sijaan tulisi k\u00e4ytt\u00e4\u00e4 "postinumeroita".",
"type": "string",
"required": false
},
"city": {
"description": "Kaupungin nimi, se ei tue useita arvoja. Vanhentunut WooCommerce 5.3:sta l\u00e4htien, sen sijaan tulisi k\u00e4ytt\u00e4\u00e4 "kaupunkia".",
"type": "string",
"required": false
},
"rate": {
"description": "Veroprosentti.",
"type": "string",
"required": false
},
"name": {
"description": "Veroprosentin nimi.",
"type": "string",
"required": false
},
"priority": {
"description": "Veron j\u00e4rjestys\/sijoitus..",
"type": "integer",
"required": false
},
"compound": {
"description": "Onko t\u00e4m\u00e4 yhdistelm\u00e4veroprosentti.",
"type": "boolean",
"required": false
},
"shipping": {
"description": "K\u00e4ytet\u00e4\u00e4nk\u00f6 t\u00e4t\u00e4 veroprosenttia my\u00f6s toimitukseen.",
"type": "boolean",
"required": false
},
"order": {
"description": "Ilmaisee kutsuissa ilmenev\u00e4n j\u00e4rjestyksen.",
"type": "integer",
"required": false
},
"class": {
"description": "Veroluokka.",
"type": "string",
"enum": [
"standard",
"reduced-rate",
"zero-rate"
],
"required": false
},
"postcodes": {
"description": "Luettelo postinumeroista \/ postinumeroista. Esitelty WooCommercessa 5.3.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"cities": {
"description": "Lista kaupunkien nimist\u00e4. Esitelty WooCommercessa 5.3.",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v3\/taxes\/batch"
}
]
}
},
"\/wc\/v3\/webhooks": {
"namespace": "wc\/v3",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajaa tulokset niihin, jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon. ",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ISO8601-muotoa noudattavan p\u00e4iv\u00e4ksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset resursseihin jotka on julkaistu ennen ISO8601-muotoilua noudattavaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"exclude": {
"description": "Varmista ett\u00e4 tulosjoukosta rajattu pois tietyt tunnukset\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajoita tulosjoukko tiettyihin tunnuksiin\/ID.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Siirr\u00e4 tulosjoukon alkua tietty lukum\u00e4\u00e4r\u00e4.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjestyksen ominaisuus joko nouseva tai laskeva.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"date",
"id",
"title"
],
"required": false
},
"status": {
"default": "all",
"description": "Rajoita tulosjoukko verkkotoimintokutsuihin joilla on tietty tila.",
"type": "string",
"enum": [
"all",
"active",
"paused",
"disabled"
],
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"name": {
"description": "Helposti muistettava nimi verkkotoimintokutsulle.",
"type": "string",
"required": false
},
"status": {
"default": "active",
"description": "Verkkotoimintokutsun tila.",
"type": "string",
"enum": [
"active",
"paused",
"disabled"
],
"required": false
},
"topic": {
"type": "string",
"description": "Verkkotoimintokutsun aihe.",
"required": true
},
"secret": {
"description": "Salainen avain jota k\u00e4ytetty toimitetun verkkotoimintokutsun salausavaimen luomisessa ja joka on pyynn\u00f6n headereissa. Oletuksena on MD5-salausavain joka on tehty k\u00e4ytt\u00e4j\u00e4n tunnuksesta (ID) | k\u00e4ytt\u00e4j\u00e4tunnus jos muuten ei ole asetettu.",
"type": "string",
"required": false
},
"delivery_url": {
"type": "string",
"description": "Verkkotoimintokutsun toimitus verkko-osoite.",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"name": {
"description": "Helposti muistettava nimi verkkotoimintokutsulle.",
"type": "string",
"required": false
},
"status": {
"description": "Verkkotoimintokutsun tila.",
"type": "string",
"enum": [
"active",
"paused",
"disabled"
],
"required": false
},
"topic": {
"description": "Verkkotoimintokutsun aihe.",
"type": "string",
"required": false
},
"secret": {
"description": "Salainen avain jota k\u00e4ytetty toimitetun verkkotoimintokutsun salausavaimen luomisessa ja joka on pyynn\u00f6n headereissa. Oletuksena on MD5-salausavain joka on tehty k\u00e4ytt\u00e4j\u00e4n tunnuksesta (ID) | k\u00e4ytt\u00e4j\u00e4tunnus jos muuten ei ole asetettu.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "integer",
"required": false
},
"force": {
"default": false,
"type": "boolean",
"description": "On oltava tosi, koska resurssi ei tue roskakoria.",
"required": false
}
}
}
]
},
"\/wc\/v3\/webhooks\/batch": {
"namespace": "wc\/v3",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"name": {
"description": "Helposti muistettava nimi verkkotoimintokutsulle.",
"type": "string",
"required": false
},
"status": {
"description": "Verkkotoimintokutsun tila.",
"type": "string",
"enum": [
"active",
"paused",
"disabled"
],
"required": false
},
"topic": {
"description": "Verkkotoimintokutsun aihe.",
"type": "string",
"required": false
},
"secret": {
"description": "Salainen avain jota k\u00e4ytetty toimitetun verkkotoimintokutsun salausavaimen luomisessa ja joka on pyynn\u00f6n headereissa. Oletuksena on MD5-salausavain joka on tehty k\u00e4ytt\u00e4j\u00e4n tunnuksesta (ID) | k\u00e4ytt\u00e4j\u00e4tunnus jos muuten ei ole asetettu.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v3\/webhooks\/batch"
}
]
}
},
"\/wc\/v3\/system_status": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v3\/system_status"
}
]
}
},
"\/wc\/v3\/system_status\/tools": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Muista poikkeava resurssin tunniste.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava ty\u00f6kalun tunniste.",
"type": "string",
"required": false
},
"name": {
"description": "Ty\u00f6kalun nimi.",
"type": "string",
"required": false
},
"action": {
"description": "Mit\u00e4 ty\u00f6kalu tekee.",
"type": "string",
"required": false
},
"description": {
"description": "Ty\u00f6kalun kuvaus.",
"type": "string",
"required": false
},
"success": {
"description": "Suorittiko ty\u00f6kalu teht\u00e4v\u00e4n?",
"type": "boolean",
"required": false
},
"message": {
"description": "Ty\u00f6kalun palauttama viesti.",
"type": "string",
"required": false
}
}
}
]
},
"\/wc\/v3\/shipping_methods": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v3\/shipping_methods"
}
]
}
},
"\/wc\/v3\/shipping_methods\/(?P[\\w-]+)": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "string",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view"
],
"default": "view",
"required": false
}
}
}
]
},
"\/wc\/v3\/payment_gateways": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Muista poikkeava resurssin tunniste.",
"type": "string",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Muista poikkeava resurssin tunniste.",
"type": "string",
"required": false
},
"title": {
"description": "Maksuk\u00e4yt\u00e4v\u00e4 otsikko kassalla.",
"type": "string",
"required": false
},
"description": {
"description": "Maksuk\u00e4yt\u00e4v\u00e4 kuvaus kassalla.",
"type": "string",
"required": false
},
"order": {
"description": "Maksuk\u00e4yt\u00e4v\u00e4 lajitteluj\u00e4rjestys.",
"type": "integer",
"required": false
},
"enabled": {
"description": "Maksuk\u00e4yt\u00e4v\u00e4 k\u00e4yt\u00f6ss\u00e4 tila.",
"type": "boolean",
"required": false
},
"settings": {
"description": "Maksuk\u00e4yt\u00e4v\u00e4n asetukset.",
"type": "object",
"properties": {
"id": {
"description": "Muista poikkeava tunniste asetukselle.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"label": {
"description": "Asetuksen selkokielinen tunnus jota k\u00e4ytet\u00e4\u00e4n k\u00e4ytt\u00f6liittymiss\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"description": {
"description": "Asetuksen selkokielinen kuvaus jota k\u00e4ytet\u00e4\u00e4n k\u00e4ytt\u00f6liittymiss\u00e4.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"type": {
"description": "Asetuksen laji.",
"type": "string",
"context": [
"view",
"edit"
],
"enum": [
"text",
"email",
"number",
"color",
"password",
"textarea",
"select",
"multiselect",
"radio",
"image_width",
"checkbox"
],
"readonly": true
},
"value": {
"description": "Asetuksen arvo.",
"type": "string",
"context": [
"view",
"edit"
]
},
"default": {
"description": "Asetuksen oletusarvo.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"tip": {
"description": "Asetuksesta k\u00e4ytt\u00e4j\u00e4lle n\u00e4ytett\u00e4v\u00e4n lis\u00e4ohjeen teksti.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"placeholder": {
"description": "Paikanvaraus teksti joka n\u00e4ytet\u00e4\u00e4n tekstilaatikoissa.",
"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:\/\/propsbase.com\/fi\/wp-json\/wc\/v3\/data"
}
]
}
},
"\/wc\/v3\/data\/continents": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v3\/data\/continents"
}
]
}
},
"\/wc\/v3\/data\/continents\/(?P[\\w-]+)": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"continent": {
"description": "2-merkin mannertunnus.",
"type": "string",
"required": false
}
}
}
]
},
"\/wc\/v3\/data\/countries": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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 maatunnus.",
"type": "string",
"required": false
}
}
}
]
},
"\/wc\/v3\/data\/currencies": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc\/v3\/data\/currencies"
}
]
}
},
"\/wc\/v3\/data\/currencies\/current": {
"namespace": "wc\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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 mukainen valuutan tunnus.",
"type": "string",
"required": false
}
}
}
]
},
"\/wc\/v3\/orders\/(?P[\\d]+)\/receipt": {
"namespace": "wc\/v3",
"methods": [
"POST",
"GET"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"id": {
"description": "Tilauksen yksil\u00f6llinen tunnus.",
"type": "integer",
"required": false
},
"expiration_date": {
"description": "Viimeinen voimassaolop\u00e4iv\u00e4 muodossa yyyy-mm-dd.",
"type": "string",
"default": null,
"required": false
},
"expiration_days": {
"description": "P\u00e4ivien m\u00e4\u00e4r\u00e4, joka lis\u00e4t\u00e4\u00e4n nykyiseen p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4n, jotta saadaan viimeinen voimassaolop\u00e4iv\u00e4.",
"type": "integer",
"default": 1,
"required": false
},
"force_new": {
"description": "Valittuna pakottaa uuden kuitin luomisen vaikka kuitti olisi jo olemassa eik\u00e4 ole viel\u00e4 er\u00e4\u00e4ntynyt.",
"type": "boolean",
"default": false,
"required": false
}
}
},
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Tilauksen yksil\u00f6llinen tunnus.",
"type": "integer",
"required": false
}
}
}
]
},
"\/wc-telemetry": {
"namespace": "wc-telemetry",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"namespace": {
"default": "wc-telemetry",
"required": false
},
"context": {
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wc-telemetry"
}
]
}
},
"\/wc-telemetry\/tracker": {
"namespace": "wc-telemetry",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"platform": {
"description": "Seurattava alusta.",
"type": "string",
"required": true
},
"version": {
"description": "Seurattava alustaversio.",
"type": "string",
"required": true
},
"installation_date": {
"description": "WooCommerce-mobiilisovelluksen asennusp\u00e4iv\u00e4m\u00e4\u00e4r\u00e4.",
"type": "string",
"format": "date-time",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/wp-json\/wccom-site\/v3"
}
]
}
},
"\/wccom-site\/v3\/installer": {
"namespace": "wccom-site\/v3",
"methods": [
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"product-id": {
"type": "integer",
"required": true
},
"run-until-step": {
"type": "string",
"enum": [
"get_product_info",
"download_product",
"unpack_product",
"move_product",
"activate_product"
],
"required": true
},
"idempotency-key": {
"type": "string",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/wp-json\/wccom-site\/v3\/ssr"
}
]
}
},
"\/wccom-site\/v3\/status": {
"namespace": "wccom-site\/v3",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wccom-site\/v3\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/wp-json\/nps-survey\/v1"
}
]
}
},
"\/nps-survey\/v1\/rating": {
"namespace": "nps-survey\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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:\/\/propsbase.com\/fi\/wp-json\/nps-survey\/v1\/dismiss-nps-survey"
}
]
}
},
"\/elementor\/v1\/send-event": {
"namespace": "elementor\/v1",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajaa tulokset niihin, jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon. ",
"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:\/\/propsbase.com\/fi\/wp-json\/elementor\/v1\/send-event"
}
]
}
},
"\/wpforms\/v1": {
"namespace": "wpforms\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"namespace": {
"default": "wpforms\/v1",
"required": false
},
"context": {
"default": "view",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wpforms\/v1"
}
]
}
},
"\/wpforms\/v1\/forms": {
"namespace": "wpforms\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wpforms\/v1\/forms"
}
]
}
},
"\/wpforms\/v1\/themes": {
"namespace": "wpforms\/v1",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wpforms\/v1\/themes"
}
]
}
},
"\/wpforms\/v1\/themes\/custom": {
"namespace": "wpforms\/v1",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": []
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wpforms\/v1\/themes\/custom"
}
]
}
},
"\/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:\/\/propsbase.com\/fi\/wp-json\/wp\/v2"
}
]
}
},
"\/wp\/v2\/posts": {
"namespace": "wp\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"allow_batch": {
"v1": true
},
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajaa tulokset niihin, jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon. ",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita tulokset artikkeleihin, jotka on julkaistu annetun ISO8601-yhteensopivan p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4n j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Rajoita vastaus julkaisuihin, joita on muokattu annetun ISO8601-yhteensopivan p\u00e4iv\u00e4yksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"author": {
"description": "Rajaa tulokset tiettyjen kirjoittajien artikkeleihin. ",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"author_exclude": {
"description": "Varmistaa ettei tuloksissa ole artikkeleita, jotka on liitetty tiettyihin kirjoittajiin.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"before": {
"description": "Rajoita tulokset artikkeleihin, jotka on julkaistu annettua ISO8601-yhteensopivaa p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4 ennen.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Rajoita vastaus julkaisuihin, joita on muokattu ennen annettua ISO8601-yhteensopivaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"exclude": {
"description": "Varmista, etteiv\u00e4t tulokset sis\u00e4ll\u00e4 tiettyj\u00e4 ID:it\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajaa tulokset tiettyihin ID:ihin.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"search_semantics": {
"description": "Kuinka tulkita hakusy\u00f6tett\u00e4.",
"type": "string",
"enum": [
"exact"
],
"required": false
},
"offset": {
"description": "Ohita m\u00e4\u00e4ritelty m\u00e4\u00e4r\u00e4 kohteita alusta.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjest\u00e4\u00e4 tulokset nousevaan tai laskevaan j\u00e4rjestykseen.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Lajittele kokoelma artikkelin ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"author",
"date",
"id",
"include",
"modified",
"parent",
"relevance",
"slug",
"include_slugs",
"title"
],
"required": false
},
"search_columns": {
"default": [],
"description": "Taulukko sarakkeiden nimist\u00e4, joista etsit\u00e4\u00e4n.",
"type": "array",
"items": {
"enum": [
"post_title",
"post_content",
"post_excerpt"
],
"type": "string"
},
"required": false
},
"slug": {
"description": "Rajaa tulokset artikkeleihin, joilla on yksi tai useampi polkutunnus.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"status": {
"default": "publish",
"description": "Rajaa tulokset artikkeleihin, joilla on yksi tai useampi tila.",
"type": "array",
"items": {
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"trash",
"auto-draft",
"inherit",
"request-pending",
"request-confirmed",
"request-failed",
"request-completed",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft",
"override",
"any"
],
"type": "string"
},
"required": false
},
"tax_relation": {
"description": "Rajoita tuloksia useampien luokittelujen v\u00e4listen suhteiden perusteella.",
"type": "string",
"enum": [
"AND",
"OR"
],
"required": false
},
"categories": {
"description": "Rajoita tulos kohteisiin, joilla on tiettyj\u00e4 termej\u00e4 asetettuna taksonomiaan categories.",
"type": [
"object",
"array"
],
"oneOf": [
{
"title": "Termitunnistelistaus",
"description": "Sovita termit yhteen listattujen tunnisteiden kanssa.",
"type": "array",
"items": {
"type": "integer"
}
},
{
"title": "Termin tunnisteen taksonomiakysely",
"description": "Suorita edistynyt termikysely.",
"type": "object",
"properties": {
"terms": {
"description": "Termitunnisteet.",
"type": "array",
"items": {
"type": "integer"
},
"default": []
},
"include_children": {
"description": "Sis\u00e4ltyv\u00e4tk\u00f6 lapsitermit termeihin, jotka rajoittavat tulosjoukkoa.",
"type": "boolean",
"default": false
},
"operator": {
"description": "Annetaanko kohteille kaikki vai jokin m\u00e4\u00e4ritetyist\u00e4 termeist\u00e4.",
"type": "string",
"enum": [
"AND",
"OR"
],
"default": "OR"
}
},
"additionalProperties": false
}
],
"required": false
},
"categories_exclude": {
"description": "Rajaa tulos sis\u00e4lt\u00e4m\u00e4\u00e4n kaikki kohteet lukuun ottamatta niit\u00e4, joilla on nimetty termi taksonomiassa categories.",
"type": [
"object",
"array"
],
"oneOf": [
{
"title": "Termitunnistelistaus",
"description": "Sovita termit yhteen listattujen tunnisteiden kanssa.",
"type": "array",
"items": {
"type": "integer"
}
},
{
"title": "Termin tunnisteen taksonomiakysely",
"description": "Suorita edistynyt termikysely.",
"type": "object",
"properties": {
"terms": {
"description": "Termitunnisteet.",
"type": "array",
"items": {
"type": "integer"
},
"default": []
},
"include_children": {
"description": "Sis\u00e4ltyv\u00e4tk\u00f6 lapsitermit termeihin, jotka rajoittavat tulosjoukkoa.",
"type": "boolean",
"default": false
}
},
"additionalProperties": false
}
],
"required": false
},
"tags": {
"description": "Rajoita tulos kohteisiin, joilla on tiettyj\u00e4 termej\u00e4 asetettuna taksonomiaan tags.",
"type": [
"object",
"array"
],
"oneOf": [
{
"title": "Termitunnistelistaus",
"description": "Sovita termit yhteen listattujen tunnisteiden kanssa.",
"type": "array",
"items": {
"type": "integer"
}
},
{
"title": "Termin tunnisteen taksonomiakysely",
"description": "Suorita edistynyt termikysely.",
"type": "object",
"properties": {
"terms": {
"description": "Termitunnisteet.",
"type": "array",
"items": {
"type": "integer"
},
"default": []
},
"operator": {
"description": "Annetaanko kohteille kaikki vai jokin m\u00e4\u00e4ritetyist\u00e4 termeist\u00e4.",
"type": "string",
"enum": [
"AND",
"OR"
],
"default": "OR"
}
},
"additionalProperties": false
}
],
"required": false
},
"tags_exclude": {
"description": "Rajaa tulos sis\u00e4lt\u00e4m\u00e4\u00e4n kaikki kohteet lukuun ottamatta niit\u00e4, joilla on nimetty termi taksonomiassa tags.",
"type": [
"object",
"array"
],
"oneOf": [
{
"title": "Termitunnistelistaus",
"description": "Sovita termit yhteen listattujen tunnisteiden kanssa.",
"type": "array",
"items": {
"type": "integer"
}
},
{
"title": "Termin tunnisteen taksonomiakysely",
"description": "Suorita edistynyt termikysely.",
"type": "object",
"properties": {
"terms": {
"description": "Termitunnisteet.",
"type": "array",
"items": {
"type": "integer"
},
"default": []
}
},
"additionalProperties": false
}
],
"required": false
},
"sticky": {
"description": "Rajaa tulokset kiinnitettyihin kohteisiin. ",
"type": "boolean",
"required": false
},
"format": {
"description": "Rajoita tulosjoukko kohteiksi, joille on m\u00e4\u00e4ritetty yksi tai useampi valittu muoto.",
"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": "Artikkelin julkaisup\u00e4iv\u00e4m\u00e4\u00e4r\u00e4 sivuston aikavy\u00f6hykkeen ajassa.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"date_gmt": {
"description": "Artikkelin julkaisup\u00e4iv\u00e4 GMT-ajassa.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"slug": {
"description": "Artikkelin alfanumeerinen tunniste, joka on saman artikkelityypin sis\u00e4ll\u00e4 yksil\u00f6iv\u00e4.",
"type": "string",
"required": false
},
"status": {
"description": "Artikkelin nimetty tila.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft",
"override"
],
"required": false
},
"password": {
"description": "Salasana sis\u00e4ll\u00f6n ja otteen suojaamiseksi. ",
"type": "string",
"required": false
},
"title": {
"description": "Artikkelin otsikko.",
"type": "object",
"properties": {
"raw": {
"description": "Artikkelin otsikko siten kuin se esiintyy tietokannassa. ",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Artikkelin HTML-muotoinen otsikko sellaisena kuin se n\u00e4ytet\u00e4\u00e4n selaimessa.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"content": {
"description": "Artikkelin sis\u00e4lt\u00f6.",
"type": "object",
"properties": {
"raw": {
"description": "Artikkelin sis\u00e4lt\u00f6 siin\u00e4 muodossa kuin se on tietokannassa.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Artikkelin HTML-sis\u00e4lt\u00f6 sellaisena kuin se n\u00e4ytet\u00e4\u00e4n selaimessa.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"block_version": {
"description": "Artikkelin k\u00e4ytt\u00e4m\u00e4n sis\u00e4lt\u00f6lohkoformaatin versio.",
"type": "integer",
"context": [
"edit"
],
"readonly": true
},
"protected": {
"description": "Onko sis\u00e4lt\u00f6 suojattu salasanalla.",
"type": "boolean",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"author": {
"description": "Artikkelin kirjoittajan ID.",
"type": "integer",
"required": false
},
"excerpt": {
"description": "Artikkelin ote.",
"type": "object",
"properties": {
"raw": {
"description": "Artikkelin ote siin\u00e4 muodossa kuin se on tietokannassa.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Artikkelin HTML-muotoinen ote sellaisena kuin se n\u00e4ytet\u00e4\u00e4n selaimessa.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
},
"protected": {
"description": "Onko ote suojattu salasanalla. ",
"type": "boolean",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"featured_media": {
"description": "Kohteen artikkelikuvan ID.",
"type": "integer",
"required": false
},
"comment_status": {
"description": "Onko artikkelin kommentointi k\u00e4yt\u00f6ss\u00e4. ",
"type": "string",
"enum": [
"open",
"closed"
],
"required": false
},
"ping_status": {
"description": "Voiko artikkelille tehd\u00e4 paluuviitteen.",
"type": "string",
"enum": [
"open",
"closed"
],
"required": false
},
"format": {
"description": "Artikkelin muoto.",
"type": "string",
"enum": [
"standard",
"aside",
"chat",
"gallery",
"link",
"image",
"quote",
"status",
"video",
"audio"
],
"required": false
},
"meta": {
"description": "Metakent\u00e4t.",
"type": "object",
"properties": {
"rank_math_lock_modified_date": {
"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": ""
}
},
"required": false
},
"sticky": {
"description": "Onko artikkeli kiinnitetty. ",
"type": "boolean",
"required": false
},
"template": {
"description": "Teeman tiedosto joka n\u00e4ytt\u00e4\u00e4 artikkelin.",
"type": "string",
"required": false
},
"categories": {
"description": "Artikkeliin liitetyt termit luokittelussa category.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"tags": {
"description": "Artikkeliin liitetyt termit luokittelussa post_tag.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Artikkelin uniikki tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"excerpt_length": {
"description": "Yliaja otteen oletuspituus.",
"type": "integer",
"required": false
},
"password": {
"description": "Artikkelin salasana, jos se on salasanasuojattu. ",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"allow_batch": {
"v1": true
},
"args": {
"id": {
"description": "Artikkelin uniikki tunniste.",
"type": "integer",
"required": false
},
"date": {
"description": "Artikkelin julkaisup\u00e4iv\u00e4m\u00e4\u00e4r\u00e4 sivuston aikavy\u00f6hykkeen ajassa.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"date_gmt": {
"description": "Artikkelin julkaisup\u00e4iv\u00e4 GMT-ajassa.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"slug": {
"description": "Artikkelin alfanumeerinen tunniste, joka on saman artikkelityypin sis\u00e4ll\u00e4 yksil\u00f6iv\u00e4.",
"type": "string",
"required": false
},
"status": {
"description": "Artikkelin nimetty tila.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft",
"override"
],
"required": false
},
"password": {
"description": "Salasana sis\u00e4ll\u00f6n ja otteen suojaamiseksi. ",
"type": "string",
"required": false
},
"title": {
"description": "Artikkelin otsikko.",
"type": "object",
"properties": {
"raw": {
"description": "Artikkelin otsikko siten kuin se esiintyy tietokannassa. ",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Artikkelin HTML-muotoinen otsikko sellaisena kuin se n\u00e4ytet\u00e4\u00e4n selaimessa.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"content": {
"description": "Artikkelin sis\u00e4lt\u00f6.",
"type": "object",
"properties": {
"raw": {
"description": "Artikkelin sis\u00e4lt\u00f6 siin\u00e4 muodossa kuin se on tietokannassa.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Artikkelin HTML-sis\u00e4lt\u00f6 sellaisena kuin se n\u00e4ytet\u00e4\u00e4n selaimessa.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"block_version": {
"description": "Artikkelin k\u00e4ytt\u00e4m\u00e4n sis\u00e4lt\u00f6lohkoformaatin versio.",
"type": "integer",
"context": [
"edit"
],
"readonly": true
},
"protected": {
"description": "Onko sis\u00e4lt\u00f6 suojattu salasanalla.",
"type": "boolean",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"author": {
"description": "Artikkelin kirjoittajan ID.",
"type": "integer",
"required": false
},
"excerpt": {
"description": "Artikkelin ote.",
"type": "object",
"properties": {
"raw": {
"description": "Artikkelin ote siin\u00e4 muodossa kuin se on tietokannassa.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Artikkelin HTML-muotoinen ote sellaisena kuin se n\u00e4ytet\u00e4\u00e4n selaimessa.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
},
"protected": {
"description": "Onko ote suojattu salasanalla. ",
"type": "boolean",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"featured_media": {
"description": "Kohteen artikkelikuvan ID.",
"type": "integer",
"required": false
},
"comment_status": {
"description": "Onko artikkelin kommentointi k\u00e4yt\u00f6ss\u00e4. ",
"type": "string",
"enum": [
"open",
"closed"
],
"required": false
},
"ping_status": {
"description": "Voiko artikkelille tehd\u00e4 paluuviitteen.",
"type": "string",
"enum": [
"open",
"closed"
],
"required": false
},
"format": {
"description": "Artikkelin muoto.",
"type": "string",
"enum": [
"standard",
"aside",
"chat",
"gallery",
"link",
"image",
"quote",
"status",
"video",
"audio"
],
"required": false
},
"meta": {
"description": "Metakent\u00e4t.",
"type": "object",
"properties": {
"rank_math_lock_modified_date": {
"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": ""
}
},
"required": false
},
"sticky": {
"description": "Onko artikkeli kiinnitetty. ",
"type": "boolean",
"required": false
},
"template": {
"description": "Teeman tiedosto joka n\u00e4ytt\u00e4\u00e4 artikkelin.",
"type": "string",
"required": false
},
"categories": {
"description": "Artikkeliin liitetyt termit luokittelussa category.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"tags": {
"description": "Artikkeliin liitetyt termit luokittelussa post_tag.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"allow_batch": {
"v1": true
},
"args": {
"id": {
"description": "Artikkelin uniikki tunniste.",
"type": "integer",
"required": false
},
"force": {
"type": "boolean",
"default": false,
"description": "Ohitetaanko roskakori ja pakotetaan poistaminen.",
"required": false
}
}
}
]
},
"\/wp\/v2\/posts\/(?P[\\d]+)\/revisions": {
"namespace": "wp\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"parent": {
"description": "Ylemm\u00e4n version ID.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajaa tulokset niihin, jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon. ",
"type": "string",
"required": false
},
"exclude": {
"description": "Varmista, etteiv\u00e4t tulokset sis\u00e4ll\u00e4 tiettyj\u00e4 ID:it\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajaa tulokset tiettyihin ID:ihin.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Ohita m\u00e4\u00e4ritelty m\u00e4\u00e4r\u00e4 kohteita alusta.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjest\u00e4\u00e4 tulokset nousevaan tai laskevaan j\u00e4rjestykseen.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma kohteen ominaisuuden mukaan.",
"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": "Ylemm\u00e4n version ID.",
"type": "integer",
"required": false
},
"id": {
"description": "Version uniikki tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"parent": {
"description": "Ylemm\u00e4n version ID.",
"type": "integer",
"required": false
},
"id": {
"description": "Version uniikki tunniste.",
"type": "integer",
"required": false
},
"force": {
"type": "boolean",
"default": false,
"description": "Arvon tulee olla true, koska versiot eiv\u00e4t tue roskakoria.",
"required": false
}
}
}
]
},
"\/wp\/v2\/posts\/(?P[\\d]+)\/autosaves": {
"namespace": "wp\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"parent": {
"description": "Ylemm\u00e4n automaattitallennuksen ID.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"parent": {
"description": "Ylemm\u00e4n automaattitallennuksen ID.",
"type": "integer",
"required": false
},
"date": {
"description": "Artikkelin julkaisup\u00e4iv\u00e4m\u00e4\u00e4r\u00e4 sivuston aikavy\u00f6hykkeen ajassa.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"date_gmt": {
"description": "Artikkelin julkaisup\u00e4iv\u00e4 GMT-ajassa.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"slug": {
"description": "Artikkelin alfanumeerinen tunniste, joka on saman artikkelityypin sis\u00e4ll\u00e4 yksil\u00f6iv\u00e4.",
"type": "string",
"required": false
},
"status": {
"description": "Artikkelin nimetty tila.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft",
"override"
],
"required": false
},
"password": {
"description": "Salasana sis\u00e4ll\u00f6n ja otteen suojaamiseksi. ",
"type": "string",
"required": false
},
"title": {
"description": "Artikkelin otsikko.",
"type": "object",
"properties": {
"raw": {
"description": "Artikkelin otsikko siten kuin se esiintyy tietokannassa. ",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Artikkelin HTML-muotoinen otsikko sellaisena kuin se n\u00e4ytet\u00e4\u00e4n selaimessa.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"content": {
"description": "Artikkelin sis\u00e4lt\u00f6.",
"type": "object",
"properties": {
"raw": {
"description": "Artikkelin sis\u00e4lt\u00f6 siin\u00e4 muodossa kuin se on tietokannassa.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Artikkelin HTML-sis\u00e4lt\u00f6 sellaisena kuin se n\u00e4ytet\u00e4\u00e4n selaimessa.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"block_version": {
"description": "Artikkelin k\u00e4ytt\u00e4m\u00e4n sis\u00e4lt\u00f6lohkoformaatin versio.",
"type": "integer",
"context": [
"edit"
],
"readonly": true
},
"protected": {
"description": "Onko sis\u00e4lt\u00f6 suojattu salasanalla.",
"type": "boolean",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"author": {
"description": "Artikkelin kirjoittajan ID.",
"type": "integer",
"required": false
},
"excerpt": {
"description": "Artikkelin ote.",
"type": "object",
"properties": {
"raw": {
"description": "Artikkelin ote siin\u00e4 muodossa kuin se on tietokannassa.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Artikkelin HTML-muotoinen ote sellaisena kuin se n\u00e4ytet\u00e4\u00e4n selaimessa.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
},
"protected": {
"description": "Onko ote suojattu salasanalla. ",
"type": "boolean",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"featured_media": {
"description": "Kohteen artikkelikuvan ID.",
"type": "integer",
"required": false
},
"comment_status": {
"description": "Onko artikkelin kommentointi k\u00e4yt\u00f6ss\u00e4. ",
"type": "string",
"enum": [
"open",
"closed"
],
"required": false
},
"ping_status": {
"description": "Voiko artikkelille tehd\u00e4 paluuviitteen.",
"type": "string",
"enum": [
"open",
"closed"
],
"required": false
},
"format": {
"description": "Artikkelin muoto.",
"type": "string",
"enum": [
"standard",
"aside",
"chat",
"gallery",
"link",
"image",
"quote",
"status",
"video",
"audio"
],
"required": false
},
"meta": {
"description": "Metakent\u00e4t.",
"type": "object",
"properties": {
"rank_math_lock_modified_date": {
"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": ""
}
},
"required": false
},
"sticky": {
"description": "Onko artikkeli kiinnitetty. ",
"type": "boolean",
"required": false
},
"template": {
"description": "Teeman tiedosto joka n\u00e4ytt\u00e4\u00e4 artikkelin.",
"type": "string",
"required": false
},
"categories": {
"description": "Artikkeliin liitetyt termit luokittelussa category.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"tags": {
"description": "Artikkeliin liitetyt termit luokittelussa post_tag.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
}
}
}
]
},
"\/wp\/v2\/posts\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": {
"namespace": "wp\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"parent": {
"description": "Ylemm\u00e4n automaattitallennuksen ID.",
"type": "integer",
"required": false
},
"id": {
"description": "Automaattisesti tallennetun version ID.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"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": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajaa tulokset niihin, jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon. ",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita tulokset artikkeleihin, jotka on julkaistu annetun ISO8601-yhteensopivan p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4n j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Rajoita vastaus julkaisuihin, joita on muokattu annetun ISO8601-yhteensopivan p\u00e4iv\u00e4yksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"author": {
"description": "Rajaa tulokset tiettyjen kirjoittajien artikkeleihin. ",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"author_exclude": {
"description": "Varmistaa ettei tuloksissa ole artikkeleita, jotka on liitetty tiettyihin kirjoittajiin.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"before": {
"description": "Rajoita tulokset artikkeleihin, jotka on julkaistu annettua ISO8601-yhteensopivaa p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4 ennen.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Rajoita vastaus julkaisuihin, joita on muokattu ennen annettua ISO8601-yhteensopivaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"exclude": {
"description": "Varmista, etteiv\u00e4t tulokset sis\u00e4ll\u00e4 tiettyj\u00e4 ID:it\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajaa tulokset tiettyihin ID:ihin.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"menu_order": {
"description": "Rajaa tulokset tiettyyn menu_order-arvoon.",
"type": "integer",
"required": false
},
"search_semantics": {
"description": "Kuinka tulkita hakusy\u00f6tett\u00e4.",
"type": "string",
"enum": [
"exact"
],
"required": false
},
"offset": {
"description": "Ohita m\u00e4\u00e4ritelty m\u00e4\u00e4r\u00e4 kohteita alusta.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjest\u00e4\u00e4 tulokset nousevaan tai laskevaan j\u00e4rjestykseen.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Lajittele kokoelma artikkelin ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"author",
"date",
"id",
"include",
"modified",
"parent",
"relevance",
"slug",
"include_slugs",
"title",
"menu_order"
],
"required": false
},
"parent": {
"description": "Rajaa tulokset kohteisiin, joiden vanhemmalla on jokin m\u00e4\u00e4ritellyist\u00e4 id:ist\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Rajaa tulokset kohteisiin, joiden vanhemmalla ei ole tietty\u00e4 id:t\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"search_columns": {
"default": [],
"description": "Taulukko sarakkeiden nimist\u00e4, joista etsit\u00e4\u00e4n.",
"type": "array",
"items": {
"enum": [
"post_title",
"post_content",
"post_excerpt"
],
"type": "string"
},
"required": false
},
"slug": {
"description": "Rajaa tulokset artikkeleihin, joilla on yksi tai useampi polkutunnus.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"status": {
"default": "publish",
"description": "Rajaa tulokset artikkeleihin, joilla on yksi tai useampi tila.",
"type": "array",
"items": {
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"trash",
"auto-draft",
"inherit",
"request-pending",
"request-confirmed",
"request-failed",
"request-completed",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft",
"override",
"any"
],
"type": "string"
},
"required": false
}
}
},
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"date": {
"description": "Artikkelin julkaisup\u00e4iv\u00e4m\u00e4\u00e4r\u00e4 sivuston aikavy\u00f6hykkeen ajassa.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"date_gmt": {
"description": "Artikkelin julkaisup\u00e4iv\u00e4 GMT-ajassa.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"slug": {
"description": "Artikkelin alfanumeerinen tunniste, joka on saman artikkelityypin sis\u00e4ll\u00e4 yksil\u00f6iv\u00e4.",
"type": "string",
"required": false
},
"status": {
"description": "Artikkelin nimetty tila.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft",
"override"
],
"required": false
},
"password": {
"description": "Salasana sis\u00e4ll\u00f6n ja otteen suojaamiseksi. ",
"type": "string",
"required": false
},
"parent": {
"description": "Ylemm\u00e4n kohteen ID.",
"type": "integer",
"required": false
},
"title": {
"description": "Artikkelin otsikko.",
"type": "object",
"properties": {
"raw": {
"description": "Artikkelin otsikko siten kuin se esiintyy tietokannassa. ",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Artikkelin HTML-muotoinen otsikko sellaisena kuin se n\u00e4ytet\u00e4\u00e4n selaimessa.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"content": {
"description": "Artikkelin sis\u00e4lt\u00f6.",
"type": "object",
"properties": {
"raw": {
"description": "Artikkelin sis\u00e4lt\u00f6 siin\u00e4 muodossa kuin se on tietokannassa.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Artikkelin HTML-sis\u00e4lt\u00f6 sellaisena kuin se n\u00e4ytet\u00e4\u00e4n selaimessa.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"block_version": {
"description": "Artikkelin k\u00e4ytt\u00e4m\u00e4n sis\u00e4lt\u00f6lohkoformaatin versio.",
"type": "integer",
"context": [
"edit"
],
"readonly": true
},
"protected": {
"description": "Onko sis\u00e4lt\u00f6 suojattu salasanalla.",
"type": "boolean",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"author": {
"description": "Artikkelin kirjoittajan ID.",
"type": "integer",
"required": false
},
"excerpt": {
"description": "Artikkelin ote.",
"type": "object",
"properties": {
"raw": {
"description": "Artikkelin ote siin\u00e4 muodossa kuin se on tietokannassa.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Artikkelin HTML-muotoinen ote sellaisena kuin se n\u00e4ytet\u00e4\u00e4n selaimessa.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
},
"protected": {
"description": "Onko ote suojattu salasanalla. ",
"type": "boolean",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"featured_media": {
"description": "Kohteen artikkelikuvan ID.",
"type": "integer",
"required": false
},
"comment_status": {
"description": "Onko artikkelin kommentointi k\u00e4yt\u00f6ss\u00e4. ",
"type": "string",
"enum": [
"open",
"closed"
],
"required": false
},
"ping_status": {
"description": "Voiko artikkelille tehd\u00e4 paluuviitteen.",
"type": "string",
"enum": [
"open",
"closed"
],
"required": false
},
"menu_order": {
"description": "Artikkelin j\u00e4rjestys suhteessa muihin artikkeleihin.",
"type": "integer",
"required": false
},
"meta": {
"description": "Metakent\u00e4t.",
"type": "object",
"properties": {
"rank_math_lock_modified_date": {
"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": ""
}
},
"required": false
},
"template": {
"description": "Teeman tiedosto joka n\u00e4ytt\u00e4\u00e4 artikkelin.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Artikkelin uniikki tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"excerpt_length": {
"description": "Yliaja otteen oletuspituus.",
"type": "integer",
"required": false
},
"password": {
"description": "Artikkelin salasana, jos se on salasanasuojattu. ",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"allow_batch": {
"v1": true
},
"args": {
"id": {
"description": "Artikkelin uniikki tunniste.",
"type": "integer",
"required": false
},
"date": {
"description": "Artikkelin julkaisup\u00e4iv\u00e4m\u00e4\u00e4r\u00e4 sivuston aikavy\u00f6hykkeen ajassa.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"date_gmt": {
"description": "Artikkelin julkaisup\u00e4iv\u00e4 GMT-ajassa.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"slug": {
"description": "Artikkelin alfanumeerinen tunniste, joka on saman artikkelityypin sis\u00e4ll\u00e4 yksil\u00f6iv\u00e4.",
"type": "string",
"required": false
},
"status": {
"description": "Artikkelin nimetty tila.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft",
"override"
],
"required": false
},
"password": {
"description": "Salasana sis\u00e4ll\u00f6n ja otteen suojaamiseksi. ",
"type": "string",
"required": false
},
"parent": {
"description": "Ylemm\u00e4n kohteen ID.",
"type": "integer",
"required": false
},
"title": {
"description": "Artikkelin otsikko.",
"type": "object",
"properties": {
"raw": {
"description": "Artikkelin otsikko siten kuin se esiintyy tietokannassa. ",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Artikkelin HTML-muotoinen otsikko sellaisena kuin se n\u00e4ytet\u00e4\u00e4n selaimessa.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"content": {
"description": "Artikkelin sis\u00e4lt\u00f6.",
"type": "object",
"properties": {
"raw": {
"description": "Artikkelin sis\u00e4lt\u00f6 siin\u00e4 muodossa kuin se on tietokannassa.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Artikkelin HTML-sis\u00e4lt\u00f6 sellaisena kuin se n\u00e4ytet\u00e4\u00e4n selaimessa.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"block_version": {
"description": "Artikkelin k\u00e4ytt\u00e4m\u00e4n sis\u00e4lt\u00f6lohkoformaatin versio.",
"type": "integer",
"context": [
"edit"
],
"readonly": true
},
"protected": {
"description": "Onko sis\u00e4lt\u00f6 suojattu salasanalla.",
"type": "boolean",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"author": {
"description": "Artikkelin kirjoittajan ID.",
"type": "integer",
"required": false
},
"excerpt": {
"description": "Artikkelin ote.",
"type": "object",
"properties": {
"raw": {
"description": "Artikkelin ote siin\u00e4 muodossa kuin se on tietokannassa.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Artikkelin HTML-muotoinen ote sellaisena kuin se n\u00e4ytet\u00e4\u00e4n selaimessa.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
},
"protected": {
"description": "Onko ote suojattu salasanalla. ",
"type": "boolean",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"featured_media": {
"description": "Kohteen artikkelikuvan ID.",
"type": "integer",
"required": false
},
"comment_status": {
"description": "Onko artikkelin kommentointi k\u00e4yt\u00f6ss\u00e4. ",
"type": "string",
"enum": [
"open",
"closed"
],
"required": false
},
"ping_status": {
"description": "Voiko artikkelille tehd\u00e4 paluuviitteen.",
"type": "string",
"enum": [
"open",
"closed"
],
"required": false
},
"menu_order": {
"description": "Artikkelin j\u00e4rjestys suhteessa muihin artikkeleihin.",
"type": "integer",
"required": false
},
"meta": {
"description": "Metakent\u00e4t.",
"type": "object",
"properties": {
"rank_math_lock_modified_date": {
"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": ""
}
},
"required": false
},
"template": {
"description": "Teeman tiedosto joka n\u00e4ytt\u00e4\u00e4 artikkelin.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"allow_batch": {
"v1": true
},
"args": {
"id": {
"description": "Artikkelin uniikki tunniste.",
"type": "integer",
"required": false
},
"force": {
"type": "boolean",
"default": false,
"description": "Ohitetaanko roskakori ja pakotetaan poistaminen.",
"required": false
}
}
}
]
},
"\/wp\/v2\/pages\/(?P[\\d]+)\/revisions": {
"namespace": "wp\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"parent": {
"description": "Ylemm\u00e4n version ID.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajaa tulokset niihin, jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon. ",
"type": "string",
"required": false
},
"exclude": {
"description": "Varmista, etteiv\u00e4t tulokset sis\u00e4ll\u00e4 tiettyj\u00e4 ID:it\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajaa tulokset tiettyihin ID:ihin.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Ohita m\u00e4\u00e4ritelty m\u00e4\u00e4r\u00e4 kohteita alusta.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjest\u00e4\u00e4 tulokset nousevaan tai laskevaan j\u00e4rjestykseen.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma kohteen ominaisuuden mukaan.",
"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": "Ylemm\u00e4n version ID.",
"type": "integer",
"required": false
},
"id": {
"description": "Version uniikki tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"parent": {
"description": "Ylemm\u00e4n version ID.",
"type": "integer",
"required": false
},
"id": {
"description": "Version uniikki tunniste.",
"type": "integer",
"required": false
},
"force": {
"type": "boolean",
"default": false,
"description": "Arvon tulee olla true, koska versiot eiv\u00e4t tue roskakoria.",
"required": false
}
}
}
]
},
"\/wp\/v2\/pages\/(?P[\\d]+)\/autosaves": {
"namespace": "wp\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"parent": {
"description": "Ylemm\u00e4n automaattitallennuksen ID.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"parent": {
"description": "Ylemm\u00e4n kohteen ID.",
"type": "integer",
"required": false
},
"date": {
"description": "Artikkelin julkaisup\u00e4iv\u00e4m\u00e4\u00e4r\u00e4 sivuston aikavy\u00f6hykkeen ajassa.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"date_gmt": {
"description": "Artikkelin julkaisup\u00e4iv\u00e4 GMT-ajassa.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"slug": {
"description": "Artikkelin alfanumeerinen tunniste, joka on saman artikkelityypin sis\u00e4ll\u00e4 yksil\u00f6iv\u00e4.",
"type": "string",
"required": false
},
"status": {
"description": "Artikkelin nimetty tila.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft",
"override"
],
"required": false
},
"password": {
"description": "Salasana sis\u00e4ll\u00f6n ja otteen suojaamiseksi. ",
"type": "string",
"required": false
},
"title": {
"description": "Artikkelin otsikko.",
"type": "object",
"properties": {
"raw": {
"description": "Artikkelin otsikko siten kuin se esiintyy tietokannassa. ",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Artikkelin HTML-muotoinen otsikko sellaisena kuin se n\u00e4ytet\u00e4\u00e4n selaimessa.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"content": {
"description": "Artikkelin sis\u00e4lt\u00f6.",
"type": "object",
"properties": {
"raw": {
"description": "Artikkelin sis\u00e4lt\u00f6 siin\u00e4 muodossa kuin se on tietokannassa.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Artikkelin HTML-sis\u00e4lt\u00f6 sellaisena kuin se n\u00e4ytet\u00e4\u00e4n selaimessa.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"block_version": {
"description": "Artikkelin k\u00e4ytt\u00e4m\u00e4n sis\u00e4lt\u00f6lohkoformaatin versio.",
"type": "integer",
"context": [
"edit"
],
"readonly": true
},
"protected": {
"description": "Onko sis\u00e4lt\u00f6 suojattu salasanalla.",
"type": "boolean",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"author": {
"description": "Artikkelin kirjoittajan ID.",
"type": "integer",
"required": false
},
"excerpt": {
"description": "Artikkelin ote.",
"type": "object",
"properties": {
"raw": {
"description": "Artikkelin ote siin\u00e4 muodossa kuin se on tietokannassa.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Artikkelin HTML-muotoinen ote sellaisena kuin se n\u00e4ytet\u00e4\u00e4n selaimessa.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
},
"protected": {
"description": "Onko ote suojattu salasanalla. ",
"type": "boolean",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"featured_media": {
"description": "Kohteen artikkelikuvan ID.",
"type": "integer",
"required": false
},
"comment_status": {
"description": "Onko artikkelin kommentointi k\u00e4yt\u00f6ss\u00e4. ",
"type": "string",
"enum": [
"open",
"closed"
],
"required": false
},
"ping_status": {
"description": "Voiko artikkelille tehd\u00e4 paluuviitteen.",
"type": "string",
"enum": [
"open",
"closed"
],
"required": false
},
"menu_order": {
"description": "Artikkelin j\u00e4rjestys suhteessa muihin artikkeleihin.",
"type": "integer",
"required": false
},
"meta": {
"description": "Metakent\u00e4t.",
"type": "object",
"properties": {
"rank_math_lock_modified_date": {
"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": ""
}
},
"required": false
},
"template": {
"description": "Teeman tiedosto joka n\u00e4ytt\u00e4\u00e4 artikkelin.",
"type": "string",
"required": false
}
}
}
]
},
"\/wp\/v2\/pages\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": {
"namespace": "wp\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"parent": {
"description": "Ylemm\u00e4n automaattitallennuksen ID.",
"type": "integer",
"required": false
},
"id": {
"description": "Automaattisesti tallennetun version ID.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"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": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajaa tulokset niihin, jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon. ",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita tulokset artikkeleihin, jotka on julkaistu annetun ISO8601-yhteensopivan p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4n j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Rajoita vastaus julkaisuihin, joita on muokattu annetun ISO8601-yhteensopivan p\u00e4iv\u00e4yksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"author": {
"description": "Rajaa tulokset tiettyjen kirjoittajien artikkeleihin. ",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"author_exclude": {
"description": "Varmistaa ettei tuloksissa ole artikkeleita, jotka on liitetty tiettyihin kirjoittajiin.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"before": {
"description": "Rajoita tulokset artikkeleihin, jotka on julkaistu annettua ISO8601-yhteensopivaa p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4 ennen.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Rajoita vastaus julkaisuihin, joita on muokattu ennen annettua ISO8601-yhteensopivaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"exclude": {
"description": "Varmista, etteiv\u00e4t tulokset sis\u00e4ll\u00e4 tiettyj\u00e4 ID:it\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajaa tulokset tiettyihin ID:ihin.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"search_semantics": {
"description": "Kuinka tulkita hakusy\u00f6tett\u00e4.",
"type": "string",
"enum": [
"exact"
],
"required": false
},
"offset": {
"description": "Ohita m\u00e4\u00e4ritelty m\u00e4\u00e4r\u00e4 kohteita alusta.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjest\u00e4\u00e4 tulokset nousevaan tai laskevaan j\u00e4rjestykseen.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Lajittele kokoelma artikkelin ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"author",
"date",
"id",
"include",
"modified",
"parent",
"relevance",
"slug",
"include_slugs",
"title"
],
"required": false
},
"parent": {
"description": "Rajaa tulokset kohteisiin, joiden vanhemmalla on jokin m\u00e4\u00e4ritellyist\u00e4 id:ist\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"parent_exclude": {
"description": "Rajaa tulokset kohteisiin, joiden vanhemmalla ei ole tietty\u00e4 id:t\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"search_columns": {
"default": [],
"description": "Taulukko sarakkeiden nimist\u00e4, joista etsit\u00e4\u00e4n.",
"type": "array",
"items": {
"enum": [
"post_title",
"post_content",
"post_excerpt"
],
"type": "string"
},
"required": false
},
"slug": {
"description": "Rajaa tulokset artikkeleihin, joilla on yksi tai useampi polkutunnus.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"status": {
"default": "inherit",
"description": "Rajaa tulokset artikkeleihin, joilla on yksi tai useampi tila.",
"type": "array",
"items": {
"enum": [
"inherit",
"private",
"trash"
],
"type": "string"
},
"required": false
},
"media_type": {
"default": null,
"description": "Rajaa tulokset tietyn mediatyypin liitetiedostoihin.",
"type": "string",
"enum": [
"image",
"video",
"text",
"application",
"audio"
],
"required": false
},
"mime_type": {
"default": null,
"description": "Rajaa tulokset tietyn MIME-tyypin liitetiedostoihin.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"date": {
"description": "Artikkelin julkaisup\u00e4iv\u00e4m\u00e4\u00e4r\u00e4 sivuston aikavy\u00f6hykkeen ajassa.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"date_gmt": {
"description": "Artikkelin julkaisup\u00e4iv\u00e4 GMT-ajassa.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"slug": {
"description": "Artikkelin alfanumeerinen tunniste, joka on saman artikkelityypin sis\u00e4ll\u00e4 yksil\u00f6iv\u00e4.",
"type": "string",
"required": false
},
"status": {
"description": "Artikkelin nimetty tila.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft",
"override"
],
"required": false
},
"title": {
"description": "Artikkelin otsikko.",
"type": "object",
"properties": {
"raw": {
"description": "Artikkelin otsikko siten kuin se esiintyy tietokannassa. ",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Artikkelin HTML-muotoinen otsikko sellaisena kuin se n\u00e4ytet\u00e4\u00e4n selaimessa.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"author": {
"description": "Artikkelin kirjoittajan ID.",
"type": "integer",
"required": false
},
"featured_media": {
"description": "Kohteen artikkelikuvan ID.",
"type": "integer",
"required": false
},
"comment_status": {
"description": "Onko artikkelin kommentointi k\u00e4yt\u00f6ss\u00e4. ",
"type": "string",
"enum": [
"open",
"closed"
],
"required": false
},
"ping_status": {
"description": "Voiko artikkelille tehd\u00e4 paluuviitteen.",
"type": "string",
"enum": [
"open",
"closed"
],
"required": false
},
"meta": {
"description": "Metakent\u00e4t.",
"type": "object",
"properties": {
"rank_math_lock_modified_date": {
"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": "Teeman tiedosto joka n\u00e4ytt\u00e4\u00e4 artikkelin.",
"type": "string",
"required": false
},
"alt_text": {
"description": "Vaihtoehtoinen teksti n\u00e4ytett\u00e4v\u00e4ksi kun liitett\u00e4 ei voida n\u00e4ytt\u00e4\u00e4.",
"type": "string",
"required": false
},
"caption": {
"description": "Liitetiedoston kuvateksti.",
"type": "object",
"properties": {
"raw": {
"description": "Liitteen kuvateksti, sellaisena kuin se on tietokannassa.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Liitteen HTML-muotoinen kuvaus, sellaisena kuin se tulostetaan selaimelle.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"description": {
"description": "Liitetiedoston kuvaus.",
"type": "object",
"properties": {
"raw": {
"description": "Liitteen kuvaus sellaisena kuin se on tietokannassa.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Liitteen HTML-muotoinen kuvaus sellaisena kuin se n\u00e4ytet\u00e4\u00e4n selaimessa.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
},
"required": false
},
"post": {
"description": "Mediaan liittyv\u00e4n artikkelin ID.",
"type": "integer",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Artikkelin uniikki tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Artikkelin uniikki tunniste.",
"type": "integer",
"required": false
},
"date": {
"description": "Artikkelin julkaisup\u00e4iv\u00e4m\u00e4\u00e4r\u00e4 sivuston aikavy\u00f6hykkeen ajassa.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"date_gmt": {
"description": "Artikkelin julkaisup\u00e4iv\u00e4 GMT-ajassa.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"slug": {
"description": "Artikkelin alfanumeerinen tunniste, joka on saman artikkelityypin sis\u00e4ll\u00e4 yksil\u00f6iv\u00e4.",
"type": "string",
"required": false
},
"status": {
"description": "Artikkelin nimetty tila.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft",
"override"
],
"required": false
},
"title": {
"description": "Artikkelin otsikko.",
"type": "object",
"properties": {
"raw": {
"description": "Artikkelin otsikko siten kuin se esiintyy tietokannassa. ",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Artikkelin HTML-muotoinen otsikko sellaisena kuin se n\u00e4ytet\u00e4\u00e4n selaimessa.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"author": {
"description": "Artikkelin kirjoittajan ID.",
"type": "integer",
"required": false
},
"featured_media": {
"description": "Kohteen artikkelikuvan ID.",
"type": "integer",
"required": false
},
"comment_status": {
"description": "Onko artikkelin kommentointi k\u00e4yt\u00f6ss\u00e4. ",
"type": "string",
"enum": [
"open",
"closed"
],
"required": false
},
"ping_status": {
"description": "Voiko artikkelille tehd\u00e4 paluuviitteen.",
"type": "string",
"enum": [
"open",
"closed"
],
"required": false
},
"meta": {
"description": "Metakent\u00e4t.",
"type": "object",
"properties": {
"rank_math_lock_modified_date": {
"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": "Teeman tiedosto joka n\u00e4ytt\u00e4\u00e4 artikkelin.",
"type": "string",
"required": false
},
"alt_text": {
"description": "Vaihtoehtoinen teksti n\u00e4ytett\u00e4v\u00e4ksi kun liitett\u00e4 ei voida n\u00e4ytt\u00e4\u00e4.",
"type": "string",
"required": false
},
"caption": {
"description": "Liitetiedoston kuvateksti.",
"type": "object",
"properties": {
"raw": {
"description": "Liitteen kuvateksti, sellaisena kuin se on tietokannassa.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Liitteen HTML-muotoinen kuvaus, sellaisena kuin se tulostetaan selaimelle.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"description": {
"description": "Liitetiedoston kuvaus.",
"type": "object",
"properties": {
"raw": {
"description": "Liitteen kuvaus sellaisena kuin se on tietokannassa.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Liitteen HTML-muotoinen kuvaus sellaisena kuin se n\u00e4ytet\u00e4\u00e4n selaimessa.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
}
},
"required": false
},
"post": {
"description": "Mediaan liittyv\u00e4n artikkelin ID.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Artikkelin uniikki tunniste.",
"type": "integer",
"required": false
},
"force": {
"type": "boolean",
"default": false,
"description": "Ohitetaanko roskakori ja pakotetaan poistaminen.",
"required": false
}
}
}
]
},
"\/wp\/v2\/media\/(?P[\\d]+)\/post-process": {
"namespace": "wp\/v2",
"methods": [
"POST"
],
"endpoints": [
{
"methods": [
"POST"
],
"args": {
"id": {
"description": "Liitteen uniikki tunniste.",
"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": "Muokatun kuvan URL-osoite.",
"type": "string",
"format": "uri",
"required": true
},
"modifiers": {
"description": "Kuvanmuokkausten taulukko.",
"type": "array",
"minItems": 1,
"items": {
"description": "Kuvan muokkaus.",
"type": "object",
"required": [
"type",
"args"
],
"oneOf": [
{
"title": "Kierto",
"properties": {
"type": {
"description": "Kiertotapa.",
"type": "string",
"enum": [
"rotate"
]
},
"args": {
"description": "Kierron argumentit.",
"type": "object",
"required": [
"angle"
],
"properties": {
"angle": {
"description": "Kiertokulma my\u00f6t\u00e4p\u00e4iv\u00e4\u00e4n asteissa.",
"type": "number"
}
}
}
}
},
{
"title": "Rajaa",
"properties": {
"type": {
"description": "Rajaustapa.",
"type": "string",
"enum": [
"crop"
]
},
"args": {
"description": "Rajausargumentit.",
"type": "object",
"required": [
"left",
"top",
"width",
"height"
],
"properties": {
"left": {
"description": "Horisontaalinen vasemmanpuoleinen positio, josta kuvan rajaus alkaa prosenttiosuutena kuvan leveydest\u00e4.",
"type": "number"
},
"top": {
"description": "Vertikaalinen yl\u00e4positio, josta kuvan rajaus alkaa prosenttiosuutena kuvan korkeudesta.",
"type": "number"
},
"width": {
"description": "Rajauksen leveys prosenttiosuutena kuvan leveydest\u00e4.",
"type": "number"
},
"height": {
"description": "Rajauksen korkeus prosenttiosuutena kuvan korkeudesta.",
"type": "number"
}
}
}
}
}
]
},
"required": false
},
"rotation": {
"description": "Asteiden m\u00e4\u00e4r\u00e4, jolla kuvaa k\u00e4\u00e4nnet\u00e4\u00e4n my\u00f6t\u00e4p\u00e4iv\u00e4\u00e4n. VANHENTUNUT: K\u00e4yt\u00e4 \"modifiers\":ia sen sijasta.",
"type": "integer",
"minimum": 0,
"exclusiveMinimum": true,
"maximum": 360,
"exclusiveMaximum": true,
"required": false
},
"x": {
"description": "Prosenttiosuutena kuvasta. X-asema, josta rajaus alkaa. VANHENTUNUT: K\u00e4yt\u00e4 \"modifiers\":ia sen sijasta.",
"type": "number",
"minimum": 0,
"maximum": 100,
"required": false
},
"y": {
"description": "Prosenttiosuutena kuvasta. Y-positio, josta rajaus alkaa. VANHENTUNUT: K\u00e4yt\u00e4 \"modifiers\":ia sen sijasta.",
"type": "number",
"minimum": 0,
"maximum": 100,
"required": false
},
"width": {
"description": "Prosenttiosuutena kuvasta. Leveys, johon kuva rajataan. VANHENTUNUT: K\u00e4yt\u00e4 \"modifiers\":ia sen sijasta.",
"type": "number",
"minimum": 0,
"maximum": 100,
"required": false
},
"height": {
"description": "Prosenttiosuutena kuvasta. Korkeus, johon kuva rajataan. VANHENTUNUT: K\u00e4yt\u00e4 \"modifiers\":ia sen sijasta.",
"type": "number",
"minimum": 0,
"maximum": 100,
"required": false
}
}
}
]
},
"\/wp\/v2\/menu-items": {
"namespace": "wp\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"allow_batch": {
"v1": true
},
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 100,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajaa tulokset niihin, jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon. ",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita tulokset artikkeleihin, jotka on julkaistu annetun ISO8601-yhteensopivan p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4n j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Rajoita vastaus julkaisuihin, joita on muokattu annetun ISO8601-yhteensopivan p\u00e4iv\u00e4yksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset artikkeleihin, jotka on julkaistu annettua ISO8601-yhteensopivaa p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4 ennen.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Rajoita vastaus julkaisuihin, joita on muokattu ennen annettua ISO8601-yhteensopivaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"exclude": {
"description": "Varmista, etteiv\u00e4t tulokset sis\u00e4ll\u00e4 tiettyj\u00e4 ID:it\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajaa tulokset tiettyihin ID:ihin.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"search_semantics": {
"description": "Kuinka tulkita hakusy\u00f6tett\u00e4.",
"type": "string",
"enum": [
"exact"
],
"required": false
},
"offset": {
"description": "Ohita m\u00e4\u00e4ritelty m\u00e4\u00e4r\u00e4 kohteita alusta.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjest\u00e4\u00e4 tulokset nousevaan tai laskevaan j\u00e4rjestykseen.",
"type": "string",
"default": "asc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma kohteen ominaisuuden mukaan.",
"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": "Taulukko sarakkeiden nimist\u00e4, joista etsit\u00e4\u00e4n.",
"type": "array",
"items": {
"enum": [
"post_title",
"post_content",
"post_excerpt"
],
"type": "string"
},
"required": false
},
"slug": {
"description": "Rajaa tulokset artikkeleihin, joilla on yksi tai useampi polkutunnus.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"status": {
"default": "publish",
"description": "Rajaa tulokset artikkeleihin, joilla on yksi tai useampi tila.",
"type": "array",
"items": {
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"trash",
"auto-draft",
"inherit",
"request-pending",
"request-confirmed",
"request-failed",
"request-completed",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft",
"override",
"any"
],
"type": "string"
},
"required": false
},
"tax_relation": {
"description": "Rajoita tuloksia useampien luokittelujen v\u00e4listen suhteiden perusteella.",
"type": "string",
"enum": [
"AND",
"OR"
],
"required": false
},
"menus": {
"description": "Rajoita tulos kohteisiin, joilla on tiettyj\u00e4 termej\u00e4 asetettuna taksonomiaan menus.",
"type": [
"object",
"array"
],
"oneOf": [
{
"title": "Termitunnistelistaus",
"description": "Sovita termit yhteen listattujen tunnisteiden kanssa.",
"type": "array",
"items": {
"type": "integer"
}
},
{
"title": "Termin tunnisteen taksonomiakysely",
"description": "Suorita edistynyt termikysely.",
"type": "object",
"properties": {
"terms": {
"description": "Termitunnisteet.",
"type": "array",
"items": {
"type": "integer"
},
"default": []
},
"operator": {
"description": "Annetaanko kohteille kaikki vai jokin m\u00e4\u00e4ritetyist\u00e4 termeist\u00e4.",
"type": "string",
"enum": [
"AND",
"OR"
],
"default": "OR"
}
},
"additionalProperties": false
}
],
"required": false
},
"menus_exclude": {
"description": "Rajaa tulos sis\u00e4lt\u00e4m\u00e4\u00e4n kaikki kohteet lukuun ottamatta niit\u00e4, joilla on nimetty termi taksonomiassa menus.",
"type": [
"object",
"array"
],
"oneOf": [
{
"title": "Termitunnistelistaus",
"description": "Sovita termit yhteen listattujen tunnisteiden kanssa.",
"type": "array",
"items": {
"type": "integer"
}
},
{
"title": "Termin tunnisteen taksonomiakysely",
"description": "Suorita edistynyt termikysely.",
"type": "object",
"properties": {
"terms": {
"description": "Termitunnisteet.",
"type": "array",
"items": {
"type": "integer"
},
"default": []
}
},
"additionalProperties": false
}
],
"required": false
},
"menu_order": {
"description": "Rajaa tulokset tiettyyn menu_order-arvoon.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"title": {
"description": "Kohteen otsikko. ",
"type": [
"string",
"object"
],
"properties": {
"raw": {
"description": "Kohteen otsikko siten, kuin se esiintyy tietokannassa.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Kohteen HTML-muotoinen otsikko, sellaisena kuin se tulostetaan selaimelle.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"type": {
"default": "custom",
"description": "Alkuper\u00e4isen kohteen tyyppi kuten \"post_type\" tai \"taxonomy\".",
"type": "string",
"enum": [
"taxonomy",
"post_type",
"post_type_archive",
"custom"
],
"required": false
},
"status": {
"default": "publish",
"description": "Kohteen nimetty tila.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft",
"override"
],
"required": false
},
"parent": {
"default": 0,
"description": "Kohteen vanhemman tunniste.",
"type": "integer",
"minimum": 0,
"required": false
},
"attr_title": {
"description": "T\u00e4m\u00e4n valikkokohteen title-attribuutin teksti.",
"type": "string",
"required": false
},
"classes": {
"description": "T\u00e4m\u00e4n valikkokohteen linkin luokkien nimet.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"description": {
"description": "T\u00e4m\u00e4n valikkokohteen kuvaus.",
"type": "string",
"required": false
},
"menu_order": {
"default": 1,
"description": "Tietokannan ID nav_menu_item-kohteelle, joka on t\u00e4m\u00e4n ylempi valikkokohde, jos sellainen on l\u00f6ytyy. Muussa tapauksessa 0.",
"type": "integer",
"minimum": 1,
"required": false
},
"object": {
"description": "Alkuper\u00e4isen esitetyn kohteen tyyppi kuten \"category\", \"post\", tai \"attachment\".",
"type": "string",
"required": false
},
"object_id": {
"default": 0,
"description": "Tietokannan ID alkuper\u00e4iseen kohteeseen, jota t\u00e4m\u00e4 valikkokohde esitt\u00e4\u00e4 kuten ID artikkeleille tai term_id kategorioille.",
"type": "integer",
"minimum": 0,
"required": false
},
"target": {
"description": "T\u00e4m\u00e4n valikkokohteen linkin kohde.",
"type": "string",
"enum": [
"_blank",
""
],
"required": false
},
"url": {
"description": "URL, johon valikkokohde viittaa.",
"type": "string",
"format": "uri",
"required": false
},
"xfn": {
"description": "T\u00e4ss\u00e4 valikkokohteen linkiss\u00e4 esitetty XFN-suhde.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"menus": {
"description": "Kohteeseen liitetyt termit taksonomiassa nav_menu.",
"type": "integer",
"required": false
},
"meta": {
"description": "Metakent\u00e4t.",
"type": "object",
"properties": {
"rank_math_lock_modified_date": {
"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:\/\/propsbase.com\/fi\/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": "Artikkelin uniikki tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"allow_batch": {
"v1": true
},
"args": {
"id": {
"description": "Artikkelin uniikki tunniste.",
"type": "integer",
"required": false
},
"title": {
"description": "Kohteen otsikko. ",
"type": [
"string",
"object"
],
"properties": {
"raw": {
"description": "Kohteen otsikko siten, kuin se esiintyy tietokannassa.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Kohteen HTML-muotoinen otsikko, sellaisena kuin se tulostetaan selaimelle.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"type": {
"description": "Alkuper\u00e4isen kohteen tyyppi kuten \"post_type\" tai \"taxonomy\".",
"type": "string",
"enum": [
"taxonomy",
"post_type",
"post_type_archive",
"custom"
],
"required": false
},
"status": {
"description": "Kohteen nimetty tila.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft",
"override"
],
"required": false
},
"parent": {
"description": "Kohteen vanhemman tunniste.",
"type": "integer",
"minimum": 0,
"required": false
},
"attr_title": {
"description": "T\u00e4m\u00e4n valikkokohteen title-attribuutin teksti.",
"type": "string",
"required": false
},
"classes": {
"description": "T\u00e4m\u00e4n valikkokohteen linkin luokkien nimet.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"description": {
"description": "T\u00e4m\u00e4n valikkokohteen kuvaus.",
"type": "string",
"required": false
},
"menu_order": {
"description": "Tietokannan ID nav_menu_item-kohteelle, joka on t\u00e4m\u00e4n ylempi valikkokohde, jos sellainen on l\u00f6ytyy. Muussa tapauksessa 0.",
"type": "integer",
"minimum": 1,
"required": false
},
"object": {
"description": "Alkuper\u00e4isen esitetyn kohteen tyyppi kuten \"category\", \"post\", tai \"attachment\".",
"type": "string",
"required": false
},
"object_id": {
"description": "Tietokannan ID alkuper\u00e4iseen kohteeseen, jota t\u00e4m\u00e4 valikkokohde esitt\u00e4\u00e4 kuten ID artikkeleille tai term_id kategorioille.",
"type": "integer",
"minimum": 0,
"required": false
},
"target": {
"description": "T\u00e4m\u00e4n valikkokohteen linkin kohde.",
"type": "string",
"enum": [
"_blank",
""
],
"required": false
},
"url": {
"description": "URL, johon valikkokohde viittaa.",
"type": "string",
"format": "uri",
"required": false
},
"xfn": {
"description": "T\u00e4ss\u00e4 valikkokohteen linkiss\u00e4 esitetty XFN-suhde.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"menus": {
"description": "Kohteeseen liitetyt termit taksonomiassa nav_menu.",
"type": "integer",
"required": false
},
"meta": {
"description": "Metakent\u00e4t.",
"type": "object",
"properties": {
"rank_math_lock_modified_date": {
"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": "Artikkelin uniikki tunniste.",
"type": "integer",
"required": false
},
"force": {
"type": "boolean",
"default": false,
"description": "Ohitetaanko roskakori ja pakotetaan poistaminen.",
"required": false
}
}
}
]
},
"\/wp\/v2\/menu-items\/(?P[\\d]+)\/autosaves": {
"namespace": "wp\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"parent": {
"description": "Ylemm\u00e4n automaattitallennuksen ID.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"parent": {
"description": "Kohteen vanhemman tunniste.",
"type": "integer",
"minimum": 0,
"required": false
},
"title": {
"description": "Kohteen otsikko. ",
"type": [
"string",
"object"
],
"properties": {
"raw": {
"description": "Kohteen otsikko siten, kuin se esiintyy tietokannassa.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Kohteen HTML-muotoinen otsikko, sellaisena kuin se tulostetaan selaimelle.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"type": {
"description": "Alkuper\u00e4isen kohteen tyyppi kuten \"post_type\" tai \"taxonomy\".",
"type": "string",
"enum": [
"taxonomy",
"post_type",
"post_type_archive",
"custom"
],
"required": false
},
"status": {
"description": "Kohteen nimetty tila.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft",
"override"
],
"required": false
},
"attr_title": {
"description": "T\u00e4m\u00e4n valikkokohteen title-attribuutin teksti.",
"type": "string",
"required": false
},
"classes": {
"description": "T\u00e4m\u00e4n valikkokohteen linkin luokkien nimet.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"description": {
"description": "T\u00e4m\u00e4n valikkokohteen kuvaus.",
"type": "string",
"required": false
},
"menu_order": {
"description": "Tietokannan ID nav_menu_item-kohteelle, joka on t\u00e4m\u00e4n ylempi valikkokohde, jos sellainen on l\u00f6ytyy. Muussa tapauksessa 0.",
"type": "integer",
"minimum": 1,
"required": false
},
"object": {
"description": "Alkuper\u00e4isen esitetyn kohteen tyyppi kuten \"category\", \"post\", tai \"attachment\".",
"type": "string",
"required": false
},
"object_id": {
"description": "Tietokannan ID alkuper\u00e4iseen kohteeseen, jota t\u00e4m\u00e4 valikkokohde esitt\u00e4\u00e4 kuten ID artikkeleille tai term_id kategorioille.",
"type": "integer",
"minimum": 0,
"required": false
},
"target": {
"description": "T\u00e4m\u00e4n valikkokohteen linkin kohde.",
"type": "string",
"enum": [
"_blank",
""
],
"required": false
},
"url": {
"description": "URL, johon valikkokohde viittaa.",
"type": "string",
"format": "uri",
"required": false
},
"xfn": {
"description": "T\u00e4ss\u00e4 valikkokohteen linkiss\u00e4 esitetty XFN-suhde.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"menus": {
"description": "Kohteeseen liitetyt termit taksonomiassa nav_menu.",
"type": "integer",
"required": false
},
"meta": {
"description": "Metakent\u00e4t.",
"type": "object",
"properties": {
"rank_math_lock_modified_date": {
"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": "Ylemm\u00e4n automaattitallennuksen ID.",
"type": "integer",
"required": false
},
"id": {
"description": "Automaattisesti tallennetun version ID.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"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": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajaa tulokset niihin, jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon. ",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita tulokset artikkeleihin, jotka on julkaistu annetun ISO8601-yhteensopivan p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4n j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Rajoita vastaus julkaisuihin, joita on muokattu annetun ISO8601-yhteensopivan p\u00e4iv\u00e4yksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset artikkeleihin, jotka on julkaistu annettua ISO8601-yhteensopivaa p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4 ennen.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Rajoita vastaus julkaisuihin, joita on muokattu ennen annettua ISO8601-yhteensopivaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"exclude": {
"description": "Varmista, etteiv\u00e4t tulokset sis\u00e4ll\u00e4 tiettyj\u00e4 ID:it\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajaa tulokset tiettyihin ID:ihin.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"search_semantics": {
"description": "Kuinka tulkita hakusy\u00f6tett\u00e4.",
"type": "string",
"enum": [
"exact"
],
"required": false
},
"offset": {
"description": "Ohita m\u00e4\u00e4ritelty m\u00e4\u00e4r\u00e4 kohteita alusta.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjest\u00e4\u00e4 tulokset nousevaan tai laskevaan j\u00e4rjestykseen.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Lajittele kokoelma artikkelin ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"author",
"date",
"id",
"include",
"modified",
"parent",
"relevance",
"slug",
"include_slugs",
"title"
],
"required": false
},
"search_columns": {
"default": [],
"description": "Taulukko sarakkeiden nimist\u00e4, joista etsit\u00e4\u00e4n.",
"type": "array",
"items": {
"enum": [
"post_title",
"post_content",
"post_excerpt"
],
"type": "string"
},
"required": false
},
"slug": {
"description": "Rajaa tulokset artikkeleihin, joilla on yksi tai useampi polkutunnus.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"status": {
"default": "publish",
"description": "Rajaa tulokset artikkeleihin, joilla on yksi tai useampi tila.",
"type": "array",
"items": {
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"trash",
"auto-draft",
"inherit",
"request-pending",
"request-confirmed",
"request-failed",
"request-completed",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft",
"override",
"any"
],
"type": "string"
},
"required": false
},
"tax_relation": {
"description": "Rajoita tuloksia useampien luokittelujen v\u00e4listen suhteiden perusteella.",
"type": "string",
"enum": [
"AND",
"OR"
],
"required": false
},
"wp_pattern_category": {
"description": "Rajoita tulos kohteisiin, joilla on tiettyj\u00e4 termej\u00e4 asetettuna taksonomiaan wp_pattern_category.",
"type": [
"object",
"array"
],
"oneOf": [
{
"title": "Termitunnistelistaus",
"description": "Sovita termit yhteen listattujen tunnisteiden kanssa.",
"type": "array",
"items": {
"type": "integer"
}
},
{
"title": "Termin tunnisteen taksonomiakysely",
"description": "Suorita edistynyt termikysely.",
"type": "object",
"properties": {
"terms": {
"description": "Termitunnisteet.",
"type": "array",
"items": {
"type": "integer"
},
"default": []
},
"operator": {
"description": "Annetaanko kohteille kaikki vai jokin m\u00e4\u00e4ritetyist\u00e4 termeist\u00e4.",
"type": "string",
"enum": [
"AND",
"OR"
],
"default": "OR"
}
},
"additionalProperties": false
}
],
"required": false
},
"wp_pattern_category_exclude": {
"description": "Rajaa tulos sis\u00e4lt\u00e4m\u00e4\u00e4n kaikki kohteet lukuun ottamatta niit\u00e4, joilla on nimetty termi taksonomiassa wp_pattern_category.",
"type": [
"object",
"array"
],
"oneOf": [
{
"title": "Termitunnistelistaus",
"description": "Sovita termit yhteen listattujen tunnisteiden kanssa.",
"type": "array",
"items": {
"type": "integer"
}
},
{
"title": "Termin tunnisteen taksonomiakysely",
"description": "Suorita edistynyt termikysely.",
"type": "object",
"properties": {
"terms": {
"description": "Termitunnisteet.",
"type": "array",
"items": {
"type": "integer"
},
"default": []
}
},
"additionalProperties": false
}
],
"required": false
}
}
},
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"date": {
"description": "Artikkelin julkaisup\u00e4iv\u00e4m\u00e4\u00e4r\u00e4 sivuston aikavy\u00f6hykkeen ajassa.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"date_gmt": {
"description": "Artikkelin julkaisup\u00e4iv\u00e4 GMT-ajassa.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"slug": {
"description": "Artikkelin alfanumeerinen tunniste, joka on saman artikkelityypin sis\u00e4ll\u00e4 yksil\u00f6iv\u00e4.",
"type": "string",
"required": false
},
"status": {
"description": "Artikkelin nimetty tila.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft",
"override"
],
"required": false
},
"password": {
"description": "Salasana sis\u00e4ll\u00f6n ja otteen suojaamiseksi. ",
"type": "string",
"required": false
},
"title": {
"description": "Artikkelin otsikko.",
"type": "object",
"properties": {
"raw": {
"description": "Artikkelin otsikko siten kuin se esiintyy tietokannassa. ",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"content": {
"description": "Artikkelin sis\u00e4lt\u00f6.",
"type": "object",
"properties": {
"raw": {
"description": "Artikkelin sis\u00e4lt\u00f6 siin\u00e4 muodossa kuin se on tietokannassa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"block_version": {
"description": "Artikkelin k\u00e4ytt\u00e4m\u00e4n sis\u00e4lt\u00f6lohkoformaatin versio.",
"type": "integer",
"context": [
"edit"
],
"readonly": true
},
"protected": {
"description": "Onko sis\u00e4lt\u00f6 suojattu salasanalla.",
"type": "boolean",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"excerpt": {
"description": "Artikkelin ote.",
"type": "object",
"properties": {
"raw": {
"description": "Artikkelin ote siin\u00e4 muodossa kuin se on tietokannassa.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Artikkelin HTML-muotoinen ote sellaisena kuin se n\u00e4ytet\u00e4\u00e4n selaimessa.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
},
"protected": {
"description": "Onko ote suojattu salasanalla. ",
"type": "boolean",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"meta": {
"description": "Metakent\u00e4t.",
"type": "object",
"properties": {
"rank_math_lock_modified_date": {
"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": "Teeman tiedosto joka n\u00e4ytt\u00e4\u00e4 artikkelin.",
"type": "string",
"required": false
},
"wp_pattern_category": {
"description": "Artikkeliin liitetyt termit luokittelussa wp_pattern_category.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Artikkelin uniikki tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"excerpt_length": {
"description": "Yliaja otteen oletuspituus.",
"type": "integer",
"required": false
},
"password": {
"description": "Artikkelin salasana, jos se on salasanasuojattu. ",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"allow_batch": {
"v1": true
},
"args": {
"id": {
"description": "Artikkelin uniikki tunniste.",
"type": "integer",
"required": false
},
"date": {
"description": "Artikkelin julkaisup\u00e4iv\u00e4m\u00e4\u00e4r\u00e4 sivuston aikavy\u00f6hykkeen ajassa.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"date_gmt": {
"description": "Artikkelin julkaisup\u00e4iv\u00e4 GMT-ajassa.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"slug": {
"description": "Artikkelin alfanumeerinen tunniste, joka on saman artikkelityypin sis\u00e4ll\u00e4 yksil\u00f6iv\u00e4.",
"type": "string",
"required": false
},
"status": {
"description": "Artikkelin nimetty tila.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft",
"override"
],
"required": false
},
"password": {
"description": "Salasana sis\u00e4ll\u00f6n ja otteen suojaamiseksi. ",
"type": "string",
"required": false
},
"title": {
"description": "Artikkelin otsikko.",
"type": "object",
"properties": {
"raw": {
"description": "Artikkelin otsikko siten kuin se esiintyy tietokannassa. ",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"content": {
"description": "Artikkelin sis\u00e4lt\u00f6.",
"type": "object",
"properties": {
"raw": {
"description": "Artikkelin sis\u00e4lt\u00f6 siin\u00e4 muodossa kuin se on tietokannassa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"block_version": {
"description": "Artikkelin k\u00e4ytt\u00e4m\u00e4n sis\u00e4lt\u00f6lohkoformaatin versio.",
"type": "integer",
"context": [
"edit"
],
"readonly": true
},
"protected": {
"description": "Onko sis\u00e4lt\u00f6 suojattu salasanalla.",
"type": "boolean",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"excerpt": {
"description": "Artikkelin ote.",
"type": "object",
"properties": {
"raw": {
"description": "Artikkelin ote siin\u00e4 muodossa kuin se on tietokannassa.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Artikkelin HTML-muotoinen ote sellaisena kuin se n\u00e4ytet\u00e4\u00e4n selaimessa.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
},
"protected": {
"description": "Onko ote suojattu salasanalla. ",
"type": "boolean",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"meta": {
"description": "Metakent\u00e4t.",
"type": "object",
"properties": {
"rank_math_lock_modified_date": {
"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": "Teeman tiedosto joka n\u00e4ytt\u00e4\u00e4 artikkelin.",
"type": "string",
"required": false
},
"wp_pattern_category": {
"description": "Artikkeliin liitetyt termit luokittelussa wp_pattern_category.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"allow_batch": {
"v1": true
},
"args": {
"id": {
"description": "Artikkelin uniikki tunniste.",
"type": "integer",
"required": false
},
"force": {
"type": "boolean",
"default": false,
"description": "Ohitetaanko roskakori ja pakotetaan poistaminen.",
"required": false
}
}
}
]
},
"\/wp\/v2\/blocks\/(?P[\\d]+)\/revisions": {
"namespace": "wp\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"parent": {
"description": "Ylemm\u00e4n version ID.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajaa tulokset niihin, jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon. ",
"type": "string",
"required": false
},
"exclude": {
"description": "Varmista, etteiv\u00e4t tulokset sis\u00e4ll\u00e4 tiettyj\u00e4 ID:it\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajaa tulokset tiettyihin ID:ihin.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Ohita m\u00e4\u00e4ritelty m\u00e4\u00e4r\u00e4 kohteita alusta.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjest\u00e4\u00e4 tulokset nousevaan tai laskevaan j\u00e4rjestykseen.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma kohteen ominaisuuden mukaan.",
"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": "Ylemm\u00e4n version ID.",
"type": "integer",
"required": false
},
"id": {
"description": "Version uniikki tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"parent": {
"description": "Ylemm\u00e4n version ID.",
"type": "integer",
"required": false
},
"id": {
"description": "Version uniikki tunniste.",
"type": "integer",
"required": false
},
"force": {
"type": "boolean",
"default": false,
"description": "Arvon tulee olla true, koska versiot eiv\u00e4t tue roskakoria.",
"required": false
}
}
}
]
},
"\/wp\/v2\/blocks\/(?P[\\d]+)\/autosaves": {
"namespace": "wp\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"parent": {
"description": "Ylemm\u00e4n automaattitallennuksen ID.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"parent": {
"description": "Ylemm\u00e4n automaattitallennuksen ID.",
"type": "integer",
"required": false
},
"date": {
"description": "Artikkelin julkaisup\u00e4iv\u00e4m\u00e4\u00e4r\u00e4 sivuston aikavy\u00f6hykkeen ajassa.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"date_gmt": {
"description": "Artikkelin julkaisup\u00e4iv\u00e4 GMT-ajassa.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"slug": {
"description": "Artikkelin alfanumeerinen tunniste, joka on saman artikkelityypin sis\u00e4ll\u00e4 yksil\u00f6iv\u00e4.",
"type": "string",
"required": false
},
"status": {
"description": "Artikkelin nimetty tila.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft",
"override"
],
"required": false
},
"password": {
"description": "Salasana sis\u00e4ll\u00f6n ja otteen suojaamiseksi. ",
"type": "string",
"required": false
},
"title": {
"description": "Artikkelin otsikko.",
"type": "object",
"properties": {
"raw": {
"description": "Artikkelin otsikko siten kuin se esiintyy tietokannassa. ",
"type": "string",
"context": [
"view",
"edit"
]
}
},
"required": false
},
"content": {
"description": "Artikkelin sis\u00e4lt\u00f6.",
"type": "object",
"properties": {
"raw": {
"description": "Artikkelin sis\u00e4lt\u00f6 siin\u00e4 muodossa kuin se on tietokannassa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"block_version": {
"description": "Artikkelin k\u00e4ytt\u00e4m\u00e4n sis\u00e4lt\u00f6lohkoformaatin versio.",
"type": "integer",
"context": [
"edit"
],
"readonly": true
},
"protected": {
"description": "Onko sis\u00e4lt\u00f6 suojattu salasanalla.",
"type": "boolean",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"excerpt": {
"description": "Artikkelin ote.",
"type": "object",
"properties": {
"raw": {
"description": "Artikkelin ote siin\u00e4 muodossa kuin se on tietokannassa.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Artikkelin HTML-muotoinen ote sellaisena kuin se n\u00e4ytet\u00e4\u00e4n selaimessa.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
},
"protected": {
"description": "Onko ote suojattu salasanalla. ",
"type": "boolean",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"meta": {
"description": "Metakent\u00e4t.",
"type": "object",
"properties": {
"rank_math_lock_modified_date": {
"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": "Teeman tiedosto joka n\u00e4ytt\u00e4\u00e4 artikkelin.",
"type": "string",
"required": false
},
"wp_pattern_category": {
"description": "Artikkeliin liitetyt termit luokittelussa wp_pattern_category.",
"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": "Ylemm\u00e4n automaattitallennuksen ID.",
"type": "integer",
"required": false
},
"id": {
"description": "Automaattisesti tallennetun version ID.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"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": "Sivupohjan ID",
"type": "string",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajaa tulokset niihin, jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon. ",
"type": "string",
"required": false
},
"exclude": {
"description": "Varmista, etteiv\u00e4t tulokset sis\u00e4ll\u00e4 tiettyj\u00e4 ID:it\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajaa tulokset tiettyihin ID:ihin.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Ohita m\u00e4\u00e4ritelty m\u00e4\u00e4r\u00e4 kohteita alusta.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjest\u00e4\u00e4 tulokset nousevaan tai laskevaan j\u00e4rjestykseen.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma kohteen ominaisuuden mukaan.",
"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": "Sivupohjan ID",
"type": "string",
"required": false
},
"id": {
"description": "Version uniikki tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"parent": {
"description": "Sivupohjan ID",
"type": "string",
"required": false
},
"id": {
"description": "Version uniikki tunniste.",
"type": "integer",
"required": false
},
"force": {
"type": "boolean",
"default": false,
"description": "Arvon tulee olla true, koska versiot eiv\u00e4t tue roskakoria.",
"required": false
}
}
}
]
},
"\/wp\/v2\/templates\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/autosaves": {
"namespace": "wp\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Sivupohjan ID",
"type": "string",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"id": {
"description": "Sivupohjan ID",
"type": "string",
"required": false
},
"slug": {
"description": "Uniikki tunnus sivupohjalle.",
"type": "string",
"minLength": 1,
"pattern": "[a-zA-Z0-9_\\%-]+",
"required": false
},
"theme": {
"description": "Teeman tunniste sivupohjalle.",
"type": "string",
"required": false
},
"type": {
"description": "Sivupohjan tyyppi.",
"type": "string",
"required": false
},
"content": {
"description": "Sivupohjan sis\u00e4lt\u00f6.",
"type": [
"object",
"string"
],
"properties": {
"raw": {
"description": "Sivupohjan sis\u00e4lt\u00f6 sellaisena kuin se on tietokannassa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"block_version": {
"description": "Sivupohjan k\u00e4ytt\u00e4m\u00e4n sis\u00e4lt\u00f6lohkomuodon versio.",
"type": "integer",
"context": [
"edit"
],
"readonly": true
}
},
"required": false
},
"title": {
"description": "Sivupohjan otsikko.",
"type": [
"object",
"string"
],
"properties": {
"raw": {
"description": "Sivupohjan otsikko sellaisena kuin se on tietokannassa.",
"type": "string",
"context": [
"view",
"edit",
"embed"
]
},
"rendered": {
"description": "Sivupohjan HTML-muotoinen otsikko sellaisena kuin se n\u00e4ytet\u00e4\u00e4n selaimessa.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"description": {
"description": "Sivupohjan kuvaus.",
"type": "string",
"required": false
},
"status": {
"description": "Sivupohjan tila.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft",
"override"
],
"required": false
},
"author": {
"description": "Sivupohjan tekij\u00e4n tunniste.",
"type": "integer",
"required": false
}
}
}
]
},
"\/wp\/v2\/templates\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/autosaves\/(?P[\\d]+)": {
"namespace": "wp\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"parent": {
"description": "Sivupohjan ID",
"type": "string",
"required": false
},
"id": {
"description": "Automaattisesti tallennetun version ID.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"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": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"wp_id": {
"description": "Rajaa tiettyyn artikkelin tunnisteeseen (ID).",
"type": "integer",
"required": false
},
"area": {
"description": "Rajoita tiettyyn sivupohjan osien alueeseen.",
"type": "string",
"required": false
},
"post_type": {
"description": "Sis\u00e4lt\u00f6tyyppi, jolle haetaan sivupohjia.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"slug": {
"description": "Uniikki tunnus sivupohjalle.",
"type": "string",
"minLength": 1,
"pattern": "[a-zA-Z0-9_\\%-]+",
"required": true
},
"theme": {
"description": "Teeman tunniste sivupohjalle.",
"type": "string",
"required": false
},
"type": {
"description": "Sivupohjan tyyppi.",
"type": "string",
"required": false
},
"content": {
"default": "",
"description": "Sivupohjan sis\u00e4lt\u00f6.",
"type": [
"object",
"string"
],
"properties": {
"raw": {
"description": "Sivupohjan sis\u00e4lt\u00f6 sellaisena kuin se on tietokannassa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"block_version": {
"description": "Sivupohjan k\u00e4ytt\u00e4m\u00e4n sis\u00e4lt\u00f6lohkomuodon versio.",
"type": "integer",
"context": [
"edit"
],
"readonly": true
}
},
"required": false
},
"title": {
"default": "",
"description": "Sivupohjan otsikko.",
"type": [
"object",
"string"
],
"properties": {
"raw": {
"description": "Sivupohjan otsikko sellaisena kuin se on tietokannassa.",
"type": "string",
"context": [
"view",
"edit",
"embed"
]
},
"rendered": {
"description": "Sivupohjan HTML-muotoinen otsikko sellaisena kuin se n\u00e4ytet\u00e4\u00e4n selaimessa.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"description": {
"default": "",
"description": "Sivupohjan kuvaus.",
"type": "string",
"required": false
},
"status": {
"default": "publish",
"description": "Sivupohjan tila.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft",
"override"
],
"required": false
},
"author": {
"description": "Sivupohjan tekij\u00e4n tunniste.",
"type": "integer",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wp\/v2\/templates"
}
]
}
},
"\/wp\/v2\/templates\/lookup": {
"namespace": "wp\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"slug": {
"description": "Sivupohjan tunnus, jota k\u00e4ytet\u00e4\u00e4n varavaihtoehtona",
"type": "string",
"required": true
},
"is_custom": {
"description": "Osoittaa onko sivupohja mukautettu vai osa sivupohjien hierarkiaa",
"type": "boolean",
"required": false
},
"template_prefix": {
"description": "Sivupohjan etuliite luodulle sivupohjalle. T\u00e4t\u00e4 k\u00e4ytet\u00e4\u00e4n sivupohjan p\u00e4\u00e4tyypin erottamiseen kuten `taxonomy-books` erottaa tyypin `taxonomy`",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Sivupohjan ID",
"type": "string",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Sivupohjan ID",
"type": "string",
"required": false
},
"slug": {
"description": "Uniikki tunnus sivupohjalle.",
"type": "string",
"minLength": 1,
"pattern": "[a-zA-Z0-9_\\%-]+",
"required": false
},
"theme": {
"description": "Teeman tunniste sivupohjalle.",
"type": "string",
"required": false
},
"type": {
"description": "Sivupohjan tyyppi.",
"type": "string",
"required": false
},
"content": {
"description": "Sivupohjan sis\u00e4lt\u00f6.",
"type": [
"object",
"string"
],
"properties": {
"raw": {
"description": "Sivupohjan sis\u00e4lt\u00f6 sellaisena kuin se on tietokannassa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"block_version": {
"description": "Sivupohjan k\u00e4ytt\u00e4m\u00e4n sis\u00e4lt\u00f6lohkomuodon versio.",
"type": "integer",
"context": [
"edit"
],
"readonly": true
}
},
"required": false
},
"title": {
"description": "Sivupohjan otsikko.",
"type": [
"object",
"string"
],
"properties": {
"raw": {
"description": "Sivupohjan otsikko sellaisena kuin se on tietokannassa.",
"type": "string",
"context": [
"view",
"edit",
"embed"
]
},
"rendered": {
"description": "Sivupohjan HTML-muotoinen otsikko sellaisena kuin se n\u00e4ytet\u00e4\u00e4n selaimessa.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"description": {
"description": "Sivupohjan kuvaus.",
"type": "string",
"required": false
},
"status": {
"description": "Sivupohjan tila.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft",
"override"
],
"required": false
},
"author": {
"description": "Sivupohjan tekij\u00e4n tunniste.",
"type": "integer",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Sivupohjan ID",
"type": "string",
"required": false
},
"force": {
"type": "boolean",
"default": false,
"description": "Ohitetaanko roskakori ja pakotetaan poistaminen.",
"required": false
}
}
}
]
},
"\/wp\/v2\/template-parts\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/revisions": {
"namespace": "wp\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"parent": {
"description": "Sivupohjan ID",
"type": "string",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajaa tulokset niihin, jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon. ",
"type": "string",
"required": false
},
"exclude": {
"description": "Varmista, etteiv\u00e4t tulokset sis\u00e4ll\u00e4 tiettyj\u00e4 ID:it\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajaa tulokset tiettyihin ID:ihin.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Ohita m\u00e4\u00e4ritelty m\u00e4\u00e4r\u00e4 kohteita alusta.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjest\u00e4\u00e4 tulokset nousevaan tai laskevaan j\u00e4rjestykseen.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma kohteen ominaisuuden mukaan.",
"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": "Sivupohjan ID",
"type": "string",
"required": false
},
"id": {
"description": "Version uniikki tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"parent": {
"description": "Sivupohjan ID",
"type": "string",
"required": false
},
"id": {
"description": "Version uniikki tunniste.",
"type": "integer",
"required": false
},
"force": {
"type": "boolean",
"default": false,
"description": "Arvon tulee olla true, koska versiot eiv\u00e4t tue roskakoria.",
"required": false
}
}
}
]
},
"\/wp\/v2\/template-parts\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/autosaves": {
"namespace": "wp\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"id": {
"description": "Sivupohjan ID",
"type": "string",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"id": {
"description": "Sivupohjan ID",
"type": "string",
"required": false
},
"slug": {
"description": "Uniikki tunnus sivupohjalle.",
"type": "string",
"minLength": 1,
"pattern": "[a-zA-Z0-9_\\%-]+",
"required": false
},
"theme": {
"description": "Teeman tunniste sivupohjalle.",
"type": "string",
"required": false
},
"type": {
"description": "Sivupohjan tyyppi.",
"type": "string",
"required": false
},
"content": {
"description": "Sivupohjan sis\u00e4lt\u00f6.",
"type": [
"object",
"string"
],
"properties": {
"raw": {
"description": "Sivupohjan sis\u00e4lt\u00f6 sellaisena kuin se on tietokannassa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"block_version": {
"description": "Sivupohjan k\u00e4ytt\u00e4m\u00e4n sis\u00e4lt\u00f6lohkomuodon versio.",
"type": "integer",
"context": [
"edit"
],
"readonly": true
}
},
"required": false
},
"title": {
"description": "Sivupohjan otsikko.",
"type": [
"object",
"string"
],
"properties": {
"raw": {
"description": "Sivupohjan otsikko sellaisena kuin se on tietokannassa.",
"type": "string",
"context": [
"view",
"edit",
"embed"
]
},
"rendered": {
"description": "Sivupohjan HTML-muotoinen otsikko sellaisena kuin se n\u00e4ytet\u00e4\u00e4n selaimessa.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"description": {
"description": "Sivupohjan kuvaus.",
"type": "string",
"required": false
},
"status": {
"description": "Sivupohjan tila.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft",
"override"
],
"required": false
},
"author": {
"description": "Sivupohjan tekij\u00e4n tunniste.",
"type": "integer",
"required": false
},
"area": {
"description": "Miss\u00e4 sivupohjan osaa on tarkoitettu k\u00e4ytett\u00e4v\u00e4n (yl\u00e4- ja alatunniste, 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": "Sivupohjan ID",
"type": "string",
"required": false
},
"id": {
"description": "Automaattisesti tallennetun version ID.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"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": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"wp_id": {
"description": "Rajaa tiettyyn artikkelin tunnisteeseen (ID).",
"type": "integer",
"required": false
},
"area": {
"description": "Rajoita tiettyyn sivupohjan osien alueeseen.",
"type": "string",
"required": false
},
"post_type": {
"description": "Sis\u00e4lt\u00f6tyyppi, jolle haetaan sivupohjia.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"slug": {
"description": "Uniikki tunnus sivupohjalle.",
"type": "string",
"minLength": 1,
"pattern": "[a-zA-Z0-9_\\%-]+",
"required": true
},
"theme": {
"description": "Teeman tunniste sivupohjalle.",
"type": "string",
"required": false
},
"type": {
"description": "Sivupohjan tyyppi.",
"type": "string",
"required": false
},
"content": {
"default": "",
"description": "Sivupohjan sis\u00e4lt\u00f6.",
"type": [
"object",
"string"
],
"properties": {
"raw": {
"description": "Sivupohjan sis\u00e4lt\u00f6 sellaisena kuin se on tietokannassa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"block_version": {
"description": "Sivupohjan k\u00e4ytt\u00e4m\u00e4n sis\u00e4lt\u00f6lohkomuodon versio.",
"type": "integer",
"context": [
"edit"
],
"readonly": true
}
},
"required": false
},
"title": {
"default": "",
"description": "Sivupohjan otsikko.",
"type": [
"object",
"string"
],
"properties": {
"raw": {
"description": "Sivupohjan otsikko sellaisena kuin se on tietokannassa.",
"type": "string",
"context": [
"view",
"edit",
"embed"
]
},
"rendered": {
"description": "Sivupohjan HTML-muotoinen otsikko sellaisena kuin se n\u00e4ytet\u00e4\u00e4n selaimessa.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"description": {
"default": "",
"description": "Sivupohjan kuvaus.",
"type": "string",
"required": false
},
"status": {
"default": "publish",
"description": "Sivupohjan tila.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft",
"override"
],
"required": false
},
"author": {
"description": "Sivupohjan tekij\u00e4n tunniste.",
"type": "integer",
"required": false
},
"area": {
"description": "Miss\u00e4 sivupohjan osaa on tarkoitettu k\u00e4ytett\u00e4v\u00e4n (yl\u00e4- ja alatunniste, jne.)",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wp\/v2\/template-parts"
}
]
}
},
"\/wp\/v2\/template-parts\/lookup": {
"namespace": "wp\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"slug": {
"description": "Sivupohjan tunnus, jota k\u00e4ytet\u00e4\u00e4n varavaihtoehtona",
"type": "string",
"required": true
},
"is_custom": {
"description": "Osoittaa onko sivupohja mukautettu vai osa sivupohjien hierarkiaa",
"type": "boolean",
"required": false
},
"template_prefix": {
"description": "Sivupohjan etuliite luodulle sivupohjalle. T\u00e4t\u00e4 k\u00e4ytet\u00e4\u00e4n sivupohjan p\u00e4\u00e4tyypin erottamiseen kuten `taxonomy-books` erottaa tyypin `taxonomy`",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Sivupohjan ID",
"type": "string",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Sivupohjan ID",
"type": "string",
"required": false
},
"slug": {
"description": "Uniikki tunnus sivupohjalle.",
"type": "string",
"minLength": 1,
"pattern": "[a-zA-Z0-9_\\%-]+",
"required": false
},
"theme": {
"description": "Teeman tunniste sivupohjalle.",
"type": "string",
"required": false
},
"type": {
"description": "Sivupohjan tyyppi.",
"type": "string",
"required": false
},
"content": {
"description": "Sivupohjan sis\u00e4lt\u00f6.",
"type": [
"object",
"string"
],
"properties": {
"raw": {
"description": "Sivupohjan sis\u00e4lt\u00f6 sellaisena kuin se on tietokannassa.",
"type": "string",
"context": [
"view",
"edit"
]
},
"block_version": {
"description": "Sivupohjan k\u00e4ytt\u00e4m\u00e4n sis\u00e4lt\u00f6lohkomuodon versio.",
"type": "integer",
"context": [
"edit"
],
"readonly": true
}
},
"required": false
},
"title": {
"description": "Sivupohjan otsikko.",
"type": [
"object",
"string"
],
"properties": {
"raw": {
"description": "Sivupohjan otsikko sellaisena kuin se on tietokannassa.",
"type": "string",
"context": [
"view",
"edit",
"embed"
]
},
"rendered": {
"description": "Sivupohjan HTML-muotoinen otsikko sellaisena kuin se n\u00e4ytet\u00e4\u00e4n selaimessa.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"description": {
"description": "Sivupohjan kuvaus.",
"type": "string",
"required": false
},
"status": {
"description": "Sivupohjan tila.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft",
"override"
],
"required": false
},
"author": {
"description": "Sivupohjan tekij\u00e4n tunniste.",
"type": "integer",
"required": false
},
"area": {
"description": "Miss\u00e4 sivupohjan osaa on tarkoitettu k\u00e4ytett\u00e4v\u00e4n (yl\u00e4- ja alatunniste, jne.)",
"type": "string",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Sivupohjan ID",
"type": "string",
"required": false
},
"force": {
"type": "boolean",
"default": false,
"description": "Ohitetaanko roskakori ja pakotetaan poistaminen.",
"required": false
}
}
}
]
},
"\/wp\/v2\/global-styles\/(?P[\\d]+)\/revisions": {
"namespace": "wp\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"parent": {
"description": "Ylemm\u00e4n version ID.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"minimum": 1,
"maximum": 100,
"required": false
},
"offset": {
"description": "Ohita m\u00e4\u00e4ritelty m\u00e4\u00e4r\u00e4 kohteita alusta.",
"type": "integer",
"required": false
}
}
}
]
},
"\/wp\/v2\/global-styles\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": {
"namespace": "wp\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"parent": {
"description": "Yleisten tyylien version yl\u00e4tason ID.",
"type": "integer",
"required": false
},
"id": {
"description": "Yksil\u00f6llinen tunniste yleisten tyylien versiolle.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"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": "Teeman tunniste",
"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": "Teeman tunniste",
"type": "string",
"required": false
}
}
}
]
},
"\/wp\/v2\/global-styles\/(?P[\\\/\\w-]+)": {
"namespace": "wp\/v2",
"methods": [
"GET",
"POST",
"PUT",
"PATCH"
],
"endpoints": [
{
"methods": [
"GET"
],
"allow_batch": {
"v1": false
},
"args": {
"id": {
"description": "Sivupohjan ID",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"allow_batch": {
"v1": false
},
"args": {
"styles": {
"description": "Yleiset tyylit.",
"type": [
"object"
],
"required": false
},
"settings": {
"description": "Yleiset asetukset.",
"type": [
"object"
],
"required": false
},
"title": {
"description": "Yleisten tyylien variaation otsikko.",
"type": [
"object",
"string"
],
"properties": {
"raw": {
"description": "Yleisten tyylien variaation otsikko, kuten se on tietokannassa.",
"type": "string",
"context": [
"view",
"edit",
"embed"
]
},
"rendered": {
"description": "Artikkelin HTML-muotoinen otsikko sellaisena kuin se n\u00e4ytet\u00e4\u00e4n selaimessa.",
"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": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajaa tulokset niihin, jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon. ",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita tulokset artikkeleihin, jotka on julkaistu annetun ISO8601-yhteensopivan p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4n j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Rajoita vastaus julkaisuihin, joita on muokattu annetun ISO8601-yhteensopivan p\u00e4iv\u00e4yksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset artikkeleihin, jotka on julkaistu annettua ISO8601-yhteensopivaa p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4 ennen.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Rajoita vastaus julkaisuihin, joita on muokattu ennen annettua ISO8601-yhteensopivaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"exclude": {
"description": "Varmista, etteiv\u00e4t tulokset sis\u00e4ll\u00e4 tiettyj\u00e4 ID:it\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajaa tulokset tiettyihin ID:ihin.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"search_semantics": {
"description": "Kuinka tulkita hakusy\u00f6tett\u00e4.",
"type": "string",
"enum": [
"exact"
],
"required": false
},
"offset": {
"description": "Ohita m\u00e4\u00e4ritelty m\u00e4\u00e4r\u00e4 kohteita alusta.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjest\u00e4\u00e4 tulokset nousevaan tai laskevaan j\u00e4rjestykseen.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Lajittele kokoelma artikkelin ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"author",
"date",
"id",
"include",
"modified",
"parent",
"relevance",
"slug",
"include_slugs",
"title"
],
"required": false
},
"search_columns": {
"default": [],
"description": "Taulukko sarakkeiden nimist\u00e4, joista etsit\u00e4\u00e4n.",
"type": "array",
"items": {
"enum": [
"post_title",
"post_content",
"post_excerpt"
],
"type": "string"
},
"required": false
},
"slug": {
"description": "Rajaa tulokset artikkeleihin, joilla on yksi tai useampi polkutunnus.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"status": {
"default": "publish",
"description": "Rajaa tulokset artikkeleihin, joilla on yksi tai useampi tila.",
"type": "array",
"items": {
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"trash",
"auto-draft",
"inherit",
"request-pending",
"request-confirmed",
"request-failed",
"request-completed",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft",
"override",
"any"
],
"type": "string"
},
"required": false
}
}
},
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"date": {
"description": "Artikkelin julkaisup\u00e4iv\u00e4m\u00e4\u00e4r\u00e4 sivuston aikavy\u00f6hykkeen ajassa.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"date_gmt": {
"description": "Artikkelin julkaisup\u00e4iv\u00e4 GMT-ajassa.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"slug": {
"description": "Artikkelin alfanumeerinen tunniste, joka on saman artikkelityypin sis\u00e4ll\u00e4 yksil\u00f6iv\u00e4.",
"type": "string",
"required": false
},
"status": {
"description": "Artikkelin nimetty tila.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft",
"override"
],
"required": false
},
"password": {
"description": "Salasana sis\u00e4ll\u00f6n ja otteen suojaamiseksi. ",
"type": "string",
"required": false
},
"title": {
"description": "Artikkelin otsikko.",
"type": "object",
"properties": {
"raw": {
"description": "Artikkelin otsikko siten kuin se esiintyy tietokannassa. ",
"type": "string",
"context": [
"edit",
"embed"
]
},
"rendered": {
"description": "Artikkelin HTML-muotoinen otsikko sellaisena kuin se n\u00e4ytet\u00e4\u00e4n selaimessa.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"content": {
"description": "Artikkelin sis\u00e4lt\u00f6.",
"type": "object",
"properties": {
"raw": {
"description": "Artikkelin sis\u00e4lt\u00f6 siin\u00e4 muodossa kuin se on tietokannassa.",
"type": "string",
"context": [
"edit",
"embed"
]
},
"rendered": {
"description": "Artikkelin HTML-sis\u00e4lt\u00f6 sellaisena kuin se n\u00e4ytet\u00e4\u00e4n selaimessa.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
},
"block_version": {
"description": "Artikkelin k\u00e4ytt\u00e4m\u00e4n sis\u00e4lt\u00f6lohkoformaatin versio.",
"type": "integer",
"context": [
"edit",
"embed"
],
"readonly": true
},
"protected": {
"description": "Onko sis\u00e4lt\u00f6 suojattu salasanalla.",
"type": "boolean",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"template": {
"description": "Teeman tiedosto joka n\u00e4ytt\u00e4\u00e4 artikkelin.",
"type": "string",
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Artikkelin uniikki tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"password": {
"description": "Artikkelin salasana, jos se on salasanasuojattu. ",
"type": "string",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"allow_batch": {
"v1": true
},
"args": {
"id": {
"description": "Artikkelin uniikki tunniste.",
"type": "integer",
"required": false
},
"date": {
"description": "Artikkelin julkaisup\u00e4iv\u00e4m\u00e4\u00e4r\u00e4 sivuston aikavy\u00f6hykkeen ajassa.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"date_gmt": {
"description": "Artikkelin julkaisup\u00e4iv\u00e4 GMT-ajassa.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"slug": {
"description": "Artikkelin alfanumeerinen tunniste, joka on saman artikkelityypin sis\u00e4ll\u00e4 yksil\u00f6iv\u00e4.",
"type": "string",
"required": false
},
"status": {
"description": "Artikkelin nimetty tila.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft",
"override"
],
"required": false
},
"password": {
"description": "Salasana sis\u00e4ll\u00f6n ja otteen suojaamiseksi. ",
"type": "string",
"required": false
},
"title": {
"description": "Artikkelin otsikko.",
"type": "object",
"properties": {
"raw": {
"description": "Artikkelin otsikko siten kuin se esiintyy tietokannassa. ",
"type": "string",
"context": [
"edit",
"embed"
]
},
"rendered": {
"description": "Artikkelin HTML-muotoinen otsikko sellaisena kuin se n\u00e4ytet\u00e4\u00e4n selaimessa.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"content": {
"description": "Artikkelin sis\u00e4lt\u00f6.",
"type": "object",
"properties": {
"raw": {
"description": "Artikkelin sis\u00e4lt\u00f6 siin\u00e4 muodossa kuin se on tietokannassa.",
"type": "string",
"context": [
"edit",
"embed"
]
},
"rendered": {
"description": "Artikkelin HTML-sis\u00e4lt\u00f6 sellaisena kuin se n\u00e4ytet\u00e4\u00e4n selaimessa.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
},
"block_version": {
"description": "Artikkelin k\u00e4ytt\u00e4m\u00e4n sis\u00e4lt\u00f6lohkoformaatin versio.",
"type": "integer",
"context": [
"edit",
"embed"
],
"readonly": true
},
"protected": {
"description": "Onko sis\u00e4lt\u00f6 suojattu salasanalla.",
"type": "boolean",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"template": {
"description": "Teeman tiedosto joka n\u00e4ytt\u00e4\u00e4 artikkelin.",
"type": "string",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"allow_batch": {
"v1": true
},
"args": {
"id": {
"description": "Artikkelin uniikki tunniste.",
"type": "integer",
"required": false
},
"force": {
"type": "boolean",
"default": false,
"description": "Ohitetaanko roskakori ja pakotetaan poistaminen.",
"required": false
}
}
}
]
},
"\/wp\/v2\/navigation\/(?P[\\d]+)\/revisions": {
"namespace": "wp\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"parent": {
"description": "Ylemm\u00e4n version ID.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajaa tulokset niihin, jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon. ",
"type": "string",
"required": false
},
"exclude": {
"description": "Varmista, etteiv\u00e4t tulokset sis\u00e4ll\u00e4 tiettyj\u00e4 ID:it\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajaa tulokset tiettyihin ID:ihin.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"offset": {
"description": "Ohita m\u00e4\u00e4ritelty m\u00e4\u00e4r\u00e4 kohteita alusta.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjest\u00e4\u00e4 tulokset nousevaan tai laskevaan j\u00e4rjestykseen.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "J\u00e4rjest\u00e4 kokoelma kohteen ominaisuuden mukaan.",
"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": "Ylemm\u00e4n version ID.",
"type": "integer",
"required": false
},
"id": {
"description": "Version uniikki tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"parent": {
"description": "Ylemm\u00e4n version ID.",
"type": "integer",
"required": false
},
"id": {
"description": "Version uniikki tunniste.",
"type": "integer",
"required": false
},
"force": {
"type": "boolean",
"default": false,
"description": "Arvon tulee olla true, koska versiot eiv\u00e4t tue roskakoria.",
"required": false
}
}
}
]
},
"\/wp\/v2\/navigation\/(?P[\\d]+)\/autosaves": {
"namespace": "wp\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"parent": {
"description": "Ylemm\u00e4n automaattitallennuksen ID.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"parent": {
"description": "Ylemm\u00e4n automaattitallennuksen ID.",
"type": "integer",
"required": false
},
"date": {
"description": "Artikkelin julkaisup\u00e4iv\u00e4m\u00e4\u00e4r\u00e4 sivuston aikavy\u00f6hykkeen ajassa.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"date_gmt": {
"description": "Artikkelin julkaisup\u00e4iv\u00e4 GMT-ajassa.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"slug": {
"description": "Artikkelin alfanumeerinen tunniste, joka on saman artikkelityypin sis\u00e4ll\u00e4 yksil\u00f6iv\u00e4.",
"type": "string",
"required": false
},
"status": {
"description": "Artikkelin nimetty tila.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft",
"override"
],
"required": false
},
"password": {
"description": "Salasana sis\u00e4ll\u00f6n ja otteen suojaamiseksi. ",
"type": "string",
"required": false
},
"title": {
"description": "Artikkelin otsikko.",
"type": "object",
"properties": {
"raw": {
"description": "Artikkelin otsikko siten kuin se esiintyy tietokannassa. ",
"type": "string",
"context": [
"edit",
"embed"
]
},
"rendered": {
"description": "Artikkelin HTML-muotoinen otsikko sellaisena kuin se n\u00e4ytet\u00e4\u00e4n selaimessa.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"content": {
"description": "Artikkelin sis\u00e4lt\u00f6.",
"type": "object",
"properties": {
"raw": {
"description": "Artikkelin sis\u00e4lt\u00f6 siin\u00e4 muodossa kuin se on tietokannassa.",
"type": "string",
"context": [
"edit",
"embed"
]
},
"rendered": {
"description": "Artikkelin HTML-sis\u00e4lt\u00f6 sellaisena kuin se n\u00e4ytet\u00e4\u00e4n selaimessa.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
},
"block_version": {
"description": "Artikkelin k\u00e4ytt\u00e4m\u00e4n sis\u00e4lt\u00f6lohkoformaatin versio.",
"type": "integer",
"context": [
"edit",
"embed"
],
"readonly": true
},
"protected": {
"description": "Onko sis\u00e4lt\u00f6 suojattu salasanalla.",
"type": "boolean",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"template": {
"description": "Teeman tiedosto joka n\u00e4ytt\u00e4\u00e4 artikkelin.",
"type": "string",
"required": false
}
}
}
]
},
"\/wp\/v2\/navigation\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": {
"namespace": "wp\/v2",
"methods": [
"GET"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"parent": {
"description": "Ylemm\u00e4n automaattitallennuksen ID.",
"type": "integer",
"required": false
},
"id": {
"description": "Automaattisesti tallennetun version ID.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"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": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"exclude": {
"description": "Varmista, etteiv\u00e4t tulokset sis\u00e4ll\u00e4 tiettyj\u00e4 ID:it\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajaa tulokset tiettyihin ID:ihin.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"search_semantics": {
"description": "Kuinka tulkita hakusy\u00f6tett\u00e4.",
"type": "string",
"enum": [
"exact"
],
"required": false
},
"offset": {
"description": "Ohita m\u00e4\u00e4ritelty m\u00e4\u00e4r\u00e4 kohteita alusta.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjest\u00e4\u00e4 tulokset nousevaan tai laskevaan j\u00e4rjestykseen.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Lajittele kokoelma artikkelin ominaisuuden mukaan.",
"type": "string",
"default": "id",
"enum": [
"id",
"include"
],
"required": false
},
"slug": {
"description": "Rajaa tulokset artikkeleihin, joilla on yksi tai useampi polkutunnus.",
"type": "array",
"items": {
"type": "string"
},
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"theme_json_version": {
"description": "Typografia-asetuksissa k\u00e4ytetyn theme.json-skeeman versio.",
"type": "integer",
"default": 3,
"minimum": 2,
"maximum": 3,
"required": false
},
"font_family_settings": {
"description": "font-family -m\u00e4\u00e4ritys theme.json-muodossa, koodattu merkkijonona.",
"type": "string",
"required": true
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/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": "Artikkelin uniikki tunniste.",
"type": "integer",
"required": false
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"POST",
"PUT",
"PATCH"
],
"args": {
"id": {
"description": "Artikkelin uniikki tunniste.",
"type": "integer",
"required": false
},
"theme_json_version": {
"description": "Typografia-asetuksissa k\u00e4ytetyn theme.json-skeeman versio.",
"type": "integer",
"default": 3,
"minimum": 2,
"maximum": 3,
"required": false
},
"font_family_settings": {
"description": "font-family -m\u00e4\u00e4ritys theme.json-muodossa, koodattu merkkijonona.",
"type": "string",
"required": true
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"id": {
"description": "Artikkelin uniikki tunniste.",
"type": "integer",
"required": false
},
"force": {
"type": "boolean",
"default": false,
"description": "Ohitetaanko roskakori ja pakotetaan poistaminen.",
"required": false
}
}
}
]
},
"\/wp\/v2\/font-families\/(?P[\\d]+)\/font-faces": {
"namespace": "wp\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"args": {
"font_family_id": {
"description": "Fontin oman fonttiperheen tunnus (ID).",
"type": "integer",
"required": true
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"exclude": {
"description": "Varmista, etteiv\u00e4t tulokset sis\u00e4ll\u00e4 tiettyj\u00e4 ID:it\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajaa tulokset tiettyihin ID:ihin.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"search_semantics": {
"description": "Kuinka tulkita hakusy\u00f6tett\u00e4.",
"type": "string",
"enum": [
"exact"
],
"required": false
},
"offset": {
"description": "Ohita m\u00e4\u00e4ritelty m\u00e4\u00e4r\u00e4 kohteita alusta.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjest\u00e4\u00e4 tulokset nousevaan tai laskevaan j\u00e4rjestykseen.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Lajittele kokoelma artikkelin ominaisuuden mukaan.",
"type": "string",
"default": "id",
"enum": [
"id",
"include"
],
"required": false
}
}
},
{
"methods": [
"POST"
],
"args": {
"font_family_id": {
"description": "Fontin oman fonttiperheen tunnus (ID).",
"type": "integer",
"required": true
},
"theme_json_version": {
"description": "Typografia-asetuksissa k\u00e4ytetyn theme.json-skeeman versio.",
"type": "integer",
"default": 3,
"minimum": 2,
"maximum": 3,
"required": false
},
"font_face_settings": {
"description": "font-face -m\u00e4\u00e4ritys theme.json-muodossa, koodattu merkkijonona.",
"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": "Fontin oman fonttiperheen tunnus (ID).",
"type": "integer",
"required": true
},
"id": {
"description": "Fonttien uniikki tunniste.",
"type": "integer",
"required": true
},
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
}
}
},
{
"methods": [
"DELETE"
],
"args": {
"font_family_id": {
"description": "Fontin oman fonttiperheen tunnus (ID).",
"type": "integer",
"required": true
},
"id": {
"description": "Fonttien uniikki tunniste.",
"type": "integer",
"required": true
},
"force": {
"type": "boolean",
"default": false,
"description": "Ohitetaanko roskakori ja pakotetaan poistaminen.",
"required": false
}
}
}
]
},
"\/wp\/v2\/product": {
"namespace": "wp\/v2",
"methods": [
"GET",
"POST"
],
"endpoints": [
{
"methods": [
"GET"
],
"allow_batch": {
"v1": true
},
"args": {
"context": {
"description": "Pyynn\u00f6n konteksti m\u00e4\u00e4r\u00e4\u00e4 mit\u00e4 kentti\u00e4 vastauksessa on mukana.",
"type": "string",
"enum": [
"view",
"embed",
"edit"
],
"default": "view",
"required": false
},
"page": {
"description": "Kokoelman nykyinen sivu.",
"type": "integer",
"default": 1,
"minimum": 1,
"required": false
},
"per_page": {
"description": "Haun palauttamien tulosten enimm\u00e4ism\u00e4\u00e4r\u00e4.",
"type": "integer",
"default": 10,
"minimum": 1,
"maximum": 100,
"required": false
},
"search": {
"description": "Rajaa tulokset niihin, jotka t\u00e4sm\u00e4\u00e4v\u00e4t merkkijonoon. ",
"type": "string",
"required": false
},
"after": {
"description": "Rajoita tulokset artikkeleihin, jotka on julkaistu annetun ISO8601-yhteensopivan p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4n j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_after": {
"description": "Rajoita vastaus julkaisuihin, joita on muokattu annetun ISO8601-yhteensopivan p\u00e4iv\u00e4yksen j\u00e4lkeen.",
"type": "string",
"format": "date-time",
"required": false
},
"before": {
"description": "Rajoita tulokset artikkeleihin, jotka on julkaistu annettua ISO8601-yhteensopivaa p\u00e4iv\u00e4m\u00e4\u00e4r\u00e4\u00e4 ennen.",
"type": "string",
"format": "date-time",
"required": false
},
"modified_before": {
"description": "Rajoita vastaus julkaisuihin, joita on muokattu ennen annettua ISO8601-yhteensopivaa p\u00e4iv\u00e4yst\u00e4.",
"type": "string",
"format": "date-time",
"required": false
},
"exclude": {
"description": "Varmista, etteiv\u00e4t tulokset sis\u00e4ll\u00e4 tiettyj\u00e4 ID:it\u00e4.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"include": {
"description": "Rajaa tulokset tiettyihin ID:ihin.",
"type": "array",
"items": {
"type": "integer"
},
"default": [],
"required": false
},
"search_semantics": {
"description": "Kuinka tulkita hakusy\u00f6tett\u00e4.",
"type": "string",
"enum": [
"exact"
],
"required": false
},
"offset": {
"description": "Ohita m\u00e4\u00e4ritelty m\u00e4\u00e4r\u00e4 kohteita alusta.",
"type": "integer",
"required": false
},
"order": {
"description": "J\u00e4rjest\u00e4\u00e4 tulokset nousevaan tai laskevaan j\u00e4rjestykseen.",
"type": "string",
"default": "desc",
"enum": [
"asc",
"desc"
],
"required": false
},
"orderby": {
"description": "Lajittele kokoelma artikkelin ominaisuuden mukaan.",
"type": "string",
"default": "date",
"enum": [
"author",
"date",
"id",
"include",
"modified",
"parent",
"relevance",
"slug",
"include_slugs",
"title",
"popularity",
"rating",
"popularity",
"rating"
],
"required": false
},
"search_columns": {
"default": [],
"description": "Taulukko sarakkeiden nimist\u00e4, joista etsit\u00e4\u00e4n.",
"type": "array",
"items": {
"enum": [
"post_title",
"post_content",
"post_excerpt"
],
"type": "string"
},
"required": false
},
"slug": {
"description": "Rajaa tulokset artikkeleihin, joilla on yksi tai useampi polkutunnus.",
"type": "array",
"items": {
"type": "string"
},
"required": false
},
"status": {
"default": "publish",
"description": "Rajaa tulokset artikkeleihin, joilla on yksi tai useampi tila.",
"type": "array",
"items": {
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"trash",
"auto-draft",
"inherit",
"request-pending",
"request-confirmed",
"request-failed",
"request-completed",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft",
"override",
"any"
],
"type": "string"
},
"required": false
},
"tax_relation": {
"description": "Rajoita tuloksia useampien luokittelujen v\u00e4listen suhteiden perusteella.",
"type": "string",
"enum": [
"AND",
"OR"
],
"required": false
},
"product_cat": {
"description": "Rajoita tulos kohteisiin, joilla on tiettyj\u00e4 termej\u00e4 asetettuna taksonomiaan product_cat.",
"type": [
"object",
"array"
],
"oneOf": [
{
"title": "Termitunnistelistaus",
"description": "Sovita termit yhteen listattujen tunnisteiden kanssa.",
"type": "array",
"items": {
"type": "integer"
}
},
{
"title": "Termin tunnisteen taksonomiakysely",
"description": "Suorita edistynyt termikysely.",
"type": "object",
"properties": {
"terms": {
"description": "Termitunnisteet.",
"type": "array",
"items": {
"type": "integer"
},
"default": []
},
"include_children": {
"description": "Sis\u00e4ltyv\u00e4tk\u00f6 lapsitermit termeihin, jotka rajoittavat tulosjoukkoa.",
"type": "boolean",
"default": false
},
"operator": {
"description": "Annetaanko kohteille kaikki vai jokin m\u00e4\u00e4ritetyist\u00e4 termeist\u00e4.",
"type": "string",
"enum": [
"AND",
"OR"
],
"default": "OR"
}
},
"additionalProperties": false
}
],
"required": false
},
"product_cat_exclude": {
"description": "Rajaa tulos sis\u00e4lt\u00e4m\u00e4\u00e4n kaikki kohteet lukuun ottamatta niit\u00e4, joilla on nimetty termi taksonomiassa product_cat.",
"type": [
"object",
"array"
],
"oneOf": [
{
"title": "Termitunnistelistaus",
"description": "Sovita termit yhteen listattujen tunnisteiden kanssa.",
"type": "array",
"items": {
"type": "integer"
}
},
{
"title": "Termin tunnisteen taksonomiakysely",
"description": "Suorita edistynyt termikysely.",
"type": "object",
"properties": {
"terms": {
"description": "Termitunnisteet.",
"type": "array",
"items": {
"type": "integer"
},
"default": []
},
"include_children": {
"description": "Sis\u00e4ltyv\u00e4tk\u00f6 lapsitermit termeihin, jotka rajoittavat tulosjoukkoa.",
"type": "boolean",
"default": false
}
},
"additionalProperties": false
}
],
"required": false
},
"product_tag": {
"description": "Rajoita tulos kohteisiin, joilla on tiettyj\u00e4 termej\u00e4 asetettuna taksonomiaan product_tag.",
"type": [
"object",
"array"
],
"oneOf": [
{
"title": "Termitunnistelistaus",
"description": "Sovita termit yhteen listattujen tunnisteiden kanssa.",
"type": "array",
"items": {
"type": "integer"
}
},
{
"title": "Termin tunnisteen taksonomiakysely",
"description": "Suorita edistynyt termikysely.",
"type": "object",
"properties": {
"terms": {
"description": "Termitunnisteet.",
"type": "array",
"items": {
"type": "integer"
},
"default": []
},
"operator": {
"description": "Annetaanko kohteille kaikki vai jokin m\u00e4\u00e4ritetyist\u00e4 termeist\u00e4.",
"type": "string",
"enum": [
"AND",
"OR"
],
"default": "OR"
}
},
"additionalProperties": false
}
],
"required": false
},
"product_tag_exclude": {
"description": "Rajaa tulos sis\u00e4lt\u00e4m\u00e4\u00e4n kaikki kohteet lukuun ottamatta niit\u00e4, joilla on nimetty termi taksonomiassa product_tag.",
"type": [
"object",
"array"
],
"oneOf": [
{
"title": "Termitunnistelistaus",
"description": "Sovita termit yhteen listattujen tunnisteiden kanssa.",
"type": "array",
"items": {
"type": "integer"
}
},
{
"title": "Termin tunnisteen taksonomiakysely",
"description": "Suorita edistynyt termikysely.",
"type": "object",
"properties": {
"terms": {
"description": "Termitunnisteet.",
"type": "array",
"items": {
"type": "integer"
},
"default": []
}
},
"additionalProperties": false
}
],
"required": false
}
}
},
{
"methods": [
"POST"
],
"allow_batch": {
"v1": true
},
"args": {
"date": {
"description": "Artikkelin julkaisup\u00e4iv\u00e4m\u00e4\u00e4r\u00e4 sivuston aikavy\u00f6hykkeen ajassa.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"date_gmt": {
"description": "Artikkelin julkaisup\u00e4iv\u00e4 GMT-ajassa.",
"type": [
"string",
"null"
],
"format": "date-time",
"required": false
},
"slug": {
"description": "Artikkelin alfanumeerinen tunniste, joka on saman artikkelityypin sis\u00e4ll\u00e4 yksil\u00f6iv\u00e4.",
"type": "string",
"required": false
},
"status": {
"description": "Artikkelin nimetty tila.",
"type": "string",
"enum": [
"publish",
"future",
"draft",
"pending",
"private",
"wc-pending",
"wc-processing",
"wc-on-hold",
"wc-completed",
"wc-cancelled",
"wc-refunded",
"wc-failed",
"wc-checkout-draft",
"override"
],
"required": false
},
"password": {
"description": "Salasana sis\u00e4ll\u00f6n ja otteen suojaamiseksi. ",
"type": "string",
"required": false
},
"title": {
"description": "Artikkelin otsikko.",
"type": "object",
"properties": {
"raw": {
"description": "Artikkelin otsikko siten kuin se esiintyy tietokannassa. ",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Artikkelin HTML-muotoinen otsikko sellaisena kuin se n\u00e4ytet\u00e4\u00e4n selaimessa.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"content": {
"description": "Artikkelin sis\u00e4lt\u00f6.",
"type": "object",
"properties": {
"raw": {
"description": "Artikkelin sis\u00e4lt\u00f6 siin\u00e4 muodossa kuin se on tietokannassa.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Artikkelin HTML-sis\u00e4lt\u00f6 sellaisena kuin se n\u00e4ytet\u00e4\u00e4n selaimessa.",
"type": "string",
"context": [
"view",
"edit"
],
"readonly": true
},
"block_version": {
"description": "Artikkelin k\u00e4ytt\u00e4m\u00e4n sis\u00e4lt\u00f6lohkoformaatin versio.",
"type": "integer",
"context": [
"edit"
],
"readonly": true
},
"protected": {
"description": "Onko sis\u00e4lt\u00f6 suojattu salasanalla.",
"type": "boolean",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"excerpt": {
"description": "Artikkelin ote.",
"type": "object",
"properties": {
"raw": {
"description": "Artikkelin ote siin\u00e4 muodossa kuin se on tietokannassa.",
"type": "string",
"context": [
"edit"
]
},
"rendered": {
"description": "Artikkelin HTML-muotoinen ote sellaisena kuin se n\u00e4ytet\u00e4\u00e4n selaimessa.",
"type": "string",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
},
"protected": {
"description": "Onko ote suojattu salasanalla. ",
"type": "boolean",
"context": [
"view",
"edit",
"embed"
],
"readonly": true
}
},
"required": false
},
"featured_media": {
"description": "Kohteen artikkelikuvan ID.",
"type": "integer",
"required": false
},
"comment_status": {
"description": "Onko artikkelin kommentointi k\u00e4yt\u00f6ss\u00e4. ",
"type": "string",
"enum": [
"open",
"closed"
],
"required": false
},
"ping_status": {
"description": "Voiko artikkelille tehd\u00e4 paluuviitteen.",
"type": "string",
"enum": [
"open",
"closed"
],
"required": false
},
"meta": {
"description": "Metakent\u00e4t.",
"type": "object",
"properties": {
"rank_math_lock_modified_date": {
"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": "Teeman tiedosto joka n\u00e4ytt\u00e4\u00e4 artikkelin.",
"type": "string",
"required": false
},
"product_cat": {
"description": "Artikkeliin liitetyt termit luokittelussa product_cat.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
},
"product_tag": {
"description": "Artikkeliin liitetyt termit luokittelussa product_tag.",
"type": "array",
"items": {
"type": "integer"
},
"required": false
}
}
}
],
"_links": {
"self": [
{
"href": "https:\/\/propsbase.com\/fi\/wp-json\/wp\/v2\/product"
}
]
}
},
"\/wp\/v2\/product\/(?P