{ "name": "Custom Promotional Products, Trophies & Medals Manufacturer | Triumph Gifts", "description": "Custom Promotional Products, Trophies & Medals Manufacturer | Triumph Gifts", "url": "https:\/\/www.triumphgifts.com", "home": "https:\/\/www.triumphgifts.com\/lv", "gmt_offset": "0", "timezone_string": "", "page_for_posts": 0, "page_on_front": 128, "show_on_front": "page", "namespaces": [ "oembed\/1.0", "akismet\/v1", "contact-form-7\/v1", "cky\/v1", "wc\/v3", "wc\/v1", "yoast\/v1", "jetpack\/v4", "elementor\/v1", "wc-admin", "wc-analytics", "wc\/store", "wc\/store\/v1", "wc\/private", "wp-rocket\/v1", "wc\/v2", "elementskit\/v1\/ajaxselect2", "astra\/v1", "elementor\/v1\/documents", "elementor-ai\/v1", "elementor-pro\/v1", "elementskit\/v1\/widget\/mailchimp", "elementskit\/v1\/widget\/instagram-feed", "elementskit\/v1\/zoom-meeting", "elementskit\/v1\/behance", "elementskit\/v1\/widget\/dribble", "elementskit\/v1\/widget\/fb-feed", "elementskit\/v1\/widget\/fb-pg-review", "elementskit\/v1\/pinterest", "elementskit\/v1", "elementskit\/v1\/dynamic-content", "elementskit\/v1\/layout-manager-api", "elementskit\/v1\/my-template", "elementskit\/v1\/megamenu", "elementskit\/v1\/widget-builder", "wc-admin-email", "wc-telemetry", "wccom-site\/v3", "nps-survey\/v1", "wp\/v2", "wp-site-health\/v1", "wp-block-editor\/v1" ], "authentication": { "application-passwords": { "endpoints": { "authorization": "https:\/\/www.triumphgifts.com\/wp-admin\/authorize-application.php" } } }, "routes": { "\/": { "namespace": "", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/wp-json\/oembed\/1.0" } ] } }, "\/oembed\/1.0\/embed": { "namespace": "oembed\/1.0", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "url": { "description": "Resursa saite no kuras ieg\u016bt oEmbed datus.", "type": "string", "format": "uri", "required": true }, "format": { "default": "json", "required": false }, "maxwidth": { "default": 600, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/oembed\/1.0\/embed" } ] } }, "\/oembed\/1.0\/proxy": { "namespace": "oembed\/1.0", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "url": { "description": "Resursa saite no kuras ieg\u016bt oEmbed datus.", "type": "string", "format": "uri", "required": true }, "format": { "description": "Lietotais oEmbed form\u0101ts.", "type": "string", "default": "json", "enum": [ "json", "xml" ], "required": false }, "maxwidth": { "description": "Maksim\u0101lais iegult\u0101 r\u0101mja platums pikse\u013cos.", "type": "integer", "default": 600, "required": false }, "maxheight": { "description": "Iegult\u0101 r\u0101mja maksim\u0101lais augstums pikse\u013cos.", "type": "integer", "required": false }, "discover": { "description": "Vai veikt oEmbed atkl\u0101\u0161anas piepras\u012bjumu nesankcion\u0113tiem pakalpojumu sniedz\u0113jiem.", "type": "boolean", "default": true, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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": "12 rakstz\u012bmju Akismet API atsl\u0113ga. Pieejams vietn\u0113 akismet.com\/get\/", "required": true } } }, { "methods": [ "DELETE" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Ja t\u0101 ir taisn\u012bba, Akismet autom\u0101tiski atmet\u012bs slikt\u0101ko surog\u0101tpastu, nevis ievietos to surog\u0101tpasta map\u0113.", "required": false }, "akismet_show_user_comments_approved": { "type": "boolean", "description": "Ja t\u0101 ir taisn\u012bba, koment\u0101ru saraksta lap\u0101 blakus katram koment\u0101ru autoram par\u0101diet apstiprin\u0101to koment\u0101ru skaitu.", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/akismet\/v1\/settings" } ] } }, "\/akismet\/v1\/stats": { "namespace": "akismet\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "interval": { "type": "string", "description": "Laika periods, par kuru j\u0101izg\u016bst statistika. Iesp\u0113jas: 60 dienas, 6 m\u0113ne\u0161i, visas", "default": "all", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/akismet\/v1\/stats" } ] } }, "\/akismet\/v1\/stats\/(?P[\\w+])": { "namespace": "akismet\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "interval": { "description": "Laika periods, par kuru j\u0101izg\u016bst statistika. Iesp\u0113jas: 60 dienas, 6 m\u0113ne\u0161i, visas", "type": "string", "required": false } } } ] }, "\/akismet\/v1\/alert": { "namespace": "akismet\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "key": { "type": "string", "description": "12 rakstz\u012bmju Akismet API atsl\u0113ga. Pieejams vietn\u0113 akismet.com\/get\/", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "key": { "type": "string", "description": "12 rakstz\u012bmju Akismet API atsl\u0113ga. Pieejams vietn\u0113 akismet.com\/get\/", "required": false } } }, { "methods": [ "DELETE" ], "args": { "key": { "type": "string", "description": "12 rakstz\u012bmju Akismet API atsl\u0113ga. Pieejams vietn\u0113 akismet.com\/get\/", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/akismet\/v1\/alert" } ] } }, "\/akismet\/v1\/webhook": { "namespace": "akismet\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/akismet\/v1\/webhook" } ] } }, "\/contact-form-7\/v1": { "namespace": "contact-form-7\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "contact-form-7\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/contact-form-7\/v1" } ] } }, "\/contact-form-7\/v1\/contact-forms": { "namespace": "contact-form-7\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/contact-form-7\/v1\/contact-forms" } ] } }, "\/contact-form-7\/v1\/contact-forms\/(?P\\d+)": { "namespace": "contact-form-7\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": [] }, { "methods": [ "DELETE" ], "args": [] } ] }, "\/contact-form-7\/v1\/contact-forms\/(?P\\d+)\/feedback": { "namespace": "contact-form-7\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ] }, "\/contact-form-7\/v1\/contact-forms\/(?P\\d+)\/feedback\/schema": { "namespace": "contact-form-7\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/contact-form-7\/v1\/contact-forms\/(?P\\d+)\/refill": { "namespace": "contact-form-7\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/cky\/v1": { "namespace": "cky\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "cky\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/cky\/v1" } ] } }, "\/cky\/v1\/settings": { "namespace": "cky\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "paged": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "force": { "type": "boolean", "description": "Force fetch data", "required": false } } }, { "methods": [ "POST" ], "args": { "site": { "description": "Unique identifier for the resource.", "type": "object", "required": false }, "api": { "description": "Language.", "type": "object", "required": false }, "account": { "description": "Language.", "type": "object", "required": false }, "consent_logs": { "description": "Language.", "type": "object", "required": false }, "languages": { "description": "Language.", "type": "object", "required": false }, "onboarding": { "description": "Language.", "type": "object", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/cky\/v1\/settings" } ] } }, "\/cky\/v1\/settings\/laws": { "namespace": "cky\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "paged": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "force": { "type": "boolean", "description": "Force fetch data", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/cky\/v1\/settings\/laws" } ] } }, "\/cky\/v1\/settings\/info": { "namespace": "cky\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "paged": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "force": { "type": "boolean", "description": "Force fetch data", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/cky\/v1\/settings\/info" } ] } }, "\/cky\/v1\/settings\/disconnect": { "namespace": "cky\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "paged": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "force": { "type": "boolean", "description": "Force fetch data", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/cky\/v1\/settings\/disconnect" } ] } }, "\/cky\/v1\/settings\/sync": { "namespace": "cky\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "site": { "description": "Unique identifier for the resource.", "type": "object", "required": false }, "api": { "description": "Language.", "type": "object", "required": false }, "account": { "description": "Language.", "type": "object", "required": false }, "consent_logs": { "description": "Language.", "type": "object", "required": false }, "languages": { "description": "Language.", "type": "object", "required": false }, "onboarding": { "description": "Language.", "type": "object", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/cky\/v1\/settings\/sync" } ] } }, "\/cky\/v1\/settings\/cache\/purge": { "namespace": "cky\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "paged": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "force": { "type": "boolean", "description": "Force fetch data", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/cky\/v1\/settings\/cache\/purge" } ] } }, "\/cky\/v1\/settings\/notices\/(?P[a-zA-Z0-9-_]+)": { "namespace": "cky\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "paged": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "force": { "type": "boolean", "description": "Force fetch data", "required": false } } } ] }, "\/cky\/v1\/settings\/expand": { "namespace": "cky\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "paged": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "force": { "type": "boolean", "description": "Force fetch data", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/cky\/v1\/settings\/expand" } ] } }, "\/cky\/v1\/settings\/connect_notice": { "namespace": "cky\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "paged": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "force": { "type": "boolean", "description": "Force fetch data", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/cky\/v1\/settings\/connect_notice" } ] } }, "\/cky\/v1\/settings\/reinstall": { "namespace": "cky\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "paged": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "force": { "type": "boolean", "description": "Force fetch data", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/cky\/v1\/settings\/reinstall" } ] } }, "\/cky\/v1\/gcm": { "namespace": "cky\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "status": { "description": "GCM status.", "type": "boolean", "required": false }, "default_settings": { "description": "Default settings.", "type": "array", "required": false }, "wait_for_update": { "description": "Wait for update.", "type": "integer", "required": false }, "url_passthrough": { "description": "Pass ad click information through URLs.", "type": "boolean", "required": false }, "ads_data_redaction": { "description": "Redact ads data.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/cky\/v1\/gcm" } ] } }, "\/cky\/v1\/languages": { "namespace": "cky\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "language": { "description": "Name of the language.", "type": "string", "required": false }, "native_name": { "description": "Native name of the language.", "type": "string", "required": false }, "lang": { "description": "Language code", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/cky\/v1\/languages" } ] } }, "\/cky\/v1\/languages\/available": { "namespace": "cky\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/cky\/v1\/languages\/available" } ] } }, "\/cky\/v1\/languages\/translations": { "namespace": "cky\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/cky\/v1\/languages\/translations" } ] } }, "\/cky\/v1\/dashboard\/summary": { "namespace": "cky\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/cky\/v1\/dashboard\/summary" } ] } }, "\/cky\/v1\/dashboard\/plans": { "namespace": "cky\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/cky\/v1\/dashboard\/plans" } ] } }, "\/cky\/v1\/dashboard\/currencies": { "namespace": "cky\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/cky\/v1\/dashboard\/currencies" } ] } }, "\/cky\/v1\/banners": { "namespace": "cky\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "ver": { "description": "Version", "type": "string", "required": false }, "language": { "description": "Language of the banner", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Banner name for reference", "type": "string", "required": false }, "slug": { "description": "Banner unique name", "type": "string", "required": false }, "settings": { "description": "Banner settings.", "type": "array", "required": false }, "contents": { "description": "Banner contents.", "type": "object", "required": false }, "default": { "description": "Indicates whether the banner is default or not", "type": "boolean", "required": false }, "date_modified": { "description": "The date the banner was last modified, as GMT.", "type": "date-time", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/cky\/v1\/banners" } ] } }, "\/cky\/v1\/banners\/bulk": { "namespace": "cky\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "name": { "description": "Banner name for reference", "type": "string", "required": false }, "slug": { "description": "Banner unique name", "type": "string", "required": false }, "settings": { "description": "Banner settings.", "type": "array", "required": false }, "contents": { "description": "Banner contents.", "type": "object", "required": false }, "default": { "description": "Indicates whether the banner is default or not", "type": "boolean", "required": false }, "date_modified": { "description": "The date the banner was last modified, as GMT.", "type": "date-time", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/cky\/v1\/banners\/bulk" } ] } }, "\/cky\/v1\/banners\/(?P[\\d]+)": { "namespace": "cky\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "Banner name for reference", "type": "string", "required": false }, "slug": { "description": "Banner unique name", "type": "string", "required": false }, "settings": { "description": "Banner settings.", "type": "array", "required": false }, "contents": { "description": "Banner contents.", "type": "object", "required": false }, "default": { "description": "Indicates whether the banner is default or not", "type": "boolean", "required": false }, "date_modified": { "description": "The date the banner was last modified, as GMT.", "type": "date-time", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "Banner name for reference", "type": "string", "required": false }, "slug": { "description": "Banner unique name", "type": "string", "required": false }, "settings": { "description": "Banner settings.", "type": "array", "required": false }, "contents": { "description": "Banner contents.", "type": "object", "required": false }, "default": { "description": "Indicates whether the banner is default or not", "type": "boolean", "required": false }, "date_modified": { "description": "The date the banner was last modified, as GMT.", "type": "date-time", "required": false } } } ] }, "\/cky\/v1\/banners\/preview": { "namespace": "cky\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "name": { "description": "Banner name for reference", "type": "string", "required": false }, "slug": { "description": "Banner unique name", "type": "string", "required": false }, "settings": { "description": "Banner settings.", "type": "array", "required": false }, "contents": { "description": "Banner contents.", "type": "object", "required": false }, "default": { "description": "Indicates whether the banner is default or not", "type": "boolean", "required": false }, "date_modified": { "description": "The date the banner was last modified, as GMT.", "type": "date-time", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/cky\/v1\/banners\/preview" } ] } }, "\/cky\/v1\/banners\/presets": { "namespace": "cky\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "ver": { "description": "Version", "type": "string", "required": false }, "language": { "description": "Language of the banner", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/cky\/v1\/banners\/presets" } ] } }, "\/cky\/v1\/banners\/configs": { "namespace": "cky\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "ver": { "description": "Version", "type": "string", "required": false }, "language": { "description": "Language of the banner", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/cky\/v1\/banners\/configs" } ] } }, "\/cky\/v1\/cookies\/categories": { "namespace": "cky\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "lang": { "description": "Language of the cookie", "type": "string", "required": false }, "category": { "description": "Cookie category", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Cookie category name.", "type": "object", "required": false }, "slug": { "description": "Cookie category unique name", "type": "string", "required": false }, "language": { "description": "Cookie category language", "type": "string", "required": false }, "description": { "description": "Cookie category description.", "type": "object", "required": false }, "prior_consent": { "description": "Cookie type.", "type": "boolean", "required": false }, "priority": { "description": "Cookie type.", "type": "integer", "required": false }, "visibility": { "description": "Show cookies on audit table or not", "type": "boolean", "required": false }, "sell_personal_data": { "description": "Show cookies on audit table or not", "type": "boolean", "required": false }, "cookies": { "description": "Cookie category description.", "type": "object", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/cky\/v1\/cookies\/categories" } ] } }, "\/cky\/v1\/cookies\/categories\/bulk": { "namespace": "cky\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "name": { "description": "Cookie category name.", "type": "object", "required": false }, "slug": { "description": "Cookie category unique name", "type": "string", "required": false }, "language": { "description": "Cookie category language", "type": "string", "required": false }, "description": { "description": "Cookie category description.", "type": "object", "required": false }, "prior_consent": { "description": "Cookie type.", "type": "boolean", "required": false }, "priority": { "description": "Cookie type.", "type": "integer", "required": false }, "visibility": { "description": "Show cookies on audit table or not", "type": "boolean", "required": false }, "sell_personal_data": { "description": "Show cookies on audit table or not", "type": "boolean", "required": false }, "cookies": { "description": "Cookie category description.", "type": "object", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/cky\/v1\/cookies\/categories\/bulk" } ] } }, "\/cky\/v1\/cookies\/categories\/(?P[\\d]+)": { "namespace": "cky\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "name": { "description": "Cookie category name.", "type": "object", "required": false }, "slug": { "description": "Cookie category unique name", "type": "string", "required": false }, "language": { "description": "Cookie category language", "type": "string", "required": false }, "description": { "description": "Cookie category description.", "type": "object", "required": false }, "prior_consent": { "description": "Cookie type.", "type": "boolean", "required": false }, "priority": { "description": "Cookie type.", "type": "integer", "required": false }, "visibility": { "description": "Show cookies on audit table or not", "type": "boolean", "required": false }, "sell_personal_data": { "description": "Show cookies on audit table or not", "type": "boolean", "required": false }, "cookies": { "description": "Cookie category description.", "type": "object", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false } } } ] }, "\/cky\/v1\/cookies": { "namespace": "cky\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false }, "lang": { "description": "Language of the cookie", "type": "string", "required": false }, "category": { "description": "Cookie category", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "date_modified": { "description": "The date the cookie was last modified, as GMT.", "type": "string", "required": false }, "name": { "description": "Cookie name.", "type": "string", "required": false }, "category": { "description": "Cookie category name.", "type": "integer", "required": false }, "slug": { "description": "Cookie unique name", "type": "string", "required": false }, "description": { "description": "Cookie description.", "type": "object", "required": false }, "duration": { "description": "Cookie duration", "type": "object", "required": false }, "language": { "description": "Cookie language.", "type": "string", "required": false }, "type": { "description": "Cookie type.", "type": "integer", "required": false }, "domain": { "description": "Cookie domain.", "type": "string", "required": false }, "discovered": { "description": "If cookies added from the scanner or not.", "type": "boolean", "required": false }, "url_pattern": { "description": "URL patterns for blocking purposes", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/cky\/v1\/cookies" } ] } }, "\/cky\/v1\/cookies\/(?P[\\d]+)": { "namespace": "cky\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "date_modified": { "description": "The date the cookie was last modified, as GMT.", "type": "string", "required": false }, "name": { "description": "Cookie name.", "type": "string", "required": false }, "category": { "description": "Cookie category name.", "type": "integer", "required": false }, "slug": { "description": "Cookie unique name", "type": "string", "required": false }, "description": { "description": "Cookie description.", "type": "object", "required": false }, "duration": { "description": "Cookie duration", "type": "object", "required": false }, "language": { "description": "Cookie language.", "type": "string", "required": false }, "type": { "description": "Cookie type.", "type": "integer", "required": false }, "domain": { "description": "Cookie domain.", "type": "string", "required": false }, "discovered": { "description": "If cookies added from the scanner or not.", "type": "boolean", "required": false }, "url_pattern": { "description": "URL patterns for blocking purposes", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false } } } ] }, "\/cky\/v1\/consent_logs\/statistics": { "namespace": "cky\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "paged": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/cky\/v1\/consent_logs\/statistics" } ] } }, "\/cky\/v1\/scans": { "namespace": "cky\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Cookie category name.", "type": "string", "required": false }, "slug": { "description": "Cookie category unique name", "type": "string", "required": false }, "description": { "description": "Cookie category description.", "type": "string", "required": false }, "default_state": { "description": "Cookie type.", "type": "string", "required": false }, "head_scripts": { "description": "Cookie scripts.", "type": "string", "required": false }, "body_scripts": { "description": "Cookie scripts.", "type": "string", "required": false }, "cookies": { "description": "Cookie count.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/cky\/v1\/scans" } ] } }, "\/cky\/v1\/scans\/(?P[\\d]+)": { "namespace": "cky\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/cky\/v1\/scans\/details\/(?P[\\d]+)": { "namespace": "cky\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the resource.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/cky\/v1\/uninstall-feedback": { "namespace": "cky\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/cky\/v1\/uninstall-feedback" } ] } }, "\/cky\/v1\/pageviews\/chart": { "namespace": "cky\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "default": "view", "required": false }, "paged": { "description": "Current page of the collection.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to those matching a string.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/cky\/v1\/pageviews\/chart" } ] } }, "\/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:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v3" } ] } }, "\/wc\/v3\/marketplace\/featured": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v3\/marketplace\/featured" } ] } }, "\/wc\/v1": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wc\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v1" } ] } }, "\/wc\/v1\/marketplace\/product-preview": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v1\/marketplace\/product-preview" } ] } }, "\/wc\/v3\/marketplace\/refresh": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v3\/marketplace\/refresh" } ] } }, "\/wc\/v3\/marketplace\/subscriptions": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v3\/marketplace\/subscriptions\/connect" } ] } }, "\/wc\/v3\/marketplace\/subscriptions\/activate-plugin": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "product_key": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v3\/marketplace\/subscriptions\/activate-plugin" } ] } }, "\/wc\/v3\/marketplace\/subscriptions\/disconnect": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "product_key": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v3\/marketplace\/create-order" } ] } }, "\/yoast\/v1": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "yoast\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/yoast\/v1" } ] } }, "\/yoast\/v1\/file_size": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "url": { "type": "string", "description": "The url to retrieve", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/yoast\/v1\/file_size" } ] } }, "\/yoast\/v1\/statistics": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/yoast\/v1\/statistics" } ] } }, "\/yoast\/v1\/ai_generator\/callback": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "access_jwt": { "type": "string", "description": "The access JWT.", "required": true }, "refresh_jwt": { "type": "string", "description": "The JWT to be used when the access JWT needs to be refreshed.", "required": true }, "code_challenge": { "type": "string", "description": "The SHA266 of the verification code used to check the authenticity of a callback call.", "required": true }, "user_id": { "type": "integer", "description": "The id of the user associated to the code verifier.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/yoast\/v1\/ai_generator\/callback" } ] } }, "\/yoast\/v1\/ai_generator\/refresh_callback": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "access_jwt": { "type": "string", "description": "The access JWT.", "required": true }, "refresh_jwt": { "type": "string", "description": "The JWT to be used when the access JWT needs to be refreshed.", "required": true }, "code_challenge": { "type": "string", "description": "The SHA266 of the verification code used to check the authenticity of a callback call.", "required": true }, "user_id": { "type": "integer", "description": "The id of the user associated to the code verifier.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/yoast\/v1\/ai_generator\/refresh_callback" } ] } }, "\/yoast\/v1\/ai_generator\/consent": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "consent": { "type": "boolean", "description": "Whether the consent to use AI-based services has been given by the user.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/yoast\/v1\/ai_generator\/consent" } ] } }, "\/yoast\/v1\/ai\/free_sparks": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/yoast\/v1\/ai\/free_sparks" } ] } }, "\/yoast\/v1\/ai_generator\/bust_subscription_cache": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/yoast\/v1\/ai_generator\/bust_subscription_cache" } ] } }, "\/yoast\/v1\/ai_generator\/get_suggestions": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "type": { "type": "string", "enum": [ "seo-title", "meta-description", "product-seo-title", "product-meta-description", "product-taxonomy-seo-title", "product-taxonomy-meta-description", "taxonomy-seo-title", "taxonomy-meta-description" ], "description": "The type of suggestion requested.", "required": true }, "prompt_content": { "type": "string", "description": "The content needed by the prompt to ask for suggestions.", "required": true }, "focus_keyphrase": { "type": "string", "description": "The focus keyphrase associated to the post.", "required": true }, "language": { "type": "string", "description": "The language the post is written in.", "required": true }, "platform": { "type": "string", "enum": [ "Google", "Facebook", "Twitter" ], "description": "The platform the post is intended for.", "required": true }, "editor": { "type": "string", "enum": [ "classic", "elementor", "gutenberg" ], "description": "The current editor.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/yoast\/v1\/ai_generator\/get_suggestions" } ] } }, "\/yoast\/v1\/ai_generator\/get_usage": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "is_woo_product_entity": { "type": "boolean", "default": false, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/yoast\/v1\/ai_generator\/get_usage" } ] } }, "\/yoast\/v1\/new-content-type-visibility\/dismiss-post-type": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "postTypeName": { "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/yoast\/v1\/new-content-type-visibility\/dismiss-post-type" } ] } }, "\/yoast\/v1\/new-content-type-visibility\/dismiss-taxonomy": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "taxonomyName": { "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/yoast\/v1\/new-content-type-visibility\/dismiss-taxonomy" } ] } }, "\/yoast\/v1\/readability_scores": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "contentType": { "type": "string", "required": true }, "taxonomy": { "type": "string", "default": "", "required": false }, "term": { "type": "integer", "default": null, "required": false }, "troubleshooting": { "type": "bool", "default": null, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/yoast\/v1\/readability_scores" } ] } }, "\/yoast\/v1\/seo_scores": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "contentType": { "type": "string", "required": true }, "taxonomy": { "type": "string", "default": "", "required": false }, "term": { "type": "integer", "default": null, "required": false }, "troubleshooting": { "type": "bool", "default": null, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/yoast\/v1\/seo_scores" } ] } }, "\/yoast\/v1\/introductions\/(?P[\\w-]+)\/seen": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "introduction_id": { "type": "string", "required": true }, "is_seen": { "type": "bool", "default": true, "required": false } } } ] }, "\/yoast\/v1\/wistia_embed_permission": { "namespace": "yoast\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": { "value": { "type": "bool", "default": true, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/yoast\/v1\/wistia_embed_permission" } ] } }, "\/yoast\/v1\/available_posts": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "search": { "type": "string", "default": "", "required": false }, "postType": { "type": "string", "default": "page", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/yoast\/v1\/available_posts" } ] } }, "\/yoast\/v1\/alerts\/dismiss": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "key": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/yoast\/v1\/alerts\/dismiss" } ] } }, "\/yoast\/v1\/configuration\/site_representation": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "company_or_person": { "type": "string", "enum": [ "company", "person" ], "required": true }, "company_name": { "type": "string", "required": false }, "company_logo": { "type": "string", "required": false }, "company_logo_id": { "type": "integer", "required": false }, "person_logo": { "type": "string", "required": false }, "person_logo_id": { "type": "integer", "required": false }, "company_or_person_user_id": { "type": "integer", "required": false }, "description": { "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/yoast\/v1\/configuration\/site_representation" } ] } }, "\/yoast\/v1\/configuration\/social_profiles": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "facebook_site": { "type": "string", "required": false }, "twitter_site": { "type": "string", "required": false }, "other_social_urls": { "type": "array", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/yoast\/v1\/configuration\/social_profiles" } ] } }, "\/yoast\/v1\/configuration\/check_capability": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "user_id": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/yoast\/v1\/configuration\/check_capability" } ] } }, "\/yoast\/v1\/configuration\/enable_tracking": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "tracking": { "type": "boolean", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/yoast\/v1\/configuration\/enable_tracking" } ] } }, "\/yoast\/v1\/configuration\/save_configuration_state": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "finishedSteps": { "type": "array", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/yoast\/v1\/configuration\/save_configuration_state" } ] } }, "\/yoast\/v1\/configuration\/get_configuration_state": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/yoast\/v1\/configuration\/get_configuration_state" } ] } }, "\/yoast\/v1\/import\/(?P[\\w-]+)\/(?P[\\w-]+)": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ] }, "\/yoast\/v1\/get_head": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "url": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/yoast\/v1\/get_head" } ] } }, "\/yoast\/v1\/indexing\/posts": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/yoast\/v1\/indexing\/posts" } ] } }, "\/yoast\/v1\/indexing\/terms": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/yoast\/v1\/indexing\/terms" } ] } }, "\/yoast\/v1\/indexing\/post-type-archives": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/yoast\/v1\/indexing\/post-type-archives" } ] } }, "\/yoast\/v1\/indexing\/general": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/yoast\/v1\/indexing\/general" } ] } }, "\/yoast\/v1\/indexing\/prepare": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/yoast\/v1\/indexing\/prepare" } ] } }, "\/yoast\/v1\/indexing\/indexables-complete": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/yoast\/v1\/indexing\/indexables-complete" } ] } }, "\/yoast\/v1\/indexing\/complete": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/yoast\/v1\/indexing\/complete" } ] } }, "\/yoast\/v1\/link-indexing\/posts": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/yoast\/v1\/link-indexing\/posts" } ] } }, "\/yoast\/v1\/link-indexing\/terms": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/yoast\/v1\/link-indexing\/terms" } ] } }, "\/yoast\/v1\/integrations\/set_active": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "active": { "type": "boolean", "required": true }, "integration": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/yoast\/v1\/integrations\/set_active" } ] } }, "\/yoast\/v1\/meta\/search": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/yoast\/v1\/meta\/search" } ] } }, "\/yoast\/v1\/semrush\/authenticate": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "code": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/yoast\/v1\/semrush\/authenticate" } ] } }, "\/yoast\/v1\/semrush\/country_code": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "country_code": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/yoast\/v1\/semrush\/country_code" } ] } }, "\/yoast\/v1\/semrush\/related_keyphrases": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "keyphrase": { "required": true }, "country_code": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/yoast\/v1\/semrush\/related_keyphrases" } ] } }, "\/yoast\/v1\/wincher\/authorization-url": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/yoast\/v1\/wincher\/authorization-url" } ] } }, "\/yoast\/v1\/wincher\/authenticate": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "code": { "required": true }, "websiteId": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/yoast\/v1\/wincher\/authenticate" } ] } }, "\/yoast\/v1\/wincher\/keyphrases\/track": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "keyphrases": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/yoast\/v1\/wincher\/keyphrases\/track" } ] } }, "\/yoast\/v1\/wincher\/keyphrases": { "namespace": "yoast\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "keyphrases": { "required": false }, "permalink": { "required": false }, "startAt": { "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/yoast\/v1\/wincher\/keyphrases" } ] } }, "\/yoast\/v1\/wincher\/keyphrases\/untrack": { "namespace": "yoast\/v1", "methods": [ "DELETE" ], "endpoints": [ { "methods": [ "DELETE" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/yoast\/v1\/wincher\/keyphrases\/untrack" } ] } }, "\/yoast\/v1\/wincher\/account\/limit": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/yoast\/v1\/wincher\/account\/limit" } ] } }, "\/yoast\/v1\/wincher\/account\/upgrade-campaign": { "namespace": "yoast\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/yoast\/v1\/wincher\/account\/upgrade-campaign" } ] } }, "\/yoast\/v1\/workouts": { "namespace": "yoast\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/yoast\/v1\/workouts" } ] } }, "\/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:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/wp-json\/jetpack\/v4\/verify_xmlrpc_error" } ] } }, "\/jetpack\/v4\/heartbeat\/data": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "prefix": { "description": "Prefix to add before the stats identifiers.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/jetpack\/v4\/heartbeat\/data" } ] } }, "\/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:\/\/www.triumphgifts.com\/lv\/wp-json\/elementor\/v1" } ] } }, "\/elementor\/v1\/site-editor": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/wp-json\/elementor\/v1\/site-editor\/templates-conditions-conflicts" } ] } }, "\/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:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-admin" } ] } }, "\/wc-admin\/notice\/dismiss": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-admin\/notice\/dismiss" } ] } }, "\/wc-admin\/features": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-admin\/features" } ] } }, "\/wc-admin\/experiments\/assignment": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-admin\/experiments\/assignment" } ] } }, "\/wc-admin\/marketing\/recommended": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "category": { "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-admin\/marketing\/knowledge-base" } ] } }, "\/wc-admin\/marketing\/misc-recommendations": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-admin\/marketing\/misc-recommendations" } ] } }, "\/wc-admin\/marketing\/overview\/activate-plugin": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "plugin": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-admin\/marketing\/recommendations" } ] } }, "\/wc-admin\/marketing\/channels": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-admin\/marketing\/channels" } ] } }, "\/wc-admin\/marketing\/campaigns": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view" ], "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-admin\/marketing\/campaigns" } ] } }, "\/wc-admin\/marketing\/campaign-types": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view" ], "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-admin\/options" } ] } }, "\/wc-admin\/legacy-settings": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "schema": { "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-admin\/legacy-settings" } ] } }, "\/wc-admin\/payment-gateway-suggestions": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "force_default_suggestions": { "type": "boolean", "description": "Return the default payment suggestions when woocommerce_show_marketplace_suggestions and woocommerce_setting_payments_recommendations_hidden options are set to no", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "pluginzip": { "description": "A zip file of the theme to be uploaded.", "type": "file", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-admin\/plugins\/install" } ] } }, "\/wc-admin\/plugins\/install\/status": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-admin\/plugins\/active" } ] } }, "\/wc-admin\/plugins\/installed": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-admin\/plugins\/activate" } ] } }, "\/wc-admin\/plugins\/activate\/status": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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": "Whether or not the profile was completed.", "required": false }, "skipped": { "type": "boolean", "description": "Whether or not the profile was skipped.", "required": false }, "industry": { "type": "array", "description": "Industry.", "items": { "type": "string" }, "required": false }, "business_extensions": { "type": "array", "description": "Extra business extensions to install.", "items": { "type": "string" }, "required": false }, "is_agree_marketing": { "type": "boolean", "description": "Whether or not this store agreed to receiving marketing contents from WooCommerce.com.", "required": false }, "store_email": { "type": "string", "description": "Store email address.", "required": false }, "is_store_country_set": { "type": "boolean", "description": "Whether or not this store country is set via onboarding profiler.", "required": false }, "is_plugins_page_skipped": { "type": "boolean", "description": "Whether or not plugins step in core profiler was skipped.", "required": false }, "business_choice": { "type": "string", "description": "Business choice.", "required": false }, "selling_online_answer": { "type": "string", "description": "Selling online answer.", "required": false }, "selling_platforms": { "type": [ "array", "null" ], "description": "Selling platforms.", "items": { "type": [ "string", "null" ] }, "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-admin\/onboarding\/profile\/experimental_get_email_prefill" } ] } }, "\/wc-admin\/onboarding\/profile\/progress": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-admin\/onboarding\/profile\/progress" } ] } }, "\/wc-admin\/onboarding\/profile\/progress\/core-profiler\/complete": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "step": { "type": "string", "description": "The Core Profiler step to mark as complete.", "enum": [ "intro-opt-in", "skip-guided-setup", "user-profile", "business-info", "plugins", "intro-builder", "skip-guided-setup" ], "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-admin\/onboarding\/profile\/progress\/core-profiler\/complete" } ] } }, "\/wc-admin\/onboarding\/profile\/update-store-currency-and-measurement-units": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "country_code": { "description": "Country code.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-admin\/onboarding\/profile\/update-store-currency-and-measurement-units" } ] } }, "\/wc-admin\/onboarding\/tasks\/import_sample_products": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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": "Product template name.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Optional parameter to get only specific task lists by id.", "type": "array", "items": { "enum": [], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "ids": { "description": "Optional parameter to get only specific task lists by id.", "type": "array", "items": { "enum": [], "type": "string" }, "required": false }, "extended_tasks": { "description": "List of extended deprecated tasks from the client side filter.", "type": "array", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Time period to snooze the task.", "type": "string", "required": false }, "task_list_id": { "description": "Optional parameter to query specific task list.", "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:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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 }, "source": { "description": "The source of the request", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-admin\/onboarding\/products" } ] } }, "\/wc-admin\/mobile-app\/send-magic-link": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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": "Return the default shipping partner suggestions when woocommerce_show_marketplace_suggestions option is set to no", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-analytics" } ] } }, "\/wc-analytics\/customers": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "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": "Force retrieval of fresh data instead of from the cache.", "type": "boolean", "required": false }, "registered_before": { "description": "Limit response to objects registered before (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "registered_after": { "description": "Limit response to objects registered after (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "match": { "description": "Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: 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": "Limit response to objects with a customer field containing the search term. Searches the field provided by `searchby`.", "type": "string", "required": false }, "searchby": { "description": "Limit results with `search` and `searchby` to specific fields containing the search term.", "type": "string", "default": "name", "enum": [ "name", "username", "email", "all" ], "required": false }, "name_includes": { "description": "Limit response to objects with specific names.", "type": "string", "required": false }, "name_excludes": { "description": "Limit response to objects excluding specific names.", "type": "string", "required": false }, "username_includes": { "description": "Limit response to objects with specific usernames.", "type": "string", "required": false }, "username_excludes": { "description": "Limit response to objects excluding specific usernames.", "type": "string", "required": false }, "email_includes": { "description": "Limit response to objects including emails.", "type": "string", "required": false }, "email_excludes": { "description": "Limit response to objects excluding emails.", "type": "string", "required": false }, "country_includes": { "description": "Limit response to objects with specific countries.", "type": "string", "required": false }, "country_excludes": { "description": "Limit response to objects excluding specific countries.", "type": "string", "required": false }, "last_active_before": { "description": "Limit response to objects last active before (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "last_active_after": { "description": "Limit response to objects last active after (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "last_active_between": { "description": "Limit response to objects last active between two given ISO8601 compliant datetime.", "type": "array", "items": { "type": "string" }, "required": false }, "registered_between": { "description": "Limit response to objects last active between two given ISO8601 compliant datetime.", "type": "array", "items": { "type": "string" }, "required": false }, "orders_count_min": { "description": "Limit response to objects with an order count greater than or equal to given integer.", "type": "integer", "required": false }, "orders_count_max": { "description": "Limit response to objects with an order count less than or equal to given integer.", "type": "integer", "required": false }, "orders_count_between": { "description": "Limit response to objects with an order count between two given integers.", "type": "array", "items": { "type": "integer" }, "required": false }, "total_spend_min": { "description": "Limit response to objects with a total order spend greater than or equal to given number.", "type": "number", "required": false }, "total_spend_max": { "description": "Limit response to objects with a total order spend less than or equal to given number.", "type": "number", "required": false }, "total_spend_between": { "description": "Limit response to objects with a total order spend between two given numbers.", "type": "array", "items": { "type": "integer" }, "required": false }, "avg_order_value_min": { "description": "Limit response to objects with an average order spend greater than or equal to given number.", "type": "number", "required": false }, "avg_order_value_max": { "description": "Limit response to objects with an average order spend less than or equal to given number.", "type": "number", "required": false }, "avg_order_value_between": { "description": "Limit response to objects with an average order spend between two given numbers.", "type": "array", "items": { "type": "integer" }, "required": false }, "last_order_before": { "description": "Limit response to objects with last order before (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "last_order_after": { "description": "Limit response to objects with last order after (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "users": { "description": "Limit result to items with specified user ids.", "type": "array", "items": { "type": "integer" }, "required": false }, "filter_empty": { "description": "Filter out results where any of the passed fields are empty", "type": "array", "items": { "type": "string", "enum": [ "email", "name", "country", "city", "state", "postcode" ] }, "required": false }, "include": { "description": "Limit result to items with specified customer ids.", "type": "array", "items": { "type": "integer" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-analytics\/customers" } ] } }, "\/wc-analytics\/customers\/(?P[\\d-]+)": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Resursa unik\u0101lais ID.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "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": "Force retrieval of fresh data instead of from the cache.", "type": "boolean", "required": false }, "registered_before": { "description": "Limit response to objects registered before (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "registered_after": { "description": "Limit response to objects registered after (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "match": { "description": "Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: 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": "Limit response to objects with a customer field containing the search term. Searches the field provided by `searchby`.", "type": "string", "required": false }, "searchby": { "description": "Limit results with `search` and `searchby` to specific fields containing the search term.", "type": "string", "default": "name", "enum": [ "name", "username", "email", "all" ], "required": false }, "name_includes": { "description": "Limit response to objects with specific names.", "type": "string", "required": false }, "name_excludes": { "description": "Limit response to objects excluding specific names.", "type": "string", "required": false }, "username_includes": { "description": "Limit response to objects with specific usernames.", "type": "string", "required": false }, "username_excludes": { "description": "Limit response to objects excluding specific usernames.", "type": "string", "required": false }, "email_includes": { "description": "Limit response to objects including emails.", "type": "string", "required": false }, "email_excludes": { "description": "Limit response to objects excluding emails.", "type": "string", "required": false }, "country_includes": { "description": "Limit response to objects with specific countries.", "type": "string", "required": false }, "country_excludes": { "description": "Limit response to objects excluding specific countries.", "type": "string", "required": false }, "last_active_before": { "description": "Limit response to objects last active before (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "last_active_after": { "description": "Limit response to objects last active after (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "last_active_between": { "description": "Limit response to objects last active between two given ISO8601 compliant datetime.", "type": "array", "items": { "type": "string" }, "required": false }, "registered_between": { "description": "Limit response to objects last active between two given ISO8601 compliant datetime.", "type": "array", "items": { "type": "string" }, "required": false }, "orders_count_min": { "description": "Limit response to objects with an order count greater than or equal to given integer.", "type": "integer", "required": false }, "orders_count_max": { "description": "Limit response to objects with an order count less than or equal to given integer.", "type": "integer", "required": false }, "orders_count_between": { "description": "Limit response to objects with an order count between two given integers.", "type": "array", "items": { "type": "integer" }, "required": false }, "total_spend_min": { "description": "Limit response to objects with a total order spend greater than or equal to given number.", "type": "number", "required": false }, "total_spend_max": { "description": "Limit response to objects with a total order spend less than or equal to given number.", "type": "number", "required": false }, "total_spend_between": { "description": "Limit response to objects with a total order spend between two given numbers.", "type": "array", "items": { "type": "integer" }, "required": false }, "avg_order_value_min": { "description": "Limit response to objects with an average order spend greater than or equal to given number.", "type": "number", "required": false }, "avg_order_value_max": { "description": "Limit response to objects with an average order spend less than or equal to given number.", "type": "number", "required": false }, "avg_order_value_between": { "description": "Limit response to objects with an average order spend between two given numbers.", "type": "array", "items": { "type": "integer" }, "required": false }, "last_order_before": { "description": "Limit response to objects with last order before (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "last_order_after": { "description": "Limit response to objects with last order after (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "users": { "description": "Limit result to items with specified user ids.", "type": "array", "items": { "type": "integer" }, "required": false }, "filter_empty": { "description": "Filter out results where any of the passed fields are empty", "type": "array", "items": { "type": "string", "enum": [ "email", "name", "country", "city", "state", "postcode" ] }, "required": false }, "include": { "description": "Limit result to items with specified customer ids.", "type": "array", "items": { "type": "integer" }, "required": false } } } ] }, "\/wc-analytics\/leaderboards": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 5, "minimum": 1, "maximum": 20, "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "persisted_query": { "description": "URL query to persist across links.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-analytics\/leaderboards" } ] } }, "\/wc-analytics\/leaderboards\/allowed": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 5, "minimum": 1, "maximum": 20, "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "persisted_query": { "description": "URL query to persist across links.", "type": "string", "required": false } } } ] }, "\/wc-analytics\/reports": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-analytics\/reports" } ] } }, "\/wc-analytics\/reports\/import": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "days": { "description": "Number of days to import.", "type": "integer", "minimum": 0, "required": false }, "skip_existing": { "description": "Skip importing existing order data.", "type": "boolean", "default": false, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-analytics\/reports\/import\/status" } ] } }, "\/wc-analytics\/reports\/import\/totals": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "days": { "description": "Number of days to import.", "type": "integer", "minimum": 0, "required": false }, "skip_existing": { "description": "Skip importing existing order data.", "type": "boolean", "default": false, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Parameters to pass on to the exported report.", "type": "object", "required": false }, "email": { "description": "When true, email a link to download the export to the requesting user.", "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": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "net_revenue", "orders_count", "items_sold", "product_name", "variations", "sku" ], "required": false }, "force_cache_refresh": { "description": "Force retrieval of fresh data instead of from the cache.", "type": "boolean", "required": false }, "categories": { "description": "Limit result to items from the specified categories.", "type": "array", "items": { "type": "integer" }, "required": false }, "match": { "description": "Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: 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": "Limit result to items with specified product ids.", "type": "array", "items": { "type": "integer" }, "required": false }, "extended_info": { "description": "Add additional piece of info about each product to the report.", "type": "boolean", "default": false, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-analytics\/reports\/products" } ] } }, "\/wc-analytics\/reports\/variations": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "net_revenue", "orders_count", "items_sold", "sku" ], "required": false }, "force_cache_refresh": { "description": "Force retrieval of fresh data instead of from the cache.", "type": "boolean", "required": false }, "match": { "description": "Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: 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": "Limit result set to items that have the specified parent product(s).", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "product_excludes": { "description": "Limit result set to items that don't have the specified parent product(s).", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "variations": { "description": "Limit result to items with specified variation ids.", "type": "array", "items": { "type": "integer" }, "required": false }, "extended_info": { "description": "Add additional piece of info about each variation to the report.", "type": "boolean", "default": false, "required": false }, "attribute_is": { "description": "Limit result set to variations that include the specified attributes.", "type": "array", "items": { "type": "array" }, "default": [], "required": false }, "attribute_is_not": { "description": "Limit result set to variations that don't include the specified attributes.", "type": "array", "items": { "type": "array" }, "default": [], "required": false }, "category_includes": { "description": "Limit result set to variations in the specified categories.", "type": "array", "items": { "type": "integer" }, "required": false }, "category_excludes": { "description": "Limit result set to variations not in the specified categories.", "type": "array", "items": { "type": "integer" }, "required": false }, "products": { "description": "Limit result to items with specified product ids.", "type": "array", "items": { "type": "integer" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-analytics\/reports\/variations" } ] } }, "\/wc-analytics\/reports\/products\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "net_revenue", "coupons", "refunds", "shipping", "taxes", "net_revenue", "orders_count", "items_sold" ], "required": false }, "force_cache_refresh": { "description": "Force retrieval of fresh data instead of from the cache.", "type": "boolean", "required": false }, "fields": { "description": "Limit stats fields to the specified items.", "type": "array", "items": { "type": "string" }, "required": false }, "interval": { "description": "Time interval to use for buckets in the returned data.", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "categories": { "description": "Limit result to items from the specified categories.", "type": "array", "items": { "type": "integer" }, "required": false }, "products": { "description": "Limit result to items with specified product ids.", "type": "array", "items": { "type": "integer" }, "required": false }, "variations": { "description": "Limit result to items with specified variation ids.", "type": "array", "items": { "type": "integer" }, "required": false }, "segmentby": { "description": "Segment the response by additional constraint.", "type": "string", "enum": [ "product", "category", "variation" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-analytics\/reports\/products\/stats" } ] } }, "\/wc-analytics\/reports\/variations\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "net_revenue", "coupons", "refunds", "shipping", "taxes", "net_revenue", "orders_count", "items_sold" ], "required": false }, "force_cache_refresh": { "description": "Force retrieval of fresh data instead of from the cache.", "type": "boolean", "required": false }, "fields": { "description": "Limit stats fields to the specified items.", "type": "array", "items": { "type": "string" }, "required": false }, "interval": { "description": "Time interval to use for buckets in the returned data.", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "match": { "description": "Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: 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": "Limit result to items from the specified categories.", "type": "array", "items": { "type": "integer" }, "required": false }, "category_excludes": { "description": "Limit result set to variations not in the specified categories.", "type": "array", "items": { "type": "integer" }, "required": false }, "product_includes": { "description": "Limit result set to items that have the specified parent product(s).", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "product_excludes": { "description": "Limit result set to items that don't have the specified parent product(s).", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "variations": { "description": "Limit result to items with specified variation ids.", "type": "array", "items": { "type": "integer" }, "required": false }, "segmentby": { "description": "Segment the response by additional constraint.", "type": "string", "enum": [ "product", "category", "variation" ], "required": false }, "attribute_is": { "description": "Limit result set to orders that include products with the specified attributes.", "type": "array", "items": { "type": "array" }, "default": [], "required": false }, "attribute_is_not": { "description": "Limit result set to orders that don't include products with the specified attributes.", "type": "array", "items": { "type": "array" }, "default": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-analytics\/reports\/variations\/stats" } ] } }, "\/wc-analytics\/reports\/revenue\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "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": "Force retrieval of fresh data instead of from the cache.", "type": "boolean", "required": false }, "interval": { "description": "Time interval to use for buckets in the returned data.", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "segmentby": { "description": "Segment the response by additional constraint.", "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:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-analytics\/reports\/revenue\/stats" } ] } }, "\/wc-analytics\/reports\/orders": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 0, "maximum": 100, "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "num_items_sold", "net_total" ], "required": false }, "force_cache_refresh": { "description": "Force retrieval of fresh data instead of from the cache.", "type": "boolean", "required": false }, "product_includes": { "description": "Limit result set to items that have the specified product(s) assigned.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "product_excludes": { "description": "Limit result set to items that don't have the specified product(s) assigned.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "variation_includes": { "description": "Limit result set to items that have the specified variation(s) assigned.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "variation_excludes": { "description": "Limit result set to items that don't have the specified variation(s) assigned.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "coupon_includes": { "description": "Limit result set to items that have the specified coupon(s) assigned.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "coupon_excludes": { "description": "Limit result set to items that don't have the specified coupon(s) assigned.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "tax_rate_includes": { "description": "Limit result set to items that have the specified tax rate(s) assigned.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "tax_rate_excludes": { "description": "Limit result set to items that don't have the specified tax rate(s) assigned.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "status_is": { "description": "Limit result set to items that have the specified order status.", "type": "array", "items": { "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "type": "string" }, "required": false }, "status_is_not": { "description": "Limit result set to items that don't have the specified order status.", "type": "array", "items": { "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "type": "string" }, "required": false }, "customer_type": { "description": "Limit result set to returning or new customers.", "type": "string", "default": "", "enum": [ "", "returning", "new" ], "required": false }, "refunds": { "description": "Limit result set to specific types of refunds.", "type": "string", "default": "", "enum": [ "", "all", "partial", "full", "none" ], "required": false }, "extended_info": { "description": "Add additional piece of info about each coupon to the report.", "type": "boolean", "default": false, "required": false }, "order_includes": { "description": "Limit result set to items that have the specified order ids.", "type": "array", "items": { "type": "integer" }, "required": false }, "order_excludes": { "description": "Limit result set to items that don't have the specified order ids.", "type": "array", "items": { "type": "integer" }, "required": false }, "attribute_is": { "description": "Limit result set to orders that include products with the specified attributes.", "type": "array", "items": { "type": "array" }, "default": [], "required": false }, "attribute_is_not": { "description": "Limit result set to orders that don't include products with the specified attributes.", "type": "array", "items": { "type": "array" }, "default": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-analytics\/reports\/orders" } ] } }, "\/wc-analytics\/reports\/orders\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "net_revenue", "orders_count", "avg_order_value" ], "required": false }, "force_cache_refresh": { "description": "Force retrieval of fresh data instead of from the cache.", "type": "boolean", "required": false }, "interval": { "description": "Time interval to use for buckets in the returned data.", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "match": { "description": "Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: 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": "Limit result set to items that have the specified order status.", "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": "Limit result set to items that don't have the specified order status.", "type": "array", "items": { "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "type": "string" }, "required": false }, "product_includes": { "description": "Limit result set to items that have the specified product(s) assigned.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "product_excludes": { "description": "Limit result set to items that don't have the specified product(s) assigned.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "variation_includes": { "description": "Limit result set to items that have the specified variation(s) assigned.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "variation_excludes": { "description": "Limit result set to items that don't have the specified variation(s) assigned.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "coupon_includes": { "description": "Limit result set to items that have the specified coupon(s) assigned.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "coupon_excludes": { "description": "Limit result set to items that don't have the specified coupon(s) assigned.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "tax_rate_includes": { "description": "Limit result set to items that have the specified tax rate(s) assigned.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "tax_rate_excludes": { "description": "Limit result set to items that don't have the specified tax rate(s) assigned.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "customer": { "description": "Alias for customer_type (deprecated).", "type": "string", "enum": [ "new", "returning" ], "required": false }, "customer_type": { "description": "Limit result set to orders that have the specified customer_type", "type": "string", "enum": [ "new", "returning" ], "required": false }, "refunds": { "description": "Limit result set to specific types of refunds.", "type": "string", "default": "", "enum": [ "", "all", "partial", "full", "none" ], "required": false }, "attribute_is": { "description": "Limit result set to orders that include products with the specified attributes.", "type": "array", "items": { "type": "array" }, "default": [], "required": false }, "attribute_is_not": { "description": "Limit result set to orders that don't include products with the specified attributes.", "type": "array", "items": { "type": "array" }, "default": [], "required": false }, "segmentby": { "description": "Segment the response by additional constraint.", "type": "string", "enum": [ "product", "category", "variation", "coupon", "customer_type" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-analytics\/reports\/orders\/stats" } ] } }, "\/wc-analytics\/reports\/categories": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "category_id", "enum": [ "category_id", "items_sold", "net_revenue", "orders_count", "products_count", "category" ], "required": false }, "force_cache_refresh": { "description": "Force retrieval of fresh data instead of from the cache.", "type": "boolean", "required": false }, "interval": { "description": "Time interval to use for buckets in the returned data.", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "status_is": { "description": "Limit result set to items that have the specified order status.", "type": "array", "items": { "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "type": "string" }, "required": false }, "status_is_not": { "description": "Limit result set to items that don't have the specified order status.", "type": "array", "items": { "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "type": "string" }, "required": false }, "categories": { "description": "Limit result set to all items that have the specified term assigned in the categories taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "extended_info": { "description": "Add additional piece of info about each category to the report.", "type": "boolean", "default": false, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-analytics\/reports\/categories" } ] } }, "\/wc-analytics\/reports\/taxes": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "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": "Force retrieval of fresh data instead of from the cache.", "type": "boolean", "required": false }, "taxes": { "description": "Limit result set to items assigned one or more tax rates.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-analytics\/reports\/taxes" } ] } }, "\/wc-analytics\/reports\/taxes\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "items_sold", "total_sales", "orders_count", "products_count" ], "required": false }, "force_cache_refresh": { "description": "Force retrieval of fresh data instead of from the cache.", "type": "boolean", "required": false }, "fields": { "description": "Limit stats fields to the specified items.", "type": "array", "items": { "type": "string" }, "required": false }, "interval": { "description": "Time interval to use for buckets in the returned data.", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "taxes": { "description": "Limit result set to all items that have the specified term assigned in the taxes taxonomy.", "type": "array", "items": { "type": "integer" }, "required": false }, "segmentby": { "description": "Segment the response by additional constraint.", "type": "string", "enum": [ "tax_rate_id" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-analytics\/reports\/taxes\/stats" } ] } }, "\/wc-analytics\/reports\/coupons": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "coupon_id", "enum": [ "coupon_id", "code", "amount", "orders_count" ], "required": false }, "force_cache_refresh": { "description": "Force retrieval of fresh data instead of from the cache.", "type": "boolean", "required": false }, "coupons": { "description": "Limit result set to coupons assigned specific coupon IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "extended_info": { "description": "Add additional piece of info about each coupon to the report.", "type": "boolean", "default": false, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-analytics\/reports\/coupons" } ] } }, "\/wc-analytics\/reports\/coupons\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "amount", "coupons_count", "orders_count" ], "required": false }, "force_cache_refresh": { "description": "Force retrieval of fresh data instead of from the cache.", "type": "boolean", "required": false }, "fields": { "description": "Limit stats fields to the specified items.", "type": "array", "items": { "type": "string" }, "required": false }, "interval": { "description": "Time interval to use for buckets in the returned data.", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "coupons": { "description": "Limit result set to coupons assigned specific coupon IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "segmentby": { "description": "Segment the response by additional constraint.", "type": "string", "enum": [ "product", "variation", "category", "coupon" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-analytics\/reports\/coupons\/stats" } ] } }, "\/wc-analytics\/reports\/stock": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "stock_status", "enum": [ "stock_status", "stock_quantity", "date", "id", "include", "title", "sku" ], "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "parent": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz noteiktu vec\u0101ku ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz visiem vienumiem, iz\u0146emot konkr\u0113ta vec\u0101ka ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "type": { "description": "Limit result set to items assigned a stock report type.", "type": "string", "default": "all", "enum": [ "all", "lowstock", "instock", "outofstock", "onbackorder" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-analytics\/reports\/stock" } ] } }, "\/wc-analytics\/reports\/stock\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-analytics\/reports\/stock\/stats" } ] } }, "\/wc-analytics\/reports\/downloads": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "product" ], "required": false }, "force_cache_refresh": { "description": "Force retrieval of fresh data instead of from the cache.", "type": "boolean", "required": false }, "match": { "description": "Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: products, orders, username, ip_address.", "type": "string", "default": "all", "enum": [ "all", "any" ], "required": false }, "product_includes": { "description": "Limit result set to items that have the specified product(s) assigned.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "product_excludes": { "description": "Limit result set to items that don't have the specified product(s) assigned.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order_includes": { "description": "Limit result set to items that have the specified order ids.", "type": "array", "items": { "type": "integer" }, "required": false }, "order_excludes": { "description": "Limit result set to items that don't have the specified order ids.", "type": "array", "items": { "type": "integer" }, "required": false }, "customer_includes": { "description": "Limit response to objects that have the specified user ids.", "type": "array", "items": { "type": "integer" }, "required": false }, "customer_excludes": { "description": "Limit response to objects that don't have the specified user ids.", "type": "array", "items": { "type": "integer" }, "required": false }, "ip_address_includes": { "description": "Limit response to objects that have a specified ip address.", "type": "array", "items": { "type": "string" }, "required": false }, "ip_address_excludes": { "description": "Limit response to objects that don't have a specified ip address.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-analytics\/reports\/downloads" } ] } }, "\/wc-analytics\/reports\/downloads\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "download_count" ], "required": false }, "force_cache_refresh": { "description": "Force retrieval of fresh data instead of from the cache.", "type": "boolean", "required": false }, "fields": { "description": "Limit stats fields to the specified items.", "type": "array", "items": { "type": "string" }, "required": false }, "interval": { "description": "Time interval to use for buckets in the returned data.", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "match": { "description": "Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: 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": "Limit result set to items that have the specified product(s) assigned.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "product_excludes": { "description": "Limit result set to items that don't have the specified product(s) assigned.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order_includes": { "description": "Limit result set to items that have the specified order ids.", "type": "array", "items": { "type": "integer" }, "required": false }, "order_excludes": { "description": "Limit result set to items that don't have the specified order ids.", "type": "array", "items": { "type": "integer" }, "required": false }, "customer_includes": { "description": "Limit response to objects that have the specified customer ids.", "type": "array", "items": { "type": "integer" }, "required": false }, "customer_excludes": { "description": "Limit response to objects that don't have the specified customer ids.", "type": "array", "items": { "type": "integer" }, "required": false }, "ip_address_includes": { "description": "Limit response to objects that have a specified ip address.", "type": "array", "items": { "type": "string" }, "required": false }, "ip_address_excludes": { "description": "Limit response to objects that don't have a specified ip address.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-analytics\/reports\/downloads\/stats" } ] } }, "\/wc-analytics\/reports\/customers": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "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": "Force retrieval of fresh data instead of from the cache.", "type": "boolean", "required": false }, "registered_before": { "description": "Limit response to objects registered before (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "registered_after": { "description": "Limit response to objects registered after (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "match": { "description": "Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: 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": "Limit response to objects with a customer field containing the search term. Searches the field provided by `searchby`.", "type": "string", "required": false }, "searchby": { "description": "Limit results with `search` and `searchby` to specific fields containing the search term.", "type": "string", "default": "name", "enum": [ "name", "username", "email", "all" ], "required": false }, "name_includes": { "description": "Limit response to objects with specific names.", "type": "string", "required": false }, "name_excludes": { "description": "Limit response to objects excluding specific names.", "type": "string", "required": false }, "username_includes": { "description": "Limit response to objects with specific usernames.", "type": "string", "required": false }, "username_excludes": { "description": "Limit response to objects excluding specific usernames.", "type": "string", "required": false }, "email_includes": { "description": "Limit response to objects including emails.", "type": "string", "required": false }, "email_excludes": { "description": "Limit response to objects excluding emails.", "type": "string", "required": false }, "country_includes": { "description": "Limit response to objects with specific countries.", "type": "string", "required": false }, "country_excludes": { "description": "Limit response to objects excluding specific countries.", "type": "string", "required": false }, "last_active_before": { "description": "Limit response to objects last active before (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "last_active_after": { "description": "Limit response to objects last active after (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "last_active_between": { "description": "Limit response to objects last active between two given ISO8601 compliant datetime.", "type": "array", "items": { "type": "string" }, "required": false }, "registered_between": { "description": "Limit response to objects last active between two given ISO8601 compliant datetime.", "type": "array", "items": { "type": "string" }, "required": false }, "orders_count_min": { "description": "Limit response to objects with an order count greater than or equal to given integer.", "type": "integer", "required": false }, "orders_count_max": { "description": "Limit response to objects with an order count less than or equal to given integer.", "type": "integer", "required": false }, "orders_count_between": { "description": "Limit response to objects with an order count between two given integers.", "type": "array", "items": { "type": "integer" }, "required": false }, "total_spend_min": { "description": "Limit response to objects with a total order spend greater than or equal to given number.", "type": "number", "required": false }, "total_spend_max": { "description": "Limit response to objects with a total order spend less than or equal to given number.", "type": "number", "required": false }, "total_spend_between": { "description": "Limit response to objects with a total order spend between two given numbers.", "type": "array", "items": { "type": "integer" }, "required": false }, "avg_order_value_min": { "description": "Limit response to objects with an average order spend greater than or equal to given number.", "type": "number", "required": false }, "avg_order_value_max": { "description": "Limit response to objects with an average order spend less than or equal to given number.", "type": "number", "required": false }, "avg_order_value_between": { "description": "Limit response to objects with an average order spend between two given numbers.", "type": "array", "items": { "type": "integer" }, "required": false }, "last_order_before": { "description": "Limit response to objects with last order before (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "last_order_after": { "description": "Limit response to objects with last order after (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "customers": { "description": "Limit result to items with specified customer ids.", "type": "array", "items": { "type": "integer" }, "required": false }, "users": { "description": "Limit result to items with specified user ids.", "type": "array", "items": { "type": "integer" }, "required": false }, "filter_empty": { "description": "Filter out results where any of the passed fields are empty", "type": "array", "items": { "type": "string", "enum": [ "email", "name", "country", "city", "state", "postcode" ] }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-analytics\/reports\/customers" } ] } }, "\/wc-analytics\/reports\/customers\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "registered_before": { "description": "Limit response to objects registered before (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "registered_after": { "description": "Limit response to objects registered after (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "match": { "description": "Indicates whether all the conditions should be true for the resulting set, or if any one of them is sufficient. Match affects the following parameters: 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": "Limit response to objects with a customer field containing the search term. Searches the field provided by `searchby`.", "type": "string", "required": false }, "searchby": { "description": "Limit results with `search` and `searchby` to specific fields containing the search term.", "type": "string", "default": "name", "enum": [ "name", "username", "email", "all" ], "required": false }, "name_includes": { "description": "Limit response to objects with specific names.", "type": "string", "required": false }, "name_excludes": { "description": "Limit response to objects excluding specific names.", "type": "string", "required": false }, "username_includes": { "description": "Limit response to objects with specific usernames.", "type": "string", "required": false }, "username_excludes": { "description": "Limit response to objects excluding specific usernames.", "type": "string", "required": false }, "email_includes": { "description": "Limit response to objects including emails.", "type": "string", "required": false }, "email_excludes": { "description": "Limit response to objects excluding emails.", "type": "string", "required": false }, "country_includes": { "description": "Limit response to objects with specific countries.", "type": "string", "required": false }, "country_excludes": { "description": "Limit response to objects excluding specific countries.", "type": "string", "required": false }, "last_active_before": { "description": "Limit response to objects last active before (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "last_active_after": { "description": "Limit response to objects last active after (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "last_active_between": { "description": "Limit response to objects last active between two given ISO8601 compliant datetime.", "type": "array", "items": { "type": "string" }, "required": false }, "registered_between": { "description": "Limit response to objects last active between two given ISO8601 compliant datetime.", "type": "array", "items": { "type": "string" }, "required": false }, "orders_count_min": { "description": "Limit response to objects with an order count greater than or equal to given integer.", "type": "integer", "required": false }, "orders_count_max": { "description": "Limit response to objects with an order count less than or equal to given integer.", "type": "integer", "required": false }, "orders_count_between": { "description": "Limit response to objects with an order count between two given integers.", "type": "array", "items": { "type": "integer" }, "required": false }, "total_spend_min": { "description": "Limit response to objects with a total order spend greater than or equal to given number.", "type": "number", "required": false }, "total_spend_max": { "description": "Limit response to objects with a total order spend less than or equal to given number.", "type": "number", "required": false }, "total_spend_between": { "description": "Limit response to objects with a total order spend between two given numbers.", "type": "array", "items": { "type": "integer" }, "required": false }, "avg_order_value_min": { "description": "Limit response to objects with an average order spend greater than or equal to given number.", "type": "number", "required": false }, "avg_order_value_max": { "description": "Limit response to objects with an average order spend less than or equal to given number.", "type": "number", "required": false }, "avg_order_value_between": { "description": "Limit response to objects with an average order spend between two given numbers.", "type": "array", "items": { "type": "integer" }, "required": false }, "last_order_before": { "description": "Limit response to objects with last order before (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "last_order_after": { "description": "Limit response to objects with last order after (or at) a given ISO8601 compliant datetime.", "type": "string", "format": "date-time", "required": false }, "customers": { "description": "Limit result to items with specified customer ids.", "type": "array", "items": { "type": "integer" }, "required": false }, "fields": { "description": "Limit stats fields to the specified items.", "type": "array", "items": { "type": "string" }, "required": false }, "force_cache_refresh": { "description": "Force retrieval of fresh data instead of from the cache.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-analytics\/reports\/customers\/stats" } ] } }, "\/wc-analytics\/reports\/performance-indicators": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "stats": { "description": "Limit response to specific report stats. Allowed values: .", "type": "array", "items": { "type": "string", "enum": [] }, "default": [], "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-analytics\/reports\/performance-indicators" } ] } }, "\/wc-analytics\/reports\/performance-indicators\/allowed": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "stats": { "description": "Limit response to specific report stats. Allowed values: .", "type": "array", "items": { "type": "string", "enum": [] }, "default": [], "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-analytics\/reports\/performance-indicators\/allowed" } ] } }, "\/wc-analytics\/admin\/notes": { "namespace": "wc-analytics", "methods": [ "GET", "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "note_id", "date", "type", "title", "status" ], "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "type": { "description": "Type of note.", "type": "array", "items": { "enum": [ "error", "warning", "update", "info", "marketing", "survey" ], "type": "string" }, "required": false }, "status": { "description": "Status of note.", "type": "array", "items": { "enum": [ "pending", "actioned", "unactioned", "snoozed", "sent" ], "type": "string" }, "required": false }, "source": { "description": "Source of note.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "note_id", "date", "type", "title", "status" ], "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "type": { "description": "Type of note.", "type": "array", "items": { "enum": [ "error", "warning", "update", "info", "marketing", "survey" ], "type": "string" }, "required": false }, "status": { "description": "Status of note.", "type": "array", "items": { "enum": [ "pending", "actioned", "unactioned", "snoozed", "sent" ], "type": "string" }, "required": false }, "source": { "description": "Source of note.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Resursa unik\u0101lais ID.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais ID.", "type": "integer", "required": false } } }, { "methods": [ "GET" ], "args": { "id": { "description": "Resursa unik\u0101lais ID.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais ID.", "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": "Status of note.", "type": "array", "items": { "enum": [ "pending", "actioned", "unactioned", "snoozed", "sent" ], "type": "string" }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "status": { "description": "Status of note.", "type": "array", "items": { "enum": [ "pending", "actioned", "unactioned", "snoozed", "sent" ], "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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": "Unique ID for the Note.", "type": "integer", "required": false }, "action_id": { "description": "Unique ID for the Note Action.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "note_id": { "description": "Unique ID for the Note.", "type": "integer", "required": false }, "action_id": { "description": "Unique ID for the Note Action.", "type": "integer", "required": false } } } ] }, "\/wc-analytics\/coupons": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to coupons with codes matching a given string.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "code": { "description": "Ierobe\u017eots rezult\u0101ts, kas noteikts resursiem ar konkr\u0113tu kodu.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "code": { "description": "Atlaides kods.", "type": "string", "required": true }, "amount": { "description": "Atlai\u017eu summa. Vienm\u0113r j\u0101b\u016bt skaitliskam skaitlim, pat ja tiek iestat\u012bts procents.", "type": "string", "required": false }, "status": { "description": "The status of the coupon. Should always be draft, published, or pending review", "type": "string", "required": false }, "discount_type": { "default": "fixed_cart", "description": "Nosaka atlaides veidu, kas tiks piem\u0113rota.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "description": { "description": "Kupona apraksts.", "type": "string", "required": false }, "date_expires": { "description": "Datums, kur\u0101 kupons beigsies, p\u0113c vietnes laika joslas.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "Kupona der\u012bguma termi\u0146\u0161 k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "individual_use": { "default": false, "description": "Ja ir taisn\u012bba, kuponu var izmantot tikai individu\u0101li. Citi piem\u0113rotie kuponi tiks no\u0146emti no groza.", "type": "boolean", "required": false }, "product_ids": { "description": "To produktu ID, uz kuriem var izmantot kuponu.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "To produktu ID, uz kuriem nevar izmantot kuponu.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Cik reizes kuponu var kop\u012bgi izmantot.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Cik reizes kupons var tikt izmantots katram klientam.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Maksim\u0101lais pre\u010du skaits groz\u0101, uz kuru var piem\u0113rot kuponu.", "type": "integer", "required": false }, "free_shipping": { "default": false, "description": "Ja ir taisn\u012bba un ja bezmaksas pieg\u0101des metodei ir nepiecie\u0161ams kupons, \u0161is kupons nodro\u0161in\u0101s bezmaksas pieg\u0101di.", "type": "boolean", "required": false }, "product_categories": { "description": "Kategorijas ID saraksts, uz kuriem kupons attiecas.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Kategorijas ID saraksts, uz kuriem kupons neattiecas.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "default": false, "description": "Ja ir taisn\u012bba, \u0161is kupons netiks piem\u0113rots prec\u0113m, kur\u0101m ir akcijas cenas.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minim\u0101lais pas\u016bt\u012bjuma apjoms, kam j\u0101b\u016bt groz\u0101, pirms tiek piem\u0113rots kupons.", "type": "string", "required": false }, "maximum_amount": { "description": "Izmantojot kuponu, ir at\u013cauts maksim\u0101lais pas\u016bt\u012bjuma apjoms.", "type": "string", "required": false }, "email_restrictions": { "description": "To e-pasta adre\u0161u saraksts, kuri var izmantot \u0161o kuponu.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Limit results to coupons with codes matching a given string.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "code": { "description": "Ierobe\u017eots rezult\u0101ts, kas noteikts resursiem ar konkr\u0113tu kodu.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "code": { "description": "Atlaides kods.", "type": "string", "required": true }, "amount": { "description": "Atlai\u017eu summa. Vienm\u0113r j\u0101b\u016bt skaitliskam skaitlim, pat ja tiek iestat\u012bts procents.", "type": "string", "required": false }, "status": { "description": "The status of the coupon. Should always be draft, published, or pending review", "type": "string", "required": false }, "discount_type": { "default": "fixed_cart", "description": "Nosaka atlaides veidu, kas tiks piem\u0113rota.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "description": { "description": "Kupona apraksts.", "type": "string", "required": false }, "date_expires": { "description": "Datums, kur\u0101 kupons beigsies, p\u0113c vietnes laika joslas.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "Kupona der\u012bguma termi\u0146\u0161 k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "individual_use": { "default": false, "description": "Ja ir taisn\u012bba, kuponu var izmantot tikai individu\u0101li. Citi piem\u0113rotie kuponi tiks no\u0146emti no groza.", "type": "boolean", "required": false }, "product_ids": { "description": "To produktu ID, uz kuriem var izmantot kuponu.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "To produktu ID, uz kuriem nevar izmantot kuponu.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Cik reizes kuponu var kop\u012bgi izmantot.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Cik reizes kupons var tikt izmantots katram klientam.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Maksim\u0101lais pre\u010du skaits groz\u0101, uz kuru var piem\u0113rot kuponu.", "type": "integer", "required": false }, "free_shipping": { "default": false, "description": "Ja ir taisn\u012bba un ja bezmaksas pieg\u0101des metodei ir nepiecie\u0161ams kupons, \u0161is kupons nodro\u0161in\u0101s bezmaksas pieg\u0101di.", "type": "boolean", "required": false }, "product_categories": { "description": "Kategorijas ID saraksts, uz kuriem kupons attiecas.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Kategorijas ID saraksts, uz kuriem kupons neattiecas.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "default": false, "description": "Ja ir taisn\u012bba, \u0161is kupons netiks piem\u0113rots prec\u0113m, kur\u0101m ir akcijas cenas.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minim\u0101lais pas\u016bt\u012bjuma apjoms, kam j\u0101b\u016bt groz\u0101, pirms tiek piem\u0113rots kupons.", "type": "string", "required": false }, "maximum_amount": { "description": "Izmantojot kuponu, ir at\u013cauts maksim\u0101lais pas\u016bt\u012bjuma apjoms.", "type": "string", "required": false }, "email_restrictions": { "description": "To e-pasta adre\u0161u saraksts, kuri var izmantot \u0161o kuponu.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "code": { "description": "Atlaides kods.", "type": "string", "required": false }, "amount": { "description": "Atlai\u017eu summa. Vienm\u0113r j\u0101b\u016bt skaitliskam skaitlim, pat ja tiek iestat\u012bts procents.", "type": "string", "required": false }, "status": { "description": "The status of the coupon. Should always be draft, published, or pending review", "type": "string", "required": false }, "discount_type": { "description": "Nosaka atlaides veidu, kas tiks piem\u0113rota.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "description": { "description": "Kupona apraksts.", "type": "string", "required": false }, "date_expires": { "description": "Datums, kur\u0101 kupons beigsies, p\u0113c vietnes laika joslas.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "Kupona der\u012bguma termi\u0146\u0161 k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "Ja ir taisn\u012bba, kuponu var izmantot tikai individu\u0101li. Citi piem\u0113rotie kuponi tiks no\u0146emti no groza.", "type": "boolean", "required": false }, "product_ids": { "description": "To produktu ID, uz kuriem var izmantot kuponu.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "To produktu ID, uz kuriem nevar izmantot kuponu.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Cik reizes kuponu var kop\u012bgi izmantot.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Cik reizes kupons var tikt izmantots katram klientam.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Maksim\u0101lais pre\u010du skaits groz\u0101, uz kuru var piem\u0113rot kuponu.", "type": "integer", "required": false }, "free_shipping": { "description": "Ja ir taisn\u012bba un ja bezmaksas pieg\u0101des metodei ir nepiecie\u0161ams kupons, \u0161is kupons nodro\u0161in\u0101s bezmaksas pieg\u0101di.", "type": "boolean", "required": false }, "product_categories": { "description": "Kategorijas ID saraksts, uz kuriem kupons attiecas.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Kategorijas ID saraksts, uz kuriem kupons neattiecas.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "Ja ir taisn\u012bba, \u0161is kupons netiks piem\u0113rots prec\u0113m, kur\u0101m ir akcijas cenas.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minim\u0101lais pas\u016bt\u012bjuma apjoms, kam j\u0101b\u016bt groz\u0101, pirms tiek piem\u0113rots kupons.", "type": "string", "required": false }, "maximum_amount": { "description": "Izmantojot kuponu, ir at\u013cauts maksim\u0101lais pas\u016bt\u012bjuma apjoms.", "type": "string", "required": false }, "email_restrictions": { "description": "To e-pasta adre\u0161u saraksts, kuri var izmantot \u0161o kuponu.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Vai apiet atkritumus un uzspiest dz\u0113\u0161anu.", "required": false } } }, { "methods": [ "GET" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "code": { "description": "Atlaides kods.", "type": "string", "required": false }, "amount": { "description": "Atlai\u017eu summa. Vienm\u0113r j\u0101b\u016bt skaitliskam skaitlim, pat ja tiek iestat\u012bts procents.", "type": "string", "required": false }, "status": { "description": "The status of the coupon. Should always be draft, published, or pending review", "type": "string", "required": false }, "discount_type": { "description": "Nosaka atlaides veidu, kas tiks piem\u0113rota.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "description": { "description": "Kupona apraksts.", "type": "string", "required": false }, "date_expires": { "description": "Datums, kur\u0101 kupons beigsies, p\u0113c vietnes laika joslas.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "Kupona der\u012bguma termi\u0146\u0161 k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "Ja ir taisn\u012bba, kuponu var izmantot tikai individu\u0101li. Citi piem\u0113rotie kuponi tiks no\u0146emti no groza.", "type": "boolean", "required": false }, "product_ids": { "description": "To produktu ID, uz kuriem var izmantot kuponu.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "To produktu ID, uz kuriem nevar izmantot kuponu.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Cik reizes kuponu var kop\u012bgi izmantot.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Cik reizes kupons var tikt izmantots katram klientam.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Maksim\u0101lais pre\u010du skaits groz\u0101, uz kuru var piem\u0113rot kuponu.", "type": "integer", "required": false }, "free_shipping": { "description": "Ja ir taisn\u012bba un ja bezmaksas pieg\u0101des metodei ir nepiecie\u0161ams kupons, \u0161is kupons nodro\u0161in\u0101s bezmaksas pieg\u0101di.", "type": "boolean", "required": false }, "product_categories": { "description": "Kategorijas ID saraksts, uz kuriem kupons attiecas.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Kategorijas ID saraksts, uz kuriem kupons neattiecas.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "Ja ir taisn\u012bba, \u0161is kupons netiks piem\u0113rots prec\u0113m, kur\u0101m ir akcijas cenas.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minim\u0101lais pas\u016bt\u012bjuma apjoms, kam j\u0101b\u016bt groz\u0101, pirms tiek piem\u0113rots kupons.", "type": "string", "required": false }, "maximum_amount": { "description": "Izmantojot kuponu, ir at\u013cauts maksim\u0101lais pas\u016bt\u012bjuma apjoms.", "type": "string", "required": false }, "email_restrictions": { "description": "To e-pasta adre\u0161u saraksts, kuri var izmantot \u0161o kuponu.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Vai apiet atkritumus un uzspiest dz\u0113\u0161anu.", "required": false } } } ] }, "\/wc-analytics\/coupons\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "code": { "description": "Atlaides kods.", "type": "string", "required": false }, "amount": { "description": "Atlai\u017eu summa. Vienm\u0113r j\u0101b\u016bt skaitliskam skaitlim, pat ja tiek iestat\u012bts procents.", "type": "string", "required": false }, "status": { "description": "The status of the coupon. Should always be draft, published, or pending review", "type": "string", "required": false }, "discount_type": { "description": "Nosaka atlaides veidu, kas tiks piem\u0113rota.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "description": { "description": "Kupona apraksts.", "type": "string", "required": false }, "date_expires": { "description": "Datums, kur\u0101 kupons beigsies, p\u0113c vietnes laika joslas.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "Kupona der\u012bguma termi\u0146\u0161 k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "Ja ir taisn\u012bba, kuponu var izmantot tikai individu\u0101li. Citi piem\u0113rotie kuponi tiks no\u0146emti no groza.", "type": "boolean", "required": false }, "product_ids": { "description": "To produktu ID, uz kuriem var izmantot kuponu.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "To produktu ID, uz kuriem nevar izmantot kuponu.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Cik reizes kuponu var kop\u012bgi izmantot.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Cik reizes kupons var tikt izmantots katram klientam.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Maksim\u0101lais pre\u010du skaits groz\u0101, uz kuru var piem\u0113rot kuponu.", "type": "integer", "required": false }, "free_shipping": { "description": "Ja ir taisn\u012bba un ja bezmaksas pieg\u0101des metodei ir nepiecie\u0161ams kupons, \u0161is kupons nodro\u0161in\u0101s bezmaksas pieg\u0101di.", "type": "boolean", "required": false }, "product_categories": { "description": "Kategorijas ID saraksts, uz kuriem kupons attiecas.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Kategorijas ID saraksts, uz kuriem kupons neattiecas.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "Ja ir taisn\u012bba, \u0161is kupons netiks piem\u0113rots prec\u0113m, kur\u0101m ir akcijas cenas.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minim\u0101lais pas\u016bt\u012bjuma apjoms, kam j\u0101b\u016bt groz\u0101, pirms tiek piem\u0113rots kupons.", "type": "string", "required": false }, "maximum_amount": { "description": "Izmantojot kuponu, ir at\u013cauts maksim\u0101lais pas\u016bt\u012bjuma apjoms.", "type": "string", "required": false }, "email_restrictions": { "description": "To e-pasta adre\u0161u saraksts, kuri var izmantot \u0161o kuponu.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "code": { "description": "Atlaides kods.", "type": "string", "required": false }, "amount": { "description": "Atlai\u017eu summa. Vienm\u0113r j\u0101b\u016bt skaitliskam skaitlim, pat ja tiek iestat\u012bts procents.", "type": "string", "required": false }, "status": { "description": "The status of the coupon. Should always be draft, published, or pending review", "type": "string", "required": false }, "discount_type": { "description": "Nosaka atlaides veidu, kas tiks piem\u0113rota.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "description": { "description": "Kupona apraksts.", "type": "string", "required": false }, "date_expires": { "description": "Datums, kur\u0101 kupons beigsies, p\u0113c vietnes laika joslas.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "Kupona der\u012bguma termi\u0146\u0161 k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "Ja ir taisn\u012bba, kuponu var izmantot tikai individu\u0101li. Citi piem\u0113rotie kuponi tiks no\u0146emti no groza.", "type": "boolean", "required": false }, "product_ids": { "description": "To produktu ID, uz kuriem var izmantot kuponu.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "To produktu ID, uz kuriem nevar izmantot kuponu.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Cik reizes kuponu var kop\u012bgi izmantot.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Cik reizes kupons var tikt izmantots katram klientam.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Maksim\u0101lais pre\u010du skaits groz\u0101, uz kuru var piem\u0113rot kuponu.", "type": "integer", "required": false }, "free_shipping": { "description": "Ja ir taisn\u012bba un ja bezmaksas pieg\u0101des metodei ir nepiecie\u0161ams kupons, \u0161is kupons nodro\u0161in\u0101s bezmaksas pieg\u0101di.", "type": "boolean", "required": false }, "product_categories": { "description": "Kategorijas ID saraksts, uz kuriem kupons attiecas.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Kategorijas ID saraksts, uz kuriem kupons neattiecas.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "Ja ir taisn\u012bba, \u0161is kupons netiks piem\u0113rots prec\u0113m, kur\u0101m ir akcijas cenas.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minim\u0101lais pas\u016bt\u012bjuma apjoms, kam j\u0101b\u016bt groz\u0101, pirms tiek piem\u0113rots kupons.", "type": "string", "required": false }, "maximum_amount": { "description": "Izmantojot kuponu, ir at\u013cauts maksim\u0101lais pas\u016bt\u012bjuma apjoms.", "type": "string", "required": false }, "email_restrictions": { "description": "To e-pasta adre\u0161u saraksts, kuri var izmantot \u0161o kuponu.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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 country code.", "type": "string", "required": false } } }, { "methods": [ "GET" ], "args": { "location": { "description": "ISO3166 alpha-2 country code.", "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:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-analytics\/data\/download-ips" } ] } }, "\/wc-analytics\/orders": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eojiet rezult\u0101tus tiem, kas atbilst virknei.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "parent": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz noteiktu vec\u0101ku ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz visiem vienumiem, iz\u0146emot konkr\u0113ta vec\u0101ka ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "status": { "default": [ "any" ], "description": "Limit result set to orders which have specific statuses.", "type": "array", "items": { "type": "string", "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ] }, "required": false }, "customer": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts pas\u016bt\u012bjumiem, kuriem pie\u0161\u0137irts konkr\u0113ts klients.", "type": "integer", "required": false }, "product": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts pas\u016bt\u012bjumiem, kuriem pie\u0161\u0137irts konkr\u0113ts produkts.", "type": "integer", "required": false }, "dp": { "default": 2, "description": "Decim\u0101lda\u013cu skaits ko izmantos katr\u0101 resurs\u0101.", "type": "integer", "required": false }, "order_item_display_meta": { "default": false, "description": "Only show meta which is meant to be displayed for an order.", "type": "boolean", "required": false }, "include_meta": { "default": [], "description": "Limit meta_data to specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Ensure meta_data excludes specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "created_via": { "description": "Limit result set to orders created via specific sources (e.g. checkout, admin).", "type": "array", "items": { "type": "string" }, "required": false }, "number": { "description": "Limit result set to orders matching part of an order number.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "parent_id": { "description": "Vec\u0101ku pas\u016bt\u012bjuma ID.", "type": "integer", "required": false }, "created_via": { "description": "R\u0101da, kur tika izveidots pas\u016bt\u012bjums.", "type": "string", "required": false }, "status": { "default": "pending", "description": "Pas\u016bt\u012bjuma statuss.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "default": "CNY", "description": "Val\u016btas k\u0101rtotas p\u0113c ISO form\u0101ta.", "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": "Lietot\u0101ja ID, kuram pieder pas\u016bt\u012bjums. 0 priek\u0161 viesiem.", "type": "integer", "required": false }, "customer_note": { "description": "Piez\u012bme, kuru klients atst\u0101j izrakst\u012b\u0161anas laik\u0101.", "type": "string", "required": false }, "billing": { "description": "Nor\u0113\u0137inu adrese.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adrese 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts kods ISO 3166-1 alpha-2 form\u0101t\u0101.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "E-pasta adrese.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "T\u0101lru\u0146a numurs.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Pieg\u0101des adrese.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adrese 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts kods ISO 3166-1 alpha-2 form\u0101t\u0101.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "Maks\u0101juma metodes ID.", "type": "string", "required": false }, "payment_method_title": { "description": "Maks\u0101jumu metodes nosaukums.", "type": "string", "required": false }, "transaction_id": { "description": "Unik\u0101ls dar\u012bjuma ID.", "type": "string", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Rindas vien\u012bbu dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Produkta nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Parent product name if the product is a variation.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "Produkta ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Vari\u0101cijas ID, ja piem\u0113rojams.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Pas\u016bt\u012btais daudzums.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Produkta nodok\u013cu klase.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Rindu starpsumma (pirms atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Rindu starpsumma (pirms atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Nodok\u013cu starpsumma.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Meta dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Meta key for UI display.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Meta value for UI display.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Produkta SKU:", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "global_unique_id": { "description": "GTIN, UPC, EAN or ISBN.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Produkta cena.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Properties of the main product image.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Pieg\u0101des rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Pieg\u0101des metodes nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Pieg\u0101des veida ID", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "Shipping instance ID.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Nodevas\/maksas rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Maksas nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Maksas nodok\u013ca kategorija.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Maksas nodok\u013ca statuss.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Nodok\u013cu starpsumma.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Kupona rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Atlaides kods.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Atlaides summa.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "Atlaides kop\u0113jais nodoklis.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Discount type.", "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 dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "default": false, "description": "Nor\u0101diet, vai pas\u016bt\u012bjums ir samaks\u0101ts. Tas noteiks statusu apstr\u0101dei un samazin\u0101s kr\u0101juma daudzumu.", "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": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eojiet rezult\u0101tus tiem, kas atbilst virknei.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "parent": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz noteiktu vec\u0101ku ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz visiem vienumiem, iz\u0146emot konkr\u0113ta vec\u0101ka ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "status": { "default": [ "any" ], "description": "Limit result set to orders which have specific statuses.", "type": "array", "items": { "type": "string", "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ] }, "required": false }, "customer": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts pas\u016bt\u012bjumiem, kuriem pie\u0161\u0137irts konkr\u0113ts klients.", "type": "integer", "required": false }, "product": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts pas\u016bt\u012bjumiem, kuriem pie\u0161\u0137irts konkr\u0113ts produkts.", "type": "integer", "required": false }, "dp": { "default": 2, "description": "Decim\u0101lda\u013cu skaits ko izmantos katr\u0101 resurs\u0101.", "type": "integer", "required": false }, "order_item_display_meta": { "default": false, "description": "Only show meta which is meant to be displayed for an order.", "type": "boolean", "required": false }, "include_meta": { "default": [], "description": "Limit meta_data to specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Ensure meta_data excludes specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "created_via": { "description": "Limit result set to orders created via specific sources (e.g. checkout, admin).", "type": "array", "items": { "type": "string" }, "required": false }, "number": { "description": "Limit result set to orders matching part of an order number.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "parent_id": { "description": "Vec\u0101ku pas\u016bt\u012bjuma ID.", "type": "integer", "required": false }, "created_via": { "description": "R\u0101da, kur tika izveidots pas\u016bt\u012bjums.", "type": "string", "required": false }, "status": { "default": "pending", "description": "Pas\u016bt\u012bjuma statuss.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "default": "CNY", "description": "Val\u016btas k\u0101rtotas p\u0113c ISO form\u0101ta.", "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": "Lietot\u0101ja ID, kuram pieder pas\u016bt\u012bjums. 0 priek\u0161 viesiem.", "type": "integer", "required": false }, "customer_note": { "description": "Piez\u012bme, kuru klients atst\u0101j izrakst\u012b\u0161anas laik\u0101.", "type": "string", "required": false }, "billing": { "description": "Nor\u0113\u0137inu adrese.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adrese 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts kods ISO 3166-1 alpha-2 form\u0101t\u0101.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "E-pasta adrese.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "T\u0101lru\u0146a numurs.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Pieg\u0101des adrese.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adrese 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts kods ISO 3166-1 alpha-2 form\u0101t\u0101.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "Maks\u0101juma metodes ID.", "type": "string", "required": false }, "payment_method_title": { "description": "Maks\u0101jumu metodes nosaukums.", "type": "string", "required": false }, "transaction_id": { "description": "Unik\u0101ls dar\u012bjuma ID.", "type": "string", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Rindas vien\u012bbu dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Produkta nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Parent product name if the product is a variation.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "Produkta ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Vari\u0101cijas ID, ja piem\u0113rojams.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Pas\u016bt\u012btais daudzums.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Produkta nodok\u013cu klase.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Rindu starpsumma (pirms atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Rindu starpsumma (pirms atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Nodok\u013cu starpsumma.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Meta dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Meta key for UI display.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Meta value for UI display.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Produkta SKU:", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "global_unique_id": { "description": "GTIN, UPC, EAN or ISBN.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Produkta cena.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Properties of the main product image.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Pieg\u0101des rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Pieg\u0101des metodes nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Pieg\u0101des veida ID", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "Shipping instance ID.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Nodevas\/maksas rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Maksas nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Maksas nodok\u013ca kategorija.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Maksas nodok\u013ca statuss.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Nodok\u013cu starpsumma.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Kupona rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Atlaides kods.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Atlaides summa.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "Atlaides kop\u0113jais nodoklis.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Discount type.", "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 dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "default": false, "description": "Nor\u0101diet, vai pas\u016bt\u012bjums ir samaks\u0101ts. Tas noteiks statusu apstr\u0101dei un samazin\u0101s kr\u0101juma daudzumu.", "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:\/\/www.triumphgifts.com\/lv\/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": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "parent_id": { "description": "Vec\u0101ku pas\u016bt\u012bjuma ID.", "type": "integer", "required": false }, "created_via": { "description": "R\u0101da, kur tika izveidots pas\u016bt\u012bjums.", "type": "string", "required": false }, "status": { "description": "Pas\u016bt\u012bjuma statuss.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "description": "Val\u016btas k\u0101rtotas p\u0113c ISO form\u0101ta.", "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": "Lietot\u0101ja ID, kuram pieder pas\u016bt\u012bjums. 0 priek\u0161 viesiem.", "type": "integer", "required": false }, "customer_note": { "description": "Piez\u012bme, kuru klients atst\u0101j izrakst\u012b\u0161anas laik\u0101.", "type": "string", "required": false }, "billing": { "description": "Nor\u0113\u0137inu adrese.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adrese 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts kods ISO 3166-1 alpha-2 form\u0101t\u0101.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "E-pasta adrese.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "T\u0101lru\u0146a numurs.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Pieg\u0101des adrese.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adrese 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts kods ISO 3166-1 alpha-2 form\u0101t\u0101.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "Maks\u0101juma metodes ID.", "type": "string", "required": false }, "payment_method_title": { "description": "Maks\u0101jumu metodes nosaukums.", "type": "string", "required": false }, "transaction_id": { "description": "Unik\u0101ls dar\u012bjuma ID.", "type": "string", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Rindas vien\u012bbu dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Produkta nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Parent product name if the product is a variation.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "Produkta ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Vari\u0101cijas ID, ja piem\u0113rojams.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Pas\u016bt\u012btais daudzums.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Produkta nodok\u013cu klase.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Rindu starpsumma (pirms atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Rindu starpsumma (pirms atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Nodok\u013cu starpsumma.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Meta dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Meta key for UI display.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Meta value for UI display.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Produkta SKU:", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "global_unique_id": { "description": "GTIN, UPC, EAN or ISBN.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Produkta cena.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Properties of the main product image.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Pieg\u0101des rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Pieg\u0101des metodes nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Pieg\u0101des veida ID", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "Shipping instance ID.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Nodevas\/maksas rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Maksas nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Maksas nodok\u013ca kategorija.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Maksas nodok\u013ca statuss.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Nodok\u013cu starpsumma.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Kupona rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Atlaides kods.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Atlaides summa.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "Atlaides kop\u0113jais nodoklis.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Discount type.", "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 dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "description": "Nor\u0101diet, vai pas\u016bt\u012bjums ir samaks\u0101ts. Tas noteiks statusu apstr\u0101dei un samazin\u0101s kr\u0101juma daudzumu.", "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": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Vai apiet atkritumus un uzspiest dz\u0113\u0161anu.", "required": false } } }, { "methods": [ "GET" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "parent_id": { "description": "Vec\u0101ku pas\u016bt\u012bjuma ID.", "type": "integer", "required": false }, "created_via": { "description": "R\u0101da, kur tika izveidots pas\u016bt\u012bjums.", "type": "string", "required": false }, "status": { "description": "Pas\u016bt\u012bjuma statuss.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "description": "Val\u016btas k\u0101rtotas p\u0113c ISO form\u0101ta.", "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": "Lietot\u0101ja ID, kuram pieder pas\u016bt\u012bjums. 0 priek\u0161 viesiem.", "type": "integer", "required": false }, "customer_note": { "description": "Piez\u012bme, kuru klients atst\u0101j izrakst\u012b\u0161anas laik\u0101.", "type": "string", "required": false }, "billing": { "description": "Nor\u0113\u0137inu adrese.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adrese 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts kods ISO 3166-1 alpha-2 form\u0101t\u0101.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "E-pasta adrese.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "T\u0101lru\u0146a numurs.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Pieg\u0101des adrese.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adrese 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts kods ISO 3166-1 alpha-2 form\u0101t\u0101.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "Maks\u0101juma metodes ID.", "type": "string", "required": false }, "payment_method_title": { "description": "Maks\u0101jumu metodes nosaukums.", "type": "string", "required": false }, "transaction_id": { "description": "Unik\u0101ls dar\u012bjuma ID.", "type": "string", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Rindas vien\u012bbu dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Produkta nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Parent product name if the product is a variation.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "Produkta ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Vari\u0101cijas ID, ja piem\u0113rojams.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Pas\u016bt\u012btais daudzums.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Produkta nodok\u013cu klase.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Rindu starpsumma (pirms atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Rindu starpsumma (pirms atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Nodok\u013cu starpsumma.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Meta dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Meta key for UI display.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Meta value for UI display.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Produkta SKU:", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "global_unique_id": { "description": "GTIN, UPC, EAN or ISBN.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Produkta cena.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Properties of the main product image.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Pieg\u0101des rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Pieg\u0101des metodes nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Pieg\u0101des veida ID", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "Shipping instance ID.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Nodevas\/maksas rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Maksas nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Maksas nodok\u013ca kategorija.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Maksas nodok\u013ca statuss.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Nodok\u013cu starpsumma.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Kupona rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Atlaides kods.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Atlaides summa.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "Atlaides kop\u0113jais nodoklis.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Discount type.", "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 dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "description": "Nor\u0101diet, vai pas\u016bt\u012bjums ir samaks\u0101ts. Tas noteiks statusu apstr\u0101dei un samazin\u0101s kr\u0101juma daudzumu.", "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": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Vai apiet atkritumus un uzspiest dz\u0113\u0161anu.", "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": "Vec\u0101ku pas\u016bt\u012bjuma ID.", "type": "integer", "required": false }, "created_via": { "description": "R\u0101da, kur tika izveidots pas\u016bt\u012bjums.", "type": "string", "required": false }, "status": { "description": "Pas\u016bt\u012bjuma statuss.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "description": "Val\u016btas k\u0101rtotas p\u0113c ISO form\u0101ta.", "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": "Lietot\u0101ja ID, kuram pieder pas\u016bt\u012bjums. 0 priek\u0161 viesiem.", "type": "integer", "required": false }, "customer_note": { "description": "Piez\u012bme, kuru klients atst\u0101j izrakst\u012b\u0161anas laik\u0101.", "type": "string", "required": false }, "billing": { "description": "Nor\u0113\u0137inu adrese.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adrese 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts kods ISO 3166-1 alpha-2 form\u0101t\u0101.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "E-pasta adrese.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "T\u0101lru\u0146a numurs.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Pieg\u0101des adrese.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adrese 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts kods ISO 3166-1 alpha-2 form\u0101t\u0101.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "Maks\u0101juma metodes ID.", "type": "string", "required": false }, "payment_method_title": { "description": "Maks\u0101jumu metodes nosaukums.", "type": "string", "required": false }, "transaction_id": { "description": "Unik\u0101ls dar\u012bjuma ID.", "type": "string", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Rindas vien\u012bbu dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Produkta nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Parent product name if the product is a variation.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "Produkta ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Vari\u0101cijas ID, ja piem\u0113rojams.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Pas\u016bt\u012btais daudzums.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Produkta nodok\u013cu klase.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Rindu starpsumma (pirms atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Rindu starpsumma (pirms atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Nodok\u013cu starpsumma.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Meta dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Meta key for UI display.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Meta value for UI display.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Produkta SKU:", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "global_unique_id": { "description": "GTIN, UPC, EAN or ISBN.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Produkta cena.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Properties of the main product image.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Pieg\u0101des rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Pieg\u0101des metodes nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Pieg\u0101des veida ID", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "Shipping instance ID.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Nodevas\/maksas rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Maksas nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Maksas nodok\u013ca kategorija.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Maksas nodok\u013ca statuss.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Nodok\u013cu starpsumma.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Kupona rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Atlaides kods.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Atlaides summa.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "Atlaides kop\u0113jais nodoklis.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Discount type.", "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 dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "description": "Nor\u0101diet, vai pas\u016bt\u012bjums ir samaks\u0101ts. Tas noteiks statusu apstr\u0101dei un samazin\u0101s kr\u0101juma daudzumu.", "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": "Vec\u0101ku pas\u016bt\u012bjuma ID.", "type": "integer", "required": false }, "created_via": { "description": "R\u0101da, kur tika izveidots pas\u016bt\u012bjums.", "type": "string", "required": false }, "status": { "description": "Pas\u016bt\u012bjuma statuss.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "description": "Val\u016btas k\u0101rtotas p\u0113c ISO form\u0101ta.", "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": "Lietot\u0101ja ID, kuram pieder pas\u016bt\u012bjums. 0 priek\u0161 viesiem.", "type": "integer", "required": false }, "customer_note": { "description": "Piez\u012bme, kuru klients atst\u0101j izrakst\u012b\u0161anas laik\u0101.", "type": "string", "required": false }, "billing": { "description": "Nor\u0113\u0137inu adrese.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adrese 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts kods ISO 3166-1 alpha-2 form\u0101t\u0101.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "E-pasta adrese.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "T\u0101lru\u0146a numurs.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Pieg\u0101des adrese.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adrese 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts kods ISO 3166-1 alpha-2 form\u0101t\u0101.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "Maks\u0101juma metodes ID.", "type": "string", "required": false }, "payment_method_title": { "description": "Maks\u0101jumu metodes nosaukums.", "type": "string", "required": false }, "transaction_id": { "description": "Unik\u0101ls dar\u012bjuma ID.", "type": "string", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Rindas vien\u012bbu dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Produkta nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Parent product name if the product is a variation.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "Produkta ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Vari\u0101cijas ID, ja piem\u0113rojams.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Pas\u016bt\u012btais daudzums.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Produkta nodok\u013cu klase.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Rindu starpsumma (pirms atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Rindu starpsumma (pirms atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Nodok\u013cu starpsumma.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Meta dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Meta key for UI display.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Meta value for UI display.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Produkta SKU:", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "global_unique_id": { "description": "GTIN, UPC, EAN or ISBN.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Produkta cena.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Properties of the main product image.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Pieg\u0101des rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Pieg\u0101des metodes nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Pieg\u0101des veida ID", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "Shipping instance ID.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Nodevas\/maksas rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Maksas nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Maksas nodok\u013ca kategorija.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Maksas nodok\u013ca statuss.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Nodok\u013cu starpsumma.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Kupona rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Atlaides kods.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Atlaides summa.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "Atlaides kop\u0113jais nodoklis.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Discount type.", "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 dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "description": "Nor\u0101diet, vai pas\u016bt\u012bjums ir samaks\u0101ts. Tas noteiks statusu apstr\u0101dei un samazin\u0101s kr\u0101juma daudzumu.", "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:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-analytics\/orders\/batch" } ] } }, "\/wc-analytics\/products": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Search by similar product name or sku.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "popularity", "rating", "post__in", "price", "sales", "menu_order", "random", "popularity", "rating", "menu_order", "price", "popularity", "rating" ], "required": false }, "parent": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz noteiktu vec\u0101ku ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz visiem vienumiem, iz\u0146emot konkr\u0113ta vec\u0101ka ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "brand": { "description": "Limit result set to products assigned a specific brand ID.", "type": "string", "required": false }, "slug": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem ar \u012bpa\u0161u taku.", "type": "string", "required": false }, "status": { "default": "any", "description": "Robe\u017eas rezult\u0101ts ir noteikts produktiem, kam pie\u0161\u0137irts \u012bpa\u0161s statuss.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "Robe\u017eas rezult\u0101ts noteikts produktiem, kuriem pie\u0161\u0137irts \u012bpa\u0161s veids.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "sku": { "description": "Robe\u017ea rezult\u0101ts tiek noteikts produktiem ar konkr\u0113tu SKU. Izmantojiet komatus, lai no\u0161\u0137irtu.", "type": "string", "required": false }, "featured": { "description": "Ierobe\u017eotais rezult\u0101ts, kas iestat\u012bts uz pied\u0101v\u0101tajiem produktiem.", "type": "boolean", "required": false }, "category": { "description": "Robe\u017eas rezult\u0101ts ir noteikts produktiem, kam pie\u0161\u0137irts \u012bpa\u0161a kategorijas ID.", "type": "string", "required": false }, "tag": { "description": "Robe\u017eas rezult\u0101ts ir noteikts produktiem, kuriem pie\u0161\u0137irts \u012bpa\u0161s birkas ID.", "type": "string", "required": false }, "shipping_class": { "description": "Ierobe\u017eots rezult\u0101ts, kas noteikts produktiem, kuriem pie\u0161\u0137irts konkr\u0113ts pieg\u0101des klases ID.", "type": "string", "required": false }, "attribute": { "description": "Limit result set to products with a specific attribute. Use the taxonomy name\/attribute slug.", "type": "string", "required": false }, "attribute_term": { "description": "Ierobe\u017eojo\u0161ais rezult\u0101ts ir noteikts produktiem ar \u012bpa\u0161u atrib\u016btu terminu ID (nepiecie\u0161ams pie\u0161\u0137irts atrib\u016bts).", "type": "string", "required": false }, "on_sale": { "description": "Ierobe\u017eots rezult\u0101ts p\u0101rdo\u0161anas produktiem.", "type": "boolean", "required": false }, "min_price": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem, kuru pamat\u0101 ir minim\u0101l\u0101 cena.", "type": "string", "required": false }, "max_price": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem, kuru pamat\u0101 ir maksim\u0101l\u0101 cena.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Limit meta_data to specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Ensure meta_data excludes specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Rezult\u0101tu kopas ierobe\u017eo\u0161ana uz produktiem ar nor\u0101d\u012bto kr\u0101jumu statusu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "search_sku": { "description": "Limit results to those with a SKU that partial matches a string. This argument takes precedence over 'sku'.", "type": "string", "required": false }, "search_name_or_sku": { "description": "Limit results to those with a name or SKU that partial matches a string. This argument takes precedence over 'search', 'sku' and 'search_sku'.", "type": "string", "required": false }, "search_fields": { "description": "Limit search to specific fields when used with search parameter. Available fields: name, sku, global_unique_id, description, short_description. This argument takes precedence over all other search parameters.", "type": "array", "items": { "type": "string", "enum": [ "name", "global_unique_id", "description", "short_description", "sku" ] }, "default": [], "required": false }, "include_status": { "description": "Limit result set to products with any of the statuses.", "type": "array", "items": { "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "exclude_status": { "description": "Exclude products with any of the statuses from result set.", "type": "array", "items": { "type": "string", "enum": [ "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "include_types": { "description": "Limit result set to products with any of the types.", "type": "array", "items": { "type": "string", "enum": [ "simple", "grouped", "external", "variable" ] }, "required": false }, "exclude_types": { "description": "Exclude products with any of the types from result set.", "type": "array", "items": { "type": "string", "enum": [ "simple", "grouped", "external", "variable" ] }, "required": false }, "downloadable": { "description": "Limit result set to downloadable products.", "type": "boolean", "required": false }, "virtual": { "description": "Limit result set to virtual products.", "type": "boolean", "required": false }, "low_in_stock": { "description": "Limit result set to products that are low or out of stock. (Deprecated)", "type": "boolean", "default": false, "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Produkta nosaukums.", "type": "string", "required": false }, "slug": { "description": "Produkta taka.", "type": "string", "required": false }, "date_created": { "description": "Datums, kad produkts tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Produkta izveides datums k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "type": { "default": "simple", "description": "Produkta tips.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "default": "publish", "description": "Produkta statuss (pasta statuss).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "default": false, "description": "Pied\u0101v\u0101tais produkts.", "type": "boolean", "required": false }, "catalog_visibility": { "default": "visible", "description": "Kataloga redzam\u012bba.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Produkta apraksts.", "type": "string", "required": false }, "short_description": { "description": "Produkta \u012bss apraksts.", "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": "Produkta cena.", "type": "string", "required": false }, "sale_price": { "description": "Produkta akcijas cena.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Akciju s\u0101kuma datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "S\u0101kuma datums izp\u0101rdo\u0161anas cen\u0101m, k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "virtual": { "default": false, "description": "Ja produkts ir virtu\u0101ls.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Ja produkts ir lejupiel\u0101d\u0113jams.", "type": "boolean", "required": false }, "downloads": { "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer", "required": false }, "external_url": { "description": "Produkta \u0101r\u0113jais URL. Tikai \u0101r\u0113jiem produktiem.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Produkta \u0101r\u0113jais pogas teksts. Tikai \u0101r\u0113jiem produktiem.", "type": "string", "required": false }, "tax_status": { "default": "taxable", "description": "Nodok\u013cu status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Nodok\u013cu likme.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Kr\u0101jumu p\u0101rvald\u012bba produktu l\u012bmen\u012b.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Daudzums noliktav\u0101.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the product.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "default": false, "description": "At\u013caut vienu preci nopirkt vien\u0101 pas\u016bt\u012bjum\u0101.", "type": "boolean", "required": false }, "weight": { "description": "Produkta svars (kg).", "type": "string", "required": false }, "dimensions": { "description": "Produkta izm\u0113ri.", "type": "object", "properties": { "length": { "description": "Produkta garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Produkta platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Produkta augstums (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Pieg\u0101des klases taka.", "type": "string", "required": false }, "reviews_allowed": { "default": true, "description": "At\u013caut atsauksmes", "type": "boolean", "required": false }, "post_password": { "description": "Post password.", "type": "string", "required": false }, "upsell_ids": { "description": "Saraksts ar piep\u0101rdo\u0161anas produktu ID.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Saraksts ar piep\u0101rdo\u0161anas produktu ID.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "Produkta vec\u0101ku ID.", "type": "integer", "required": false }, "purchase_note": { "description": "Izv\u0113les piez\u012bme, lai nos\u016bt\u012btu klientu p\u0113c pirkuma.", "type": "string", "required": false }, "categories": { "description": "Kategoriju saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kategorijas ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Kategorijas nosaukums.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Kategorijas kods.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "brands": { "description": "List of brands.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Brand ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Brand name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Brand slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Birku sarakst.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Birkas ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Birkas nosaukums", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Birkas taka.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Att\u0113lu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Atrib\u016btu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Atrib\u016bta poz\u012bcija", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Nor\u0101diet, vai produkta lap\u0101 ciln\u0113 \"Papildinform\u0101cija\" ir redzams atrib\u016bts.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Noteikt, vai atrib\u016btu var izmantot k\u0101 vari\u0101ciju.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Atrib\u016bta pieejamo terminu nosaukumi.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Noklus\u0113juma variantu atrib\u016bti.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto pas\u016bt\u012bjuma \u0161\u0137iro\u0161anai.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Search by similar product name or sku.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "popularity", "rating", "post__in", "price", "sales", "menu_order", "random", "popularity", "rating", "menu_order", "price", "popularity", "rating" ], "required": false }, "parent": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz noteiktu vec\u0101ku ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz visiem vienumiem, iz\u0146emot konkr\u0113ta vec\u0101ka ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "brand": { "description": "Limit result set to products assigned a specific brand ID.", "type": "string", "required": false }, "slug": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem ar \u012bpa\u0161u taku.", "type": "string", "required": false }, "status": { "default": "any", "description": "Robe\u017eas rezult\u0101ts ir noteikts produktiem, kam pie\u0161\u0137irts \u012bpa\u0161s statuss.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "Robe\u017eas rezult\u0101ts noteikts produktiem, kuriem pie\u0161\u0137irts \u012bpa\u0161s veids.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "sku": { "description": "Robe\u017ea rezult\u0101ts tiek noteikts produktiem ar konkr\u0113tu SKU. Izmantojiet komatus, lai no\u0161\u0137irtu.", "type": "string", "required": false }, "featured": { "description": "Ierobe\u017eotais rezult\u0101ts, kas iestat\u012bts uz pied\u0101v\u0101tajiem produktiem.", "type": "boolean", "required": false }, "category": { "description": "Robe\u017eas rezult\u0101ts ir noteikts produktiem, kam pie\u0161\u0137irts \u012bpa\u0161a kategorijas ID.", "type": "string", "required": false }, "tag": { "description": "Robe\u017eas rezult\u0101ts ir noteikts produktiem, kuriem pie\u0161\u0137irts \u012bpa\u0161s birkas ID.", "type": "string", "required": false }, "shipping_class": { "description": "Ierobe\u017eots rezult\u0101ts, kas noteikts produktiem, kuriem pie\u0161\u0137irts konkr\u0113ts pieg\u0101des klases ID.", "type": "string", "required": false }, "attribute": { "description": "Limit result set to products with a specific attribute. Use the taxonomy name\/attribute slug.", "type": "string", "required": false }, "attribute_term": { "description": "Ierobe\u017eojo\u0161ais rezult\u0101ts ir noteikts produktiem ar \u012bpa\u0161u atrib\u016btu terminu ID (nepiecie\u0161ams pie\u0161\u0137irts atrib\u016bts).", "type": "string", "required": false }, "on_sale": { "description": "Ierobe\u017eots rezult\u0101ts p\u0101rdo\u0161anas produktiem.", "type": "boolean", "required": false }, "min_price": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem, kuru pamat\u0101 ir minim\u0101l\u0101 cena.", "type": "string", "required": false }, "max_price": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem, kuru pamat\u0101 ir maksim\u0101l\u0101 cena.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Limit meta_data to specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Ensure meta_data excludes specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Rezult\u0101tu kopas ierobe\u017eo\u0161ana uz produktiem ar nor\u0101d\u012bto kr\u0101jumu statusu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "search_sku": { "description": "Limit results to those with a SKU that partial matches a string. This argument takes precedence over 'sku'.", "type": "string", "required": false }, "search_name_or_sku": { "description": "Limit results to those with a name or SKU that partial matches a string. This argument takes precedence over 'search', 'sku' and 'search_sku'.", "type": "string", "required": false }, "search_fields": { "description": "Limit search to specific fields when used with search parameter. Available fields: name, sku, global_unique_id, description, short_description. This argument takes precedence over all other search parameters.", "type": "array", "items": { "type": "string", "enum": [ "name", "global_unique_id", "description", "short_description", "sku" ] }, "default": [], "required": false }, "include_status": { "description": "Limit result set to products with any of the statuses.", "type": "array", "items": { "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "exclude_status": { "description": "Exclude products with any of the statuses from result set.", "type": "array", "items": { "type": "string", "enum": [ "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "include_types": { "description": "Limit result set to products with any of the types.", "type": "array", "items": { "type": "string", "enum": [ "simple", "grouped", "external", "variable" ] }, "required": false }, "exclude_types": { "description": "Exclude products with any of the types from result set.", "type": "array", "items": { "type": "string", "enum": [ "simple", "grouped", "external", "variable" ] }, "required": false }, "downloadable": { "description": "Limit result set to downloadable products.", "type": "boolean", "required": false }, "virtual": { "description": "Limit result set to virtual products.", "type": "boolean", "required": false }, "low_in_stock": { "description": "Limit result set to products that are low or out of stock. (Deprecated)", "type": "boolean", "default": false, "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Produkta nosaukums.", "type": "string", "required": false }, "slug": { "description": "Produkta taka.", "type": "string", "required": false }, "date_created": { "description": "Datums, kad produkts tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Produkta izveides datums k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "type": { "default": "simple", "description": "Produkta tips.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "default": "publish", "description": "Produkta statuss (pasta statuss).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "default": false, "description": "Pied\u0101v\u0101tais produkts.", "type": "boolean", "required": false }, "catalog_visibility": { "default": "visible", "description": "Kataloga redzam\u012bba.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Produkta apraksts.", "type": "string", "required": false }, "short_description": { "description": "Produkta \u012bss apraksts.", "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": "Produkta cena.", "type": "string", "required": false }, "sale_price": { "description": "Produkta akcijas cena.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Akciju s\u0101kuma datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "S\u0101kuma datums izp\u0101rdo\u0161anas cen\u0101m, k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "virtual": { "default": false, "description": "Ja produkts ir virtu\u0101ls.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Ja produkts ir lejupiel\u0101d\u0113jams.", "type": "boolean", "required": false }, "downloads": { "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer", "required": false }, "external_url": { "description": "Produkta \u0101r\u0113jais URL. Tikai \u0101r\u0113jiem produktiem.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Produkta \u0101r\u0113jais pogas teksts. Tikai \u0101r\u0113jiem produktiem.", "type": "string", "required": false }, "tax_status": { "default": "taxable", "description": "Nodok\u013cu status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Nodok\u013cu likme.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Kr\u0101jumu p\u0101rvald\u012bba produktu l\u012bmen\u012b.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Daudzums noliktav\u0101.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the product.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "default": false, "description": "At\u013caut vienu preci nopirkt vien\u0101 pas\u016bt\u012bjum\u0101.", "type": "boolean", "required": false }, "weight": { "description": "Produkta svars (kg).", "type": "string", "required": false }, "dimensions": { "description": "Produkta izm\u0113ri.", "type": "object", "properties": { "length": { "description": "Produkta garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Produkta platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Produkta augstums (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Pieg\u0101des klases taka.", "type": "string", "required": false }, "reviews_allowed": { "default": true, "description": "At\u013caut atsauksmes", "type": "boolean", "required": false }, "post_password": { "description": "Post password.", "type": "string", "required": false }, "upsell_ids": { "description": "Saraksts ar piep\u0101rdo\u0161anas produktu ID.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Saraksts ar piep\u0101rdo\u0161anas produktu ID.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "Produkta vec\u0101ku ID.", "type": "integer", "required": false }, "purchase_note": { "description": "Izv\u0113les piez\u012bme, lai nos\u016bt\u012btu klientu p\u0113c pirkuma.", "type": "string", "required": false }, "categories": { "description": "Kategoriju saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kategorijas ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Kategorijas nosaukums.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Kategorijas kods.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "brands": { "description": "List of brands.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Brand ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Brand name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Brand slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Birku sarakst.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Birkas ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Birkas nosaukums", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Birkas taka.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Att\u0113lu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Atrib\u016btu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Atrib\u016bta poz\u012bcija", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Nor\u0101diet, vai produkta lap\u0101 ciln\u0113 \"Papildinform\u0101cija\" ir redzams atrib\u016bts.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Noteikt, vai atrib\u016btu var izmantot k\u0101 vari\u0101ciju.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Atrib\u016bta pieejamo terminu nosaukumi.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Noklus\u0113juma variantu atrib\u016bti.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto pas\u016bt\u012bjuma \u0161\u0137iro\u0161anai.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "name": { "description": "Produkta nosaukums.", "type": "string", "required": false }, "slug": { "description": "Produkta taka.", "type": "string", "required": false }, "date_created": { "description": "Datums, kad produkts tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Produkta izveides datums k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "type": { "description": "Produkta tips.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "description": "Produkta statuss (pasta statuss).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "description": "Pied\u0101v\u0101tais produkts.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Kataloga redzam\u012bba.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Produkta apraksts.", "type": "string", "required": false }, "short_description": { "description": "Produkta \u012bss apraksts.", "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": "Produkta cena.", "type": "string", "required": false }, "sale_price": { "description": "Produkta akcijas cena.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Akciju s\u0101kuma datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "S\u0101kuma datums izp\u0101rdo\u0161anas cen\u0101m, k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "Ja produkts ir virtu\u0101ls.", "type": "boolean", "required": false }, "downloadable": { "description": "Ja produkts ir lejupiel\u0101d\u0113jams.", "type": "boolean", "required": false }, "downloads": { "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer", "required": false }, "download_expiry": { "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer", "required": false }, "external_url": { "description": "Produkta \u0101r\u0113jais URL. Tikai \u0101r\u0113jiem produktiem.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Produkta \u0101r\u0113jais pogas teksts. Tikai \u0101r\u0113jiem produktiem.", "type": "string", "required": false }, "tax_status": { "description": "Nodok\u013cu status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Nodok\u013cu likme.", "type": "string", "required": false }, "manage_stock": { "description": "Kr\u0101jumu p\u0101rvald\u012bba produktu l\u012bmen\u012b.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Daudzums noliktav\u0101.", "type": "integer", "required": false }, "stock_status": { "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the product.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "description": "At\u013caut vienu preci nopirkt vien\u0101 pas\u016bt\u012bjum\u0101.", "type": "boolean", "required": false }, "weight": { "description": "Produkta svars (kg).", "type": "string", "required": false }, "dimensions": { "description": "Produkta izm\u0113ri.", "type": "object", "properties": { "length": { "description": "Produkta garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Produkta platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Produkta augstums (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Pieg\u0101des klases taka.", "type": "string", "required": false }, "reviews_allowed": { "description": "At\u013caut atsauksmes", "type": "boolean", "required": false }, "post_password": { "description": "Post password.", "type": "string", "required": false }, "upsell_ids": { "description": "Saraksts ar piep\u0101rdo\u0161anas produktu ID.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Saraksts ar piep\u0101rdo\u0161anas produktu ID.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "Produkta vec\u0101ku ID.", "type": "integer", "required": false }, "purchase_note": { "description": "Izv\u0113les piez\u012bme, lai nos\u016bt\u012btu klientu p\u0113c pirkuma.", "type": "string", "required": false }, "categories": { "description": "Kategoriju saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kategorijas ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Kategorijas nosaukums.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Kategorijas kods.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "brands": { "description": "List of brands.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Brand ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Brand name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Brand slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Birku sarakst.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Birkas ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Birkas nosaukums", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Birkas taka.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Att\u0113lu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Atrib\u016btu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Atrib\u016bta poz\u012bcija", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Nor\u0101diet, vai produkta lap\u0101 ciln\u0113 \"Papildinform\u0101cija\" ir redzams atrib\u016bts.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Noteikt, vai atrib\u016btu var izmantot k\u0101 vari\u0101ciju.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Atrib\u016bta pieejamo terminu nosaukumi.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Noklus\u0113juma variantu atrib\u016bti.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto pas\u016bt\u012bjuma \u0161\u0137iro\u0161anai.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": false, "description": "Vai apiet atkritumus un uzspiest dz\u0113\u0161anu.", "type": "boolean", "required": false } } }, { "methods": [ "GET" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "name": { "description": "Produkta nosaukums.", "type": "string", "required": false }, "slug": { "description": "Produkta taka.", "type": "string", "required": false }, "date_created": { "description": "Datums, kad produkts tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Produkta izveides datums k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "type": { "description": "Produkta tips.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "description": "Produkta statuss (pasta statuss).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "description": "Pied\u0101v\u0101tais produkts.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Kataloga redzam\u012bba.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Produkta apraksts.", "type": "string", "required": false }, "short_description": { "description": "Produkta \u012bss apraksts.", "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": "Produkta cena.", "type": "string", "required": false }, "sale_price": { "description": "Produkta akcijas cena.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Akciju s\u0101kuma datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "S\u0101kuma datums izp\u0101rdo\u0161anas cen\u0101m, k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "Ja produkts ir virtu\u0101ls.", "type": "boolean", "required": false }, "downloadable": { "description": "Ja produkts ir lejupiel\u0101d\u0113jams.", "type": "boolean", "required": false }, "downloads": { "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer", "required": false }, "download_expiry": { "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer", "required": false }, "external_url": { "description": "Produkta \u0101r\u0113jais URL. Tikai \u0101r\u0113jiem produktiem.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Produkta \u0101r\u0113jais pogas teksts. Tikai \u0101r\u0113jiem produktiem.", "type": "string", "required": false }, "tax_status": { "description": "Nodok\u013cu status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Nodok\u013cu likme.", "type": "string", "required": false }, "manage_stock": { "description": "Kr\u0101jumu p\u0101rvald\u012bba produktu l\u012bmen\u012b.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Daudzums noliktav\u0101.", "type": "integer", "required": false }, "stock_status": { "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the product.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "description": "At\u013caut vienu preci nopirkt vien\u0101 pas\u016bt\u012bjum\u0101.", "type": "boolean", "required": false }, "weight": { "description": "Produkta svars (kg).", "type": "string", "required": false }, "dimensions": { "description": "Produkta izm\u0113ri.", "type": "object", "properties": { "length": { "description": "Produkta garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Produkta platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Produkta augstums (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Pieg\u0101des klases taka.", "type": "string", "required": false }, "reviews_allowed": { "description": "At\u013caut atsauksmes", "type": "boolean", "required": false }, "post_password": { "description": "Post password.", "type": "string", "required": false }, "upsell_ids": { "description": "Saraksts ar piep\u0101rdo\u0161anas produktu ID.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Saraksts ar piep\u0101rdo\u0161anas produktu ID.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "Produkta vec\u0101ku ID.", "type": "integer", "required": false }, "purchase_note": { "description": "Izv\u0113les piez\u012bme, lai nos\u016bt\u012btu klientu p\u0113c pirkuma.", "type": "string", "required": false }, "categories": { "description": "Kategoriju saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kategorijas ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Kategorijas nosaukums.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Kategorijas kods.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "brands": { "description": "List of brands.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Brand ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Brand name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Brand slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Birku sarakst.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Birkas ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Birkas nosaukums", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Birkas taka.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Att\u0113lu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Atrib\u016btu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Atrib\u016bta poz\u012bcija", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Nor\u0101diet, vai produkta lap\u0101 ciln\u0113 \"Papildinform\u0101cija\" ir redzams atrib\u016bts.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Noteikt, vai atrib\u016btu var izmantot k\u0101 vari\u0101ciju.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Atrib\u016bta pieejamo terminu nosaukumi.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Noklus\u0113juma variantu atrib\u016bti.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto pas\u016bt\u012bjuma \u0161\u0137iro\u0161anai.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": false, "description": "Vai apiet atkritumus un uzspiest dz\u0113\u0161anu.", "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": "Produkta nosaukums.", "type": "string", "required": false }, "slug": { "description": "Produkta taka.", "type": "string", "required": false }, "date_created": { "description": "Datums, kad produkts tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Produkta izveides datums k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "type": { "description": "Produkta tips.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "description": "Produkta statuss (pasta statuss).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "description": "Pied\u0101v\u0101tais produkts.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Kataloga redzam\u012bba.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Produkta apraksts.", "type": "string", "required": false }, "short_description": { "description": "Produkta \u012bss apraksts.", "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": "Produkta cena.", "type": "string", "required": false }, "sale_price": { "description": "Produkta akcijas cena.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Akciju s\u0101kuma datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "S\u0101kuma datums izp\u0101rdo\u0161anas cen\u0101m, k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "Ja produkts ir virtu\u0101ls.", "type": "boolean", "required": false }, "downloadable": { "description": "Ja produkts ir lejupiel\u0101d\u0113jams.", "type": "boolean", "required": false }, "downloads": { "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer", "required": false }, "download_expiry": { "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer", "required": false }, "external_url": { "description": "Produkta \u0101r\u0113jais URL. Tikai \u0101r\u0113jiem produktiem.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Produkta \u0101r\u0113jais pogas teksts. Tikai \u0101r\u0113jiem produktiem.", "type": "string", "required": false }, "tax_status": { "description": "Nodok\u013cu status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Nodok\u013cu likme.", "type": "string", "required": false }, "manage_stock": { "description": "Kr\u0101jumu p\u0101rvald\u012bba produktu l\u012bmen\u012b.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Daudzums noliktav\u0101.", "type": "integer", "required": false }, "stock_status": { "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the product.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "description": "At\u013caut vienu preci nopirkt vien\u0101 pas\u016bt\u012bjum\u0101.", "type": "boolean", "required": false }, "weight": { "description": "Produkta svars (kg).", "type": "string", "required": false }, "dimensions": { "description": "Produkta izm\u0113ri.", "type": "object", "properties": { "length": { "description": "Produkta garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Produkta platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Produkta augstums (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Pieg\u0101des klases taka.", "type": "string", "required": false }, "reviews_allowed": { "description": "At\u013caut atsauksmes", "type": "boolean", "required": false }, "post_password": { "description": "Post password.", "type": "string", "required": false }, "upsell_ids": { "description": "Saraksts ar piep\u0101rdo\u0161anas produktu ID.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Saraksts ar piep\u0101rdo\u0161anas produktu ID.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "Produkta vec\u0101ku ID.", "type": "integer", "required": false }, "purchase_note": { "description": "Izv\u0113les piez\u012bme, lai nos\u016bt\u012btu klientu p\u0113c pirkuma.", "type": "string", "required": false }, "categories": { "description": "Kategoriju saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kategorijas ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Kategorijas nosaukums.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Kategorijas kods.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "brands": { "description": "List of brands.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Brand ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Brand name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Brand slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Birku sarakst.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Birkas ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Birkas nosaukums", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Birkas taka.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Att\u0113lu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Atrib\u016btu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Atrib\u016bta poz\u012bcija", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Nor\u0101diet, vai produkta lap\u0101 ciln\u0113 \"Papildinform\u0101cija\" ir redzams atrib\u016bts.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Noteikt, vai atrib\u016btu var izmantot k\u0101 vari\u0101ciju.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Atrib\u016bta pieejamo terminu nosaukumi.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Noklus\u0113juma variantu atrib\u016bti.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto pas\u016bt\u012bjuma \u0161\u0137iro\u0161anai.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Produkta nosaukums.", "type": "string", "required": false }, "slug": { "description": "Produkta taka.", "type": "string", "required": false }, "date_created": { "description": "Datums, kad produkts tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Produkta izveides datums k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "type": { "description": "Produkta tips.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "description": "Produkta statuss (pasta statuss).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "description": "Pied\u0101v\u0101tais produkts.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Kataloga redzam\u012bba.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Produkta apraksts.", "type": "string", "required": false }, "short_description": { "description": "Produkta \u012bss apraksts.", "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": "Produkta cena.", "type": "string", "required": false }, "sale_price": { "description": "Produkta akcijas cena.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Akciju s\u0101kuma datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "S\u0101kuma datums izp\u0101rdo\u0161anas cen\u0101m, k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "Ja produkts ir virtu\u0101ls.", "type": "boolean", "required": false }, "downloadable": { "description": "Ja produkts ir lejupiel\u0101d\u0113jams.", "type": "boolean", "required": false }, "downloads": { "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer", "required": false }, "download_expiry": { "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer", "required": false }, "external_url": { "description": "Produkta \u0101r\u0113jais URL. Tikai \u0101r\u0113jiem produktiem.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Produkta \u0101r\u0113jais pogas teksts. Tikai \u0101r\u0113jiem produktiem.", "type": "string", "required": false }, "tax_status": { "description": "Nodok\u013cu status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Nodok\u013cu likme.", "type": "string", "required": false }, "manage_stock": { "description": "Kr\u0101jumu p\u0101rvald\u012bba produktu l\u012bmen\u012b.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Daudzums noliktav\u0101.", "type": "integer", "required": false }, "stock_status": { "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the product.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "description": "At\u013caut vienu preci nopirkt vien\u0101 pas\u016bt\u012bjum\u0101.", "type": "boolean", "required": false }, "weight": { "description": "Produkta svars (kg).", "type": "string", "required": false }, "dimensions": { "description": "Produkta izm\u0113ri.", "type": "object", "properties": { "length": { "description": "Produkta garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Produkta platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Produkta augstums (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Pieg\u0101des klases taka.", "type": "string", "required": false }, "reviews_allowed": { "description": "At\u013caut atsauksmes", "type": "boolean", "required": false }, "post_password": { "description": "Post password.", "type": "string", "required": false }, "upsell_ids": { "description": "Saraksts ar piep\u0101rdo\u0161anas produktu ID.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Saraksts ar piep\u0101rdo\u0161anas produktu ID.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "Produkta vec\u0101ku ID.", "type": "integer", "required": false }, "purchase_note": { "description": "Izv\u0113les piez\u012bme, lai nos\u016bt\u012btu klientu p\u0113c pirkuma.", "type": "string", "required": false }, "categories": { "description": "Kategoriju saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kategorijas ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Kategorijas nosaukums.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Kategorijas kods.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "brands": { "description": "List of brands.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Brand ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Brand name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Brand slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Birku sarakst.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Birkas ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Birkas nosaukums", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Birkas taka.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Att\u0113lu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Atrib\u016btu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Atrib\u016bta poz\u012bcija", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Nor\u0101diet, vai produkta lap\u0101 ciln\u0113 \"Papildinform\u0101cija\" ir redzams atrib\u016bts.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Noteikt, vai atrib\u016btu var izmantot k\u0101 vari\u0101ciju.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Atrib\u016bta pieejamo terminu nosaukumi.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Noklus\u0113juma variantu atrib\u016bti.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto pas\u016bt\u012bjuma \u0161\u0137iro\u0161anai.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-analytics\/products\/batch" } ] } }, "\/wc-analytics\/products\/suggested-products": { "namespace": "wc-analytics", "methods": [ "GET", "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eojiet rezult\u0101tus tiem, kas atbilst virknei.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "popularity", "rating", "post__in", "price", "sales", "menu_order", "random", "popularity", "rating", "menu_order" ], "required": false }, "parent": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz noteiktu vec\u0101ku ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz visiem vienumiem, iz\u0146emot konkr\u0113ta vec\u0101ka ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "brand": { "description": "Limit result set to products assigned a specific brand ID.", "type": "string", "required": false }, "slug": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem ar \u012bpa\u0161u taku.", "type": "string", "required": false }, "status": { "default": "any", "description": "Robe\u017eas rezult\u0101ts ir noteikts produktiem, kam pie\u0161\u0137irts \u012bpa\u0161s statuss.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "Robe\u017eas rezult\u0101ts noteikts produktiem, kuriem pie\u0161\u0137irts \u012bpa\u0161s veids.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "sku": { "description": "Robe\u017ea rezult\u0101ts tiek noteikts produktiem ar konkr\u0113tu SKU. Izmantojiet komatus, lai no\u0161\u0137irtu.", "type": "string", "required": false }, "featured": { "description": "Ierobe\u017eotais rezult\u0101ts, kas iestat\u012bts uz pied\u0101v\u0101tajiem produktiem.", "type": "boolean", "required": false }, "category": { "description": "Robe\u017eas rezult\u0101ts ir noteikts produktiem, kam pie\u0161\u0137irts \u012bpa\u0161a kategorijas ID.", "type": "string", "required": false }, "tag": { "description": "Robe\u017eas rezult\u0101ts ir noteikts produktiem, kuriem pie\u0161\u0137irts \u012bpa\u0161s birkas ID.", "type": "string", "required": false }, "shipping_class": { "description": "Ierobe\u017eots rezult\u0101ts, kas noteikts produktiem, kuriem pie\u0161\u0137irts konkr\u0113ts pieg\u0101des klases ID.", "type": "string", "required": false }, "attribute": { "description": "Limit result set to products with a specific attribute. Use the taxonomy name\/attribute slug.", "type": "string", "required": false }, "attribute_term": { "description": "Ierobe\u017eojo\u0161ais rezult\u0101ts ir noteikts produktiem ar \u012bpa\u0161u atrib\u016btu terminu ID (nepiecie\u0161ams pie\u0161\u0137irts atrib\u016bts).", "type": "string", "required": false }, "in_stock": { "description": "Robe\u017ev\u0113rt\u012bba, kas noteikta kr\u0101jumu vai noliktav\u0101 eso\u0161iem produktiem.", "type": "boolean", "required": false }, "on_sale": { "description": "Ierobe\u017eots rezult\u0101ts p\u0101rdo\u0161anas produktiem.", "type": "boolean", "required": false }, "min_price": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem, kuru pamat\u0101 ir minim\u0101l\u0101 cena.", "type": "string", "required": false }, "max_price": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem, kuru pamat\u0101 ir maksim\u0101l\u0101 cena.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Limit meta_data to specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Ensure meta_data excludes specific keys.", "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": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eojiet rezult\u0101tus tiem, kas atbilst virknei.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "popularity", "rating", "post__in", "price", "sales", "menu_order", "random", "popularity", "rating", "menu_order" ], "required": false }, "parent": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz noteiktu vec\u0101ku ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz visiem vienumiem, iz\u0146emot konkr\u0113ta vec\u0101ka ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "brand": { "description": "Limit result set to products assigned a specific brand ID.", "type": "string", "required": false }, "slug": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem ar \u012bpa\u0161u taku.", "type": "string", "required": false }, "status": { "default": "any", "description": "Robe\u017eas rezult\u0101ts ir noteikts produktiem, kam pie\u0161\u0137irts \u012bpa\u0161s statuss.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "Robe\u017eas rezult\u0101ts noteikts produktiem, kuriem pie\u0161\u0137irts \u012bpa\u0161s veids.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "sku": { "description": "Robe\u017ea rezult\u0101ts tiek noteikts produktiem ar konkr\u0113tu SKU. Izmantojiet komatus, lai no\u0161\u0137irtu.", "type": "string", "required": false }, "featured": { "description": "Ierobe\u017eotais rezult\u0101ts, kas iestat\u012bts uz pied\u0101v\u0101tajiem produktiem.", "type": "boolean", "required": false }, "category": { "description": "Robe\u017eas rezult\u0101ts ir noteikts produktiem, kam pie\u0161\u0137irts \u012bpa\u0161a kategorijas ID.", "type": "string", "required": false }, "tag": { "description": "Robe\u017eas rezult\u0101ts ir noteikts produktiem, kuriem pie\u0161\u0137irts \u012bpa\u0161s birkas ID.", "type": "string", "required": false }, "shipping_class": { "description": "Ierobe\u017eots rezult\u0101ts, kas noteikts produktiem, kuriem pie\u0161\u0137irts konkr\u0113ts pieg\u0101des klases ID.", "type": "string", "required": false }, "attribute": { "description": "Limit result set to products with a specific attribute. Use the taxonomy name\/attribute slug.", "type": "string", "required": false }, "attribute_term": { "description": "Ierobe\u017eojo\u0161ais rezult\u0101ts ir noteikts produktiem ar \u012bpa\u0161u atrib\u016btu terminu ID (nepiecie\u0161ams pie\u0161\u0137irts atrib\u016bts).", "type": "string", "required": false }, "in_stock": { "description": "Robe\u017ev\u0113rt\u012bba, kas noteikta kr\u0101jumu vai noliktav\u0101 eso\u0161iem produktiem.", "type": "boolean", "required": false }, "on_sale": { "description": "Ierobe\u017eots rezult\u0101ts p\u0101rdo\u0161anas produktiem.", "type": "boolean", "required": false }, "min_price": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem, kuru pamat\u0101 ir minim\u0101l\u0101 cena.", "type": "string", "required": false }, "max_price": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem, kuru pamat\u0101 ir maksim\u0101l\u0101 cena.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Limit meta_data to specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Ensure meta_data excludes specific keys.", "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:\/\/www.triumphgifts.com\/lv\/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": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "name": { "description": "Produkta nosaukums.", "type": "string", "required": false }, "slug": { "description": "Produkta taka.", "type": "string", "required": false }, "date_created": { "description": "Datums, kad produkts tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Produkta izveides datums k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "type": { "description": "Produkta tips.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "description": "Produkta statuss (pasta statuss).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "description": "Pied\u0101v\u0101tais produkts.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Kataloga redzam\u012bba.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Produkta apraksts.", "type": "string", "required": false }, "short_description": { "description": "Produkta \u012bss apraksts.", "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": "Produkta cena.", "type": "string", "required": false }, "sale_price": { "description": "Produkta akcijas cena.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Akciju s\u0101kuma datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "S\u0101kuma datums izp\u0101rdo\u0161anas cen\u0101m, k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "Ja produkts ir virtu\u0101ls.", "type": "boolean", "required": false }, "downloadable": { "description": "Ja produkts ir lejupiel\u0101d\u0113jams.", "type": "boolean", "required": false }, "downloads": { "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer", "required": false }, "download_expiry": { "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer", "required": false }, "external_url": { "description": "Produkta \u0101r\u0113jais URL. Tikai \u0101r\u0113jiem produktiem.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Produkta \u0101r\u0113jais pogas teksts. Tikai \u0101r\u0113jiem produktiem.", "type": "string", "required": false }, "tax_status": { "description": "Nodok\u013cu status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Nodok\u013cu likme.", "type": "string", "required": false }, "manage_stock": { "description": "Kr\u0101jumu p\u0101rvald\u012bba produktu l\u012bmen\u012b.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Daudzums noliktav\u0101.", "type": "integer", "required": false }, "stock_status": { "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the product.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "description": "At\u013caut vienu preci nopirkt vien\u0101 pas\u016bt\u012bjum\u0101.", "type": "boolean", "required": false }, "weight": { "description": "Produkta svars (kg).", "type": "string", "required": false }, "dimensions": { "description": "Produkta izm\u0113ri.", "type": "object", "properties": { "length": { "description": "Produkta garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Produkta platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Produkta augstums (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Pieg\u0101des klases taka.", "type": "string", "required": false }, "reviews_allowed": { "description": "At\u013caut atsauksmes", "type": "boolean", "required": false }, "post_password": { "description": "Post password.", "type": "string", "required": false }, "upsell_ids": { "description": "Saraksts ar piep\u0101rdo\u0161anas produktu ID.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Saraksts ar piep\u0101rdo\u0161anas produktu ID.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "Produkta vec\u0101ku ID.", "type": "integer", "required": false }, "purchase_note": { "description": "Izv\u0113les piez\u012bme, lai nos\u016bt\u012btu klientu p\u0113c pirkuma.", "type": "string", "required": false }, "categories": { "description": "Kategoriju saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kategorijas ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Kategorijas nosaukums.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Kategorijas kods.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "brands": { "description": "List of brands.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Brand ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Brand name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Brand slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Birku sarakst.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Birkas ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Birkas nosaukums", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Birkas taka.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Att\u0113lu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Atrib\u016btu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Atrib\u016bta poz\u012bcija", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Nor\u0101diet, vai produkta lap\u0101 ciln\u0113 \"Papildinform\u0101cija\" ir redzams atrib\u016bts.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Noteikt, vai atrib\u016btu var izmantot k\u0101 vari\u0101ciju.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Atrib\u016bta pieejamo terminu nosaukumi.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Noklus\u0113juma variantu atrib\u016bti.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto pas\u016bt\u012bjuma \u0161\u0137iro\u0161anai.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "POST" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "name": { "description": "Produkta nosaukums.", "type": "string", "required": false }, "slug": { "description": "Produkta taka.", "type": "string", "required": false }, "date_created": { "description": "Datums, kad produkts tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Produkta izveides datums k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "type": { "description": "Produkta tips.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "description": "Produkta statuss (pasta statuss).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "description": "Pied\u0101v\u0101tais produkts.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Kataloga redzam\u012bba.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Produkta apraksts.", "type": "string", "required": false }, "short_description": { "description": "Produkta \u012bss apraksts.", "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": "Produkta cena.", "type": "string", "required": false }, "sale_price": { "description": "Produkta akcijas cena.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Akciju s\u0101kuma datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "S\u0101kuma datums izp\u0101rdo\u0161anas cen\u0101m, k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "Ja produkts ir virtu\u0101ls.", "type": "boolean", "required": false }, "downloadable": { "description": "Ja produkts ir lejupiel\u0101d\u0113jams.", "type": "boolean", "required": false }, "downloads": { "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer", "required": false }, "download_expiry": { "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer", "required": false }, "external_url": { "description": "Produkta \u0101r\u0113jais URL. Tikai \u0101r\u0113jiem produktiem.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Produkta \u0101r\u0113jais pogas teksts. Tikai \u0101r\u0113jiem produktiem.", "type": "string", "required": false }, "tax_status": { "description": "Nodok\u013cu status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Nodok\u013cu likme.", "type": "string", "required": false }, "manage_stock": { "description": "Kr\u0101jumu p\u0101rvald\u012bba produktu l\u012bmen\u012b.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Daudzums noliktav\u0101.", "type": "integer", "required": false }, "stock_status": { "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the product.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "description": "At\u013caut vienu preci nopirkt vien\u0101 pas\u016bt\u012bjum\u0101.", "type": "boolean", "required": false }, "weight": { "description": "Produkta svars (kg).", "type": "string", "required": false }, "dimensions": { "description": "Produkta izm\u0113ri.", "type": "object", "properties": { "length": { "description": "Produkta garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Produkta platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Produkta augstums (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Pieg\u0101des klases taka.", "type": "string", "required": false }, "reviews_allowed": { "description": "At\u013caut atsauksmes", "type": "boolean", "required": false }, "post_password": { "description": "Post password.", "type": "string", "required": false }, "upsell_ids": { "description": "Saraksts ar piep\u0101rdo\u0161anas produktu ID.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Saraksts ar piep\u0101rdo\u0161anas produktu ID.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "Produkta vec\u0101ku ID.", "type": "integer", "required": false }, "purchase_note": { "description": "Izv\u0113les piez\u012bme, lai nos\u016bt\u012btu klientu p\u0113c pirkuma.", "type": "string", "required": false }, "categories": { "description": "Kategoriju saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kategorijas ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Kategorijas nosaukums.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Kategorijas kods.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "brands": { "description": "List of brands.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Brand ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Brand name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Brand slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Birku sarakst.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Birkas ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Birkas nosaukums", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Birkas taka.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Att\u0113lu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Atrib\u016btu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Atrib\u016bta poz\u012bcija", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Nor\u0101diet, vai produkta lap\u0101 ciln\u0113 \"Papildinform\u0101cija\" ir redzams atrib\u016bts.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Noteikt, vai atrib\u016btu var izmantot k\u0101 vari\u0101ciju.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Atrib\u016bta pieejamo terminu nosaukumi.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Noklus\u0113juma variantu atrib\u016bti.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto pas\u016bt\u012bjuma \u0161\u0137iro\u0161anai.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "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": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "search": { "description": "Search by similar attribute name.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Resursa nosaukums.", "type": "string", "required": true }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "type": { "default": "select", "description": "Atrib\u016bta tips.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "default": "menu_order", "description": "Noklus\u0113juma k\u0101rtojuma sec\u012bba.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "default": false, "description": "Iesp\u0113jot \/ atsp\u0113jot atrib\u016btu arh\u012bvus.", "type": "boolean", "required": false } } }, { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "search": { "description": "Search by similar attribute name.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Resursa nosaukums.", "type": "string", "required": true }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "type": { "default": "select", "description": "Atrib\u016bta tips.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "default": "menu_order", "description": "Noklus\u0113juma k\u0101rtojuma sec\u012bba.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "default": false, "description": "Iesp\u0113jot \/ atsp\u0113jot atrib\u016btu arh\u012bvus.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "required": false }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "type": { "description": "Atrib\u016bta tips.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Noklus\u0113juma k\u0101rtojuma sec\u012bba.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "Iesp\u0113jot \/ atsp\u0113jot atrib\u016btu arh\u012bvus.", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "Nepiecie\u0161ams b\u016bt patiesam, jo resurss neatbalsta m\u0113slo\u0161anu.", "required": false } } }, { "methods": [ "GET" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "required": false }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "type": { "description": "Atrib\u016bta tips.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Noklus\u0113juma k\u0101rtojuma sec\u012bba.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "Iesp\u0113jot \/ atsp\u0113jot atrib\u016btu arh\u012bvus.", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "Nepiecie\u0161ams b\u016bt patiesam, jo resurss neatbalsta m\u0113slo\u0161anu.", "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": "Atrib\u016bta nosaukums.", "type": "string", "required": false }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "type": { "description": "Atrib\u016bta tips.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Noklus\u0113juma k\u0101rtojuma sec\u012bba.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "Iesp\u0113jot \/ atsp\u0113jot atrib\u016btu arh\u012bvus.", "type": "boolean", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "required": false }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "type": { "description": "Atrib\u016bta tips.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Noklus\u0113juma k\u0101rtojuma sec\u012bba.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "Iesp\u0113jot \/ atsp\u0113jot atrib\u016btu arh\u012bvus.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Slug identifier for the resource.", "type": "string", "required": false } } }, { "methods": [ "GET" ], "args": { "slug": { "description": "Slug identifier for the resource.", "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": "Unik\u0101ls terminu atrib\u016bta identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c resursa atrib\u016bta.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Vai sl\u0113pt resursus, kas nav pie\u0161\u0137irti nevienam produktam.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "product": { "description": "Robe\u017eas rezult\u0101ts noteikts resursiem, kas pie\u0161\u0137irti konkr\u0113tam produktam.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts resursiem ar \u012bpa\u0161u taku.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "attribute_id": { "description": "Unik\u0101ls terminu atrib\u016bta identifikators.", "type": "integer", "required": false }, "name": { "type": "string", "description": "Resursa nosaukums.", "required": true }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto, lai k\u0101rtotu resursus.", "type": "integer", "required": false } } }, { "methods": [ "GET" ], "args": { "attribute_id": { "description": "Unik\u0101ls terminu atrib\u016bta identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c resursa atrib\u016bta.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Vai sl\u0113pt resursus, kas nav pie\u0161\u0137irti nevienam produktam.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "product": { "description": "Robe\u017eas rezult\u0101ts noteikts resursiem, kas pie\u0161\u0137irti konkr\u0113tam produktam.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts resursiem ar \u012bpa\u0161u taku.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "attribute_id": { "description": "Unik\u0101ls terminu atrib\u016bta identifikators.", "type": "integer", "required": false }, "name": { "type": "string", "description": "Resursa nosaukums.", "required": true }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto, lai k\u0101rtotu resursus.", "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": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "attribute_id": { "description": "Unik\u0101ls terminu atrib\u016bta identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "attribute_id": { "description": "Unik\u0101ls terminu atrib\u016bta identifikators.", "type": "integer", "required": false }, "name": { "description": "Noteikumu nosaukums", "type": "string", "required": false }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto, lai k\u0101rtotu resursus.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "attribute_id": { "description": "Unik\u0101ls terminu atrib\u016bta identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Nepiecie\u0161ams b\u016bt patiesam, jo resurss neatbalsta m\u0113slo\u0161anu.", "required": false } } }, { "methods": [ "GET" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "attribute_id": { "description": "Unik\u0101ls terminu atrib\u016bta identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "attribute_id": { "description": "Unik\u0101ls terminu atrib\u016bta identifikators.", "type": "integer", "required": false }, "name": { "description": "Noteikumu nosaukums", "type": "string", "required": false }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto, lai k\u0101rtotu resursus.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "attribute_id": { "description": "Unik\u0101ls terminu atrib\u016bta identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Nepiecie\u0161ams b\u016bt patiesam, jo resurss neatbalsta m\u0113slo\u0161anu.", "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": "Unik\u0101ls terminu atrib\u016bta identifikators.", "type": "integer", "required": false }, "name": { "description": "Noteikumu nosaukums", "type": "string", "required": false }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto, lai k\u0101rtotu resursus.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "attribute_id": { "description": "Unik\u0101ls terminu atrib\u016bta identifikators.", "type": "integer", "required": false }, "name": { "description": "Noteikumu nosaukums", "type": "string", "required": false }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto, lai k\u0101rtotu resursus.", "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": "Robe\u017eas rezult\u0101ts tiek noteikts resursiem ar \u012bpa\u0161u taku.", "type": "string", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c resursa atrib\u016bta.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Vai sl\u0113pt resursus, kas nav pie\u0161\u0137irti nevienam produktam.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "product": { "description": "Robe\u017eas rezult\u0101ts noteikts resursiem, kas pie\u0161\u0137irti konkr\u0113tam produktam.", "type": "integer", "default": null, "required": false } } }, { "methods": [ "GET" ], "args": { "slug": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts resursiem ar \u012bpa\u0161u taku.", "type": "string", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c resursa atrib\u016bta.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Vai sl\u0113pt resursus, kas nav pie\u0161\u0137irti nevienam produktam.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "product": { "description": "Robe\u017eas rezult\u0101ts noteikts resursiem, kas pie\u0161\u0137irti konkr\u0113tam produktam.", "type": "integer", "default": null, "required": false } } } ] }, "\/wc-analytics\/products\/categories": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c resursa atrib\u016bta.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Vai sl\u0113pt resursus, kas nav pie\u0161\u0137irti nevienam produktam.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "product": { "description": "Robe\u017eas rezult\u0101ts noteikts resursiem, kas pie\u0161\u0137irti konkr\u0113tam produktam.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts resursiem ar \u012bpa\u0161u taku.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Resursa nosaukums.", "required": true }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "parent": { "description": "ID resursa vec\u0101kiem.", "type": "integer", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false }, "display": { "default": "default", "description": "Kategorijas arh\u012bva att\u0113lojuma veids", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Image data.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto, lai k\u0101rtotu resursus.", "type": "integer", "required": false } } }, { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c resursa atrib\u016bta.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Vai sl\u0113pt resursus, kas nav pie\u0161\u0137irti nevienam produktam.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "product": { "description": "Robe\u017eas rezult\u0101ts noteikts resursiem, kas pie\u0161\u0137irti konkr\u0113tam produktam.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts resursiem ar \u012bpa\u0161u taku.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Resursa nosaukums.", "required": true }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "parent": { "description": "ID resursa vec\u0101kiem.", "type": "integer", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false }, "display": { "default": "default", "description": "Kategorijas arh\u012bva att\u0113lojuma veids", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Image data.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto, lai k\u0101rtotu resursus.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "name": { "description": "Kategorijas nosaukums.", "type": "string", "required": false }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "parent": { "description": "ID resursa vec\u0101kiem.", "type": "integer", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false }, "display": { "description": "Kategorijas arh\u012bva att\u0113lojuma veids", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Image data.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto, lai k\u0101rtotu resursus.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Nepiecie\u0161ams b\u016bt patiesam, jo resurss neatbalsta m\u0113slo\u0161anu.", "required": false } } }, { "methods": [ "GET" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "name": { "description": "Kategorijas nosaukums.", "type": "string", "required": false }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "parent": { "description": "ID resursa vec\u0101kiem.", "type": "integer", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false }, "display": { "description": "Kategorijas arh\u012bva att\u0113lojuma veids", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Image data.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto, lai k\u0101rtotu resursus.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Nepiecie\u0161ams b\u016bt patiesam, jo resurss neatbalsta m\u0113slo\u0161anu.", "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": "Kategorijas nosaukums.", "type": "string", "required": false }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "parent": { "description": "ID resursa vec\u0101kiem.", "type": "integer", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false }, "display": { "description": "Kategorijas arh\u012bva att\u0113lojuma veids", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Image data.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto, lai k\u0101rtotu resursus.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Kategorijas nosaukums.", "type": "string", "required": false }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "parent": { "description": "ID resursa vec\u0101kiem.", "type": "integer", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false }, "display": { "description": "Kategorijas arh\u012bva att\u0113lojuma veids", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Image data.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto, lai k\u0101rtotu resursus.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Search by similar product name, sku, or attribute value.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "menu_order" ], "required": false }, "parent": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz noteiktu vec\u0101ku ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz visiem vienumiem, iz\u0146emot konkr\u0113ta vec\u0101ka ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem ar \u012bpa\u0161u taku.", "type": "string", "required": false }, "status": { "default": "any", "description": "Robe\u017eas rezult\u0101ts ir noteikts produktiem, kam pie\u0161\u0137irts \u012bpa\u0161s statuss.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "sku": { "description": "Robe\u017ea rezult\u0101ts tiek noteikts produktiem ar konkr\u0113tu SKU. Izmantojiet komatus, lai no\u0161\u0137irtu.", "type": "string", "required": false }, "on_sale": { "description": "Ierobe\u017eots rezult\u0101ts p\u0101rdo\u0161anas produktiem.", "type": "boolean", "required": false }, "min_price": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem, kuru pamat\u0101 ir minim\u0101l\u0101 cena.", "type": "string", "required": false }, "max_price": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem, kuru pamat\u0101 ir maksim\u0101l\u0101 cena.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Limit meta_data to specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Ensure meta_data excludes specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Rezult\u0101tu kopas ierobe\u017eo\u0161ana uz produktiem ar nor\u0101d\u012bto kr\u0101jumu statusu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "has_price": { "description": "Limit result set to products with or without price.", "type": "boolean", "required": false }, "attributes": { "description": "Limit result set to products with specified attributes.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "type": "string", "description": "Attribute slug." }, "term": { "type": "string", "description": "Attribute term." }, "terms": { "type": "array", "description": "Attribute terms." } } }, "required": false }, "virtual": { "description": "Limit result set to virtual product variations.", "type": "boolean", "required": false }, "downloadable": { "description": "Limit result set to downloadable product variations.", "type": "boolean", "required": false }, "include_status": { "description": "Limit result set to product variations with any of the statuses.", "type": "array", "items": { "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "exclude_status": { "description": "Exclude product variations with any of the statuses from result set.", "type": "array", "items": { "type": "string", "enum": [ "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "type": { "default": "variation", "description": "Produkta tips.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Vari\u0101cijas apraksts.", "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": "Vari\u0101cijas regul\u0101r\u0101 cena.", "type": "string", "required": false }, "sale_price": { "description": "Vari\u0101cijas p\u0101rdo\u0161anas cena.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Akciju s\u0101kuma datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "S\u0101kuma datums izp\u0101rdo\u0161anas cen\u0101m, k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "status": { "default": "publish", "description": "Vari\u0101cijas statuss.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "default": false, "description": "Ja vari\u0101cija ir virtu\u0101la.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Ja vari\u0101cija ir lejupiel\u0101d\u0113jama.", "type": "boolean", "required": false }, "downloads": { "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "Nodok\u013cu status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Nodok\u013cu likme.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Noliktavas uzskaite vari\u0101cijas l\u012bmen\u012b.", "type": [ "boolean", "string" ], "required": false }, "stock_quantity": { "description": "Daudzums noliktav\u0101.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the variation.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Vari\u0101cijas svars (kg).", "type": "string", "required": false }, "dimensions": { "description": "Vari\u0101ciju izm\u0113ri.", "type": "object", "properties": { "length": { "description": "Vari\u0101cijas garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Vari\u0101cijas platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Vari\u0101cijas augstums (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Pieg\u0101des klases taka.", "type": "string", "required": false }, "image": { "description": "Vari\u0101cijas att\u0113la dati.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Atrib\u016btu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto pas\u016bt\u012bjuma \u0161\u0137iro\u0161anai.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Product parent name.", "type": "string", "required": false }, "parent_id": { "description": "Produkta vec\u0101ku ID.", "type": "integer", "required": false } } }, { "methods": [ "GET" ], "args": { "product_id": { "description": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Search by similar product name, sku, or attribute value.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "menu_order" ], "required": false }, "parent": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz noteiktu vec\u0101ku ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz visiem vienumiem, iz\u0146emot konkr\u0113ta vec\u0101ka ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem ar \u012bpa\u0161u taku.", "type": "string", "required": false }, "status": { "default": "any", "description": "Robe\u017eas rezult\u0101ts ir noteikts produktiem, kam pie\u0161\u0137irts \u012bpa\u0161s statuss.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "sku": { "description": "Robe\u017ea rezult\u0101ts tiek noteikts produktiem ar konkr\u0113tu SKU. Izmantojiet komatus, lai no\u0161\u0137irtu.", "type": "string", "required": false }, "on_sale": { "description": "Ierobe\u017eots rezult\u0101ts p\u0101rdo\u0161anas produktiem.", "type": "boolean", "required": false }, "min_price": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem, kuru pamat\u0101 ir minim\u0101l\u0101 cena.", "type": "string", "required": false }, "max_price": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem, kuru pamat\u0101 ir maksim\u0101l\u0101 cena.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Limit meta_data to specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Ensure meta_data excludes specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Rezult\u0101tu kopas ierobe\u017eo\u0161ana uz produktiem ar nor\u0101d\u012bto kr\u0101jumu statusu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "has_price": { "description": "Limit result set to products with or without price.", "type": "boolean", "required": false }, "attributes": { "description": "Limit result set to products with specified attributes.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "type": "string", "description": "Attribute slug." }, "term": { "type": "string", "description": "Attribute term." }, "terms": { "type": "array", "description": "Attribute terms." } } }, "required": false }, "virtual": { "description": "Limit result set to virtual product variations.", "type": "boolean", "required": false }, "downloadable": { "description": "Limit result set to downloadable product variations.", "type": "boolean", "required": false }, "include_status": { "description": "Limit result set to product variations with any of the statuses.", "type": "array", "items": { "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "exclude_status": { "description": "Exclude product variations with any of the statuses from result set.", "type": "array", "items": { "type": "string", "enum": [ "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "type": { "default": "variation", "description": "Produkta tips.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Vari\u0101cijas apraksts.", "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": "Vari\u0101cijas regul\u0101r\u0101 cena.", "type": "string", "required": false }, "sale_price": { "description": "Vari\u0101cijas p\u0101rdo\u0161anas cena.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Akciju s\u0101kuma datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "S\u0101kuma datums izp\u0101rdo\u0161anas cen\u0101m, k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "status": { "default": "publish", "description": "Vari\u0101cijas statuss.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "default": false, "description": "Ja vari\u0101cija ir virtu\u0101la.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Ja vari\u0101cija ir lejupiel\u0101d\u0113jama.", "type": "boolean", "required": false }, "downloads": { "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "Nodok\u013cu status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Nodok\u013cu likme.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Noliktavas uzskaite vari\u0101cijas l\u012bmen\u012b.", "type": [ "boolean", "string" ], "required": false }, "stock_quantity": { "description": "Daudzums noliktav\u0101.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the variation.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Vari\u0101cijas svars (kg).", "type": "string", "required": false }, "dimensions": { "description": "Vari\u0101ciju izm\u0113ri.", "type": "object", "properties": { "length": { "description": "Vari\u0101cijas garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Vari\u0101cijas platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Vari\u0101cijas augstums (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Pieg\u0101des klases taka.", "type": "string", "required": false }, "image": { "description": "Vari\u0101cijas att\u0113la dati.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Atrib\u016btu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto pas\u016bt\u012bjuma \u0161\u0137iro\u0161anai.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Product parent name.", "type": "string", "required": false }, "parent_id": { "description": "Produkta vec\u0101ku ID.", "type": "integer", "required": false } } }, { "methods": [ "GET" ], "args": { "product_id": { "description": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Search by similar product name, sku, or attribute value.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "menu_order" ], "required": false }, "parent": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz noteiktu vec\u0101ku ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz visiem vienumiem, iz\u0146emot konkr\u0113ta vec\u0101ka ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem ar \u012bpa\u0161u taku.", "type": "string", "required": false }, "status": { "default": "any", "description": "Robe\u017eas rezult\u0101ts ir noteikts produktiem, kam pie\u0161\u0137irts \u012bpa\u0161s statuss.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "sku": { "description": "Robe\u017ea rezult\u0101ts tiek noteikts produktiem ar konkr\u0113tu SKU. Izmantojiet komatus, lai no\u0161\u0137irtu.", "type": "string", "required": false }, "on_sale": { "description": "Ierobe\u017eots rezult\u0101ts p\u0101rdo\u0161anas produktiem.", "type": "boolean", "required": false }, "min_price": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem, kuru pamat\u0101 ir minim\u0101l\u0101 cena.", "type": "string", "required": false }, "max_price": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem, kuru pamat\u0101 ir maksim\u0101l\u0101 cena.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Limit meta_data to specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Ensure meta_data excludes specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Rezult\u0101tu kopas ierobe\u017eo\u0161ana uz produktiem ar nor\u0101d\u012bto kr\u0101jumu statusu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "has_price": { "description": "Limit result set to products with or without price.", "type": "boolean", "required": false }, "attributes": { "description": "Limit result set to products with specified attributes.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "type": "string", "description": "Attribute slug." }, "term": { "type": "string", "description": "Attribute term." }, "terms": { "type": "array", "description": "Attribute terms." } } }, "required": false }, "virtual": { "description": "Limit result set to virtual product variations.", "type": "boolean", "required": false }, "downloadable": { "description": "Limit result set to downloadable product variations.", "type": "boolean", "required": false }, "include_status": { "description": "Limit result set to product variations with any of the statuses.", "type": "array", "items": { "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "exclude_status": { "description": "Exclude product variations with any of the statuses from result set.", "type": "array", "items": { "type": "string", "enum": [ "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "type": { "default": "variation", "description": "Produkta tips.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Vari\u0101cijas apraksts.", "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": "Vari\u0101cijas regul\u0101r\u0101 cena.", "type": "string", "required": false }, "sale_price": { "description": "Vari\u0101cijas p\u0101rdo\u0161anas cena.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Akciju s\u0101kuma datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "S\u0101kuma datums izp\u0101rdo\u0161anas cen\u0101m, k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "status": { "default": "publish", "description": "Vari\u0101cijas statuss.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "default": false, "description": "Ja vari\u0101cija ir virtu\u0101la.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Ja vari\u0101cija ir lejupiel\u0101d\u0113jama.", "type": "boolean", "required": false }, "downloads": { "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "Nodok\u013cu status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Nodok\u013cu likme.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Noliktavas uzskaite vari\u0101cijas l\u012bmen\u012b.", "type": [ "boolean", "string" ], "required": false }, "stock_quantity": { "description": "Daudzums noliktav\u0101.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the variation.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Vari\u0101cijas svars (kg).", "type": "string", "required": false }, "dimensions": { "description": "Vari\u0101ciju izm\u0113ri.", "type": "object", "properties": { "length": { "description": "Vari\u0101cijas garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Vari\u0101cijas platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Vari\u0101cijas augstums (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Pieg\u0101des klases taka.", "type": "string", "required": false }, "image": { "description": "Vari\u0101cijas att\u0113la dati.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Atrib\u016btu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto pas\u016bt\u012bjuma \u0161\u0137iro\u0161anai.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Product parent name.", "type": "string", "required": false }, "parent_id": { "description": "Produkta vec\u0101ku ID.", "type": "integer", "required": false } } }, { "methods": [ "GET" ], "args": { "product_id": { "description": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Search by similar product name, sku, or attribute value.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "menu_order" ], "required": false }, "parent": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz noteiktu vec\u0101ku ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz visiem vienumiem, iz\u0146emot konkr\u0113ta vec\u0101ka ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem ar \u012bpa\u0161u taku.", "type": "string", "required": false }, "status": { "default": "any", "description": "Robe\u017eas rezult\u0101ts ir noteikts produktiem, kam pie\u0161\u0137irts \u012bpa\u0161s statuss.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "sku": { "description": "Robe\u017ea rezult\u0101ts tiek noteikts produktiem ar konkr\u0113tu SKU. Izmantojiet komatus, lai no\u0161\u0137irtu.", "type": "string", "required": false }, "on_sale": { "description": "Ierobe\u017eots rezult\u0101ts p\u0101rdo\u0161anas produktiem.", "type": "boolean", "required": false }, "min_price": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem, kuru pamat\u0101 ir minim\u0101l\u0101 cena.", "type": "string", "required": false }, "max_price": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem, kuru pamat\u0101 ir maksim\u0101l\u0101 cena.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Limit meta_data to specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Ensure meta_data excludes specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Rezult\u0101tu kopas ierobe\u017eo\u0161ana uz produktiem ar nor\u0101d\u012bto kr\u0101jumu statusu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "has_price": { "description": "Limit result set to products with or without price.", "type": "boolean", "required": false }, "attributes": { "description": "Limit result set to products with specified attributes.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "type": "string", "description": "Attribute slug." }, "term": { "type": "string", "description": "Attribute term." }, "terms": { "type": "array", "description": "Attribute terms." } } }, "required": false }, "virtual": { "description": "Limit result set to virtual product variations.", "type": "boolean", "required": false }, "downloadable": { "description": "Limit result set to downloadable product variations.", "type": "boolean", "required": false }, "include_status": { "description": "Limit result set to product variations with any of the statuses.", "type": "array", "items": { "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "exclude_status": { "description": "Exclude product variations with any of the statuses from result set.", "type": "array", "items": { "type": "string", "enum": [ "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "type": { "default": "variation", "description": "Produkta tips.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Vari\u0101cijas apraksts.", "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": "Vari\u0101cijas regul\u0101r\u0101 cena.", "type": "string", "required": false }, "sale_price": { "description": "Vari\u0101cijas p\u0101rdo\u0161anas cena.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Akciju s\u0101kuma datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "S\u0101kuma datums izp\u0101rdo\u0161anas cen\u0101m, k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "status": { "default": "publish", "description": "Vari\u0101cijas statuss.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "default": false, "description": "Ja vari\u0101cija ir virtu\u0101la.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Ja vari\u0101cija ir lejupiel\u0101d\u0113jama.", "type": "boolean", "required": false }, "downloads": { "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "Nodok\u013cu status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Nodok\u013cu likme.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Noliktavas uzskaite vari\u0101cijas l\u012bmen\u012b.", "type": [ "boolean", "string" ], "required": false }, "stock_quantity": { "description": "Daudzums noliktav\u0101.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the variation.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Vari\u0101cijas svars (kg).", "type": "string", "required": false }, "dimensions": { "description": "Vari\u0101ciju izm\u0113ri.", "type": "object", "properties": { "length": { "description": "Vari\u0101cijas garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Vari\u0101cijas platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Vari\u0101cijas augstums (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Pieg\u0101des klases taka.", "type": "string", "required": false }, "image": { "description": "Vari\u0101cijas att\u0113la dati.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Atrib\u016btu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto pas\u016bt\u012bjuma \u0161\u0137iro\u0161anai.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Product parent name.", "type": "string", "required": false }, "parent_id": { "description": "Produkta vec\u0101ku 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": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "id": { "description": "Unik\u0101ls vari\u0101cijas identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "id": { "description": "Unik\u0101ls vari\u0101cijas identifikators.", "type": "integer", "required": false }, "type": { "description": "Produkta tips.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Vari\u0101cijas apraksts.", "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": "Vari\u0101cijas regul\u0101r\u0101 cena.", "type": "string", "required": false }, "sale_price": { "description": "Vari\u0101cijas p\u0101rdo\u0161anas cena.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Akciju s\u0101kuma datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "S\u0101kuma datums izp\u0101rdo\u0161anas cen\u0101m, k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "status": { "description": "Vari\u0101cijas statuss.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "description": "Ja vari\u0101cija ir virtu\u0101la.", "type": "boolean", "required": false }, "downloadable": { "description": "Ja vari\u0101cija ir lejupiel\u0101d\u0113jama.", "type": "boolean", "required": false }, "downloads": { "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer", "required": false }, "download_expiry": { "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer", "required": false }, "tax_status": { "description": "Nodok\u013cu status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Nodok\u013cu likme.", "type": "string", "required": false }, "manage_stock": { "description": "Noliktavas uzskaite vari\u0101cijas l\u012bmen\u012b.", "type": [ "boolean", "string" ], "required": false }, "stock_quantity": { "description": "Daudzums noliktav\u0101.", "type": "integer", "required": false }, "stock_status": { "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the variation.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Vari\u0101cijas svars (kg).", "type": "string", "required": false }, "dimensions": { "description": "Vari\u0101ciju izm\u0113ri.", "type": "object", "properties": { "length": { "description": "Vari\u0101cijas garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Vari\u0101cijas platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Vari\u0101cijas augstums (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Pieg\u0101des klases taka.", "type": "string", "required": false }, "image": { "description": "Vari\u0101cijas att\u0113la dati.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Atrib\u016btu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto pas\u016bt\u012bjuma \u0161\u0137iro\u0161anai.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Product parent name.", "type": "string", "required": false }, "parent_id": { "description": "Produkta vec\u0101ku ID.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "description": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "id": { "description": "Unik\u0101ls vari\u0101cijas identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Vai apiet atkritumus un uzspiest dz\u0113\u0161anu.", "required": false } } }, { "methods": [ "GET" ], "args": { "product_id": { "description": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "id": { "description": "Unik\u0101ls vari\u0101cijas identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "id": { "description": "Unik\u0101ls vari\u0101cijas identifikators.", "type": "integer", "required": false }, "type": { "description": "Produkta tips.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Vari\u0101cijas apraksts.", "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": "Vari\u0101cijas regul\u0101r\u0101 cena.", "type": "string", "required": false }, "sale_price": { "description": "Vari\u0101cijas p\u0101rdo\u0161anas cena.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Akciju s\u0101kuma datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "S\u0101kuma datums izp\u0101rdo\u0161anas cen\u0101m, k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "status": { "description": "Vari\u0101cijas statuss.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "description": "Ja vari\u0101cija ir virtu\u0101la.", "type": "boolean", "required": false }, "downloadable": { "description": "Ja vari\u0101cija ir lejupiel\u0101d\u0113jama.", "type": "boolean", "required": false }, "downloads": { "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer", "required": false }, "download_expiry": { "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer", "required": false }, "tax_status": { "description": "Nodok\u013cu status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Nodok\u013cu likme.", "type": "string", "required": false }, "manage_stock": { "description": "Noliktavas uzskaite vari\u0101cijas l\u012bmen\u012b.", "type": [ "boolean", "string" ], "required": false }, "stock_quantity": { "description": "Daudzums noliktav\u0101.", "type": "integer", "required": false }, "stock_status": { "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the variation.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Vari\u0101cijas svars (kg).", "type": "string", "required": false }, "dimensions": { "description": "Vari\u0101ciju izm\u0113ri.", "type": "object", "properties": { "length": { "description": "Vari\u0101cijas garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Vari\u0101cijas platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Vari\u0101cijas augstums (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Pieg\u0101des klases taka.", "type": "string", "required": false }, "image": { "description": "Vari\u0101cijas att\u0113la dati.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Atrib\u016btu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto pas\u016bt\u012bjuma \u0161\u0137iro\u0161anai.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Product parent name.", "type": "string", "required": false }, "parent_id": { "description": "Produkta vec\u0101ku ID.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "description": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "id": { "description": "Unik\u0101ls vari\u0101cijas identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Vai apiet atkritumus un uzspiest dz\u0113\u0161anu.", "required": false } } }, { "methods": [ "GET" ], "args": { "product_id": { "description": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "id": { "description": "Unik\u0101ls vari\u0101cijas identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "id": { "description": "Unik\u0101ls vari\u0101cijas identifikators.", "type": "integer", "required": false }, "type": { "description": "Produkta tips.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Vari\u0101cijas apraksts.", "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": "Vari\u0101cijas regul\u0101r\u0101 cena.", "type": "string", "required": false }, "sale_price": { "description": "Vari\u0101cijas p\u0101rdo\u0161anas cena.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Akciju s\u0101kuma datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "S\u0101kuma datums izp\u0101rdo\u0161anas cen\u0101m, k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "status": { "description": "Vari\u0101cijas statuss.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "description": "Ja vari\u0101cija ir virtu\u0101la.", "type": "boolean", "required": false }, "downloadable": { "description": "Ja vari\u0101cija ir lejupiel\u0101d\u0113jama.", "type": "boolean", "required": false }, "downloads": { "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer", "required": false }, "download_expiry": { "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer", "required": false }, "tax_status": { "description": "Nodok\u013cu status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Nodok\u013cu likme.", "type": "string", "required": false }, "manage_stock": { "description": "Noliktavas uzskaite vari\u0101cijas l\u012bmen\u012b.", "type": [ "boolean", "string" ], "required": false }, "stock_quantity": { "description": "Daudzums noliktav\u0101.", "type": "integer", "required": false }, "stock_status": { "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the variation.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Vari\u0101cijas svars (kg).", "type": "string", "required": false }, "dimensions": { "description": "Vari\u0101ciju izm\u0113ri.", "type": "object", "properties": { "length": { "description": "Vari\u0101cijas garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Vari\u0101cijas platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Vari\u0101cijas augstums (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Pieg\u0101des klases taka.", "type": "string", "required": false }, "image": { "description": "Vari\u0101cijas att\u0113la dati.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Atrib\u016btu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto pas\u016bt\u012bjuma \u0161\u0137iro\u0161anai.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Product parent name.", "type": "string", "required": false }, "parent_id": { "description": "Produkta vec\u0101ku ID.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "description": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "id": { "description": "Unik\u0101ls vari\u0101cijas identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Vai apiet atkritumus un uzspiest dz\u0113\u0161anu.", "required": false } } }, { "methods": [ "GET" ], "args": { "product_id": { "description": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "id": { "description": "Unik\u0101ls vari\u0101cijas identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "id": { "description": "Unik\u0101ls vari\u0101cijas identifikators.", "type": "integer", "required": false }, "type": { "description": "Produkta tips.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Vari\u0101cijas apraksts.", "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": "Vari\u0101cijas regul\u0101r\u0101 cena.", "type": "string", "required": false }, "sale_price": { "description": "Vari\u0101cijas p\u0101rdo\u0161anas cena.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Akciju s\u0101kuma datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "S\u0101kuma datums izp\u0101rdo\u0161anas cen\u0101m, k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "status": { "description": "Vari\u0101cijas statuss.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "description": "Ja vari\u0101cija ir virtu\u0101la.", "type": "boolean", "required": false }, "downloadable": { "description": "Ja vari\u0101cija ir lejupiel\u0101d\u0113jama.", "type": "boolean", "required": false }, "downloads": { "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer", "required": false }, "download_expiry": { "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer", "required": false }, "tax_status": { "description": "Nodok\u013cu status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Nodok\u013cu likme.", "type": "string", "required": false }, "manage_stock": { "description": "Noliktavas uzskaite vari\u0101cijas l\u012bmen\u012b.", "type": [ "boolean", "string" ], "required": false }, "stock_quantity": { "description": "Daudzums noliktav\u0101.", "type": "integer", "required": false }, "stock_status": { "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the variation.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Vari\u0101cijas svars (kg).", "type": "string", "required": false }, "dimensions": { "description": "Vari\u0101ciju izm\u0113ri.", "type": "object", "properties": { "length": { "description": "Vari\u0101cijas garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Vari\u0101cijas platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Vari\u0101cijas augstums (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Pieg\u0101des klases taka.", "type": "string", "required": false }, "image": { "description": "Vari\u0101cijas att\u0113la dati.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Atrib\u016btu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto pas\u016bt\u012bjuma \u0161\u0137iro\u0161anai.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Product parent name.", "type": "string", "required": false }, "parent_id": { "description": "Produkta vec\u0101ku ID.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "description": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "id": { "description": "Unik\u0101ls vari\u0101cijas identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Vai apiet atkritumus un uzspiest dz\u0113\u0161anu.", "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": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "type": { "description": "Produkta tips.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Vari\u0101cijas apraksts.", "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": "Vari\u0101cijas regul\u0101r\u0101 cena.", "type": "string", "required": false }, "sale_price": { "description": "Vari\u0101cijas p\u0101rdo\u0161anas cena.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Akciju s\u0101kuma datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "S\u0101kuma datums izp\u0101rdo\u0161anas cen\u0101m, k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "status": { "description": "Vari\u0101cijas statuss.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "description": "Ja vari\u0101cija ir virtu\u0101la.", "type": "boolean", "required": false }, "downloadable": { "description": "Ja vari\u0101cija ir lejupiel\u0101d\u0113jama.", "type": "boolean", "required": false }, "downloads": { "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer", "required": false }, "download_expiry": { "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer", "required": false }, "tax_status": { "description": "Nodok\u013cu status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Nodok\u013cu likme.", "type": "string", "required": false }, "manage_stock": { "description": "Noliktavas uzskaite vari\u0101cijas l\u012bmen\u012b.", "type": [ "boolean", "string" ], "required": false }, "stock_quantity": { "description": "Daudzums noliktav\u0101.", "type": "integer", "required": false }, "stock_status": { "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the variation.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Vari\u0101cijas svars (kg).", "type": "string", "required": false }, "dimensions": { "description": "Vari\u0101ciju izm\u0113ri.", "type": "object", "properties": { "length": { "description": "Vari\u0101cijas garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Vari\u0101cijas platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Vari\u0101cijas augstums (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Pieg\u0101des klases taka.", "type": "string", "required": false }, "image": { "description": "Vari\u0101cijas att\u0113la dati.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Atrib\u016btu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto pas\u016bt\u012bjuma \u0161\u0137iro\u0161anai.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Product parent name.", "type": "string", "required": false }, "parent_id": { "description": "Produkta vec\u0101ku ID.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "type": { "description": "Produkta tips.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Vari\u0101cijas apraksts.", "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": "Vari\u0101cijas regul\u0101r\u0101 cena.", "type": "string", "required": false }, "sale_price": { "description": "Vari\u0101cijas p\u0101rdo\u0161anas cena.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Akciju s\u0101kuma datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "S\u0101kuma datums izp\u0101rdo\u0161anas cen\u0101m, k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "status": { "description": "Vari\u0101cijas statuss.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "description": "Ja vari\u0101cija ir virtu\u0101la.", "type": "boolean", "required": false }, "downloadable": { "description": "Ja vari\u0101cija ir lejupiel\u0101d\u0113jama.", "type": "boolean", "required": false }, "downloads": { "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer", "required": false }, "download_expiry": { "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer", "required": false }, "tax_status": { "description": "Nodok\u013cu status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Nodok\u013cu likme.", "type": "string", "required": false }, "manage_stock": { "description": "Noliktavas uzskaite vari\u0101cijas l\u012bmen\u012b.", "type": [ "boolean", "string" ], "required": false }, "stock_quantity": { "description": "Daudzums noliktav\u0101.", "type": "integer", "required": false }, "stock_status": { "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the variation.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Vari\u0101cijas svars (kg).", "type": "string", "required": false }, "dimensions": { "description": "Vari\u0101ciju izm\u0113ri.", "type": "object", "properties": { "length": { "description": "Vari\u0101cijas garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Vari\u0101cijas platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Vari\u0101cijas augstums (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Pieg\u0101des klases taka.", "type": "string", "required": false }, "image": { "description": "Vari\u0101cijas att\u0113la dati.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Atrib\u016btu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto pas\u016bt\u012bjuma \u0161\u0137iro\u0161anai.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Product parent name.", "type": "string", "required": false }, "parent_id": { "description": "Produkta vec\u0101ku ID.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "type": { "description": "Produkta tips.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Vari\u0101cijas apraksts.", "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": "Vari\u0101cijas regul\u0101r\u0101 cena.", "type": "string", "required": false }, "sale_price": { "description": "Vari\u0101cijas p\u0101rdo\u0161anas cena.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Akciju s\u0101kuma datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "S\u0101kuma datums izp\u0101rdo\u0161anas cen\u0101m, k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "status": { "description": "Vari\u0101cijas statuss.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "description": "Ja vari\u0101cija ir virtu\u0101la.", "type": "boolean", "required": false }, "downloadable": { "description": "Ja vari\u0101cija ir lejupiel\u0101d\u0113jama.", "type": "boolean", "required": false }, "downloads": { "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer", "required": false }, "download_expiry": { "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer", "required": false }, "tax_status": { "description": "Nodok\u013cu status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Nodok\u013cu likme.", "type": "string", "required": false }, "manage_stock": { "description": "Noliktavas uzskaite vari\u0101cijas l\u012bmen\u012b.", "type": [ "boolean", "string" ], "required": false }, "stock_quantity": { "description": "Daudzums noliktav\u0101.", "type": "integer", "required": false }, "stock_status": { "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the variation.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Vari\u0101cijas svars (kg).", "type": "string", "required": false }, "dimensions": { "description": "Vari\u0101ciju izm\u0113ri.", "type": "object", "properties": { "length": { "description": "Vari\u0101cijas garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Vari\u0101cijas platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Vari\u0101cijas augstums (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Pieg\u0101des klases taka.", "type": "string", "required": false }, "image": { "description": "Vari\u0101cijas att\u0113la dati.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Atrib\u016btu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto pas\u016bt\u012bjuma \u0161\u0137iro\u0161anai.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Product parent name.", "type": "string", "required": false }, "parent_id": { "description": "Produkta vec\u0101ku ID.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "type": { "description": "Produkta tips.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Vari\u0101cijas apraksts.", "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": "Vari\u0101cijas regul\u0101r\u0101 cena.", "type": "string", "required": false }, "sale_price": { "description": "Vari\u0101cijas p\u0101rdo\u0161anas cena.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Akciju s\u0101kuma datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "S\u0101kuma datums izp\u0101rdo\u0161anas cen\u0101m, k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "status": { "description": "Vari\u0101cijas statuss.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "description": "Ja vari\u0101cija ir virtu\u0101la.", "type": "boolean", "required": false }, "downloadable": { "description": "Ja vari\u0101cija ir lejupiel\u0101d\u0113jama.", "type": "boolean", "required": false }, "downloads": { "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer", "required": false }, "download_expiry": { "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer", "required": false }, "tax_status": { "description": "Nodok\u013cu status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Nodok\u013cu likme.", "type": "string", "required": false }, "manage_stock": { "description": "Noliktavas uzskaite vari\u0101cijas l\u012bmen\u012b.", "type": [ "boolean", "string" ], "required": false }, "stock_quantity": { "description": "Daudzums noliktav\u0101.", "type": "integer", "required": false }, "stock_status": { "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the variation.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Vari\u0101cijas svars (kg).", "type": "string", "required": false }, "dimensions": { "description": "Vari\u0101ciju izm\u0113ri.", "type": "object", "properties": { "length": { "description": "Vari\u0101cijas garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Vari\u0101cijas platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Vari\u0101cijas augstums (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Pieg\u0101des klases taka.", "type": "string", "required": false }, "image": { "description": "Vari\u0101cijas att\u0113la dati.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Atrib\u016btu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto pas\u016bt\u012bjuma \u0161\u0137iro\u0161anai.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Product parent name.", "type": "string", "required": false }, "parent_id": { "description": "Produkta vec\u0101ku 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": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "delete": { "description": "Deletes unused variations.", "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": "Produkta tips.", "type": "string", "enum": [ "variation" ] }, "description": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Vari\u0101cijas apraksts.", "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": "Vari\u0101cijas regul\u0101r\u0101 cena.", "type": "string" }, "sale_price": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Vari\u0101cijas p\u0101rdo\u0161anas cena.", "type": "string" }, "date_on_sale_from": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Akciju s\u0101kuma datums vietnes laika zon\u0101.", "type": [ "null", "string" ] }, "date_on_sale_from_gmt": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "S\u0101kuma datums izp\u0101rdo\u0161anas cen\u0101m, k\u0101 GMT.", "type": [ "null", "string" ] }, "date_on_sale_to": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ] }, "date_on_sale_to_gmt": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ] }, "status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Vari\u0101cijas statuss.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ] }, "virtual": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Ja vari\u0101cija ir virtu\u0101la.", "type": "boolean" }, "downloadable": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Ja vari\u0101cija ir lejupiel\u0101d\u0113jama.", "type": "boolean" }, "downloads": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer" }, "download_expiry": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer" }, "tax_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Nodok\u013cu status.", "type": "string", "enum": [ "taxable", "shipping", "none" ] }, "tax_class": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Nodok\u013cu likme.", "type": "string" }, "manage_stock": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Noliktavas uzskaite vari\u0101cijas l\u012bmen\u012b.", "type": [ "boolean", "string" ] }, "stock_quantity": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Daudzums noliktav\u0101.", "type": "integer" }, "stock_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ] }, "backorders": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "enum": [ "no", "notify", "yes" ] }, "low_stock_amount": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Low Stock amount for the variation.", "type": [ "integer", "null" ] }, "weight": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Vari\u0101cijas svars (kg).", "type": "string" }, "dimensions": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Vari\u0101ciju izm\u0113ri.", "type": "object", "properties": { "length": { "description": "Vari\u0101cijas garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Vari\u0101cijas platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Vari\u0101cijas augstums (cm).", "type": "string", "context": [ "view", "edit" ] } } }, "shipping_class": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Pieg\u0101des klases taka.", "type": "string" }, "image": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Vari\u0101cijas att\u0113la dati.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } } }, "attributes": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Atrib\u016btu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } } }, "menu_order": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Izv\u0113lnes sec\u012bba, ko izmanto pas\u016bt\u012bjuma \u0161\u0137iro\u0161anai.", "type": "integer" }, "meta_data": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "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": "Product parent name.", "type": "string" }, "parent_id": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Produkta vec\u0101ku ID.", "type": "integer" } }, "required": false }, "type": { "default": "variation", "description": "Produkta tips.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Vari\u0101cijas apraksts.", "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": "Vari\u0101cijas regul\u0101r\u0101 cena.", "type": "string", "required": false }, "sale_price": { "description": "Vari\u0101cijas p\u0101rdo\u0161anas cena.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Akciju s\u0101kuma datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "S\u0101kuma datums izp\u0101rdo\u0161anas cen\u0101m, k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "status": { "default": "publish", "description": "Vari\u0101cijas statuss.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "default": false, "description": "Ja vari\u0101cija ir virtu\u0101la.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Ja vari\u0101cija ir lejupiel\u0101d\u0113jama.", "type": "boolean", "required": false }, "downloads": { "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "Nodok\u013cu status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Nodok\u013cu likme.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Noliktavas uzskaite vari\u0101cijas l\u012bmen\u012b.", "type": [ "boolean", "string" ], "required": false }, "stock_quantity": { "description": "Daudzums noliktav\u0101.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the variation.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Vari\u0101cijas svars (kg).", "type": "string", "required": false }, "dimensions": { "description": "Vari\u0101ciju izm\u0113ri.", "type": "object", "properties": { "length": { "description": "Vari\u0101cijas garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Vari\u0101cijas platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Vari\u0101cijas augstums (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Pieg\u0101des klases taka.", "type": "string", "required": false }, "image": { "description": "Vari\u0101cijas att\u0113la dati.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Atrib\u016btu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto pas\u016bt\u012bjuma \u0161\u0137iro\u0161anai.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Product parent name.", "type": "string", "required": false }, "parent_id": { "description": "Produkta vec\u0101ku ID.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "delete": { "description": "Deletes unused variations.", "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": "Produkta tips.", "type": "string", "enum": [ "variation" ] }, "description": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Vari\u0101cijas apraksts.", "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": "Vari\u0101cijas regul\u0101r\u0101 cena.", "type": "string" }, "sale_price": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Vari\u0101cijas p\u0101rdo\u0161anas cena.", "type": "string" }, "date_on_sale_from": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Akciju s\u0101kuma datums vietnes laika zon\u0101.", "type": [ "null", "string" ] }, "date_on_sale_from_gmt": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "S\u0101kuma datums izp\u0101rdo\u0161anas cen\u0101m, k\u0101 GMT.", "type": [ "null", "string" ] }, "date_on_sale_to": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ] }, "date_on_sale_to_gmt": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ] }, "status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Vari\u0101cijas statuss.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ] }, "virtual": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Ja vari\u0101cija ir virtu\u0101la.", "type": "boolean" }, "downloadable": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Ja vari\u0101cija ir lejupiel\u0101d\u0113jama.", "type": "boolean" }, "downloads": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer" }, "download_expiry": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer" }, "tax_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Nodok\u013cu status.", "type": "string", "enum": [ "taxable", "shipping", "none" ] }, "tax_class": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Nodok\u013cu likme.", "type": "string" }, "manage_stock": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Noliktavas uzskaite vari\u0101cijas l\u012bmen\u012b.", "type": [ "boolean", "string" ] }, "stock_quantity": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Daudzums noliktav\u0101.", "type": "integer" }, "stock_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ] }, "backorders": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "enum": [ "no", "notify", "yes" ] }, "low_stock_amount": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Low Stock amount for the variation.", "type": [ "integer", "null" ] }, "weight": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Vari\u0101cijas svars (kg).", "type": "string" }, "dimensions": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Vari\u0101ciju izm\u0113ri.", "type": "object", "properties": { "length": { "description": "Vari\u0101cijas garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Vari\u0101cijas platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Vari\u0101cijas augstums (cm).", "type": "string", "context": [ "view", "edit" ] } } }, "shipping_class": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Pieg\u0101des klases taka.", "type": "string" }, "image": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Vari\u0101cijas att\u0113la dati.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } } }, "attributes": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Atrib\u016btu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } } }, "menu_order": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Izv\u0113lnes sec\u012bba, ko izmanto pas\u016bt\u012bjuma \u0161\u0137iro\u0161anai.", "type": "integer" }, "meta_data": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "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": "Product parent name.", "type": "string" }, "parent_id": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Produkta vec\u0101ku ID.", "type": "integer" } }, "required": false }, "type": { "default": "variation", "description": "Produkta tips.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Vari\u0101cijas apraksts.", "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": "Vari\u0101cijas regul\u0101r\u0101 cena.", "type": "string", "required": false }, "sale_price": { "description": "Vari\u0101cijas p\u0101rdo\u0161anas cena.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Akciju s\u0101kuma datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "S\u0101kuma datums izp\u0101rdo\u0161anas cen\u0101m, k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "status": { "default": "publish", "description": "Vari\u0101cijas statuss.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "default": false, "description": "Ja vari\u0101cija ir virtu\u0101la.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Ja vari\u0101cija ir lejupiel\u0101d\u0113jama.", "type": "boolean", "required": false }, "downloads": { "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "Nodok\u013cu status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Nodok\u013cu likme.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Noliktavas uzskaite vari\u0101cijas l\u012bmen\u012b.", "type": [ "boolean", "string" ], "required": false }, "stock_quantity": { "description": "Daudzums noliktav\u0101.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the variation.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Vari\u0101cijas svars (kg).", "type": "string", "required": false }, "dimensions": { "description": "Vari\u0101ciju izm\u0113ri.", "type": "object", "properties": { "length": { "description": "Vari\u0101cijas garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Vari\u0101cijas platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Vari\u0101cijas augstums (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Pieg\u0101des klases taka.", "type": "string", "required": false }, "image": { "description": "Vari\u0101cijas att\u0113la dati.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Atrib\u016btu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto pas\u016bt\u012bjuma \u0161\u0137iro\u0161anai.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Product parent name.", "type": "string", "required": false }, "parent_id": { "description": "Produkta vec\u0101ku ID.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "delete": { "description": "Deletes unused variations.", "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": "Produkta tips.", "type": "string", "enum": [ "variation" ] }, "description": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Vari\u0101cijas apraksts.", "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": "Vari\u0101cijas regul\u0101r\u0101 cena.", "type": "string" }, "sale_price": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Vari\u0101cijas p\u0101rdo\u0161anas cena.", "type": "string" }, "date_on_sale_from": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Akciju s\u0101kuma datums vietnes laika zon\u0101.", "type": [ "null", "string" ] }, "date_on_sale_from_gmt": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "S\u0101kuma datums izp\u0101rdo\u0161anas cen\u0101m, k\u0101 GMT.", "type": [ "null", "string" ] }, "date_on_sale_to": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ] }, "date_on_sale_to_gmt": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ] }, "status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Vari\u0101cijas statuss.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ] }, "virtual": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Ja vari\u0101cija ir virtu\u0101la.", "type": "boolean" }, "downloadable": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Ja vari\u0101cija ir lejupiel\u0101d\u0113jama.", "type": "boolean" }, "downloads": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer" }, "download_expiry": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer" }, "tax_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Nodok\u013cu status.", "type": "string", "enum": [ "taxable", "shipping", "none" ] }, "tax_class": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Nodok\u013cu likme.", "type": "string" }, "manage_stock": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Noliktavas uzskaite vari\u0101cijas l\u012bmen\u012b.", "type": [ "boolean", "string" ] }, "stock_quantity": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Daudzums noliktav\u0101.", "type": "integer" }, "stock_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ] }, "backorders": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "enum": [ "no", "notify", "yes" ] }, "low_stock_amount": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Low Stock amount for the variation.", "type": [ "integer", "null" ] }, "weight": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Vari\u0101cijas svars (kg).", "type": "string" }, "dimensions": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Vari\u0101ciju izm\u0113ri.", "type": "object", "properties": { "length": { "description": "Vari\u0101cijas garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Vari\u0101cijas platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Vari\u0101cijas augstums (cm).", "type": "string", "context": [ "view", "edit" ] } } }, "shipping_class": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Pieg\u0101des klases taka.", "type": "string" }, "image": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Vari\u0101cijas att\u0113la dati.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } } }, "attributes": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Atrib\u016btu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } } }, "menu_order": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Izv\u0113lnes sec\u012bba, ko izmanto pas\u016bt\u012bjuma \u0161\u0137iro\u0161anai.", "type": "integer" }, "meta_data": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "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": "Product parent name.", "type": "string" }, "parent_id": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Produkta vec\u0101ku ID.", "type": "integer" } }, "required": false }, "type": { "default": "variation", "description": "Produkta tips.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Vari\u0101cijas apraksts.", "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": "Vari\u0101cijas regul\u0101r\u0101 cena.", "type": "string", "required": false }, "sale_price": { "description": "Vari\u0101cijas p\u0101rdo\u0161anas cena.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Akciju s\u0101kuma datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "S\u0101kuma datums izp\u0101rdo\u0161anas cen\u0101m, k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "status": { "default": "publish", "description": "Vari\u0101cijas statuss.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "default": false, "description": "Ja vari\u0101cija ir virtu\u0101la.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Ja vari\u0101cija ir lejupiel\u0101d\u0113jama.", "type": "boolean", "required": false }, "downloads": { "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "Nodok\u013cu status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Nodok\u013cu likme.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Noliktavas uzskaite vari\u0101cijas l\u012bmen\u012b.", "type": [ "boolean", "string" ], "required": false }, "stock_quantity": { "description": "Daudzums noliktav\u0101.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the variation.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Vari\u0101cijas svars (kg).", "type": "string", "required": false }, "dimensions": { "description": "Vari\u0101ciju izm\u0113ri.", "type": "object", "properties": { "length": { "description": "Vari\u0101cijas garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Vari\u0101cijas platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Vari\u0101cijas augstums (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Pieg\u0101des klases taka.", "type": "string", "required": false }, "image": { "description": "Vari\u0101cijas att\u0113la dati.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Atrib\u016btu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto pas\u016bt\u012bjuma \u0161\u0137iro\u0161anai.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Product parent name.", "type": "string", "required": false }, "parent_id": { "description": "Produkta vec\u0101ku ID.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "delete": { "description": "Deletes unused variations.", "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": "Produkta tips.", "type": "string", "enum": [ "variation" ] }, "description": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Vari\u0101cijas apraksts.", "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": "Vari\u0101cijas regul\u0101r\u0101 cena.", "type": "string" }, "sale_price": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Vari\u0101cijas p\u0101rdo\u0161anas cena.", "type": "string" }, "date_on_sale_from": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Akciju s\u0101kuma datums vietnes laika zon\u0101.", "type": [ "null", "string" ] }, "date_on_sale_from_gmt": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "S\u0101kuma datums izp\u0101rdo\u0161anas cen\u0101m, k\u0101 GMT.", "type": [ "null", "string" ] }, "date_on_sale_to": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ] }, "date_on_sale_to_gmt": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ] }, "status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Vari\u0101cijas statuss.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ] }, "virtual": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Ja vari\u0101cija ir virtu\u0101la.", "type": "boolean" }, "downloadable": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Ja vari\u0101cija ir lejupiel\u0101d\u0113jama.", "type": "boolean" }, "downloads": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer" }, "download_expiry": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer" }, "tax_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Nodok\u013cu status.", "type": "string", "enum": [ "taxable", "shipping", "none" ] }, "tax_class": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Nodok\u013cu likme.", "type": "string" }, "manage_stock": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Noliktavas uzskaite vari\u0101cijas l\u012bmen\u012b.", "type": [ "boolean", "string" ] }, "stock_quantity": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Daudzums noliktav\u0101.", "type": "integer" }, "stock_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ] }, "backorders": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "enum": [ "no", "notify", "yes" ] }, "low_stock_amount": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Low Stock amount for the variation.", "type": [ "integer", "null" ] }, "weight": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Vari\u0101cijas svars (kg).", "type": "string" }, "dimensions": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Vari\u0101ciju izm\u0113ri.", "type": "object", "properties": { "length": { "description": "Vari\u0101cijas garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Vari\u0101cijas platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Vari\u0101cijas augstums (cm).", "type": "string", "context": [ "view", "edit" ] } } }, "shipping_class": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Pieg\u0101des klases taka.", "type": "string" }, "image": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Vari\u0101cijas att\u0113la dati.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } } }, "attributes": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Atrib\u016btu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } } }, "menu_order": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Izv\u0113lnes sec\u012bba, ko izmanto pas\u016bt\u012bjuma \u0161\u0137iro\u0161anai.", "type": "integer" }, "meta_data": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "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": "Product parent name.", "type": "string" }, "parent_id": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Produkta vec\u0101ku ID.", "type": "integer" } }, "required": false }, "type": { "default": "variation", "description": "Produkta tips.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Vari\u0101cijas apraksts.", "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": "Vari\u0101cijas regul\u0101r\u0101 cena.", "type": "string", "required": false }, "sale_price": { "description": "Vari\u0101cijas p\u0101rdo\u0161anas cena.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Akciju s\u0101kuma datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "S\u0101kuma datums izp\u0101rdo\u0161anas cen\u0101m, k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "status": { "default": "publish", "description": "Vari\u0101cijas statuss.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "default": false, "description": "Ja vari\u0101cija ir virtu\u0101la.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Ja vari\u0101cija ir lejupiel\u0101d\u0113jama.", "type": "boolean", "required": false }, "downloads": { "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "Nodok\u013cu status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Nodok\u013cu likme.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Noliktavas uzskaite vari\u0101cijas l\u012bmen\u012b.", "type": [ "boolean", "string" ], "required": false }, "stock_quantity": { "description": "Daudzums noliktav\u0101.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the variation.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Vari\u0101cijas svars (kg).", "type": "string", "required": false }, "dimensions": { "description": "Vari\u0101ciju izm\u0113ri.", "type": "object", "properties": { "length": { "description": "Vari\u0101cijas garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Vari\u0101cijas platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Vari\u0101cijas augstums (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Pieg\u0101des klases taka.", "type": "string", "required": false }, "image": { "description": "Vari\u0101cijas att\u0113la dati.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Atrib\u016btu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto pas\u016bt\u012bjuma \u0161\u0137iro\u0161anai.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Product parent name.", "type": "string", "required": false }, "parent_id": { "description": "Produkta vec\u0101ku ID.", "type": "integer", "required": false } } } ] }, "\/wc-analytics\/variations": { "namespace": "wc-analytics", "methods": [ "GET", "GET", "GET", "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Search by similar product name, sku, or attribute value.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "menu_order" ], "required": false }, "parent": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz noteiktu vec\u0101ku ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz visiem vienumiem, iz\u0146emot konkr\u0113ta vec\u0101ka ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem ar \u012bpa\u0161u taku.", "type": "string", "required": false }, "status": { "default": "any", "description": "Robe\u017eas rezult\u0101ts ir noteikts produktiem, kam pie\u0161\u0137irts \u012bpa\u0161s statuss.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "sku": { "description": "Robe\u017ea rezult\u0101ts tiek noteikts produktiem ar konkr\u0113tu SKU. Izmantojiet komatus, lai no\u0161\u0137irtu.", "type": "string", "required": false }, "on_sale": { "description": "Ierobe\u017eots rezult\u0101ts p\u0101rdo\u0161anas produktiem.", "type": "boolean", "required": false }, "min_price": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem, kuru pamat\u0101 ir minim\u0101l\u0101 cena.", "type": "string", "required": false }, "max_price": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem, kuru pamat\u0101 ir maksim\u0101l\u0101 cena.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Limit meta_data to specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Ensure meta_data excludes specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Rezult\u0101tu kopas ierobe\u017eo\u0161ana uz produktiem ar nor\u0101d\u012bto kr\u0101jumu statusu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "has_price": { "description": "Limit result set to products with or without price.", "type": "boolean", "required": false }, "attributes": { "description": "Limit result set to products with specified attributes.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "type": "string", "description": "Attribute slug." }, "term": { "type": "string", "description": "Attribute term." }, "terms": { "type": "array", "description": "Attribute terms." } } }, "required": false }, "virtual": { "description": "Limit result set to virtual product variations.", "type": "boolean", "required": false }, "downloadable": { "description": "Limit result set to downloadable product variations.", "type": "boolean", "required": false }, "include_status": { "description": "Limit result set to product variations with any of the statuses.", "type": "array", "items": { "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "exclude_status": { "description": "Exclude product variations with any of the statuses from result set.", "type": "array", "items": { "type": "string", "enum": [ "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false } } }, { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Search by similar product name, sku, or attribute value.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "menu_order" ], "required": false }, "parent": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz noteiktu vec\u0101ku ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz visiem vienumiem, iz\u0146emot konkr\u0113ta vec\u0101ka ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem ar \u012bpa\u0161u taku.", "type": "string", "required": false }, "status": { "default": "any", "description": "Robe\u017eas rezult\u0101ts ir noteikts produktiem, kam pie\u0161\u0137irts \u012bpa\u0161s statuss.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "sku": { "description": "Robe\u017ea rezult\u0101ts tiek noteikts produktiem ar konkr\u0113tu SKU. Izmantojiet komatus, lai no\u0161\u0137irtu.", "type": "string", "required": false }, "on_sale": { "description": "Ierobe\u017eots rezult\u0101ts p\u0101rdo\u0161anas produktiem.", "type": "boolean", "required": false }, "min_price": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem, kuru pamat\u0101 ir minim\u0101l\u0101 cena.", "type": "string", "required": false }, "max_price": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem, kuru pamat\u0101 ir maksim\u0101l\u0101 cena.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Limit meta_data to specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Ensure meta_data excludes specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Rezult\u0101tu kopas ierobe\u017eo\u0161ana uz produktiem ar nor\u0101d\u012bto kr\u0101jumu statusu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "has_price": { "description": "Limit result set to products with or without price.", "type": "boolean", "required": false }, "attributes": { "description": "Limit result set to products with specified attributes.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "type": "string", "description": "Attribute slug." }, "term": { "type": "string", "description": "Attribute term." }, "terms": { "type": "array", "description": "Attribute terms." } } }, "required": false }, "virtual": { "description": "Limit result set to virtual product variations.", "type": "boolean", "required": false }, "downloadable": { "description": "Limit result set to downloadable product variations.", "type": "boolean", "required": false }, "include_status": { "description": "Limit result set to product variations with any of the statuses.", "type": "array", "items": { "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "exclude_status": { "description": "Exclude product variations with any of the statuses from result set.", "type": "array", "items": { "type": "string", "enum": [ "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false } } }, { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Search by similar product name, sku, or attribute value.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "menu_order" ], "required": false }, "parent": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz noteiktu vec\u0101ku ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz visiem vienumiem, iz\u0146emot konkr\u0113ta vec\u0101ka ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem ar \u012bpa\u0161u taku.", "type": "string", "required": false }, "status": { "default": "any", "description": "Robe\u017eas rezult\u0101ts ir noteikts produktiem, kam pie\u0161\u0137irts \u012bpa\u0161s statuss.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "sku": { "description": "Robe\u017ea rezult\u0101ts tiek noteikts produktiem ar konkr\u0113tu SKU. Izmantojiet komatus, lai no\u0161\u0137irtu.", "type": "string", "required": false }, "on_sale": { "description": "Ierobe\u017eots rezult\u0101ts p\u0101rdo\u0161anas produktiem.", "type": "boolean", "required": false }, "min_price": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem, kuru pamat\u0101 ir minim\u0101l\u0101 cena.", "type": "string", "required": false }, "max_price": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem, kuru pamat\u0101 ir maksim\u0101l\u0101 cena.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Limit meta_data to specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Ensure meta_data excludes specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Rezult\u0101tu kopas ierobe\u017eo\u0161ana uz produktiem ar nor\u0101d\u012bto kr\u0101jumu statusu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "has_price": { "description": "Limit result set to products with or without price.", "type": "boolean", "required": false }, "attributes": { "description": "Limit result set to products with specified attributes.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "type": "string", "description": "Attribute slug." }, "term": { "type": "string", "description": "Attribute term." }, "terms": { "type": "array", "description": "Attribute terms." } } }, "required": false }, "virtual": { "description": "Limit result set to virtual product variations.", "type": "boolean", "required": false }, "downloadable": { "description": "Limit result set to downloadable product variations.", "type": "boolean", "required": false }, "include_status": { "description": "Limit result set to product variations with any of the statuses.", "type": "array", "items": { "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "exclude_status": { "description": "Exclude product variations with any of the statuses from result set.", "type": "array", "items": { "type": "string", "enum": [ "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false } } }, { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Search by similar product name, sku, or attribute value.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "menu_order" ], "required": false }, "parent": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz noteiktu vec\u0101ku ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz visiem vienumiem, iz\u0146emot konkr\u0113ta vec\u0101ka ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem ar \u012bpa\u0161u taku.", "type": "string", "required": false }, "status": { "default": "any", "description": "Robe\u017eas rezult\u0101ts ir noteikts produktiem, kam pie\u0161\u0137irts \u012bpa\u0161s statuss.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "sku": { "description": "Robe\u017ea rezult\u0101ts tiek noteikts produktiem ar konkr\u0113tu SKU. Izmantojiet komatus, lai no\u0161\u0137irtu.", "type": "string", "required": false }, "on_sale": { "description": "Ierobe\u017eots rezult\u0101ts p\u0101rdo\u0161anas produktiem.", "type": "boolean", "required": false }, "min_price": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem, kuru pamat\u0101 ir minim\u0101l\u0101 cena.", "type": "string", "required": false }, "max_price": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem, kuru pamat\u0101 ir maksim\u0101l\u0101 cena.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Limit meta_data to specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Ensure meta_data excludes specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Rezult\u0101tu kopas ierobe\u017eo\u0161ana uz produktiem ar nor\u0101d\u012bto kr\u0101jumu statusu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "has_price": { "description": "Limit result set to products with or without price.", "type": "boolean", "required": false }, "attributes": { "description": "Limit result set to products with specified attributes.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "type": "string", "description": "Attribute slug." }, "term": { "type": "string", "description": "Attribute term." }, "terms": { "type": "array", "description": "Attribute terms." } } }, "required": false }, "virtual": { "description": "Limit result set to virtual product variations.", "type": "boolean", "required": false }, "downloadable": { "description": "Limit result set to downloadable product variations.", "type": "boolean", "required": false }, "include_status": { "description": "Limit result set to product variations with any of the statuses.", "type": "array", "items": { "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "exclude_status": { "description": "Exclude product variations with any of the statuses from result set.", "type": "array", "items": { "type": "string", "enum": [ "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-analytics\/variations" } ] } }, "\/wc-analytics\/products\/reviews": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to reviews published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date_gmt", "enum": [ "date", "date_gmt", "id", "include", "product" ], "required": false }, "reviewer": { "description": "Limit result set to reviews assigned to specific user IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "reviewer_exclude": { "description": "Ensure result set excludes reviews assigned to specific user IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "reviewer_email": { "default": null, "description": "Limit result set to that from a specific author email.", "format": "email", "type": "string", "required": false }, "product": { "default": [], "description": "Limit result set to reviews assigned to specific product IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "status": { "default": "approved", "description": "Limit result set to reviews assigned a specific status.", "type": "string", "enum": [ "all", "hold", "approved", "spam", "trash" ], "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Produkta unik\u0101lais identifikators.", "type": "integer", "required": true }, "product_name": { "description": "Produkta nosaukums.", "type": "string", "required": false }, "status": { "default": "approved", "description": "Status of the review.", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "type": "string", "description": "P\u0101rskata sast\u0101d\u012bt\u0101js.", "required": true }, "reviewer_email": { "type": "string", "description": "Recenzents e-pasts.", "required": true }, "review": { "type": "string", "description": "P\u0101rskat\u012bt saturu.", "required": true }, "rating": { "description": "P\u0101rskata reitings (no 0 l\u012bdz 5).", "type": "integer", "required": false } } }, { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to reviews published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date_gmt", "enum": [ "date", "date_gmt", "id", "include", "product" ], "required": false }, "reviewer": { "description": "Limit result set to reviews assigned to specific user IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "reviewer_exclude": { "description": "Ensure result set excludes reviews assigned to specific user IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "reviewer_email": { "default": null, "description": "Limit result set to that from a specific author email.", "format": "email", "type": "string", "required": false }, "product": { "default": [], "description": "Limit result set to reviews assigned to specific product IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "status": { "default": "approved", "description": "Limit result set to reviews assigned a specific status.", "type": "string", "enum": [ "all", "hold", "approved", "spam", "trash" ], "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Produkta unik\u0101lais identifikators.", "type": "integer", "required": true }, "product_name": { "description": "Produkta nosaukums.", "type": "string", "required": false }, "status": { "default": "approved", "description": "Status of the review.", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "type": "string", "description": "P\u0101rskata sast\u0101d\u012bt\u0101js.", "required": true }, "reviewer_email": { "type": "string", "description": "Recenzents e-pasts.", "required": true }, "review": { "type": "string", "description": "P\u0101rskat\u012bt saturu.", "required": true }, "rating": { "description": "P\u0101rskata reitings (no 0 l\u012bdz 5).", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "product_id": { "description": "Unique identifier for the product that the review belongs to.", "type": "integer", "required": false }, "product_name": { "description": "Produkta nosaukums.", "type": "string", "required": false }, "status": { "description": "Status of the review.", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "description": "Recenzenta v\u0101rsds.", "type": "string", "required": false }, "reviewer_email": { "description": "Recenzenta e-pasts.", "type": "string", "format": "email", "required": false }, "review": { "description": "Recenzijas saturs.", "type": "string", "required": false }, "rating": { "description": "P\u0101rskata reitings (no 0 l\u012bdz 5).", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Vai apiet atkritumus un uzspiest dz\u0113\u0161anu.", "required": false } } }, { "methods": [ "GET" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "product_id": { "description": "Unique identifier for the product that the review belongs to.", "type": "integer", "required": false }, "product_name": { "description": "Produkta nosaukums.", "type": "string", "required": false }, "status": { "description": "Status of the review.", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "description": "Recenzenta v\u0101rsds.", "type": "string", "required": false }, "reviewer_email": { "description": "Recenzenta e-pasts.", "type": "string", "format": "email", "required": false }, "review": { "description": "Recenzijas saturs.", "type": "string", "required": false }, "rating": { "description": "P\u0101rskata reitings (no 0 l\u012bdz 5).", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Vai apiet atkritumus un uzspiest dz\u0113\u0161anu.", "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": "Unique identifier for the product that the review belongs to.", "type": "integer", "required": false }, "product_name": { "description": "Produkta nosaukums.", "type": "string", "required": false }, "status": { "description": "Status of the review.", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "description": "Recenzenta v\u0101rsds.", "type": "string", "required": false }, "reviewer_email": { "description": "Recenzenta e-pasts.", "type": "string", "format": "email", "required": false }, "review": { "description": "Recenzijas saturs.", "type": "string", "required": false }, "rating": { "description": "P\u0101rskata reitings (no 0 l\u012bdz 5).", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Unique identifier for the product that the review belongs to.", "type": "integer", "required": false }, "product_name": { "description": "Produkta nosaukums.", "type": "string", "required": false }, "status": { "description": "Status of the review.", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "description": "Recenzenta v\u0101rsds.", "type": "string", "required": false }, "reviewer_email": { "description": "Recenzenta e-pasts.", "type": "string", "format": "email", "required": false }, "review": { "description": "Recenzijas saturs.", "type": "string", "required": false }, "rating": { "description": "P\u0101rskata reitings (no 0 l\u012bdz 5).", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "status": { "default": "publish", "description": "Robe\u017eas rezult\u0101ts ir noteikts produktiem, kam pie\u0161\u0137irts \u012bpa\u0161s statuss.", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false } } }, { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "status": { "default": "publish", "description": "Robe\u017eas rezult\u0101ts ir noteikts produktiem, kam pie\u0161\u0137irts \u012bpa\u0161s statuss.", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "status": { "default": "publish", "description": "Robe\u017eas rezult\u0101ts ir noteikts produktiem, kam pie\u0161\u0137irts \u012bpa\u0161s statuss.", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false } } }, { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "status": { "default": "publish", "description": "Robe\u017eas rezult\u0101ts ir noteikts produktiem, kam pie\u0161\u0137irts \u012bpa\u0161s statuss.", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Iestat\u012bjumu grupas ID.", "type": "string", "required": false } } }, { "methods": [ "GET" ], "args": { "group": { "description": "Iestat\u012bjumu grupas 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": "Iestat\u012bjumu grupas ID.", "type": "string", "required": false }, "value": { "description": "Iestat\u012bjumu v\u0113rt\u012bba.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "description": "Iestat\u012bjumu grupas ID.", "type": "string", "required": false }, "value": { "description": "Iestat\u012bjumu v\u0113rt\u012bba.", "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": "Iestat\u012bjumu grupas ID.", "type": "string", "required": false }, "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "description": "Iestat\u012bjumu grupas ID.", "type": "string", "required": false }, "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "string", "required": false }, "value": { "description": "Iestat\u012bjumu v\u0113rt\u012bba.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false } } }, { "methods": [ "GET" ], "args": { "group": { "description": "Iestat\u012bjumu grupas ID.", "type": "string", "required": false }, "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "description": "Iestat\u012bjumu grupas ID.", "type": "string", "required": false }, "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "string", "required": false }, "value": { "description": "Iestat\u012bjumu v\u0113rt\u012bba.", "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": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "order", "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "enum": [ "id", "order", "priority" ], "type": "string", "required": false }, "class": { "description": "K\u0101rtot p\u0113c nodok\u013cu klases.", "enum": [ "standard", "%e5%87%8f%e7%a8%8e%e7%a8%8e%e7%8e%87", "%e9%9b%b6%e7%a8%8e%e7%8e%87" ], "type": "string", "required": false }, "search": { "description": "Search by similar tax code.", "type": "string", "required": false }, "include": { "description": "Limit result set to items that have the specified rate ID(s) assigned.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false } } }, { "methods": [ "POST" ], "args": { "country": { "description": "Valsts ISO 3166 kods.", "type": "string", "required": false }, "state": { "description": "Valsts kods.", "type": "string", "required": false }, "postcode": { "description": "Postcode\/ZIP, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'postcodes' should be used instead.", "type": "string", "required": false }, "city": { "description": "City name, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'cities' should be used instead.", "type": "string", "required": false }, "rate": { "description": "Nodok\u013ca likme.", "type": "string", "required": false }, "name": { "description": "Nodok\u013ca likmes nosaukums.", "type": "string", "required": false }, "priority": { "default": 1, "description": "Nodok\u013cu priorit\u0101te.", "type": "integer", "required": false }, "compound": { "default": false, "description": "Neatkar\u012bgi no t\u0101, vai \u0161\u012b ir salikt\u0101 likme.", "type": "boolean", "required": false }, "shipping": { "default": true, "description": "Vai \u0161\u012b nodok\u013ca likme ar\u012b tiek piem\u0113rota pieg\u0101dei.", "type": "boolean", "required": false }, "order": { "description": "Nor\u0101da pas\u016bt\u012bjumu, kas tiks par\u0101d\u012bts vaic\u0101jumos.", "type": "integer", "required": false }, "class": { "default": "standard", "description": "Nodok\u013cu likme.", "type": "string", "enum": [ "standard", "%e5%87%8f%e7%a8%8e%e7%a8%8e%e7%8e%87", "%e9%9b%b6%e7%a8%8e%e7%8e%87" ], "required": false }, "postcodes": { "description": "List of postcodes \/ ZIPs. Introduced in WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false }, "cities": { "description": "List of city names. Introduced in WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "order", "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "enum": [ "id", "order", "priority" ], "type": "string", "required": false }, "class": { "description": "K\u0101rtot p\u0113c nodok\u013cu klases.", "enum": [ "standard", "%e5%87%8f%e7%a8%8e%e7%a8%8e%e7%8e%87", "%e9%9b%b6%e7%a8%8e%e7%8e%87" ], "type": "string", "required": false }, "search": { "description": "Search by similar tax code.", "type": "string", "required": false }, "include": { "description": "Limit result set to items that have the specified rate ID(s) assigned.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false } } }, { "methods": [ "POST" ], "args": { "country": { "description": "Valsts ISO 3166 kods.", "type": "string", "required": false }, "state": { "description": "Valsts kods.", "type": "string", "required": false }, "postcode": { "description": "Postcode\/ZIP, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'postcodes' should be used instead.", "type": "string", "required": false }, "city": { "description": "City name, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'cities' should be used instead.", "type": "string", "required": false }, "rate": { "description": "Nodok\u013ca likme.", "type": "string", "required": false }, "name": { "description": "Nodok\u013ca likmes nosaukums.", "type": "string", "required": false }, "priority": { "default": 1, "description": "Nodok\u013cu priorit\u0101te.", "type": "integer", "required": false }, "compound": { "default": false, "description": "Neatkar\u012bgi no t\u0101, vai \u0161\u012b ir salikt\u0101 likme.", "type": "boolean", "required": false }, "shipping": { "default": true, "description": "Vai \u0161\u012b nodok\u013ca likme ar\u012b tiek piem\u0113rota pieg\u0101dei.", "type": "boolean", "required": false }, "order": { "description": "Nor\u0101da pas\u016bt\u012bjumu, kas tiks par\u0101d\u012bts vaic\u0101jumos.", "type": "integer", "required": false }, "class": { "default": "standard", "description": "Nodok\u013cu likme.", "type": "string", "enum": [ "standard", "%e5%87%8f%e7%a8%8e%e7%a8%8e%e7%8e%87", "%e9%9b%b6%e7%a8%8e%e7%8e%87" ], "required": false }, "postcodes": { "description": "List of postcodes \/ ZIPs. Introduced in WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false }, "cities": { "description": "List of city names. Introduced in WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "country": { "description": "Valsts ISO 3166 kods.", "type": "string", "required": false }, "state": { "description": "Valsts kods.", "type": "string", "required": false }, "postcode": { "description": "Postcode\/ZIP, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'postcodes' should be used instead.", "type": "string", "required": false }, "city": { "description": "City name, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'cities' should be used instead.", "type": "string", "required": false }, "rate": { "description": "Nodok\u013ca likme.", "type": "string", "required": false }, "name": { "description": "Nodok\u013ca likmes nosaukums.", "type": "string", "required": false }, "priority": { "description": "Nodok\u013cu priorit\u0101te.", "type": "integer", "required": false }, "compound": { "description": "Neatkar\u012bgi no t\u0101, vai \u0161\u012b ir salikt\u0101 likme.", "type": "boolean", "required": false }, "shipping": { "description": "Vai \u0161\u012b nodok\u013ca likme ar\u012b tiek piem\u0113rota pieg\u0101dei.", "type": "boolean", "required": false }, "order": { "description": "Nor\u0101da pas\u016bt\u012bjumu, kas tiks par\u0101d\u012bts vaic\u0101jumos.", "type": "integer", "required": false }, "class": { "description": "Nodok\u013cu likme.", "type": "string", "enum": [ "standard", "%e5%87%8f%e7%a8%8e%e7%a8%8e%e7%8e%87", "%e9%9b%b6%e7%a8%8e%e7%8e%87" ], "required": false }, "postcodes": { "description": "List of postcodes \/ ZIPs. Introduced in WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false }, "cities": { "description": "List of city names. Introduced in WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Nepiecie\u0161ams b\u016bt patiesam, jo resurss neatbalsta m\u0113slo\u0161anu.", "required": false } } }, { "methods": [ "GET" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "country": { "description": "Valsts ISO 3166 kods.", "type": "string", "required": false }, "state": { "description": "Valsts kods.", "type": "string", "required": false }, "postcode": { "description": "Postcode\/ZIP, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'postcodes' should be used instead.", "type": "string", "required": false }, "city": { "description": "City name, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'cities' should be used instead.", "type": "string", "required": false }, "rate": { "description": "Nodok\u013ca likme.", "type": "string", "required": false }, "name": { "description": "Nodok\u013ca likmes nosaukums.", "type": "string", "required": false }, "priority": { "description": "Nodok\u013cu priorit\u0101te.", "type": "integer", "required": false }, "compound": { "description": "Neatkar\u012bgi no t\u0101, vai \u0161\u012b ir salikt\u0101 likme.", "type": "boolean", "required": false }, "shipping": { "description": "Vai \u0161\u012b nodok\u013ca likme ar\u012b tiek piem\u0113rota pieg\u0101dei.", "type": "boolean", "required": false }, "order": { "description": "Nor\u0101da pas\u016bt\u012bjumu, kas tiks par\u0101d\u012bts vaic\u0101jumos.", "type": "integer", "required": false }, "class": { "description": "Nodok\u013cu likme.", "type": "string", "enum": [ "standard", "%e5%87%8f%e7%a8%8e%e7%a8%8e%e7%8e%87", "%e9%9b%b6%e7%a8%8e%e7%8e%87" ], "required": false }, "postcodes": { "description": "List of postcodes \/ ZIPs. Introduced in WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false }, "cities": { "description": "List of city names. Introduced in WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Nepiecie\u0161ams b\u016bt patiesam, jo resurss neatbalsta m\u0113slo\u0161anu.", "required": false } } } ] }, "\/wc-analytics\/taxes\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "country": { "description": "Valsts ISO 3166 kods.", "type": "string", "required": false }, "state": { "description": "Valsts kods.", "type": "string", "required": false }, "postcode": { "description": "Postcode\/ZIP, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'postcodes' should be used instead.", "type": "string", "required": false }, "city": { "description": "City name, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'cities' should be used instead.", "type": "string", "required": false }, "rate": { "description": "Nodok\u013ca likme.", "type": "string", "required": false }, "name": { "description": "Nodok\u013ca likmes nosaukums.", "type": "string", "required": false }, "priority": { "description": "Nodok\u013cu priorit\u0101te.", "type": "integer", "required": false }, "compound": { "description": "Neatkar\u012bgi no t\u0101, vai \u0161\u012b ir salikt\u0101 likme.", "type": "boolean", "required": false }, "shipping": { "description": "Vai \u0161\u012b nodok\u013ca likme ar\u012b tiek piem\u0113rota pieg\u0101dei.", "type": "boolean", "required": false }, "order": { "description": "Nor\u0101da pas\u016bt\u012bjumu, kas tiks par\u0101d\u012bts vaic\u0101jumos.", "type": "integer", "required": false }, "class": { "description": "Nodok\u013cu likme.", "type": "string", "enum": [ "standard", "%e5%87%8f%e7%a8%8e%e7%a8%8e%e7%8e%87", "%e9%9b%b6%e7%a8%8e%e7%8e%87" ], "required": false }, "postcodes": { "description": "List of postcodes \/ ZIPs. Introduced in WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false }, "cities": { "description": "List of city names. Introduced in WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "country": { "description": "Valsts ISO 3166 kods.", "type": "string", "required": false }, "state": { "description": "Valsts kods.", "type": "string", "required": false }, "postcode": { "description": "Postcode\/ZIP, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'postcodes' should be used instead.", "type": "string", "required": false }, "city": { "description": "City name, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'cities' should be used instead.", "type": "string", "required": false }, "rate": { "description": "Nodok\u013ca likme.", "type": "string", "required": false }, "name": { "description": "Nodok\u013ca likmes nosaukums.", "type": "string", "required": false }, "priority": { "description": "Nodok\u013cu priorit\u0101te.", "type": "integer", "required": false }, "compound": { "description": "Neatkar\u012bgi no t\u0101, vai \u0161\u012b ir salikt\u0101 likme.", "type": "boolean", "required": false }, "shipping": { "description": "Vai \u0161\u012b nodok\u013ca likme ar\u012b tiek piem\u0113rota pieg\u0101dei.", "type": "boolean", "required": false }, "order": { "description": "Nor\u0101da pas\u016bt\u012bjumu, kas tiks par\u0101d\u012bts vaic\u0101jumos.", "type": "integer", "required": false }, "class": { "description": "Nodok\u013cu likme.", "type": "string", "enum": [ "standard", "%e5%87%8f%e7%a8%8e%e7%a8%8e%e7%8e%87", "%e9%9b%b6%e7%a8%8e%e7%8e%87" ], "required": false }, "postcodes": { "description": "List of postcodes \/ ZIPs. Introduced in WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false }, "cities": { "description": "List of city names. Introduced in WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/store\/batch" } ] } }, "\/wc\/store\/cart": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Darb\u012bbas joma, saska\u0146\u0101 ar kuru tiek iesniegts piepras\u012bjums; nosaka laukus, kas atrodas atbild\u0113.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "The cart item product or variation ID.", "type": "integer", "required": false }, "quantity": { "description": "Quantity of this item to add to the cart.", "type": "number", "required": false }, "variation": { "description": "Chosen attributes (for variations).", "type": "array", "items": { "type": "object", "properties": { "attribute": { "description": "Variation attribute name.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Variation attribute value.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Unique identifier for the coupon within the cart.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Darb\u012bbas joma, saska\u0146\u0101 ar kuru tiek iesniegts piepras\u012bjums; nosaka laukus, kas atrodas atbild\u0113.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "The coupon's unique code.", "type": "string", "required": false }, "discount_type": { "description": "The discount type for the coupon (e.g. percentage or fixed amount)", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Unique identifier for the coupon within the cart.", "type": "string", "required": false }, "context": { "description": "Darb\u012bbas joma, saska\u0146\u0101 ar kuru tiek iesniegts piepras\u012bjums; nosaka laukus, kas atrodas atbild\u0113.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "Unique identifier for the coupon within the cart.", "type": "string", "required": false } } } ] }, "\/wc\/store\/cart\/extensions": { "namespace": "wc\/store", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "namespace": { "description": "Extension's name - this will be used to ensure the data in the request is routed appropriately.", "type": "string", "required": false }, "data": { "description": "Additional data to pass to the extension", "type": "object", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Darb\u012bbas joma, saska\u0146\u0101 ar kuru tiek iesniegts piepras\u012bjums; nosaka laukus, kas atrodas atbild\u0113.", "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:\/\/www.triumphgifts.com\/lv\/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": "Unique identifier for the item within the cart.", "type": "string", "required": false }, "context": { "description": "Darb\u012bbas joma, saska\u0146\u0101 ar kuru tiek iesniegts piepras\u012bjums; nosaka laukus, kas atrodas atbild\u0113.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "Unique identifier for the item within the cart.", "type": "string", "required": false }, "extensions": { "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "Unique identifier for the item within the cart.", "type": "string", "required": false } } } ] }, "\/wc\/store\/cart\/remove-coupon": { "namespace": "wc\/store", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "Unique identifier for the coupon within the cart.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Unique identifier (key) for the cart item.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "The ID of the package being shipped. Leave blank to apply to all packages.", "type": [ "integer", "string", "null" ], "required": false }, "rate_id": { "description": "The chosen rate ID for the package.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Unique identifier (key) for the cart item to update.", "type": "string", "required": false }, "quantity": { "description": "New quantity of the item in the cart.", "type": "number", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Nor\u0113\u0137inu adrese.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Uzv\u0101rds", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Uz\u0146\u0113mums", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Adrese", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Dz\u012bvoklis, m\u0101jas nosaukums u.tml.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Pils\u0113ta", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "State\/County code, or name of the state, county, province, or district.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Pasta Indekss", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Valsts\/re\u0123iona kods ISO 3166-1 alfa-2 form\u0101t\u0101.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "T\u0101lrunis", "type": "string", "context": [ "view", "edit" ], "required": true }, "email": { "description": "Epasts", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "shipping_address": { "description": "Pieg\u0101des adrese.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Uzv\u0101rds", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Uz\u0146\u0113mums", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Adrese", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Dz\u012bvoklis, m\u0101jas nosaukums u.tml.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Pils\u0113ta", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "State\/County code, or name of the state, county, province, or district.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Pasta Indekss", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Valsts\/re\u0123iona kods ISO 3166-1 alfa-2 form\u0101t\u0101.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "T\u0101lrunis", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/store\/cart\/update-customer" } ] } }, "\/wc\/store\/checkout": { "namespace": "wc\/store", "methods": [ "GET", "POST", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Darb\u012bbas joma, saska\u0146\u0101 ar kuru tiek iesniegts piepras\u012bjums; nosaka laukus, kas atrodas atbild\u0113.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "payment_data": { "description": "Data to pass through to the payment method when processing payment.", "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": "Note added to the order by the customer during checkout.", "type": "string", "required": false }, "billing_address": { "description": "Nor\u0113\u0137inu adrese.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Uzv\u0101rds", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Uz\u0146\u0113mums", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Adrese", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Dz\u012bvoklis, m\u0101jas nosaukums u.tml.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Pils\u0113ta", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "State\/County code, or name of the state, county, province, or district.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Pasta Indekss", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Valsts\/re\u0123iona kods ISO 3166-1 alfa-2 form\u0101t\u0101.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "T\u0101lrunis", "type": "string", "context": [ "view", "edit" ], "required": true }, "email": { "description": "Epasts", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": true }, "shipping_address": { "description": "Pieg\u0101des adrese.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Uzv\u0101rds", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Uz\u0146\u0113mums", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Adrese", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Dz\u012bvoklis, m\u0101jas nosaukums u.tml.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Pils\u0113ta", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "State\/County code, or name of the state, county, province, or district.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Pasta Indekss", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Valsts\/re\u0123iona kods ISO 3166-1 alfa-2 form\u0101t\u0101.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "T\u0101lrunis", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "payment_method": { "description": "The ID of the payment method being used to process the payment.", "type": "string", "enum": [ "", "bacs", "cheque", "cod" ], "required": false }, "create_account": { "description": "Whether to create a new user account as part of order processing.", "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 } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "additional_fields": { "description": "Additional fields to be persisted on the order.", "type": "object", "properties": [], "required": false }, "payment_method": { "description": "The ID of the payment method being used to process the payment.", "type": "string", "enum": [ "", "bacs", "cheque", "cod" ], "required": false }, "order_notes": { "description": "Order notes.", "type": "string", "required": false }, "customer_note": { "description": "Note added to the order by the customer during checkout.", "type": "string", "required": false }, "billing_address": { "description": "Nor\u0113\u0137inu adrese.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Uzv\u0101rds", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Uz\u0146\u0113mums", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Adrese", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Dz\u012bvoklis, m\u0101jas nosaukums u.tml.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Pils\u0113ta", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "State\/County code, or name of the state, county, province, or district.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Pasta Indekss", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Valsts\/re\u0123iona kods ISO 3166-1 alfa-2 form\u0101t\u0101.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "T\u0101lrunis", "type": "string", "context": [ "view", "edit" ], "required": true }, "email": { "description": "Epasts", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "shipping_address": { "description": "Pieg\u0101des adrese.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Uzv\u0101rds", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Uz\u0146\u0113mums", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Adrese", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Dz\u012bvoklis, m\u0101jas nosaukums u.tml.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Pils\u0113ta", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "State\/County code, or name of the state, county, province, or district.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Pasta Indekss", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Valsts\/re\u0123iona kods ISO 3166-1 alfa-2 form\u0101t\u0101.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "T\u0101lrunis", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "create_account": { "description": "Whether to create a new user account as part of order processing.", "type": "boolean", "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": [] } } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Data to pass through to the payment method when processing payment.", "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": { "type": [ "string", "boolean" ] } } }, "required": false }, "customer_note": { "description": "Note added to the order by the customer during checkout.", "type": "string", "required": false }, "billing_address": { "description": "Nor\u0113\u0137inu adrese.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Uzv\u0101rds", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Uz\u0146\u0113mums", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Adrese", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Dz\u012bvoklis, m\u0101jas nosaukums u.tml.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Pils\u0113ta", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "State\/County code, or name of the state, county, province, or district.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Pasta Indekss", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Valsts\/re\u0123iona kods ISO 3166-1 alfa-2 form\u0101t\u0101.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "T\u0101lrunis", "type": "string", "context": [ "view", "edit" ], "required": true }, "email": { "description": "Epasts", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": true }, "shipping_address": { "description": "Pieg\u0101des adrese.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Uzv\u0101rds", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Uz\u0146\u0113mums", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Adrese", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Dz\u012bvoklis, m\u0101jas nosaukums u.tml.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Pils\u0113ta", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "State\/County code, or name of the state, county, province, or district.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Pasta Indekss", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Valsts\/re\u0123iona kods ISO 3166-1 alfa-2 form\u0101t\u0101.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "T\u0101lrunis", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "payment_method": { "description": "The ID of the payment method being used to process the payment.", "type": "string", "enum": [ "", "bacs", "cheque", "cod" ], "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": "Darb\u012bbas joma, saska\u0146\u0101 ar kuru tiek iesniegts piepras\u012bjums; nosaka laukus, kas atrodas atbild\u0113.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/products\/attributes": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Darb\u012bbas joma, saska\u0146\u0101 ar kuru tiek iesniegts piepras\u012bjums; nosaka laukus, kas atrodas atbild\u0113.", "type": "string", "enum": [ "view", "edit" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/store\/products\/attributes" } ] } }, "\/wc\/store\/products\/attributes\/(?P[\\d]+)": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Darb\u012bbas joma, saska\u0146\u0101 ar kuru tiek iesniegts piepras\u012bjums; nosaka laukus, kas atrodas atbild\u0113.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/products\/attributes\/(?P[\\d]+)\/terms": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "attribute_id": { "description": "Unique identifier for the attribute.", "type": "integer", "required": false }, "context": { "description": "Darb\u012bbas joma, saska\u0146\u0101 ar kuru tiek iesniegts piepras\u012bjums; nosaka laukus, kas atrodas atbild\u0113.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set. Defaults to no limit if left blank.", "type": "integer", "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eojiet rezult\u0101tus tiem, kas atbilst virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Sort ascending or descending.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort by term property.", "type": "string", "default": "name", "enum": [ "name", "slug", "count", "menu_order", "name_num", "id" ], "required": false }, "hide_empty": { "description": "If true, empty terms will not be returned.", "type": "boolean", "default": true, "required": false } } } ] }, "\/wc\/store\/products\/categories": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Darb\u012bbas joma, saska\u0146\u0101 ar kuru tiek iesniegts piepras\u012bjums; nosaka laukus, kas atrodas atbild\u0113.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set. Defaults to no limit if left blank.", "type": "integer", "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eojiet rezult\u0101tus tiem, kas atbilst virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Sort ascending or descending.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort by term property.", "type": "string", "default": "name", "enum": [ "name", "slug", "count" ], "required": false }, "hide_empty": { "description": "If true, empty terms will not be returned.", "type": "boolean", "default": true, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/store\/products\/categories" } ] } }, "\/wc\/store\/products\/categories\/(?P[\\d]+)": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Darb\u012bbas joma, saska\u0146\u0101 ar kuru tiek iesniegts piepras\u012bjums; nosaka laukus, kas atrodas atbild\u0113.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/products\/brands": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Darb\u012bbas joma, saska\u0146\u0101 ar kuru tiek iesniegts piepras\u012bjums; nosaka laukus, kas atrodas atbild\u0113.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set. Defaults to no limit if left blank.", "type": "integer", "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eojiet rezult\u0101tus tiem, kas atbilst virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Sort ascending or descending.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort by term property.", "type": "string", "default": "name", "enum": [ "name", "slug", "count" ], "required": false }, "hide_empty": { "description": "If true, empty terms will not be returned.", "type": "boolean", "default": true, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/store\/products\/brands" } ] } }, "\/wc\/store\/products\/brands\/(?P[\\w-]+)": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "identifier": { "description": "Resursa unik\u0101lais identifikators.", "type": "string", "required": false }, "context": { "description": "Darb\u012bbas joma, saska\u0146\u0101 ar kuru tiek iesniegts piepras\u012bjums; nosaka laukus, kas atrodas atbild\u0113.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/products\/collection-data": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Darb\u012bbas joma, saska\u0146\u0101 ar kuru tiek iesniegts piepras\u012bjums; nosaka laukus, kas atrodas atbild\u0113.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set. Defaults to no limit if left blank.", "type": "integer", "default": 10, "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eojiet rezult\u0101tus tiem, kas atbilst virknei.", "type": "string", "required": false }, "slug": { "description": "Limit result set to products with specific slug(s). Use commas to separate.", "type": "string", "required": false }, "after": { "description": "Limit response to resources created after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources created before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "date_column": { "description": "When limiting response using after\/before, which date column to compare against.", "type": "string", "default": "date", "enum": [ "date", "date_gmt", "modified", "modified_gmt" ], "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "modified", "id", "include", "title", "slug", "price", "popularity", "rating", "menu_order", "comment_count" ], "required": false }, "parent": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz noteiktu vec\u0101ku ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz visiem vienumiem, iz\u0146emot konkr\u0113ta vec\u0101ka ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "type": { "description": "Robe\u017eas rezult\u0101ts noteikts produktiem, kuriem pie\u0161\u0137irts \u012bpa\u0161s veids.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "variation" ], "required": false }, "sku": { "description": "Robe\u017ea rezult\u0101ts tiek noteikts produktiem ar konkr\u0113tu SKU. Izmantojiet komatus, lai no\u0161\u0137irtu.", "type": "string", "required": false }, "featured": { "description": "Ierobe\u017eotais rezult\u0101ts, kas iestat\u012bts uz pied\u0101v\u0101tajiem produktiem.", "type": "boolean", "required": false }, "category": { "description": "Limit result set to products assigned a set of category IDs or slugs, separated by commas.", "type": "string", "required": false }, "category_operator": { "description": "Operator to compare product category terms.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "brand": { "description": "Limit result set to products assigned a set of brand IDs or slugs, separated by commas.", "type": "string", "required": false }, "brand_operator": { "description": "Operator to compare product brand terms.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "tag": { "description": "Limit result set to products assigned a set of tag IDs or slugs, separated by commas.", "type": "string", "required": false }, "tag_operator": { "description": "Operator to compare product tags.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "on_sale": { "description": "Ierobe\u017eots rezult\u0101ts p\u0101rdo\u0161anas produktiem.", "type": "boolean", "required": false }, "min_price": { "description": "Limit result set to products based on a minimum price, provided using the smallest unit of the currency.", "type": "string", "required": false }, "max_price": { "description": "Limit result set to products based on a maximum price, provided using the smallest unit of the currency.", "type": "string", "required": false }, "stock_status": { "description": "Rezult\u0101tu kopas ierobe\u017eo\u0161ana uz produktiem ar nor\u0101d\u012bto kr\u0101jumu statusu.", "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": "Limit result set to products with selected global attributes.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "description": "Attribute taxonomy name.", "type": "string", "sanitize_callback": "wc_sanitize_taxonomy_name" }, "term_id": { "description": "List of attribute term IDs.", "type": "array", "items": { "type": "integer" }, "sanitize_callback": "wp_parse_id_list" }, "slug": { "description": "List of attribute slug(s). If a term ID is provided, this will be ignored.", "type": "array", "items": { "type": "string" }, "sanitize_callback": "wp_parse_slug_list" }, "operator": { "description": "Operator to compare product attribute terms.", "type": "string", "enum": [ "in", "not_in", "and" ] } } }, "default": [], "required": false }, "attribute_relation": { "description": "The logical relationship between attributes when filtering across multiple at once.", "type": "string", "enum": [ "in", "and" ], "default": "and", "required": false }, "catalog_visibility": { "description": "Determines if hidden or visible catalog products are shown.", "type": "string", "enum": [ "any", "visible", "catalog", "search", "hidden" ], "required": false }, "rating": { "description": "Limit result set to products with a certain average rating.", "type": "array", "items": { "type": "integer", "enum": [ 1, 2, 3, 4, 5 ] }, "default": [], "required": false }, "calculate_price_range": { "description": "If true, calculates the minimum and maximum product prices for the collection.", "type": "boolean", "default": false, "required": false }, "calculate_stock_status_counts": { "description": "If true, calculates stock counts for products in the collection.", "type": "boolean", "default": false, "required": false }, "calculate_attribute_counts": { "description": "If requested, calculates attribute term counts for products in the collection.", "type": "array", "items": { "type": "object", "properties": { "taxonomy": { "description": "Taxonomy name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "query_type": { "description": "Filter condition\t being performed which may affect counts. Valid values include \"and\" and \"or\".", "type": "string", "enum": [ "and", "or" ], "context": [ "view", "edit" ], "readonly": true } } }, "default": [], "required": false }, "calculate_rating_counts": { "description": "If true, calculates rating counts for products in the collection.", "type": "boolean", "default": false, "required": false }, "calculate_taxonomy_counts": { "description": "If requested, calculates taxonomy term counts for products in the collection.", "type": "array", "items": { "type": "string", "description": "Taxonomy name." }, "default": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/store\/products\/collection-data" } ] } }, "\/wc\/store\/products\/reviews": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Darb\u012bbas joma, saska\u0146\u0101 ar kuru tiek iesniegts piepras\u012bjums; nosaka laukus, kas atrodas atbild\u0113.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set. Defaults to no limit if left blank.", "type": "integer", "default": 10, "minimum": 0, "maximum": 100, "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "date_gmt", "id", "rating", "product" ], "required": false }, "category_id": { "description": "Limit result set to reviews from specific category IDs.", "type": "string", "required": false }, "product_id": { "description": "Limit result set to reviews from specific product IDs.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/store\/products\/reviews" } ] } }, "\/wc\/store\/products\/tags": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Darb\u012bbas joma, saska\u0146\u0101 ar kuru tiek iesniegts piepras\u012bjums; nosaka laukus, kas atrodas atbild\u0113.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set. Defaults to no limit if left blank.", "type": "integer", "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eojiet rezult\u0101tus tiem, kas atbilst virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Sort ascending or descending.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort by term property.", "type": "string", "default": "name", "enum": [ "name", "slug", "count" ], "required": false }, "hide_empty": { "description": "If true, empty terms will not be returned.", "type": "boolean", "default": true, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/store\/products\/tags" } ] } }, "\/wc\/store\/products": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Darb\u012bbas joma, saska\u0146\u0101 ar kuru tiek iesniegts piepras\u012bjums; nosaka laukus, kas atrodas atbild\u0113.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set. Defaults to no limit if left blank.", "type": "integer", "default": 10, "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eojiet rezult\u0101tus tiem, kas atbilst virknei.", "type": "string", "required": false }, "slug": { "description": "Limit result set to products with specific slug(s). Use commas to separate.", "type": "string", "required": false }, "after": { "description": "Limit response to resources created after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources created before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "date_column": { "description": "When limiting response using after\/before, which date column to compare against.", "type": "string", "default": "date", "enum": [ "date", "date_gmt", "modified", "modified_gmt" ], "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "modified", "id", "include", "title", "slug", "price", "popularity", "rating", "menu_order", "comment_count" ], "required": false }, "parent": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz noteiktu vec\u0101ku ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz visiem vienumiem, iz\u0146emot konkr\u0113ta vec\u0101ka ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "type": { "description": "Robe\u017eas rezult\u0101ts noteikts produktiem, kuriem pie\u0161\u0137irts \u012bpa\u0161s veids.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "variation" ], "required": false }, "sku": { "description": "Robe\u017ea rezult\u0101ts tiek noteikts produktiem ar konkr\u0113tu SKU. Izmantojiet komatus, lai no\u0161\u0137irtu.", "type": "string", "required": false }, "featured": { "description": "Ierobe\u017eotais rezult\u0101ts, kas iestat\u012bts uz pied\u0101v\u0101tajiem produktiem.", "type": "boolean", "required": false }, "category": { "description": "Limit result set to products assigned a set of category IDs or slugs, separated by commas.", "type": "string", "required": false }, "category_operator": { "description": "Operator to compare product category terms.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "brand": { "description": "Limit result set to products assigned a set of brand IDs or slugs, separated by commas.", "type": "string", "required": false }, "brand_operator": { "description": "Operator to compare product brand terms.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "tag": { "description": "Limit result set to products assigned a set of tag IDs or slugs, separated by commas.", "type": "string", "required": false }, "tag_operator": { "description": "Operator to compare product tags.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "on_sale": { "description": "Ierobe\u017eots rezult\u0101ts p\u0101rdo\u0161anas produktiem.", "type": "boolean", "required": false }, "min_price": { "description": "Limit result set to products based on a minimum price, provided using the smallest unit of the currency.", "type": "string", "required": false }, "max_price": { "description": "Limit result set to products based on a maximum price, provided using the smallest unit of the currency.", "type": "string", "required": false }, "stock_status": { "description": "Rezult\u0101tu kopas ierobe\u017eo\u0161ana uz produktiem ar nor\u0101d\u012bto kr\u0101jumu statusu.", "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": "Limit result set to products with selected global attributes.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "description": "Attribute taxonomy name.", "type": "string", "sanitize_callback": "wc_sanitize_taxonomy_name" }, "term_id": { "description": "List of attribute term IDs.", "type": "array", "items": { "type": "integer" }, "sanitize_callback": "wp_parse_id_list" }, "slug": { "description": "List of attribute slug(s). If a term ID is provided, this will be ignored.", "type": "array", "items": { "type": "string" }, "sanitize_callback": "wp_parse_slug_list" }, "operator": { "description": "Operator to compare product attribute terms.", "type": "string", "enum": [ "in", "not_in", "and" ] } } }, "default": [], "required": false }, "attribute_relation": { "description": "The logical relationship between attributes when filtering across multiple at once.", "type": "string", "enum": [ "in", "and" ], "default": "and", "required": false }, "catalog_visibility": { "description": "Determines if hidden or visible catalog products are shown.", "type": "string", "enum": [ "any", "visible", "catalog", "search", "hidden" ], "required": false }, "rating": { "description": "Limit result set to products with a certain average rating.", "type": "array", "items": { "type": "integer", "enum": [ 1, 2, 3, 4, 5 ] }, "default": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/store\/products" } ] } }, "\/wc\/store\/products\/(?P[\\d]+)": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Darb\u012bbas joma, saska\u0146\u0101 ar kuru tiek iesniegts piepras\u012bjums; nosaka laukus, kas atrodas atbild\u0113.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/products\/(?P[\\S]+)": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "slug": { "description": "Slug of the resource.", "type": "string", "required": false }, "context": { "description": "Darb\u012bbas joma, saska\u0146\u0101 ar kuru tiek iesniegts piepras\u012bjums; nosaka laukus, kas atrodas atbild\u0113.", "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:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/store\/v1\/batch" } ] } }, "\/wc\/store\/v1\/cart": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Darb\u012bbas joma, saska\u0146\u0101 ar kuru tiek iesniegts piepras\u012bjums; nosaka laukus, kas atrodas atbild\u0113.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "The cart item product or variation ID.", "type": "integer", "required": false }, "quantity": { "description": "Quantity of this item to add to the cart.", "type": "number", "required": false }, "variation": { "description": "Chosen attributes (for variations).", "type": "array", "items": { "type": "object", "properties": { "attribute": { "description": "Variation attribute name.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Variation attribute value.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Unique identifier for the coupon within the cart.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Darb\u012bbas joma, saska\u0146\u0101 ar kuru tiek iesniegts piepras\u012bjums; nosaka laukus, kas atrodas atbild\u0113.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "The coupon's unique code.", "type": "string", "required": false }, "discount_type": { "description": "The discount type for the coupon (e.g. percentage or fixed amount)", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Unique identifier for the coupon within the cart.", "type": "string", "required": false }, "context": { "description": "Darb\u012bbas joma, saska\u0146\u0101 ar kuru tiek iesniegts piepras\u012bjums; nosaka laukus, kas atrodas atbild\u0113.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "Unique identifier for the coupon within the cart.", "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": "Extension's name - this will be used to ensure the data in the request is routed appropriately.", "type": "string", "required": false }, "data": { "description": "Additional data to pass to the extension", "type": "object", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Darb\u012bbas joma, saska\u0146\u0101 ar kuru tiek iesniegts piepras\u012bjums; nosaka laukus, kas atrodas atbild\u0113.", "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:\/\/www.triumphgifts.com\/lv\/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": "Unique identifier for the item within the cart.", "type": "string", "required": false }, "context": { "description": "Darb\u012bbas joma, saska\u0146\u0101 ar kuru tiek iesniegts piepras\u012bjums; nosaka laukus, kas atrodas atbild\u0113.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "Unique identifier for the item within the cart.", "type": "string", "required": false }, "extensions": { "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "Unique identifier for the item within the cart.", "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": "Unique identifier for the coupon within the cart.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Unique identifier (key) for the cart item.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "The ID of the package being shipped. Leave blank to apply to all packages.", "type": [ "integer", "string", "null" ], "required": false }, "rate_id": { "description": "The chosen rate ID for the package.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Unique identifier (key) for the cart item to update.", "type": "string", "required": false }, "quantity": { "description": "New quantity of the item in the cart.", "type": "number", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Nor\u0113\u0137inu adrese.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Uzv\u0101rds", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Uz\u0146\u0113mums", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Adrese", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Dz\u012bvoklis, m\u0101jas nosaukums u.tml.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Pils\u0113ta", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "State\/County code, or name of the state, county, province, or district.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Pasta Indekss", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Valsts\/re\u0123iona kods ISO 3166-1 alfa-2 form\u0101t\u0101.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "T\u0101lrunis", "type": "string", "context": [ "view", "edit" ], "required": true }, "email": { "description": "Epasts", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "shipping_address": { "description": "Pieg\u0101des adrese.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Uzv\u0101rds", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Uz\u0146\u0113mums", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Adrese", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Dz\u012bvoklis, m\u0101jas nosaukums u.tml.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Pils\u0113ta", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "State\/County code, or name of the state, county, province, or district.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Pasta Indekss", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Valsts\/re\u0123iona kods ISO 3166-1 alfa-2 form\u0101t\u0101.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "T\u0101lrunis", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/store\/v1\/cart\/update-customer" } ] } }, "\/wc\/store\/v1\/checkout": { "namespace": "wc\/store\/v1", "methods": [ "GET", "POST", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Darb\u012bbas joma, saska\u0146\u0101 ar kuru tiek iesniegts piepras\u012bjums; nosaka laukus, kas atrodas atbild\u0113.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "payment_data": { "description": "Data to pass through to the payment method when processing payment.", "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": "Note added to the order by the customer during checkout.", "type": "string", "required": false }, "billing_address": { "description": "Nor\u0113\u0137inu adrese.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Uzv\u0101rds", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Uz\u0146\u0113mums", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Adrese", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Dz\u012bvoklis, m\u0101jas nosaukums u.tml.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Pils\u0113ta", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "State\/County code, or name of the state, county, province, or district.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Pasta Indekss", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Valsts\/re\u0123iona kods ISO 3166-1 alfa-2 form\u0101t\u0101.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "T\u0101lrunis", "type": "string", "context": [ "view", "edit" ], "required": true }, "email": { "description": "Epasts", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": true }, "shipping_address": { "description": "Pieg\u0101des adrese.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Uzv\u0101rds", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Uz\u0146\u0113mums", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Adrese", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Dz\u012bvoklis, m\u0101jas nosaukums u.tml.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Pils\u0113ta", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "State\/County code, or name of the state, county, province, or district.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Pasta Indekss", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Valsts\/re\u0123iona kods ISO 3166-1 alfa-2 form\u0101t\u0101.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "T\u0101lrunis", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "payment_method": { "description": "The ID of the payment method being used to process the payment.", "type": "string", "enum": [ "", "bacs", "cheque", "cod" ], "required": false }, "create_account": { "description": "Whether to create a new user account as part of order processing.", "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 } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "additional_fields": { "description": "Additional fields to be persisted on the order.", "type": "object", "properties": [], "required": false }, "payment_method": { "description": "The ID of the payment method being used to process the payment.", "type": "string", "enum": [ "", "bacs", "cheque", "cod" ], "required": false }, "order_notes": { "description": "Order notes.", "type": "string", "required": false }, "customer_note": { "description": "Note added to the order by the customer during checkout.", "type": "string", "required": false }, "billing_address": { "description": "Nor\u0113\u0137inu adrese.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Uzv\u0101rds", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Uz\u0146\u0113mums", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Adrese", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Dz\u012bvoklis, m\u0101jas nosaukums u.tml.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Pils\u0113ta", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "State\/County code, or name of the state, county, province, or district.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Pasta Indekss", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Valsts\/re\u0123iona kods ISO 3166-1 alfa-2 form\u0101t\u0101.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "T\u0101lrunis", "type": "string", "context": [ "view", "edit" ], "required": true }, "email": { "description": "Epasts", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "shipping_address": { "description": "Pieg\u0101des adrese.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Uzv\u0101rds", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Uz\u0146\u0113mums", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Adrese", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Dz\u012bvoklis, m\u0101jas nosaukums u.tml.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Pils\u0113ta", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "State\/County code, or name of the state, county, province, or district.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Pasta Indekss", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Valsts\/re\u0123iona kods ISO 3166-1 alfa-2 form\u0101t\u0101.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "T\u0101lrunis", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "create_account": { "description": "Whether to create a new user account as part of order processing.", "type": "boolean", "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": [] } } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Data to pass through to the payment method when processing payment.", "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": { "type": [ "string", "boolean" ] } } }, "required": false }, "customer_note": { "description": "Note added to the order by the customer during checkout.", "type": "string", "required": false }, "billing_address": { "description": "Nor\u0113\u0137inu adrese.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Uzv\u0101rds", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Uz\u0146\u0113mums", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Adrese", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Dz\u012bvoklis, m\u0101jas nosaukums u.tml.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Pils\u0113ta", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "State\/County code, or name of the state, county, province, or district.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Pasta Indekss", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Valsts\/re\u0123iona kods ISO 3166-1 alfa-2 form\u0101t\u0101.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "T\u0101lrunis", "type": "string", "context": [ "view", "edit" ], "required": true }, "email": { "description": "Epasts", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": true }, "shipping_address": { "description": "Pieg\u0101des adrese.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Uzv\u0101rds", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Uz\u0146\u0113mums", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Adrese", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Dz\u012bvoklis, m\u0101jas nosaukums u.tml.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Pils\u0113ta", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "State\/County code, or name of the state, county, province, or district.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Pasta Indekss", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Valsts\/re\u0123iona kods ISO 3166-1 alfa-2 form\u0101t\u0101.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "T\u0101lrunis", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "payment_method": { "description": "The ID of the payment method being used to process the payment.", "type": "string", "enum": [ "", "bacs", "cheque", "cod" ], "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": "Darb\u012bbas joma, saska\u0146\u0101 ar kuru tiek iesniegts piepras\u012bjums; nosaka laukus, kas atrodas atbild\u0113.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/v1\/products\/attributes": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Darb\u012bbas joma, saska\u0146\u0101 ar kuru tiek iesniegts piepras\u012bjums; nosaka laukus, kas atrodas atbild\u0113.", "type": "string", "enum": [ "view", "edit" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/store\/v1\/products\/attributes" } ] } }, "\/wc\/store\/v1\/products\/attributes\/(?P[\\d]+)": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Darb\u012bbas joma, saska\u0146\u0101 ar kuru tiek iesniegts piepras\u012bjums; nosaka laukus, kas atrodas atbild\u0113.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/v1\/products\/attributes\/(?P[\\d]+)\/terms": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "attribute_id": { "description": "Unique identifier for the attribute.", "type": "integer", "required": false }, "context": { "description": "Darb\u012bbas joma, saska\u0146\u0101 ar kuru tiek iesniegts piepras\u012bjums; nosaka laukus, kas atrodas atbild\u0113.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set. Defaults to no limit if left blank.", "type": "integer", "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eojiet rezult\u0101tus tiem, kas atbilst virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Sort ascending or descending.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort by term property.", "type": "string", "default": "name", "enum": [ "name", "slug", "count", "menu_order", "name_num", "id" ], "required": false }, "hide_empty": { "description": "If true, empty terms will not be returned.", "type": "boolean", "default": true, "required": false } } } ] }, "\/wc\/store\/v1\/products\/categories": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Darb\u012bbas joma, saska\u0146\u0101 ar kuru tiek iesniegts piepras\u012bjums; nosaka laukus, kas atrodas atbild\u0113.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set. Defaults to no limit if left blank.", "type": "integer", "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eojiet rezult\u0101tus tiem, kas atbilst virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Sort ascending or descending.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort by term property.", "type": "string", "default": "name", "enum": [ "name", "slug", "count" ], "required": false }, "hide_empty": { "description": "If true, empty terms will not be returned.", "type": "boolean", "default": true, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/store\/v1\/products\/categories" } ] } }, "\/wc\/store\/v1\/products\/categories\/(?P[\\d]+)": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Darb\u012bbas joma, saska\u0146\u0101 ar kuru tiek iesniegts piepras\u012bjums; nosaka laukus, kas atrodas atbild\u0113.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/v1\/products\/brands": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Darb\u012bbas joma, saska\u0146\u0101 ar kuru tiek iesniegts piepras\u012bjums; nosaka laukus, kas atrodas atbild\u0113.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set. Defaults to no limit if left blank.", "type": "integer", "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eojiet rezult\u0101tus tiem, kas atbilst virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Sort ascending or descending.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort by term property.", "type": "string", "default": "name", "enum": [ "name", "slug", "count" ], "required": false }, "hide_empty": { "description": "If true, empty terms will not be returned.", "type": "boolean", "default": true, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/store\/v1\/products\/brands" } ] } }, "\/wc\/store\/v1\/products\/brands\/(?P[\\w-]+)": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "identifier": { "description": "Resursa unik\u0101lais identifikators.", "type": "string", "required": false }, "context": { "description": "Darb\u012bbas joma, saska\u0146\u0101 ar kuru tiek iesniegts piepras\u012bjums; nosaka laukus, kas atrodas atbild\u0113.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/v1\/products\/collection-data": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Darb\u012bbas joma, saska\u0146\u0101 ar kuru tiek iesniegts piepras\u012bjums; nosaka laukus, kas atrodas atbild\u0113.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set. Defaults to no limit if left blank.", "type": "integer", "default": 10, "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eojiet rezult\u0101tus tiem, kas atbilst virknei.", "type": "string", "required": false }, "slug": { "description": "Limit result set to products with specific slug(s). Use commas to separate.", "type": "string", "required": false }, "after": { "description": "Limit response to resources created after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources created before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "date_column": { "description": "When limiting response using after\/before, which date column to compare against.", "type": "string", "default": "date", "enum": [ "date", "date_gmt", "modified", "modified_gmt" ], "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "modified", "id", "include", "title", "slug", "price", "popularity", "rating", "menu_order", "comment_count" ], "required": false }, "parent": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz noteiktu vec\u0101ku ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz visiem vienumiem, iz\u0146emot konkr\u0113ta vec\u0101ka ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "type": { "description": "Robe\u017eas rezult\u0101ts noteikts produktiem, kuriem pie\u0161\u0137irts \u012bpa\u0161s veids.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "variation" ], "required": false }, "sku": { "description": "Robe\u017ea rezult\u0101ts tiek noteikts produktiem ar konkr\u0113tu SKU. Izmantojiet komatus, lai no\u0161\u0137irtu.", "type": "string", "required": false }, "featured": { "description": "Ierobe\u017eotais rezult\u0101ts, kas iestat\u012bts uz pied\u0101v\u0101tajiem produktiem.", "type": "boolean", "required": false }, "category": { "description": "Limit result set to products assigned a set of category IDs or slugs, separated by commas.", "type": "string", "required": false }, "category_operator": { "description": "Operator to compare product category terms.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "brand": { "description": "Limit result set to products assigned a set of brand IDs or slugs, separated by commas.", "type": "string", "required": false }, "brand_operator": { "description": "Operator to compare product brand terms.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "tag": { "description": "Limit result set to products assigned a set of tag IDs or slugs, separated by commas.", "type": "string", "required": false }, "tag_operator": { "description": "Operator to compare product tags.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "on_sale": { "description": "Ierobe\u017eots rezult\u0101ts p\u0101rdo\u0161anas produktiem.", "type": "boolean", "required": false }, "min_price": { "description": "Limit result set to products based on a minimum price, provided using the smallest unit of the currency.", "type": "string", "required": false }, "max_price": { "description": "Limit result set to products based on a maximum price, provided using the smallest unit of the currency.", "type": "string", "required": false }, "stock_status": { "description": "Rezult\u0101tu kopas ierobe\u017eo\u0161ana uz produktiem ar nor\u0101d\u012bto kr\u0101jumu statusu.", "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": "Limit result set to products with selected global attributes.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "description": "Attribute taxonomy name.", "type": "string", "sanitize_callback": "wc_sanitize_taxonomy_name" }, "term_id": { "description": "List of attribute term IDs.", "type": "array", "items": { "type": "integer" }, "sanitize_callback": "wp_parse_id_list" }, "slug": { "description": "List of attribute slug(s). If a term ID is provided, this will be ignored.", "type": "array", "items": { "type": "string" }, "sanitize_callback": "wp_parse_slug_list" }, "operator": { "description": "Operator to compare product attribute terms.", "type": "string", "enum": [ "in", "not_in", "and" ] } } }, "default": [], "required": false }, "attribute_relation": { "description": "The logical relationship between attributes when filtering across multiple at once.", "type": "string", "enum": [ "in", "and" ], "default": "and", "required": false }, "catalog_visibility": { "description": "Determines if hidden or visible catalog products are shown.", "type": "string", "enum": [ "any", "visible", "catalog", "search", "hidden" ], "required": false }, "rating": { "description": "Limit result set to products with a certain average rating.", "type": "array", "items": { "type": "integer", "enum": [ 1, 2, 3, 4, 5 ] }, "default": [], "required": false }, "calculate_price_range": { "description": "If true, calculates the minimum and maximum product prices for the collection.", "type": "boolean", "default": false, "required": false }, "calculate_stock_status_counts": { "description": "If true, calculates stock counts for products in the collection.", "type": "boolean", "default": false, "required": false }, "calculate_attribute_counts": { "description": "If requested, calculates attribute term counts for products in the collection.", "type": "array", "items": { "type": "object", "properties": { "taxonomy": { "description": "Taxonomy name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "query_type": { "description": "Filter condition\t being performed which may affect counts. Valid values include \"and\" and \"or\".", "type": "string", "enum": [ "and", "or" ], "context": [ "view", "edit" ], "readonly": true } } }, "default": [], "required": false }, "calculate_rating_counts": { "description": "If true, calculates rating counts for products in the collection.", "type": "boolean", "default": false, "required": false }, "calculate_taxonomy_counts": { "description": "If requested, calculates taxonomy term counts for products in the collection.", "type": "array", "items": { "type": "string", "description": "Taxonomy name." }, "default": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/store\/v1\/products\/collection-data" } ] } }, "\/wc\/store\/v1\/products\/reviews": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Darb\u012bbas joma, saska\u0146\u0101 ar kuru tiek iesniegts piepras\u012bjums; nosaka laukus, kas atrodas atbild\u0113.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set. Defaults to no limit if left blank.", "type": "integer", "default": 10, "minimum": 0, "maximum": 100, "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "date_gmt", "id", "rating", "product" ], "required": false }, "category_id": { "description": "Limit result set to reviews from specific category IDs.", "type": "string", "required": false }, "product_id": { "description": "Limit result set to reviews from specific product IDs.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/store\/v1\/products\/reviews" } ] } }, "\/wc\/store\/v1\/products\/tags": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Darb\u012bbas joma, saska\u0146\u0101 ar kuru tiek iesniegts piepras\u012bjums; nosaka laukus, kas atrodas atbild\u0113.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set. Defaults to no limit if left blank.", "type": "integer", "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eojiet rezult\u0101tus tiem, kas atbilst virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Sort ascending or descending.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sort by term property.", "type": "string", "default": "name", "enum": [ "name", "slug", "count" ], "required": false }, "hide_empty": { "description": "If true, empty terms will not be returned.", "type": "boolean", "default": true, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/store\/v1\/products\/tags" } ] } }, "\/wc\/store\/v1\/products": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Darb\u012bbas joma, saska\u0146\u0101 ar kuru tiek iesniegts piepras\u012bjums; nosaka laukus, kas atrodas atbild\u0113.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maximum number of items to be returned in result set. Defaults to no limit if left blank.", "type": "integer", "default": 10, "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eojiet rezult\u0101tus tiem, kas atbilst virknei.", "type": "string", "required": false }, "slug": { "description": "Limit result set to products with specific slug(s). Use commas to separate.", "type": "string", "required": false }, "after": { "description": "Limit response to resources created after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to resources created before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "date_column": { "description": "When limiting response using after\/before, which date column to compare against.", "type": "string", "default": "date", "enum": [ "date", "date_gmt", "modified", "modified_gmt" ], "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "modified", "id", "include", "title", "slug", "price", "popularity", "rating", "menu_order", "comment_count" ], "required": false }, "parent": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz noteiktu vec\u0101ku ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz visiem vienumiem, iz\u0146emot konkr\u0113ta vec\u0101ka ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "type": { "description": "Robe\u017eas rezult\u0101ts noteikts produktiem, kuriem pie\u0161\u0137irts \u012bpa\u0161s veids.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "variation" ], "required": false }, "sku": { "description": "Robe\u017ea rezult\u0101ts tiek noteikts produktiem ar konkr\u0113tu SKU. Izmantojiet komatus, lai no\u0161\u0137irtu.", "type": "string", "required": false }, "featured": { "description": "Ierobe\u017eotais rezult\u0101ts, kas iestat\u012bts uz pied\u0101v\u0101tajiem produktiem.", "type": "boolean", "required": false }, "category": { "description": "Limit result set to products assigned a set of category IDs or slugs, separated by commas.", "type": "string", "required": false }, "category_operator": { "description": "Operator to compare product category terms.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "brand": { "description": "Limit result set to products assigned a set of brand IDs or slugs, separated by commas.", "type": "string", "required": false }, "brand_operator": { "description": "Operator to compare product brand terms.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "tag": { "description": "Limit result set to products assigned a set of tag IDs or slugs, separated by commas.", "type": "string", "required": false }, "tag_operator": { "description": "Operator to compare product tags.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "on_sale": { "description": "Ierobe\u017eots rezult\u0101ts p\u0101rdo\u0161anas produktiem.", "type": "boolean", "required": false }, "min_price": { "description": "Limit result set to products based on a minimum price, provided using the smallest unit of the currency.", "type": "string", "required": false }, "max_price": { "description": "Limit result set to products based on a maximum price, provided using the smallest unit of the currency.", "type": "string", "required": false }, "stock_status": { "description": "Rezult\u0101tu kopas ierobe\u017eo\u0161ana uz produktiem ar nor\u0101d\u012bto kr\u0101jumu statusu.", "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": "Limit result set to products with selected global attributes.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "description": "Attribute taxonomy name.", "type": "string", "sanitize_callback": "wc_sanitize_taxonomy_name" }, "term_id": { "description": "List of attribute term IDs.", "type": "array", "items": { "type": "integer" }, "sanitize_callback": "wp_parse_id_list" }, "slug": { "description": "List of attribute slug(s). If a term ID is provided, this will be ignored.", "type": "array", "items": { "type": "string" }, "sanitize_callback": "wp_parse_slug_list" }, "operator": { "description": "Operator to compare product attribute terms.", "type": "string", "enum": [ "in", "not_in", "and" ] } } }, "default": [], "required": false }, "attribute_relation": { "description": "The logical relationship between attributes when filtering across multiple at once.", "type": "string", "enum": [ "in", "and" ], "default": "and", "required": false }, "catalog_visibility": { "description": "Determines if hidden or visible catalog products are shown.", "type": "string", "enum": [ "any", "visible", "catalog", "search", "hidden" ], "required": false }, "rating": { "description": "Limit result set to products with a certain average rating.", "type": "array", "items": { "type": "integer", "enum": [ 1, 2, 3, 4, 5 ] }, "default": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/store\/v1\/products" } ] } }, "\/wc\/store\/v1\/products\/(?P[\\d]+)": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Darb\u012bbas joma, saska\u0146\u0101 ar kuru tiek iesniegts piepras\u012bjums; nosaka laukus, kas atrodas atbild\u0113.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/store\/v1\/products\/(?P[\\S]+)": { "namespace": "wc\/store\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "slug": { "description": "Slug of the resource.", "type": "string", "required": false }, "context": { "description": "Darb\u012bbas joma, saska\u0146\u0101 ar kuru tiek iesniegts piepras\u012bjums; nosaka laukus, kas atrodas atbild\u0113.", "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:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/private" } ] } }, "\/wc\/private\/patterns": { "namespace": "wc\/private", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/wp-json\/wp-rocket\/v1\/options\/export" } ] } }, "\/wc\/v2": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wc\/v2", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v2" } ] } }, "\/wc\/v2\/products\/brands": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c resursa atrib\u016bta.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Vai sl\u0113pt resursus, kas nav pie\u0161\u0137irti nevienam produktam.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "product": { "description": "Robe\u017eas rezult\u0101ts noteikts resursiem, kas pie\u0161\u0137irti konkr\u0113tam produktam.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts resursiem ar \u012bpa\u0161u taku.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Resursa nosaukums.", "required": true }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "parent": { "description": "ID resursa vec\u0101kiem.", "type": "integer", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false }, "display": { "default": "default", "description": "Kategorijas arh\u012bva att\u0113lojuma veids", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Image data.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto, lai k\u0101rtotu resursus.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v2\/products\/brands" } ] } }, "\/wc\/v2\/products\/brands\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "name": { "description": "Kategorijas nosaukums.", "type": "string", "required": false }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "parent": { "description": "ID resursa vec\u0101kiem.", "type": "integer", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false }, "display": { "description": "Kategorijas arh\u012bva att\u0113lojuma veids", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Image data.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto, lai k\u0101rtotu resursus.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Nepiecie\u0161ams b\u016bt patiesam, jo resurss neatbalsta m\u0113slo\u0161anu.", "required": false } } } ] }, "\/wc\/v2\/products\/brands\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Kategorijas nosaukums.", "type": "string", "required": false }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "parent": { "description": "ID resursa vec\u0101kiem.", "type": "integer", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false }, "display": { "description": "Kategorijas arh\u012bva att\u0113lojuma veids", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Image data.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto, lai k\u0101rtotu resursus.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v2\/products\/brands\/batch" } ] } }, "\/wc\/v3\/products\/brands": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c resursa atrib\u016bta.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Vai sl\u0113pt resursus, kas nav pie\u0161\u0137irti nevienam produktam.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "product": { "description": "Robe\u017eas rezult\u0101ts noteikts resursiem, kas pie\u0161\u0137irti konkr\u0113tam produktam.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts resursiem ar \u012bpa\u0161u taku.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Resursa nosaukums.", "required": true }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "parent": { "description": "ID resursa vec\u0101kiem.", "type": "integer", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false }, "display": { "default": "default", "description": "Kategorijas arh\u012bva att\u0113lojuma veids", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Image data.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto, lai k\u0101rtotu resursus.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v3\/products\/brands" } ] } }, "\/wc\/v3\/products\/brands\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "name": { "description": "Kategorijas nosaukums.", "type": "string", "required": false }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "parent": { "description": "ID resursa vec\u0101kiem.", "type": "integer", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false }, "display": { "description": "Kategorijas arh\u012bva att\u0113lojuma veids", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Image data.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto, lai k\u0101rtotu resursus.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Nepiecie\u0161ams b\u016bt patiesam, jo resurss neatbalsta m\u0113slo\u0161anu.", "required": false } } } ] }, "\/wc\/v3\/products\/brands\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Kategorijas nosaukums.", "type": "string", "required": false }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "parent": { "description": "ID resursa vec\u0101kiem.", "type": "integer", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false }, "display": { "description": "Kategorijas arh\u012bva att\u0113lojuma veids", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Image data.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto, lai k\u0101rtotu resursus.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v3\/products\/brands\/batch" } ] } }, "\/elementskit\/v1\/ajaxselect2": { "namespace": "elementskit\/v1\/ajaxselect2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "elementskit\/v1\/ajaxselect2", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/elementskit\/v1\/ajaxselect2" } ] } }, "\/elementskit\/v1\/ajaxselect2\/(?P\\w+)": { "namespace": "elementskit\/v1\/ajaxselect2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "args": [] } ] }, "\/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:\/\/www.triumphgifts.com\/lv\/wp-json\/astra\/v1" } ] } }, "\/astra\/v1\/admin\/settings": { "namespace": "astra\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/astra\/v1\/admin\/settings" } ] } }, "\/elementor\/v1\/documents": { "namespace": "elementor\/v1\/documents", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "elementor\/v1\/documents", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/elementor\/v1\/documents" } ] } }, "\/elementor\/v1\/documents\/(?P\\d+)\/media\/import": { "namespace": "elementor\/v1\/documents", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "required": true } } } ] }, "\/elementor\/v1\/cache": { "namespace": "elementor\/v1", "methods": [ "DELETE" ], "endpoints": [ { "methods": [ "DELETE" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/elementor\/v1\/cache" } ] } }, "\/elementor\/v1\/globals": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/elementor\/v1\/globals" } ] } }, "\/elementor\/v1\/globals\/colors": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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\/settings\/(?P[\\w_-]+)": { "namespace": "elementor\/v1", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/elementor\/v1\/post": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "excluded_post_types": { "description": "Post type to exclude", "type": [ "array", "string" ], "default": [ "e-floating-buttons", "e-landing-page", "elementor_library", "attachment" ], "required": false }, "term": { "description": "Posts to search", "type": "string", "default": "", "required": false }, "post_keys_conversion_map": { "description": "Specify keys to extract and convert, i.e. [\"key_1\" => \"new_key_1\"].", "type": [ "array", "string" ], "default": [], "required": false }, "max_count": { "description": "Max count of returned items", "type": "number", "default": 100, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/elementor\/v1\/post" } ] } }, "\/elementor-ai\/v1": { "namespace": "elementor-ai\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "elementor-ai\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/elementor-ai\/v1" } ] } }, "\/elementor-ai\/v1\/permissions": { "namespace": "elementor-ai\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/elementor-ai\/v1\/permissions" } ] } }, "\/elementor\/v1\/favorites": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/wp-json\/elementor\/v1\/site-navigation\/add-new-post" } ] } }, "\/elementor\/v1\/checklist": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/elementor\/v1\/checklist" } ] } }, "\/elementor\/v1\/checklist\/(?P[\\d]+)": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "string", "required": true } } } ] }, "\/elementor\/v1\/checklist\/steps": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/elementor\/v1\/checklist\/steps" } ] } }, "\/elementor\/v1\/checklist\/steps\/(?P[\\d]+)": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the object.", "type": "string", "required": true } } } ] }, "\/elementor\/v1\/checklist\/steps\/(?P[\\w\\-\\_]+)": { "namespace": "elementor\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "type": "string", "description": "The step id.", "required": true } } } ] }, "\/elementor\/v1\/checklist\/user-progress": { "namespace": "elementor\/v1", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/elementor\/v1\/checklist\/user-progress" } ] } }, "\/elementor\/v1\/template-library\/templates": { "namespace": "elementor\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": { "title": { "type": "string", "description": "The title of the document", "required": false }, "type": { "description": "The document type.", "type": "string", "enum": [ "page", "section", "container", "floating-buttons", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "product", "product-archive", "loop-item" ], "required": true }, "content": { "description": "Elementor data object", "type": "object", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/elementor\/v1\/template-library\/templates" } ] } }, "\/elementor\/v1\/user-data\/current-user": { "namespace": "elementor\/v1", "methods": [ "GET", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "PATCH" ], "args": { "suppressedMessages": { "type": "array", "description": "Array of suppressed message keys", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/elementor\/v1\/user-data\/current-user" } ] } }, "\/elementor\/v1\/global-widget\/templates": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/wp-json\/elementor-pro\/v1" } ] } }, "\/elementor-pro\/v1\/posts-widget": { "namespace": "elementor-pro\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "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:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/wp-json\/elementor\/v1\/form-submissions\/restore" } ] } }, "\/elementor\/v1\/form-submissions\/export": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "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:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/wp-json\/elementor\/v1\/forms" } ] } }, "\/elementor-pro\/v1\/get-post-type-taxonomies": { "namespace": "elementor-pro\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "post_type": { "description": "The post type for which to fetch the list of taxonomies.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/wp-json\/elementor-pro\/v1\/refresh-loop" } ] } }, "\/elementor-pro\/v1\/refresh-search": { "namespace": "elementor-pro\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "post_id": { "description": "The post ID of the page containing the loop.", "type": "integer", "required": true }, "widget_id": { "description": "The ID of the loop widget.", "type": "string", "required": true }, "widget_model": { "description": "The model of the loop widget. In Editor mode only.", "type": "object", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/elementor-pro\/v1\/refresh-search" } ] } }, "\/elementor\/v1\/notes": { "namespace": "elementor\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "route_url": { "type": "string", "description": "The URL of the route where the note was created at.", "required": false }, "status": { "type": "string", "description": "The note status (e.g. \"publish\", \"draft\").", "enum": [ "publish", "draft" ], "default": "publish", "required": false }, "is_resolved": { "type": "boolean", "description": "Whether the note is resolved or not.", "required": false }, "parent_id": { "type": "integer", "description": "The note's parent id (use 0 for top-level).", "required": false }, "post_id": { "type": "integer", "description": "The ID of the post that the note is attached to.", "required": false }, "only_unread": { "type": "boolean", "description": "Show only unread notes (represents an unread thread if one of its replies is unread).", "required": false }, "only_relevant": { "type": "boolean", "description": "Show only notes that are relevant to the current user.", "required": false }, "order_by": { "type": "string", "description": "A column to order the results by.", "default": "last_activity_at", "enum": [ "last_activity_at", "created_at" ], "required": false }, "order": { "type": "string", "description": "Results order direction.", "default": "desc", "enum": [ "asc", "desc" ], "required": false } } }, { "methods": [ "POST" ], "args": { "post_id": { "type": "integer", "description": "The id of the post where the note was created at (can be template, post, page, etc.).", "required": true }, "element_id": { "type": "string", "description": "Each note must be attached to an elementor element.", "required": true }, "content": { "type": "string", "description": "The content of the note.", "required": true }, "position": { "type": "object", "properties": { "x": { "required": true, "type": "number" }, "y": { "required": true, "type": "number" } }, "description": "The position of the note.", "required": true }, "mentioned_usernames": { "type": "array", "description": "List of user names that have been mentioned in the note's content.", "default": [], "items": { "type": "string", "sanitize_callback": [] }, "required": false }, "route_post_id": { "description": "The ID of the post that's associated with the route (doesn't always exist, e.g: home page, archive)", "required": false }, "route_url": { "type": "string", "description": "The URL of the route where the note was created at.", "required": false }, "route_title": { "type": "string", "description": "The title of the route where the note was created at.", "required": false }, "parent_id": { "type": "integer", "description": "If the new note is a reply to another note, the parent_id should be the thread's id.", "default": 0, "required": false }, "is_public": { "type": "boolean", "description": "Should this note be visible for everyone or just for its author.", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/elementor\/v1\/notes" } ] } }, "\/elementor\/v1\/notes\/read-status": { "namespace": "elementor\/v1", "methods": [ "POST", "DELETE" ], "endpoints": [ { "methods": [ "POST" ], "args": { "ids": { "type": "array", "description": "The id's of the notes.", "items": { "type": "integer" }, "required": true } } }, { "methods": [ "DELETE" ], "args": { "ids": { "type": "array", "description": "The id's of the notes.", "items": { "type": "integer" }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/elementor\/v1\/notes\/read-status" } ] } }, "\/elementor\/v1\/notes\/summary": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "route_url": { "type": "string", "description": "The URL of the route where the note was created at.", "required": false }, "status": { "type": "string", "description": "The note status (e.g. \"publish\", \"draft\").", "enum": [ "publish", "draft" ], "default": "publish", "required": false }, "is_resolved": { "type": "boolean", "description": "Whether the note is resolved or not.", "required": false }, "parent_id": { "type": "integer", "description": "The note's parent id (use 0 for top-level).", "required": false }, "post_id": { "type": "integer", "description": "The ID of the post that the note is attached to.", "required": false }, "only_unread": { "type": "boolean", "description": "Show only unread notes (represents an unread thread if one of its replies is unread).", "required": false }, "only_relevant": { "type": "boolean", "description": "Show only notes that are relevant to the current user.", "required": false }, "order_by": { "type": "string", "description": "A column to order the results by.", "default": "last_activity_at", "enum": [ "last_activity_at", "created_at" ], "required": false }, "order": { "type": "string", "description": "Results order direction.", "default": "desc", "enum": [ "asc", "desc" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/elementor\/v1\/notes\/summary" } ] } }, "\/elementor\/v1\/notes\/users": { "namespace": "elementor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "limit": { "type": "integer", "description": "Limit the results.", "required": false }, "order_by": { "type": "string", "description": "A column to order the results by.", "default": "display_name", "enum": [ "user_nicename", "display_name", "user_registered" ], "required": false }, "order": { "type": "string", "description": "Results order direction.", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "search": { "type": "string", "description": "Filter users by a search term.", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/elementor\/v1\/notes\/users" } ] } }, "\/elementor\/v1\/notes\/(?P[\\d]+)": { "namespace": "elementor\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "type": "integer", "description": "Note ID to find.", "required": true } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "type": "integer", "description": "The id the note.", "required": true }, "content": { "type": "string", "description": "The content of the note.", "required": false }, "mentioned_usernames": { "type": "array", "description": "List of user names that have been mentioned in the note's content.", "items": { "type": "string", "sanitize_callback": [] }, "required": false }, "status": { "type": "string", "description": "Note status can be draft or publish.", "enum": [ "publish", "draft" ], "required": false }, "is_public": { "type": "boolean", "description": "Should this note be visible for everyone or just for its author.", "required": false }, "is_resolved": { "type": "boolean", "description": "Is this note resolved and should be hidden.", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "type": "integer", "description": "The id of the note.", "required": true }, "force": { "type": "boolean", "description": "Determine if it should be deleted permanently or change the status to trash.", "default": false, "required": false } } } ] }, "\/elementskit\/v1\/widget\/mailchimp": { "namespace": "elementskit\/v1\/widget\/mailchimp", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "elementskit\/v1\/widget\/mailchimp", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/elementskit\/v1\/widget\/mailchimp" } ] } }, "\/elementskit\/v1\/widget\/mailchimp\/(?P\\w+)": { "namespace": "elementskit\/v1\/widget\/mailchimp", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "args": [] } ] }, "\/elementskit\/v1\/widget\/instagram-feed": { "namespace": "elementskit\/v1\/widget\/instagram-feed", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "elementskit\/v1\/widget\/instagram-feed", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/elementskit\/v1\/widget\/instagram-feed" } ] } }, "\/elementskit\/v1\/widget\/instagram-feed\/(?P\\w+)": { "namespace": "elementskit\/v1\/widget\/instagram-feed", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "args": [] } ] }, "\/elementskit\/v1\/zoom-meeting": { "namespace": "elementskit\/v1\/zoom-meeting", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "elementskit\/v1\/zoom-meeting", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/elementskit\/v1\/zoom-meeting" } ] } }, "\/elementskit\/v1\/zoom-meeting\/(?P\\w+)": { "namespace": "elementskit\/v1\/zoom-meeting", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "args": [] } ] }, "\/elementskit\/v1\/behance": { "namespace": "elementskit\/v1\/behance", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "elementskit\/v1\/behance", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/elementskit\/v1\/behance" } ] } }, "\/elementskit\/v1\/behance\/(?P\\w+)": { "namespace": "elementskit\/v1\/behance", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "args": [] } ] }, "\/elementskit\/v1\/widget\/dribble": { "namespace": "elementskit\/v1\/widget\/dribble", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "elementskit\/v1\/widget\/dribble", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/elementskit\/v1\/widget\/dribble" } ] } }, "\/elementskit\/v1\/widget\/dribble\/(?P\\w+)": { "namespace": "elementskit\/v1\/widget\/dribble", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "args": [] } ] }, "\/elementskit\/v1\/widget\/fb-feed": { "namespace": "elementskit\/v1\/widget\/fb-feed", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "elementskit\/v1\/widget\/fb-feed", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/elementskit\/v1\/widget\/fb-feed" } ] } }, "\/elementskit\/v1\/widget\/fb-feed\/(?P\\w+)": { "namespace": "elementskit\/v1\/widget\/fb-feed", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "args": [] } ] }, "\/elementskit\/v1\/widget\/fb-pg-review": { "namespace": "elementskit\/v1\/widget\/fb-pg-review", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "elementskit\/v1\/widget\/fb-pg-review", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/elementskit\/v1\/widget\/fb-pg-review" } ] } }, "\/elementskit\/v1\/widget\/fb-pg-review\/(?P\\w+)": { "namespace": "elementskit\/v1\/widget\/fb-pg-review", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "args": [] } ] }, "\/elementskit\/v1\/pinterest": { "namespace": "elementskit\/v1\/pinterest", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "elementskit\/v1\/pinterest", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/elementskit\/v1\/pinterest" } ] } }, "\/elementskit\/v1\/pinterest\/(?P\\w+)": { "namespace": "elementskit\/v1\/pinterest", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "args": [] } ] }, "\/elementskit\/v1": { "namespace": "elementskit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "elementskit\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/elementskit\/v1" } ] } }, "\/elementskit\/v1\/advanced-search": { "namespace": "elementskit\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/elementskit\/v1\/advanced-search" } ] } }, "\/elementskit\/v1\/dynamic-content": { "namespace": "elementskit\/v1\/dynamic-content", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "elementskit\/v1\/dynamic-content", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/elementskit\/v1\/dynamic-content" } ] } }, "\/elementskit\/v1\/dynamic-content\/(?P\\w+)\/(?P\\w+)\/(?P\\w+(|[-]\\w+))": { "namespace": "elementskit\/v1\/dynamic-content", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "args": [] } ] }, "\/elementskit\/v1\/layout-manager-api": { "namespace": "elementskit\/v1\/layout-manager-api", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "elementskit\/v1\/layout-manager-api", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/elementskit\/v1\/layout-manager-api" } ] } }, "\/elementskit\/v1\/layout-manager-api\/(?P\\w+)": { "namespace": "elementskit\/v1\/layout-manager-api", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "args": [] } ] }, "\/elementskit\/v1\/my-template": { "namespace": "elementskit\/v1\/my-template", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "elementskit\/v1\/my-template", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/elementskit\/v1\/my-template" } ] } }, "\/elementskit\/v1\/my-template\/(?P\\w+)\/(?P\\w+)": { "namespace": "elementskit\/v1\/my-template", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "args": [] } ] }, "\/elementskit\/v1\/megamenu": { "namespace": "elementskit\/v1\/megamenu", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "elementskit\/v1\/megamenu", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/elementskit\/v1\/megamenu" } ] } }, "\/elementskit\/v1\/megamenu\/(?P\\w+)": { "namespace": "elementskit\/v1\/megamenu", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "args": [] } ] }, "\/elementskit\/v1\/widget-builder": { "namespace": "elementskit\/v1\/widget-builder", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "elementskit\/v1\/widget-builder", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/elementskit\/v1\/widget-builder" } ] } }, "\/elementskit\/v1\/widget-builder\/(?P\\w+)\/(?P\\w+(|[-]\\w+))": { "namespace": "elementskit\/v1\/widget-builder", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "args": [] } ] }, "\/wc\/v1\/coupons": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "filter": { "type": "object", "description": "Izmantojiet WP vaic\u0101juma argumentus, lai main\u012btu atbildi; priv\u0101tam vaic\u0101jumam var b\u016bt vajadz\u012bga atbilsto\u0161a at\u013cauja.", "required": false }, "code": { "description": "Ierobe\u017eots rezult\u0101ts, kas noteikts resursiem ar konkr\u0113tu kodu.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "code": { "description": "Atlaides kods.", "type": "string", "required": true }, "description": { "description": "Kupona apraksts.", "type": "string", "required": false }, "discount_type": { "default": "fixed_cart", "description": "Nosaka atlaides veidu, kas tiks piem\u0113rota.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "amount": { "description": "Atlai\u017eu summa. Vienm\u0113r j\u0101b\u016bt skaitliskam skaitlim, pat ja tiek iestat\u012bts procents.", "type": "string", "required": false }, "expiry_date": { "description": "UTC laiks, kad beidzas kupona der\u012bguma termi\u0146\u0161.", "type": [ "null", "string" ], "required": false }, "individual_use": { "default": false, "description": "Ja ir taisn\u012bba, kuponu var izmantot tikai individu\u0101li. Citi piem\u0113rotie kuponi tiks no\u0146emti no groza.", "type": "boolean", "required": false }, "product_ids": { "description": "To produktu ID, uz kuriem var izmantot kuponu.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_product_ids": { "description": "To produktu ID, uz kuriem nevar izmantot kuponu.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Cik reizes kuponu var kop\u012bgi izmantot.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Cik reizes kupons var tikt izmantots katram klientam.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Maksim\u0101lais pre\u010du skaits groz\u0101, uz kuru var piem\u0113rot kuponu.", "type": "integer", "required": false }, "free_shipping": { "default": false, "description": "Ja ir taisn\u012bba un ja bezmaksas pieg\u0101des metodei ir nepiecie\u0161ams kupons, \u0161is kupons nodro\u0161in\u0101s bezmaksas pieg\u0101di.", "type": "boolean", "required": false }, "product_categories": { "description": "Kategorijas ID saraksts, uz kuriem kupons attiecas.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Kategorijas ID saraksts, uz kuriem kupons neattiecas.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "default": false, "description": "Ja ir taisn\u012bba, \u0161is kupons netiks piem\u0113rots prec\u0113m, kur\u0101m ir akcijas cenas.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minim\u0101lais pas\u016bt\u012bjuma apjoms, kam j\u0101b\u016bt groz\u0101, pirms tiek piem\u0113rots kupons.", "type": "string", "required": false }, "maximum_amount": { "description": "Izmantojot kuponu, ir at\u013cauts maksim\u0101lais pas\u016bt\u012bjuma apjoms.", "type": "string", "required": false }, "email_restrictions": { "description": "To e-pasta adre\u0161u saraksts, kuri var izmantot \u0161o kuponu.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "code": { "description": "Atlaides kods.", "type": "string", "required": false }, "description": { "description": "Kupona apraksts.", "type": "string", "required": false }, "discount_type": { "description": "Nosaka atlaides veidu, kas tiks piem\u0113rota.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "amount": { "description": "Atlai\u017eu summa. Vienm\u0113r j\u0101b\u016bt skaitliskam skaitlim, pat ja tiek iestat\u012bts procents.", "type": "string", "required": false }, "expiry_date": { "description": "UTC laiks, kad beidzas kupona der\u012bguma termi\u0146\u0161.", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "Ja ir taisn\u012bba, kuponu var izmantot tikai individu\u0101li. Citi piem\u0113rotie kuponi tiks no\u0146emti no groza.", "type": "boolean", "required": false }, "product_ids": { "description": "To produktu ID, uz kuriem var izmantot kuponu.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_product_ids": { "description": "To produktu ID, uz kuriem nevar izmantot kuponu.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Cik reizes kuponu var kop\u012bgi izmantot.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Cik reizes kupons var tikt izmantots katram klientam.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Maksim\u0101lais pre\u010du skaits groz\u0101, uz kuru var piem\u0113rot kuponu.", "type": "integer", "required": false }, "free_shipping": { "description": "Ja ir taisn\u012bba un ja bezmaksas pieg\u0101des metodei ir nepiecie\u0161ams kupons, \u0161is kupons nodro\u0161in\u0101s bezmaksas pieg\u0101di.", "type": "boolean", "required": false }, "product_categories": { "description": "Kategorijas ID saraksts, uz kuriem kupons attiecas.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Kategorijas ID saraksts, uz kuriem kupons neattiecas.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "Ja ir taisn\u012bba, \u0161is kupons netiks piem\u0113rots prec\u0113m, kur\u0101m ir akcijas cenas.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minim\u0101lais pas\u016bt\u012bjuma apjoms, kam j\u0101b\u016bt groz\u0101, pirms tiek piem\u0113rots kupons.", "type": "string", "required": false }, "maximum_amount": { "description": "Izmantojot kuponu, ir at\u013cauts maksim\u0101lais pas\u016bt\u012bjuma apjoms.", "type": "string", "required": false }, "email_restrictions": { "description": "To e-pasta adre\u0161u saraksts, kuri var izmantot \u0161o kuponu.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Vai apiet atkritumus un uzspiest dz\u0113\u0161anu.", "required": false } } } ] }, "\/wc\/v1\/coupons\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "code": { "description": "Atlaides kods.", "type": "string", "required": false }, "description": { "description": "Kupona apraksts.", "type": "string", "required": false }, "discount_type": { "description": "Nosaka atlaides veidu, kas tiks piem\u0113rota.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "amount": { "description": "Atlai\u017eu summa. Vienm\u0113r j\u0101b\u016bt skaitliskam skaitlim, pat ja tiek iestat\u012bts procents.", "type": "string", "required": false }, "expiry_date": { "description": "UTC laiks, kad beidzas kupona der\u012bguma termi\u0146\u0161.", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "Ja ir taisn\u012bba, kuponu var izmantot tikai individu\u0101li. Citi piem\u0113rotie kuponi tiks no\u0146emti no groza.", "type": "boolean", "required": false }, "product_ids": { "description": "To produktu ID, uz kuriem var izmantot kuponu.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_product_ids": { "description": "To produktu ID, uz kuriem nevar izmantot kuponu.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Cik reizes kuponu var kop\u012bgi izmantot.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Cik reizes kupons var tikt izmantots katram klientam.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Maksim\u0101lais pre\u010du skaits groz\u0101, uz kuru var piem\u0113rot kuponu.", "type": "integer", "required": false }, "free_shipping": { "description": "Ja ir taisn\u012bba un ja bezmaksas pieg\u0101des metodei ir nepiecie\u0161ams kupons, \u0161is kupons nodro\u0161in\u0101s bezmaksas pieg\u0101di.", "type": "boolean", "required": false }, "product_categories": { "description": "Kategorijas ID saraksts, uz kuriem kupons attiecas.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Kategorijas ID saraksts, uz kuriem kupons neattiecas.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "Ja ir taisn\u012bba, \u0161is kupons netiks piem\u0113rots prec\u0113m, kur\u0101m ir akcijas cenas.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minim\u0101lais pas\u016bt\u012bjuma apjoms, kam j\u0101b\u016bt groz\u0101, pirms tiek piem\u0113rots kupons.", "type": "string", "required": false }, "maximum_amount": { "description": "Izmantojot kuponu, ir at\u013cauts maksim\u0101lais pas\u016bt\u012bjuma apjoms.", "type": "string", "required": false }, "email_restrictions": { "description": "To e-pasta adre\u0161u saraksts, kuri var izmantot \u0161o kuponu.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v1\/coupons\/batch" } ] } }, "\/wc\/v1\/customers\/(?P[\\d]+)\/downloads": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "customer_id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ] }, "\/wc\/v1\/customers": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "name", "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "enum": [ "id", "include", "name", "registered_date" ], "type": "string", "required": false }, "email": { "description": "Ierobe\u017eots rezult\u0101ts, kas noteikts resursiem ar konkr\u0113tu e-pastu.", "type": "string", "format": "email", "required": false }, "role": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts resursiem ar noteiktu lomu.", "type": "string", "default": "customer", "enum": [ "all", "administrator", "editor", "author", "contributor", "subscriber", "wpseo_manager", "wpseo_editor", "customer", "shop_manager" ], "required": false } } }, { "methods": [ "POST" ], "args": { "email": { "type": "string", "description": "Jauna lietot\u0101ja e-pasta adrese.", "required": true }, "first_name": { "description": "Klienta v\u0101rds.", "type": "string", "required": false }, "last_name": { "description": "Klienta uzv\u0101rds.", "type": "string", "required": false }, "username": { "description": "Jaunsa lietot\u0101ja lietot\u0101jv\u0101rds.", "type": "string", "required": false }, "password": { "description": "Jauna lietot\u0101ja parole.", "type": "string", "required": false }, "billing": { "description": "Saraksts ar r\u0113\u0137ina adre\u0161u inform\u0101ciju.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adreses lauks 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts ISO kods.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "E-pasta adrese.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "T\u0101lru\u0146a numurs.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Pieg\u0101des adreses datu saraksts.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adreses lauks 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts ISO kods.", "type": "string", "context": [ "view", "edit" ] } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "email": { "description": "Klienta e-pasta adrese.", "type": "string", "format": "email", "required": false }, "first_name": { "description": "Klienta v\u0101rds.", "type": "string", "required": false }, "last_name": { "description": "Klienta uzv\u0101rds.", "type": "string", "required": false }, "username": { "description": "Klienta lietot\u0101ja v\u0101rds.", "type": "string", "required": false }, "password": { "description": "Klienta parole.", "type": "string", "required": false }, "billing": { "description": "Saraksts ar r\u0113\u0137ina adre\u0161u inform\u0101ciju.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adreses lauks 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts ISO kods.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "E-pasta adrese.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "T\u0101lru\u0146a numurs.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Pieg\u0101des adreses datu saraksts.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adreses lauks 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts ISO kods.", "type": "string", "context": [ "view", "edit" ] } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Nepiecie\u0161ams b\u016bt patiesam, jo resurss neatbalsta m\u0113slo\u0161anu.", "required": false }, "reassign": { "default": 0, "type": "integer", "description": "ID, lai p\u0101rceltu zi\u0146ojumus uz.", "required": false } } } ] }, "\/wc\/v1\/customers\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "email": { "description": "Klienta e-pasta adrese.", "type": "string", "format": "email", "required": false }, "first_name": { "description": "Klienta v\u0101rds.", "type": "string", "required": false }, "last_name": { "description": "Klienta uzv\u0101rds.", "type": "string", "required": false }, "username": { "description": "Klienta lietot\u0101ja v\u0101rds.", "type": "string", "required": false }, "password": { "description": "Klienta parole.", "type": "string", "required": false }, "billing": { "description": "Saraksts ar r\u0113\u0137ina adre\u0161u inform\u0101ciju.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adreses lauks 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts ISO kods.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "E-pasta adrese.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "T\u0101lru\u0146a numurs.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Pieg\u0101des adreses datu saraksts.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adreses lauks 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts ISO kods.", "type": "string", "context": [ "view", "edit" ] } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Pas\u016bt\u012bjuma ID.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "Pas\u016bt\u012bjuma ID.", "type": "integer", "required": false }, "note": { "type": "string", "description": "Pas\u016bt\u012bjuma piez\u012bmes saturs.", "required": true }, "customer_note": { "default": false, "description": "R\u0101da\/defin\u0113, vai piez\u012bme ir tikai atsauces vai klientam(lietot\u0101js tiks pazi\u0146ots).", "type": "boolean", "required": false } } } ] }, "\/wc\/v1\/orders\/(?P[\\d]+)\/notes\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "order_id": { "description": "Pas\u016bt\u012bjuma ID.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "order_id": { "description": "Pas\u016bt\u012bjuma ID.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Nepiecie\u0161ams b\u016bt patiesam, jo resurss neatbalsta m\u0113slo\u0161anu.", "required": false } } } ] }, "\/wc\/v1\/orders\/(?P[\\d]+)\/refunds": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "Pas\u016bt\u012bjuma ID.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "filter": { "type": "object", "description": "Izmantojiet WP vaic\u0101juma argumentus, lai main\u012btu atbildi; priv\u0101tam vaic\u0101jumam var b\u016bt vajadz\u012bga atbilsto\u0161a at\u013cauja.", "required": false }, "status": { "default": "any", "description": "Robe\u017eas rezult\u0101ts tiek noteikts pas\u016bt\u012bjumiem, kuriem pie\u0161\u0137irts konkr\u0113ts statuss.", "type": "string", "enum": [ "any", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "customer": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts pas\u016bt\u012bjumiem, kuriem pie\u0161\u0137irts konkr\u0113ts klients.", "type": "integer", "required": false }, "product": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts pas\u016bt\u012bjumiem, kuriem pie\u0161\u0137irts konkr\u0113ts produkts.", "type": "integer", "required": false }, "dp": { "default": 2, "description": "Decim\u0101lda\u013cu skaits ko izmantos katr\u0101 resurs\u0101.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "Pas\u016bt\u012bjuma ID.", "type": "integer", "required": false }, "amount": { "description": "Atmaksas summa.", "type": "string", "required": false }, "reason": { "description": "Atmaksas iemesls.", "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": "Pas\u016bt\u012bjuma ID.", "type": "integer", "required": false }, "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "order_id": { "description": "Pas\u016bt\u012bjuma ID.", "type": "integer", "required": false }, "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "Nepiecie\u0161ams b\u016bt patiesam, jo resurss neatbalsta m\u0113slo\u0161anu.", "required": false } } } ] }, "\/wc\/v1\/orders": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "filter": { "type": "object", "description": "Izmantojiet WP vaic\u0101juma argumentus, lai main\u012btu atbildi; priv\u0101tam vaic\u0101jumam var b\u016bt vajadz\u012bga atbilsto\u0161a at\u013cauja.", "required": false }, "status": { "default": "any", "description": "Robe\u017eas rezult\u0101ts tiek noteikts pas\u016bt\u012bjumiem, kuriem pie\u0161\u0137irts konkr\u0113ts statuss.", "type": "string", "enum": [ "any", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "customer": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts pas\u016bt\u012bjumiem, kuriem pie\u0161\u0137irts konkr\u0113ts klients.", "type": "integer", "required": false }, "product": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts pas\u016bt\u012bjumiem, kuriem pie\u0161\u0137irts konkr\u0113ts produkts.", "type": "integer", "required": false }, "dp": { "default": 2, "description": "Decim\u0101lda\u013cu skaits ko izmantos katr\u0101 resurs\u0101.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "parent_id": { "description": "Vec\u0101ku pas\u016bt\u012bjuma ID.", "type": "integer", "required": false }, "status": { "default": "pending", "description": "Pas\u016bt\u012bjuma statuss.", "type": "string", "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "default": "CNY", "description": "Val\u016btas k\u0101rtotas p\u0113c ISO form\u0101ta.", "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": "Lietot\u0101ja ID, kuram pieder pas\u016bt\u012bjums. 0 priek\u0161 viesiem.", "type": "integer", "required": false }, "billing": { "description": "Nor\u0113\u0137inu adrese.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adreses lauks 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts kods ISO 3166-1 alpha-2 form\u0101t\u0101.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "E-pasta adrese.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "T\u0101lru\u0146a numurs.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Pieg\u0101des adrese.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adreses lauks 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts kods ISO 3166-1 alpha-2 form\u0101t\u0101.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "Maks\u0101juma metodes ID.", "type": "string", "required": false }, "payment_method_title": { "description": "Maks\u0101jumu metodes nosaukums.", "type": "string", "required": false }, "set_paid": { "default": false, "description": "Nor\u0101diet, vai pas\u016bt\u012bjums ir samaks\u0101ts. Tas noteiks statusu apstr\u0101dei un samazin\u0101s kr\u0101juma daudzumu.", "type": "boolean", "required": false }, "transaction_id": { "description": "Unik\u0101ls dar\u012bjuma ID.", "type": "string", "required": false }, "customer_note": { "description": "Piez\u012bme, kuru klients atst\u0101j izrakst\u012b\u0161anas laik\u0101.", "type": "string", "required": false }, "line_items": { "description": "Rindas vien\u012bbu dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Produkta nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "Produkta SKU:", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "product_id": { "description": "Produkta ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Vari\u0101cijas ID, ja piem\u0113rojams.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Pas\u016bt\u012btais daudzums.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Produkta nodok\u013cu klase.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Produkta cena.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Rindu starpsumma (pirms atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Rindu starpsumma (pirms atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Nodok\u013cu starpsumma.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta": { "description": "Rindas vien\u012bbas meta dati.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Meta eti\u0137ete.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "shipping_lines": { "description": "Pieg\u0101des rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Pieg\u0101des metodes nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Pieg\u0101des veida ID", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "fee_lines": { "description": "Nodevas\/maksas rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Maksas nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Maksas nodok\u013ca kategorija.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Maksas nodok\u013ca statuss.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Nodok\u013cu starpsumma.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "coupon_lines": { "description": "Kupona rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Atlaides kods.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Atlaides summa.", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "Atlaides kop\u0113jais nodoklis.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "parent_id": { "description": "Vec\u0101ku pas\u016bt\u012bjuma ID.", "type": "integer", "required": false }, "status": { "description": "Pas\u016bt\u012bjuma statuss.", "type": "string", "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "description": "Val\u016btas k\u0101rtotas p\u0113c ISO form\u0101ta.", "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": "Lietot\u0101ja ID, kuram pieder pas\u016bt\u012bjums. 0 priek\u0161 viesiem.", "type": "integer", "required": false }, "billing": { "description": "Nor\u0113\u0137inu adrese.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adreses lauks 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts kods ISO 3166-1 alpha-2 form\u0101t\u0101.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "E-pasta adrese.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "T\u0101lru\u0146a numurs.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Pieg\u0101des adrese.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adreses lauks 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts kods ISO 3166-1 alpha-2 form\u0101t\u0101.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "Maks\u0101juma metodes ID.", "type": "string", "required": false }, "payment_method_title": { "description": "Maks\u0101jumu metodes nosaukums.", "type": "string", "required": false }, "set_paid": { "description": "Nor\u0101diet, vai pas\u016bt\u012bjums ir samaks\u0101ts. Tas noteiks statusu apstr\u0101dei un samazin\u0101s kr\u0101juma daudzumu.", "type": "boolean", "required": false }, "transaction_id": { "description": "Unik\u0101ls dar\u012bjuma ID.", "type": "string", "required": false }, "customer_note": { "description": "Piez\u012bme, kuru klients atst\u0101j izrakst\u012b\u0161anas laik\u0101.", "type": "string", "required": false }, "line_items": { "description": "Rindas vien\u012bbu dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Produkta nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "Produkta SKU:", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "product_id": { "description": "Produkta ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Vari\u0101cijas ID, ja piem\u0113rojams.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Pas\u016bt\u012btais daudzums.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Produkta nodok\u013cu klase.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Produkta cena.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Rindu starpsumma (pirms atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Rindu starpsumma (pirms atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Nodok\u013cu starpsumma.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta": { "description": "Rindas vien\u012bbas meta dati.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Meta eti\u0137ete.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "shipping_lines": { "description": "Pieg\u0101des rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Pieg\u0101des metodes nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Pieg\u0101des veida ID", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "fee_lines": { "description": "Nodevas\/maksas rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Maksas nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Maksas nodok\u013ca kategorija.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Maksas nodok\u013ca statuss.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Nodok\u013cu starpsumma.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "coupon_lines": { "description": "Kupona rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Atlaides kods.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Atlaides summa.", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "Atlaides kop\u0113jais nodoklis.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Vai apiet atkritumus un uzspiest dz\u0113\u0161anu.", "required": false } } } ] }, "\/wc\/v1\/orders\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "parent_id": { "description": "Vec\u0101ku pas\u016bt\u012bjuma ID.", "type": "integer", "required": false }, "status": { "description": "Pas\u016bt\u012bjuma statuss.", "type": "string", "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "description": "Val\u016btas k\u0101rtotas p\u0113c ISO form\u0101ta.", "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": "Lietot\u0101ja ID, kuram pieder pas\u016bt\u012bjums. 0 priek\u0161 viesiem.", "type": "integer", "required": false }, "billing": { "description": "Nor\u0113\u0137inu adrese.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adreses lauks 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts kods ISO 3166-1 alpha-2 form\u0101t\u0101.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "E-pasta adrese.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "T\u0101lru\u0146a numurs.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Pieg\u0101des adrese.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adreses lauks 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts kods ISO 3166-1 alpha-2 form\u0101t\u0101.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "Maks\u0101juma metodes ID.", "type": "string", "required": false }, "payment_method_title": { "description": "Maks\u0101jumu metodes nosaukums.", "type": "string", "required": false }, "set_paid": { "description": "Nor\u0101diet, vai pas\u016bt\u012bjums ir samaks\u0101ts. Tas noteiks statusu apstr\u0101dei un samazin\u0101s kr\u0101juma daudzumu.", "type": "boolean", "required": false }, "transaction_id": { "description": "Unik\u0101ls dar\u012bjuma ID.", "type": "string", "required": false }, "customer_note": { "description": "Piez\u012bme, kuru klients atst\u0101j izrakst\u012b\u0161anas laik\u0101.", "type": "string", "required": false }, "line_items": { "description": "Rindas vien\u012bbu dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Produkta nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "Produkta SKU:", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "product_id": { "description": "Produkta ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Vari\u0101cijas ID, ja piem\u0113rojams.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Pas\u016bt\u012btais daudzums.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Produkta nodok\u013cu klase.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Produkta cena.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Rindu starpsumma (pirms atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Rindu starpsumma (pirms atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Nodok\u013cu starpsumma.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta": { "description": "Rindas vien\u012bbas meta dati.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Meta eti\u0137ete.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "shipping_lines": { "description": "Pieg\u0101des rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Pieg\u0101des metodes nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Pieg\u0101des veida ID", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "fee_lines": { "description": "Nodevas\/maksas rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Maksas nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Maksas nodok\u013ca kategorija.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Maksas nodok\u013ca statuss.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Nodok\u013cu starpsumma.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "coupon_lines": { "description": "Kupona rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Atlaides kods.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Atlaides summa.", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "Atlaides kop\u0113jais nodoklis.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Unik\u0101ls terminu atrib\u016bta identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c resursa atrib\u016bta.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Vai sl\u0113pt resursus, kas nav pie\u0161\u0137irti nevienam produktam.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "product": { "description": "Robe\u017eas rezult\u0101ts noteikts resursiem, kas pie\u0161\u0137irti konkr\u0113tam produktam.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts resursiem ar \u012bpa\u0161u taku.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "attribute_id": { "description": "Unik\u0101ls terminu atrib\u016bta identifikators.", "type": "integer", "required": false }, "name": { "type": "string", "description": "Resursa nosaukums.", "required": true }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto, lai k\u0101rtotu resursus.", "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": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "attribute_id": { "description": "Unik\u0101ls terminu atrib\u016bta identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "attribute_id": { "description": "Unik\u0101ls terminu atrib\u016bta identifikators.", "type": "integer", "required": false }, "name": { "description": "Noteikumu nosaukums", "type": "string", "required": false }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto, lai k\u0101rtotu resursus.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "attribute_id": { "description": "Unik\u0101ls terminu atrib\u016bta identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Nepiecie\u0161ams b\u016bt patiesam, jo resurss neatbalsta m\u0113slo\u0161anu.", "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": "Unik\u0101ls terminu atrib\u016bta identifikators.", "type": "integer", "required": false }, "name": { "description": "Noteikumu nosaukums", "type": "string", "required": false }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto, lai k\u0101rtotu resursus.", "type": "integer", "required": false } } } ] }, "\/wc\/v1\/products\/attributes": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Resursa nosaukums.", "type": "string", "required": true }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "type": { "default": "select", "description": "Atrib\u016bta tips.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "default": "menu_order", "description": "Noklus\u0113juma k\u0101rtojuma sec\u012bba.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "default": false, "description": "Iesp\u0113jot \/ atsp\u0113jot atrib\u016btu arh\u012bvus.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "required": false }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "type": { "description": "Atrib\u016bta tips.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Noklus\u0113juma k\u0101rtojuma sec\u012bba.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "Iesp\u0113jot \/ atsp\u0113jot atrib\u016btu arh\u012bvus.", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "Nepiecie\u0161ams b\u016bt patiesam, jo resurss neatbalsta m\u0113slo\u0161anu.", "required": false } } } ] }, "\/wc\/v1\/products\/attributes\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "required": false }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "type": { "description": "Atrib\u016bta tips.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Noklus\u0113juma k\u0101rtojuma sec\u012bba.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "Iesp\u0113jot \/ atsp\u0113jot atrib\u016btu arh\u012bvus.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v1\/products\/attributes\/batch" } ] } }, "\/wc\/v1\/products\/categories": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c resursa atrib\u016bta.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Vai sl\u0113pt resursus, kas nav pie\u0161\u0137irti nevienam produktam.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "product": { "description": "Robe\u017eas rezult\u0101ts noteikts resursiem, kas pie\u0161\u0137irti konkr\u0113tam produktam.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts resursiem ar \u012bpa\u0161u taku.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Resursa nosaukums.", "required": true }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "parent": { "description": "ID resursa vec\u0101kiem.", "type": "integer", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false }, "display": { "default": "default", "description": "Kategorijas arh\u012bva att\u0113lojuma veids", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Image data.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto, lai k\u0101rtotu resursus.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "name": { "description": "Kategorijas nosaukums.", "type": "string", "required": false }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "parent": { "description": "ID resursa vec\u0101kiem.", "type": "integer", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false }, "display": { "description": "Kategorijas arh\u012bva att\u0113lojuma veids", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Image data.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto, lai k\u0101rtotu resursus.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Nepiecie\u0161ams b\u016bt patiesam, jo resurss neatbalsta m\u0113slo\u0161anu.", "required": false } } } ] }, "\/wc\/v1\/products\/categories\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Kategorijas nosaukums.", "type": "string", "required": false }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "parent": { "description": "ID resursa vec\u0101kiem.", "type": "integer", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false }, "display": { "description": "Kategorijas arh\u012bva att\u0113lojuma veids", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Image data.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto, lai k\u0101rtotu resursus.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "id": { "description": "Unik\u0101ls vari\u0101cijas identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "id": { "description": "Unik\u0101ls vari\u0101cijas identifikators.", "type": "integer", "required": false }, "review": { "type": "string", "description": "P\u0101rskat\u012bt saturu.", "required": true }, "date_created": { "description": "Datums, kad p\u0101rskat\u012b\u0161ana tika izveidota, vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "rating": { "description": "P\u0101rskata reitings (no 0 l\u012bdz 5).", "type": "integer", "required": false }, "name": { "type": "string", "description": "P\u0101rskata sast\u0101d\u012bt\u0101js.", "required": true }, "email": { "type": "string", "description": "Recenzents e-pasts.", "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": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "review": { "description": "Recenzijas saturs.", "type": "string", "required": false }, "date_created": { "description": "Datums, kad p\u0101rskat\u012b\u0161ana tika izveidota, vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "rating": { "description": "P\u0101rskata reitings (no 0 l\u012bdz 5).", "type": "integer", "required": false }, "name": { "description": "Recenzenta v\u0101rsds.", "type": "string", "required": false }, "email": { "description": "Recenzenta e-pasts.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "description": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Vai apiet atkritumus un uzspiest dz\u0113\u0161anu.", "required": false } } } ] }, "\/wc\/v1\/products\/shipping_classes": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c resursa atrib\u016bta.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Vai sl\u0113pt resursus, kas nav pie\u0161\u0137irti nevienam produktam.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "product": { "description": "Robe\u017eas rezult\u0101ts noteikts resursiem, kas pie\u0161\u0137irti konkr\u0113tam produktam.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts resursiem ar \u012bpa\u0161u taku.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Resursa nosaukums.", "required": true }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "name": { "description": "Pieg\u0101des klases nosaukums.", "type": "string", "required": false }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Nepiecie\u0161ams b\u016bt patiesam, jo resurss neatbalsta m\u0113slo\u0161anu.", "required": false } } } ] }, "\/wc\/v1\/products\/shipping_classes\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Pieg\u0101des klases nosaukums.", "type": "string", "required": false }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v1\/products\/shipping_classes\/batch" } ] } }, "\/wc\/v1\/products\/tags": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c resursa atrib\u016bta.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Vai sl\u0113pt resursus, kas nav pie\u0161\u0137irti nevienam produktam.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "product": { "description": "Robe\u017eas rezult\u0101ts noteikts resursiem, kas pie\u0161\u0137irti konkr\u0113tam produktam.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts resursiem ar \u012bpa\u0161u taku.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Resursa nosaukums.", "required": true }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "name": { "description": "Birkas nosaukums", "type": "string", "required": false }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Nepiecie\u0161ams b\u016bt patiesam, jo resurss neatbalsta m\u0113slo\u0161anu.", "required": false } } } ] }, "\/wc\/v1\/products\/tags\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Birkas nosaukums", "type": "string", "required": false }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v1\/products\/tags\/batch" } ] } }, "\/wc\/v1\/products": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "filter": { "type": "object", "description": "Izmantojiet WP vaic\u0101juma argumentus, lai main\u012btu atbildi; priv\u0101tam vaic\u0101jumam var b\u016bt vajadz\u012bga atbilsto\u0161a at\u013cauja.", "required": false }, "slug": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem ar \u012bpa\u0161u taku.", "type": "string", "required": false }, "status": { "default": "any", "description": "Robe\u017eas rezult\u0101ts ir noteikts produktiem, kam pie\u0161\u0137irts \u012bpa\u0161s statuss.", "type": "string", "enum": [ "any", "future", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "Robe\u017eas rezult\u0101ts noteikts produktiem, kuriem pie\u0161\u0137irts \u012bpa\u0161s veids.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "category": { "description": "Robe\u017eas rezult\u0101ts ir noteikts produktiem, kam pie\u0161\u0137irts \u012bpa\u0161a kategorijas ID.", "type": "string", "required": false }, "tag": { "description": "Robe\u017eas rezult\u0101ts ir noteikts produktiem, kuriem pie\u0161\u0137irts \u012bpa\u0161s birkas ID.", "type": "string", "required": false }, "shipping_class": { "description": "Ierobe\u017eots rezult\u0101ts, kas noteikts produktiem, kuriem pie\u0161\u0137irts konkr\u0113ts pieg\u0101des klases ID.", "type": "string", "required": false }, "attribute": { "description": "Robe\u017eas rezult\u0101ts tiek iestat\u012bts produktiem ar \u012bpa\u0161u atrib\u016btu.", "type": "string", "required": false }, "attribute_term": { "description": "Ierobe\u017eojo\u0161ais rezult\u0101ts ir noteikts produktiem ar \u012bpa\u0161u atrib\u016btu terminu ID (nepiecie\u0161ams pie\u0161\u0137irts atrib\u016bts).", "type": "string", "required": false }, "sku": { "description": "Robe\u017eas rezult\u0101ts ir noteikts produktiem ar konkr\u0113tu SKU.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Produkta nosaukums.", "type": "string", "required": false }, "slug": { "description": "Produkta taka.", "type": "string", "required": false }, "type": { "default": "simple", "description": "Produkta tips.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "default": "publish", "description": "Produkta statuss (pasta statuss).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false }, "featured": { "default": false, "description": "Pied\u0101v\u0101tais produkts.", "type": "boolean", "required": false }, "catalog_visibility": { "default": "visible", "description": "Kataloga redzam\u012bba.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Produkta apraksts.", "type": "string", "required": false }, "short_description": { "description": "Produkta \u012bss apraksts.", "type": "string", "required": false }, "sku": { "description": "Unik\u0101lais identifikators.", "type": "string", "required": false }, "regular_price": { "description": "Produkta cena.", "type": "string", "required": false }, "sale_price": { "description": "Produkta akcijas cena.", "type": "string", "required": false }, "date_on_sale_from": { "description": "P\u0101rdo\u0161anas cenu s\u0101kuma datums.", "type": "string", "required": false }, "date_on_sale_to": { "description": "Izp\u0101rdo\u0161anas beigu datums.", "type": "string", "required": false }, "virtual": { "default": false, "description": "Ja produkts ir virtu\u0101ls.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Ja produkts ir lejupiel\u0101d\u0113jams.", "type": "boolean", "required": false }, "downloads": { "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer", "required": false }, "download_type": { "default": "standard", "description": "Lejupiel\u0101des veids, tas kontrol\u0113 sh\u0113mu priek\u0161pus\u0113.", "type": "string", "enum": [ "standard" ], "required": false }, "external_url": { "description": "Produkta \u0101r\u0113jais URL. Tikai \u0101r\u0113jiem produktiem.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Produkta \u0101r\u0113jais pogas teksts. Tikai \u0101r\u0113jiem produktiem.", "type": "string", "required": false }, "tax_status": { "default": "taxable", "description": "Nodok\u013cu status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Nodok\u013cu likme.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Kr\u0101jumu p\u0101rvald\u012bba produktu l\u012bmen\u012b.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Daudzums noliktav\u0101.", "type": "integer", "required": false }, "in_stock": { "default": true, "description": "Kontrol\u0113 vai produkts ir uzr\u0101d\u012bts, k\u0101 \"pieejams\" vai \"nepieejams\" lapas priek\u0161pl\u0101n\u0101.", "type": "boolean", "required": false }, "backorders": { "default": "no", "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "sold_individually": { "default": false, "description": "At\u013caut vienu preci nopirkt vien\u0101 pas\u016bt\u012bjum\u0101.", "type": "boolean", "required": false }, "weight": { "description": "Produkta svars (kg).", "type": "string", "required": false }, "dimensions": { "description": "Produkta izm\u0113ri.", "type": "object", "properties": { "length": { "description": "Produkta garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Produkta platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Produkta augstums (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Pieg\u0101des klases taka.", "type": "string", "required": false }, "reviews_allowed": { "default": true, "description": "At\u013caut atsauksmes", "type": "boolean", "required": false }, "upsell_ids": { "description": "Saraksts ar d\u0101rg\u0101k p\u0101rdoto produktu ID.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Saraksts ar piep\u0101rdo\u0161anas produktu ID.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "Produkta vec\u0101ku ID.", "type": "integer", "required": false }, "purchase_note": { "description": "Izv\u0113les piez\u012bme, lai nos\u016bt\u012btu klientu p\u0113c pirkuma.", "type": "string", "required": false }, "categories": { "description": "Kategoriju saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kategorijas ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Kategorijas nosaukums.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Kategorijas kods.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Birku sarakst.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Birkas ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Birkas nosaukums", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Birkas taka.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Att\u0113lu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Att\u0113la novietojums 0 noz\u012bm\u0113, ka att\u0113ls ir izcelts.", "type": "integer", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Atrib\u016btu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Atrib\u016bta poz\u012bcija", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Nor\u0101diet, vai produkta lap\u0101 ciln\u0113 \"Papildinform\u0101cija\" ir redzams atrib\u016bts.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Noteikt, vai atrib\u016btu var izmantot k\u0101 vari\u0101ciju.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Atrib\u016bta pieejamo terminu nosaukumi.", "type": "array", "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Noklus\u0113juma variantu atrib\u016bti.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "variations": { "description": "Vari\u0101ciju saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vari\u0101cijas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "date_created": { "description": "Datums, kad vari\u0101cija tika izveidota, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad vari\u0101cija p\u0113d\u0113jo reizi tika main\u012bta, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "permalink": { "description": "Vari\u0101cijas saite (URL).", "type": "string", "format": "uri", "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "Unik\u0101lais identifikators.", "type": "string", "context": [ "view", "edit" ] }, "price": { "description": "Pa\u0161reiz\u0113j\u0101 vari\u0101cijas cena.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "regular_price": { "description": "Vari\u0101cijas regul\u0101r\u0101 cena.", "type": "string", "context": [ "view", "edit" ] }, "sale_price": { "description": "Vari\u0101cijas p\u0101rdo\u0161anas cena.", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_from": { "description": "P\u0101rdo\u0161anas cenu s\u0101kuma datums.", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_to": { "description": "Izp\u0101rdo\u0161anas beigu datums.", "type": "string", "context": [ "view", "edit" ] }, "on_sale": { "description": "Par\u0101da, vai vari\u0101cijai ir akcija.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "purchasable": { "description": "Par\u0101da, vai vari\u0101ciju var nopirkt.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "visible": { "description": "Ja vari\u0101cija ir redzama.", "type": "boolean", "context": [ "view", "edit" ] }, "virtual": { "description": "Ja vari\u0101cija ir virtu\u0101la.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloadable": { "description": "Ja vari\u0101cija ir lejupiel\u0101d\u0113jama.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloads": { "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "download_expiry": { "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "tax_status": { "description": "Nodok\u013cu status.", "type": "string", "default": "taxable", "enum": [ "taxable", "shipping", "none" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Nodok\u013cu likme.", "type": "string", "context": [ "view", "edit" ] }, "manage_stock": { "description": "Noliktavas uzskaite vari\u0101cijas l\u012bmen\u012b.", "type": [ "boolean", "string" ], "default": false, "context": [ "view", "edit" ] }, "stock_quantity": { "description": "Daudzums noliktav\u0101.", "type": "integer", "context": [ "view", "edit" ] }, "in_stock": { "description": "Kontrol\u0113 vai produkta vari\u0101cija ir uzr\u0101d\u012bta, k\u0101 \"pieejama\" vai \"nepieejama\" lapas priek\u0161pl\u0101n\u0101.", "type": "boolean", "default": true, "context": [ "view", "edit" ] }, "backorders": { "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "default": "no", "enum": [ "no", "notify", "yes" ], "context": [ "view", "edit" ] }, "backorders_allowed": { "description": "Par\u0101d\u012bt vai produkta pieg\u0101de p\u0113c pas\u016bt\u012bjuma ir at\u013cauta.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "backordered": { "description": "Par\u0101d\u012bt vai vari\u0101cij\u0101m ir aizkav\u0113tais pas\u016bt\u012bjums", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "weight": { "description": "Vari\u0101cijas svars (kg).", "type": "string", "context": [ "view", "edit" ] }, "dimensions": { "description": "Vari\u0101ciju izm\u0113ri.", "type": "object", "context": [ "view", "edit" ], "properties": { "length": { "description": "Vari\u0101cijas garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Vari\u0101cijas platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Vari\u0101cijas augstums (cm).", "type": "string", "context": [ "view", "edit" ] } } }, "shipping_class": { "description": "Pieg\u0101des klases taka.", "type": "string", "context": [ "view", "edit" ] }, "shipping_class_id": { "description": "Pieg\u0101des kalses ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Vari\u0101cijas att\u0113la dati.", "type": "object", "context": [ "view", "edit" ], "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Att\u0113la novietojums 0 noz\u012bm\u0113, ka att\u0113ls ir izcelts.", "type": "integer", "context": [ "view", "edit" ] } } }, "attributes": { "description": "Atrib\u016btu saraksts.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } } } } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto pas\u016bt\u012bjuma \u0161\u0137iro\u0161anai.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "name": { "description": "Produkta nosaukums.", "type": "string", "required": false }, "slug": { "description": "Produkta taka.", "type": "string", "required": false }, "type": { "description": "Produkta tips.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "description": "Produkta statuss (pasta statuss).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false }, "featured": { "description": "Pied\u0101v\u0101tais produkts.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Kataloga redzam\u012bba.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Produkta apraksts.", "type": "string", "required": false }, "short_description": { "description": "Produkta \u012bss apraksts.", "type": "string", "required": false }, "sku": { "description": "Unik\u0101lais identifikators.", "type": "string", "required": false }, "regular_price": { "description": "Produkta cena.", "type": "string", "required": false }, "sale_price": { "description": "Produkta akcijas cena.", "type": "string", "required": false }, "date_on_sale_from": { "description": "P\u0101rdo\u0161anas cenu s\u0101kuma datums.", "type": "string", "required": false }, "date_on_sale_to": { "description": "Izp\u0101rdo\u0161anas beigu datums.", "type": "string", "required": false }, "virtual": { "description": "Ja produkts ir virtu\u0101ls.", "type": "boolean", "required": false }, "downloadable": { "description": "Ja produkts ir lejupiel\u0101d\u0113jams.", "type": "boolean", "required": false }, "downloads": { "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer", "required": false }, "download_expiry": { "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer", "required": false }, "download_type": { "description": "Lejupiel\u0101des veids, tas kontrol\u0113 sh\u0113mu priek\u0161pus\u0113.", "type": "string", "enum": [ "standard" ], "required": false }, "external_url": { "description": "Produkta \u0101r\u0113jais URL. Tikai \u0101r\u0113jiem produktiem.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Produkta \u0101r\u0113jais pogas teksts. Tikai \u0101r\u0113jiem produktiem.", "type": "string", "required": false }, "tax_status": { "description": "Nodok\u013cu status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Nodok\u013cu likme.", "type": "string", "required": false }, "manage_stock": { "description": "Kr\u0101jumu p\u0101rvald\u012bba produktu l\u012bmen\u012b.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Daudzums noliktav\u0101.", "type": "integer", "required": false }, "in_stock": { "description": "Kontrol\u0113 vai produkts ir uzr\u0101d\u012bts, k\u0101 \"pieejams\" vai \"nepieejams\" lapas priek\u0161pl\u0101n\u0101.", "type": "boolean", "required": false }, "backorders": { "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "sold_individually": { "description": "At\u013caut vienu preci nopirkt vien\u0101 pas\u016bt\u012bjum\u0101.", "type": "boolean", "required": false }, "weight": { "description": "Produkta svars (kg).", "type": "string", "required": false }, "dimensions": { "description": "Produkta izm\u0113ri.", "type": "object", "properties": { "length": { "description": "Produkta garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Produkta platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Produkta augstums (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Pieg\u0101des klases taka.", "type": "string", "required": false }, "reviews_allowed": { "description": "At\u013caut atsauksmes", "type": "boolean", "required": false }, "upsell_ids": { "description": "Saraksts ar d\u0101rg\u0101k p\u0101rdoto produktu ID.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Saraksts ar piep\u0101rdo\u0161anas produktu ID.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "Produkta vec\u0101ku ID.", "type": "integer", "required": false }, "purchase_note": { "description": "Izv\u0113les piez\u012bme, lai nos\u016bt\u012btu klientu p\u0113c pirkuma.", "type": "string", "required": false }, "categories": { "description": "Kategoriju saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kategorijas ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Kategorijas nosaukums.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Kategorijas kods.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Birku sarakst.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Birkas ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Birkas nosaukums", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Birkas taka.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Att\u0113lu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Att\u0113la novietojums 0 noz\u012bm\u0113, ka att\u0113ls ir izcelts.", "type": "integer", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Atrib\u016btu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Atrib\u016bta poz\u012bcija", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Nor\u0101diet, vai produkta lap\u0101 ciln\u0113 \"Papildinform\u0101cija\" ir redzams atrib\u016bts.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Noteikt, vai atrib\u016btu var izmantot k\u0101 vari\u0101ciju.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Atrib\u016bta pieejamo terminu nosaukumi.", "type": "array", "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Noklus\u0113juma variantu atrib\u016bti.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "variations": { "description": "Vari\u0101ciju saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vari\u0101cijas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "date_created": { "description": "Datums, kad vari\u0101cija tika izveidota, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad vari\u0101cija p\u0113d\u0113jo reizi tika main\u012bta, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "permalink": { "description": "Vari\u0101cijas saite (URL).", "type": "string", "format": "uri", "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "Unik\u0101lais identifikators.", "type": "string", "context": [ "view", "edit" ] }, "price": { "description": "Pa\u0161reiz\u0113j\u0101 vari\u0101cijas cena.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "regular_price": { "description": "Vari\u0101cijas regul\u0101r\u0101 cena.", "type": "string", "context": [ "view", "edit" ] }, "sale_price": { "description": "Vari\u0101cijas p\u0101rdo\u0161anas cena.", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_from": { "description": "P\u0101rdo\u0161anas cenu s\u0101kuma datums.", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_to": { "description": "Izp\u0101rdo\u0161anas beigu datums.", "type": "string", "context": [ "view", "edit" ] }, "on_sale": { "description": "Par\u0101da, vai vari\u0101cijai ir akcija.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "purchasable": { "description": "Par\u0101da, vai vari\u0101ciju var nopirkt.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "visible": { "description": "Ja vari\u0101cija ir redzama.", "type": "boolean", "context": [ "view", "edit" ] }, "virtual": { "description": "Ja vari\u0101cija ir virtu\u0101la.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloadable": { "description": "Ja vari\u0101cija ir lejupiel\u0101d\u0113jama.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloads": { "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "download_expiry": { "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "tax_status": { "description": "Nodok\u013cu status.", "type": "string", "default": "taxable", "enum": [ "taxable", "shipping", "none" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Nodok\u013cu likme.", "type": "string", "context": [ "view", "edit" ] }, "manage_stock": { "description": "Noliktavas uzskaite vari\u0101cijas l\u012bmen\u012b.", "type": [ "boolean", "string" ], "default": false, "context": [ "view", "edit" ] }, "stock_quantity": { "description": "Daudzums noliktav\u0101.", "type": "integer", "context": [ "view", "edit" ] }, "in_stock": { "description": "Kontrol\u0113 vai produkta vari\u0101cija ir uzr\u0101d\u012bta, k\u0101 \"pieejama\" vai \"nepieejama\" lapas priek\u0161pl\u0101n\u0101.", "type": "boolean", "default": true, "context": [ "view", "edit" ] }, "backorders": { "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "default": "no", "enum": [ "no", "notify", "yes" ], "context": [ "view", "edit" ] }, "backorders_allowed": { "description": "Par\u0101d\u012bt vai produkta pieg\u0101de p\u0113c pas\u016bt\u012bjuma ir at\u013cauta.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "backordered": { "description": "Par\u0101d\u012bt vai vari\u0101cij\u0101m ir aizkav\u0113tais pas\u016bt\u012bjums", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "weight": { "description": "Vari\u0101cijas svars (kg).", "type": "string", "context": [ "view", "edit" ] }, "dimensions": { "description": "Vari\u0101ciju izm\u0113ri.", "type": "object", "context": [ "view", "edit" ], "properties": { "length": { "description": "Vari\u0101cijas garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Vari\u0101cijas platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Vari\u0101cijas augstums (cm).", "type": "string", "context": [ "view", "edit" ] } } }, "shipping_class": { "description": "Pieg\u0101des klases taka.", "type": "string", "context": [ "view", "edit" ] }, "shipping_class_id": { "description": "Pieg\u0101des kalses ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Vari\u0101cijas att\u0113la dati.", "type": "object", "context": [ "view", "edit" ], "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Att\u0113la novietojums 0 noz\u012bm\u0113, ka att\u0113ls ir izcelts.", "type": "integer", "context": [ "view", "edit" ] } } }, "attributes": { "description": "Atrib\u016btu saraksts.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } } } } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto pas\u016bt\u012bjuma \u0161\u0137iro\u0161anai.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": false, "description": "Vai apiet atkritumus un uzspiest dz\u0113\u0161anu.", "type": "boolean", "required": false } } } ] }, "\/wc\/v1\/products\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Produkta nosaukums.", "type": "string", "required": false }, "slug": { "description": "Produkta taka.", "type": "string", "required": false }, "type": { "description": "Produkta tips.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "description": "Produkta statuss (pasta statuss).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false }, "featured": { "description": "Pied\u0101v\u0101tais produkts.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Kataloga redzam\u012bba.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Produkta apraksts.", "type": "string", "required": false }, "short_description": { "description": "Produkta \u012bss apraksts.", "type": "string", "required": false }, "sku": { "description": "Unik\u0101lais identifikators.", "type": "string", "required": false }, "regular_price": { "description": "Produkta cena.", "type": "string", "required": false }, "sale_price": { "description": "Produkta akcijas cena.", "type": "string", "required": false }, "date_on_sale_from": { "description": "P\u0101rdo\u0161anas cenu s\u0101kuma datums.", "type": "string", "required": false }, "date_on_sale_to": { "description": "Izp\u0101rdo\u0161anas beigu datums.", "type": "string", "required": false }, "virtual": { "description": "Ja produkts ir virtu\u0101ls.", "type": "boolean", "required": false }, "downloadable": { "description": "Ja produkts ir lejupiel\u0101d\u0113jams.", "type": "boolean", "required": false }, "downloads": { "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer", "required": false }, "download_expiry": { "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer", "required": false }, "download_type": { "description": "Lejupiel\u0101des veids, tas kontrol\u0113 sh\u0113mu priek\u0161pus\u0113.", "type": "string", "enum": [ "standard" ], "required": false }, "external_url": { "description": "Produkta \u0101r\u0113jais URL. Tikai \u0101r\u0113jiem produktiem.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Produkta \u0101r\u0113jais pogas teksts. Tikai \u0101r\u0113jiem produktiem.", "type": "string", "required": false }, "tax_status": { "description": "Nodok\u013cu status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Nodok\u013cu likme.", "type": "string", "required": false }, "manage_stock": { "description": "Kr\u0101jumu p\u0101rvald\u012bba produktu l\u012bmen\u012b.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Daudzums noliktav\u0101.", "type": "integer", "required": false }, "in_stock": { "description": "Kontrol\u0113 vai produkts ir uzr\u0101d\u012bts, k\u0101 \"pieejams\" vai \"nepieejams\" lapas priek\u0161pl\u0101n\u0101.", "type": "boolean", "required": false }, "backorders": { "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "sold_individually": { "description": "At\u013caut vienu preci nopirkt vien\u0101 pas\u016bt\u012bjum\u0101.", "type": "boolean", "required": false }, "weight": { "description": "Produkta svars (kg).", "type": "string", "required": false }, "dimensions": { "description": "Produkta izm\u0113ri.", "type": "object", "properties": { "length": { "description": "Produkta garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Produkta platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Produkta augstums (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Pieg\u0101des klases taka.", "type": "string", "required": false }, "reviews_allowed": { "description": "At\u013caut atsauksmes", "type": "boolean", "required": false }, "upsell_ids": { "description": "Saraksts ar d\u0101rg\u0101k p\u0101rdoto produktu ID.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Saraksts ar piep\u0101rdo\u0161anas produktu ID.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "Produkta vec\u0101ku ID.", "type": "integer", "required": false }, "purchase_note": { "description": "Izv\u0113les piez\u012bme, lai nos\u016bt\u012btu klientu p\u0113c pirkuma.", "type": "string", "required": false }, "categories": { "description": "Kategoriju saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kategorijas ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Kategorijas nosaukums.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Kategorijas kods.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Birku sarakst.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Birkas ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Birkas nosaukums", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Birkas taka.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Att\u0113lu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Att\u0113la novietojums 0 noz\u012bm\u0113, ka att\u0113ls ir izcelts.", "type": "integer", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Atrib\u016btu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Atrib\u016bta poz\u012bcija", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Nor\u0101diet, vai produkta lap\u0101 ciln\u0113 \"Papildinform\u0101cija\" ir redzams atrib\u016bts.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Noteikt, vai atrib\u016btu var izmantot k\u0101 vari\u0101ciju.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Atrib\u016bta pieejamo terminu nosaukumi.", "type": "array", "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Noklus\u0113juma variantu atrib\u016bti.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "variations": { "description": "Vari\u0101ciju saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vari\u0101cijas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "date_created": { "description": "Datums, kad vari\u0101cija tika izveidota, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad vari\u0101cija p\u0113d\u0113jo reizi tika main\u012bta, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "permalink": { "description": "Vari\u0101cijas saite (URL).", "type": "string", "format": "uri", "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "Unik\u0101lais identifikators.", "type": "string", "context": [ "view", "edit" ] }, "price": { "description": "Pa\u0161reiz\u0113j\u0101 vari\u0101cijas cena.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "regular_price": { "description": "Vari\u0101cijas regul\u0101r\u0101 cena.", "type": "string", "context": [ "view", "edit" ] }, "sale_price": { "description": "Vari\u0101cijas p\u0101rdo\u0161anas cena.", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_from": { "description": "P\u0101rdo\u0161anas cenu s\u0101kuma datums.", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_to": { "description": "Izp\u0101rdo\u0161anas beigu datums.", "type": "string", "context": [ "view", "edit" ] }, "on_sale": { "description": "Par\u0101da, vai vari\u0101cijai ir akcija.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "purchasable": { "description": "Par\u0101da, vai vari\u0101ciju var nopirkt.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "visible": { "description": "Ja vari\u0101cija ir redzama.", "type": "boolean", "context": [ "view", "edit" ] }, "virtual": { "description": "Ja vari\u0101cija ir virtu\u0101la.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloadable": { "description": "Ja vari\u0101cija ir lejupiel\u0101d\u0113jama.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloads": { "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "download_expiry": { "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "tax_status": { "description": "Nodok\u013cu status.", "type": "string", "default": "taxable", "enum": [ "taxable", "shipping", "none" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Nodok\u013cu likme.", "type": "string", "context": [ "view", "edit" ] }, "manage_stock": { "description": "Noliktavas uzskaite vari\u0101cijas l\u012bmen\u012b.", "type": [ "boolean", "string" ], "default": false, "context": [ "view", "edit" ] }, "stock_quantity": { "description": "Daudzums noliktav\u0101.", "type": "integer", "context": [ "view", "edit" ] }, "in_stock": { "description": "Kontrol\u0113 vai produkta vari\u0101cija ir uzr\u0101d\u012bta, k\u0101 \"pieejama\" vai \"nepieejama\" lapas priek\u0161pl\u0101n\u0101.", "type": "boolean", "default": true, "context": [ "view", "edit" ] }, "backorders": { "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "default": "no", "enum": [ "no", "notify", "yes" ], "context": [ "view", "edit" ] }, "backorders_allowed": { "description": "Par\u0101d\u012bt vai produkta pieg\u0101de p\u0113c pas\u016bt\u012bjuma ir at\u013cauta.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "backordered": { "description": "Par\u0101d\u012bt vai vari\u0101cij\u0101m ir aizkav\u0113tais pas\u016bt\u012bjums", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "weight": { "description": "Vari\u0101cijas svars (kg).", "type": "string", "context": [ "view", "edit" ] }, "dimensions": { "description": "Vari\u0101ciju izm\u0113ri.", "type": "object", "context": [ "view", "edit" ], "properties": { "length": { "description": "Vari\u0101cijas garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Vari\u0101cijas platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Vari\u0101cijas augstums (cm).", "type": "string", "context": [ "view", "edit" ] } } }, "shipping_class": { "description": "Pieg\u0101des klases taka.", "type": "string", "context": [ "view", "edit" ] }, "shipping_class_id": { "description": "Pieg\u0101des kalses ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Vari\u0101cijas att\u0113la dati.", "type": "object", "context": [ "view", "edit" ], "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Att\u0113la novietojums 0 noz\u012bm\u0113, ka att\u0113ls ir izcelts.", "type": "integer", "context": [ "view", "edit" ] } } }, "attributes": { "description": "Atrib\u016btu saraksts.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } } } } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto pas\u016bt\u012bjuma \u0161\u0137iro\u0161anai.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v1\/products\/batch" } ] } }, "\/wc\/v1\/reports\/sales": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "period": { "description": "Atskaites periods.", "type": "string", "enum": [ "week", "month", "last_month", "year" ], "required": false }, "date_min": { "description": "Atgriezt p\u0101rdo\u0161an\u0101 konkr\u0113t\u0101 s\u0101kuma datum\u0101, datums ir YYYY-MM-DD form\u0101t\u0101.", "type": "string", "format": "date", "required": false }, "date_max": { "description": "Atgriezt p\u0101rdo\u0161an\u0101 konkr\u0113t\u0101 beigu datum\u0101, datums ir YYYY-MM-DD form\u0101t\u0101.", "type": "string", "format": "date", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v1\/reports\/sales" } ] } }, "\/wc\/v1\/reports\/top_sellers": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "period": { "description": "Atskaites periods.", "type": "string", "enum": [ "week", "month", "last_month", "year" ], "required": false }, "date_min": { "description": "Atgriezt p\u0101rdo\u0161an\u0101 konkr\u0113t\u0101 s\u0101kuma datum\u0101, datums ir YYYY-MM-DD form\u0101t\u0101.", "type": "string", "format": "date", "required": false }, "date_max": { "description": "Atgriezt p\u0101rdo\u0161an\u0101 konkr\u0113t\u0101 beigu datum\u0101, datums ir YYYY-MM-DD form\u0101t\u0101.", "type": "string", "format": "date", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v1\/reports\/top_sellers" } ] } }, "\/wc\/v1\/reports": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v1\/reports" } ] } }, "\/wc\/v1\/taxes\/classes": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Nodok\u013cu kategorijas nosaukums.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Unik\u0101la taka priek\u0161 resursa.", "type": "string", "required": false }, "force": { "default": false, "type": "boolean", "description": "Nepiecie\u0161ams b\u016bt patiesam, jo resurss neatbalsta m\u0113slo\u0161anu.", "required": false } } } ] }, "\/wc\/v1\/taxes": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "order", "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "enum": [ "id", "order", "priority" ], "type": "string", "required": false }, "class": { "description": "K\u0101rtot p\u0113c nodok\u013cu klases.", "enum": [ "standard", "%e5%87%8f%e7%a8%8e%e7%a8%8e%e7%8e%87", "%e9%9b%b6%e7%a8%8e%e7%8e%87" ], "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "country": { "description": "Valsts ISO 3166 kods.", "type": "string", "required": false }, "state": { "description": "Valsts kods.", "type": "string", "required": false }, "postcode": { "description": "Pasta indekss.", "type": "string", "required": false }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "required": false }, "rate": { "description": "Nodok\u013ca likme.", "type": "string", "required": false }, "name": { "description": "Nodok\u013ca likmes nosaukums.", "type": "string", "required": false }, "priority": { "default": 1, "description": "Nodok\u013cu priorit\u0101te.", "type": "integer", "required": false }, "compound": { "default": false, "description": "Neatkar\u012bgi no t\u0101, vai \u0161\u012b ir salikt\u0101 likme.", "type": "boolean", "required": false }, "shipping": { "default": true, "description": "Vai \u0161\u012b nodok\u013ca likme ar\u012b tiek piem\u0113rota pieg\u0101dei.", "type": "boolean", "required": false }, "order": { "description": "Nor\u0101da pas\u016bt\u012bjumu, kas tiks par\u0101d\u012bts vaic\u0101jumos.", "type": "integer", "required": false }, "class": { "default": "standard", "description": "Nodok\u013cu likme.", "type": "string", "enum": [ "standard", "%e5%87%8f%e7%a8%8e%e7%a8%8e%e7%8e%87", "%e9%9b%b6%e7%a8%8e%e7%8e%87" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "country": { "description": "Valsts ISO 3166 kods.", "type": "string", "required": false }, "state": { "description": "Valsts kods.", "type": "string", "required": false }, "postcode": { "description": "Pasta indekss.", "type": "string", "required": false }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "required": false }, "rate": { "description": "Nodok\u013ca likme.", "type": "string", "required": false }, "name": { "description": "Nodok\u013ca likmes nosaukums.", "type": "string", "required": false }, "priority": { "description": "Nodok\u013cu priorit\u0101te.", "type": "integer", "required": false }, "compound": { "description": "Neatkar\u012bgi no t\u0101, vai \u0161\u012b ir salikt\u0101 likme.", "type": "boolean", "required": false }, "shipping": { "description": "Vai \u0161\u012b nodok\u013ca likme ar\u012b tiek piem\u0113rota pieg\u0101dei.", "type": "boolean", "required": false }, "order": { "description": "Nor\u0101da pas\u016bt\u012bjumu, kas tiks par\u0101d\u012bts vaic\u0101jumos.", "type": "integer", "required": false }, "class": { "description": "Nodok\u013cu likme.", "type": "string", "enum": [ "standard", "%e5%87%8f%e7%a8%8e%e7%a8%8e%e7%8e%87", "%e9%9b%b6%e7%a8%8e%e7%8e%87" ], "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Nepiecie\u0161ams b\u016bt patiesam, jo resurss neatbalsta m\u0113slo\u0161anu.", "required": false } } } ] }, "\/wc\/v1\/taxes\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "country": { "description": "Valsts ISO 3166 kods.", "type": "string", "required": false }, "state": { "description": "Valsts kods.", "type": "string", "required": false }, "postcode": { "description": "Pasta indekss.", "type": "string", "required": false }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "required": false }, "rate": { "description": "Nodok\u013ca likme.", "type": "string", "required": false }, "name": { "description": "Nodok\u013ca likmes nosaukums.", "type": "string", "required": false }, "priority": { "description": "Nodok\u013cu priorit\u0101te.", "type": "integer", "required": false }, "compound": { "description": "Neatkar\u012bgi no t\u0101, vai \u0161\u012b ir salikt\u0101 likme.", "type": "boolean", "required": false }, "shipping": { "description": "Vai \u0161\u012b nodok\u013ca likme ar\u012b tiek piem\u0113rota pieg\u0101dei.", "type": "boolean", "required": false }, "order": { "description": "Nor\u0101da pas\u016bt\u012bjumu, kas tiks par\u0101d\u012bts vaic\u0101jumos.", "type": "integer", "required": false }, "class": { "description": "Nodok\u013cu likme.", "type": "string", "enum": [ "standard", "%e5%87%8f%e7%a8%8e%e7%a8%8e%e7%8e%87", "%e9%9b%b6%e7%a8%8e%e7%8e%87" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v1\/taxes\/batch" } ] } }, "\/wc\/v1\/webhooks": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "id", "title" ], "required": false }, "status": { "default": "all", "description": "Ierobe\u017eots rezult\u0101ts, kas iestat\u012bts uz webhooks, kam pie\u0161\u0137irts konkr\u0113ts statuss.", "type": "string", "enum": [ "all", "active", "paused", "disabled" ], "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Draudz\u012bgs v\u0101rds webhookam.", "type": "string", "required": false }, "status": { "default": "active", "description": "Webhookas statuss.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "type": "string", "description": "Webhook t\u0113ma.", "required": true }, "secret": { "description": "Slepen\u0101 atsl\u0113ga, ko izmanto, lai \u0123ener\u0113tu pieg\u0101d\u0101to webhoku hash un sniegtu piepras\u012bjuma galvenes. P\u0113c noklus\u0113juma MD5 hash n\u0101k no pa\u0161reiz\u0113j\u0101 lietot\u0101ja ID | lietot\u0101jv\u0101rda, ja tas nav nodro\u0161in\u0101ts.", "type": "string", "required": false }, "delivery_url": { "type": "string", "description": "Webhook pieg\u0101des URL.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "name": { "description": "Draudz\u012bgs v\u0101rds webhookam.", "type": "string", "required": false }, "status": { "description": "Webhookas statuss.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "description": "Webhook t\u0113ma.", "type": "string", "required": false }, "secret": { "description": "Slepen\u0101 atsl\u0113ga, ko izmanto, lai \u0123ener\u0113tu pieg\u0101d\u0101to webhoku hash un sniegtu piepras\u012bjuma galvenes. P\u0113c noklus\u0113juma MD5 hash n\u0101k no pa\u0161reiz\u0113j\u0101 lietot\u0101ja ID | lietot\u0101jv\u0101rda, ja tas nav nodro\u0161in\u0101ts.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Nepiecie\u0161ams b\u016bt patiesam, jo resurss neatbalsta m\u0113slo\u0161anu.", "required": false } } } ] }, "\/wc\/v1\/webhooks\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Draudz\u012bgs v\u0101rds webhookam.", "type": "string", "required": false }, "status": { "description": "Webhookas statuss.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "description": "Webhook t\u0113ma.", "type": "string", "required": false }, "secret": { "description": "Slepen\u0101 atsl\u0113ga, ko izmanto, lai \u0123ener\u0113tu pieg\u0101d\u0101to webhoku hash un sniegtu piepras\u012bjuma galvenes. P\u0113c noklus\u0113juma MD5 hash n\u0101k no pa\u0161reiz\u0113j\u0101 lietot\u0101ja ID | lietot\u0101jv\u0101rda, ja tas nav nodro\u0161in\u0101ts.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v1\/webhooks\/batch" } ] } }, "\/wc\/v1\/webhooks\/(?P[\\d]+)\/deliveries": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "webhook_id": { "description": "Webhokas unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "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": "Webhokas unik\u0101lais identifikators.", "type": "integer", "required": false }, "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/v2\/coupons": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eojiet rezult\u0101tus tiem, kas atbilst virknei.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "code": { "description": "Ierobe\u017eots rezult\u0101ts, kas noteikts resursiem ar konkr\u0113tu kodu.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "code": { "description": "Atlaides kods.", "type": "string", "required": true }, "amount": { "description": "Atlai\u017eu summa. Vienm\u0113r j\u0101b\u016bt skaitliskam skaitlim, pat ja tiek iestat\u012bts procents.", "type": "string", "required": false }, "status": { "description": "The status of the coupon. Should always be draft, published, or pending review", "type": "string", "required": false }, "discount_type": { "default": "fixed_cart", "description": "Nosaka atlaides veidu, kas tiks piem\u0113rota.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "description": { "description": "Kupona apraksts.", "type": "string", "required": false }, "date_expires": { "description": "Datums, kur\u0101 kupons beigsies, p\u0113c vietnes laika joslas.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "Kupona der\u012bguma termi\u0146\u0161 k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "individual_use": { "default": false, "description": "Ja ir taisn\u012bba, kuponu var izmantot tikai individu\u0101li. Citi piem\u0113rotie kuponi tiks no\u0146emti no groza.", "type": "boolean", "required": false }, "product_ids": { "description": "To produktu ID, uz kuriem var izmantot kuponu.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "To produktu ID, uz kuriem nevar izmantot kuponu.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Cik reizes kuponu var kop\u012bgi izmantot.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Cik reizes kupons var tikt izmantots katram klientam.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Maksim\u0101lais pre\u010du skaits groz\u0101, uz kuru var piem\u0113rot kuponu.", "type": "integer", "required": false }, "free_shipping": { "default": false, "description": "Ja ir taisn\u012bba un ja bezmaksas pieg\u0101des metodei ir nepiecie\u0161ams kupons, \u0161is kupons nodro\u0161in\u0101s bezmaksas pieg\u0101di.", "type": "boolean", "required": false }, "product_categories": { "description": "Kategorijas ID saraksts, uz kuriem kupons attiecas.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Kategorijas ID saraksts, uz kuriem kupons neattiecas.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "default": false, "description": "Ja ir taisn\u012bba, \u0161is kupons netiks piem\u0113rots prec\u0113m, kur\u0101m ir akcijas cenas.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minim\u0101lais pas\u016bt\u012bjuma apjoms, kam j\u0101b\u016bt groz\u0101, pirms tiek piem\u0113rots kupons.", "type": "string", "required": false }, "maximum_amount": { "description": "Izmantojot kuponu, ir at\u013cauts maksim\u0101lais pas\u016bt\u012bjuma apjoms.", "type": "string", "required": false }, "email_restrictions": { "description": "To e-pasta adre\u0161u saraksts, kuri var izmantot \u0161o kuponu.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "code": { "description": "Atlaides kods.", "type": "string", "required": false }, "amount": { "description": "Atlai\u017eu summa. Vienm\u0113r j\u0101b\u016bt skaitliskam skaitlim, pat ja tiek iestat\u012bts procents.", "type": "string", "required": false }, "status": { "description": "The status of the coupon. Should always be draft, published, or pending review", "type": "string", "required": false }, "discount_type": { "description": "Nosaka atlaides veidu, kas tiks piem\u0113rota.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "description": { "description": "Kupona apraksts.", "type": "string", "required": false }, "date_expires": { "description": "Datums, kur\u0101 kupons beigsies, p\u0113c vietnes laika joslas.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "Kupona der\u012bguma termi\u0146\u0161 k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "Ja ir taisn\u012bba, kuponu var izmantot tikai individu\u0101li. Citi piem\u0113rotie kuponi tiks no\u0146emti no groza.", "type": "boolean", "required": false }, "product_ids": { "description": "To produktu ID, uz kuriem var izmantot kuponu.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "To produktu ID, uz kuriem nevar izmantot kuponu.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Cik reizes kuponu var kop\u012bgi izmantot.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Cik reizes kupons var tikt izmantots katram klientam.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Maksim\u0101lais pre\u010du skaits groz\u0101, uz kuru var piem\u0113rot kuponu.", "type": "integer", "required": false }, "free_shipping": { "description": "Ja ir taisn\u012bba un ja bezmaksas pieg\u0101des metodei ir nepiecie\u0161ams kupons, \u0161is kupons nodro\u0161in\u0101s bezmaksas pieg\u0101di.", "type": "boolean", "required": false }, "product_categories": { "description": "Kategorijas ID saraksts, uz kuriem kupons attiecas.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Kategorijas ID saraksts, uz kuriem kupons neattiecas.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "Ja ir taisn\u012bba, \u0161is kupons netiks piem\u0113rots prec\u0113m, kur\u0101m ir akcijas cenas.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minim\u0101lais pas\u016bt\u012bjuma apjoms, kam j\u0101b\u016bt groz\u0101, pirms tiek piem\u0113rots kupons.", "type": "string", "required": false }, "maximum_amount": { "description": "Izmantojot kuponu, ir at\u013cauts maksim\u0101lais pas\u016bt\u012bjuma apjoms.", "type": "string", "required": false }, "email_restrictions": { "description": "To e-pasta adre\u0161u saraksts, kuri var izmantot \u0161o kuponu.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Vai apiet atkritumus un uzspiest dz\u0113\u0161anu.", "required": false } } } ] }, "\/wc\/v2\/coupons\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "code": { "description": "Atlaides kods.", "type": "string", "required": false }, "amount": { "description": "Atlai\u017eu summa. Vienm\u0113r j\u0101b\u016bt skaitliskam skaitlim, pat ja tiek iestat\u012bts procents.", "type": "string", "required": false }, "status": { "description": "The status of the coupon. Should always be draft, published, or pending review", "type": "string", "required": false }, "discount_type": { "description": "Nosaka atlaides veidu, kas tiks piem\u0113rota.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "description": { "description": "Kupona apraksts.", "type": "string", "required": false }, "date_expires": { "description": "Datums, kur\u0101 kupons beigsies, p\u0113c vietnes laika joslas.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "Kupona der\u012bguma termi\u0146\u0161 k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "Ja ir taisn\u012bba, kuponu var izmantot tikai individu\u0101li. Citi piem\u0113rotie kuponi tiks no\u0146emti no groza.", "type": "boolean", "required": false }, "product_ids": { "description": "To produktu ID, uz kuriem var izmantot kuponu.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "To produktu ID, uz kuriem nevar izmantot kuponu.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Cik reizes kuponu var kop\u012bgi izmantot.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Cik reizes kupons var tikt izmantots katram klientam.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Maksim\u0101lais pre\u010du skaits groz\u0101, uz kuru var piem\u0113rot kuponu.", "type": "integer", "required": false }, "free_shipping": { "description": "Ja ir taisn\u012bba un ja bezmaksas pieg\u0101des metodei ir nepiecie\u0161ams kupons, \u0161is kupons nodro\u0161in\u0101s bezmaksas pieg\u0101di.", "type": "boolean", "required": false }, "product_categories": { "description": "Kategorijas ID saraksts, uz kuriem kupons attiecas.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Kategorijas ID saraksts, uz kuriem kupons neattiecas.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "Ja ir taisn\u012bba, \u0161is kupons netiks piem\u0113rots prec\u0113m, kur\u0101m ir akcijas cenas.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minim\u0101lais pas\u016bt\u012bjuma apjoms, kam j\u0101b\u016bt groz\u0101, pirms tiek piem\u0113rots kupons.", "type": "string", "required": false }, "maximum_amount": { "description": "Izmantojot kuponu, ir at\u013cauts maksim\u0101lais pas\u016bt\u012bjuma apjoms.", "type": "string", "required": false }, "email_restrictions": { "description": "To e-pasta adre\u0161u saraksts, kuri var izmantot \u0161o kuponu.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v2\/coupons\/batch" } ] } }, "\/wc\/v2\/customers\/(?P[\\d]+)\/downloads": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "customer_id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ] }, "\/wc\/v2\/customers": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "name", "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "enum": [ "id", "include", "name", "registered_date" ], "type": "string", "required": false }, "email": { "description": "Ierobe\u017eots rezult\u0101ts, kas noteikts resursiem ar konkr\u0113tu e-pastu.", "type": "string", "format": "email", "required": false }, "role": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts resursiem ar noteiktu lomu.", "type": "string", "default": "customer", "enum": [ "all", "administrator", "editor", "author", "contributor", "subscriber", "wpseo_manager", "wpseo_editor", "customer", "shop_manager" ], "required": false } } }, { "methods": [ "POST" ], "args": { "email": { "type": "string", "description": "Jauna lietot\u0101ja e-pasta adrese.", "required": true }, "first_name": { "description": "Klienta v\u0101rds.", "type": "string", "required": false }, "last_name": { "description": "Klienta uzv\u0101rds.", "type": "string", "required": false }, "username": { "description": "Jaunsa lietot\u0101ja lietot\u0101jv\u0101rds.", "type": "string", "required": false }, "password": { "description": "Jauna lietot\u0101ja parole.", "type": "string", "required": false }, "billing": { "description": "Saraksts ar r\u0113\u0137ina adre\u0161u inform\u0101ciju.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adrese 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts ISO kods.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "E-pasta adrese.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "T\u0101lru\u0146a numurs.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Pieg\u0101des adreses datu saraksts.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adrese 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts ISO kods.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "email": { "description": "Klienta e-pasta adrese.", "type": "string", "format": "email", "required": false }, "first_name": { "description": "Klienta v\u0101rds.", "type": "string", "required": false }, "last_name": { "description": "Klienta uzv\u0101rds.", "type": "string", "required": false }, "username": { "description": "Klienta lietot\u0101ja v\u0101rds.", "type": "string", "required": false }, "password": { "description": "Klienta parole.", "type": "string", "required": false }, "billing": { "description": "Saraksts ar r\u0113\u0137ina adre\u0161u inform\u0101ciju.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adrese 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts ISO kods.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "E-pasta adrese.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "T\u0101lru\u0146a numurs.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Pieg\u0101des adreses datu saraksts.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adrese 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts ISO kods.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Nepiecie\u0161ams b\u016bt patiesam, jo resurss neatbalsta m\u0113slo\u0161anu.", "required": false }, "reassign": { "default": 0, "type": "integer", "description": "ID, lai p\u0101rceltu zi\u0146ojumus uz.", "required": false } } } ] }, "\/wc\/v2\/customers\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "email": { "description": "Klienta e-pasta adrese.", "type": "string", "format": "email", "required": false }, "first_name": { "description": "Klienta v\u0101rds.", "type": "string", "required": false }, "last_name": { "description": "Klienta uzv\u0101rds.", "type": "string", "required": false }, "username": { "description": "Klienta lietot\u0101ja v\u0101rds.", "type": "string", "required": false }, "password": { "description": "Klienta parole.", "type": "string", "required": false }, "billing": { "description": "Saraksts ar r\u0113\u0137ina adre\u0161u inform\u0101ciju.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adrese 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts ISO kods.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "E-pasta adrese.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "T\u0101lru\u0146a numurs.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Pieg\u0101des adreses datu saraksts.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adrese 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts ISO kods.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Pas\u016bt\u012bjuma ID.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "type": { "default": "any", "description": "Ierobe\u017eot rezult\u0101tu klientiem vai iek\u0161\u0113j\u0101m piez\u012bm\u0113m.", "type": "string", "enum": [ "any", "customer", "internal" ], "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "Pas\u016bt\u012bjuma ID.", "type": "integer", "required": false }, "note": { "type": "string", "description": "Pas\u016bt\u012bjuma piez\u012bmes saturs.", "required": true }, "customer_note": { "default": false, "description": "Ja ir taisn\u012bba, piez\u012bme tiks par\u0101d\u012bta klientiem, un par to tiks pazi\u0146ots. Ja ir nepatiesa, piez\u012bme b\u016bs tikai administrat\u012bvai atsaucei.", "type": "boolean", "required": false } } } ] }, "\/wc\/v2\/orders\/(?P[\\d]+)\/notes\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "order_id": { "description": "Pas\u016bt\u012bjuma ID.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "order_id": { "description": "Pas\u016bt\u012bjuma ID.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Nepiecie\u0161ams b\u016bt patiesam, jo resurss neatbalsta m\u0113slo\u0161anu.", "required": false } } } ] }, "\/wc\/v2\/orders\/(?P[\\d]+)\/refunds": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "Pas\u016bt\u012bjuma ID.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eojiet rezult\u0101tus tiem, kas atbilst virknei.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "parent": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz noteiktu vec\u0101ku ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz visiem vienumiem, iz\u0146emot konkr\u0113ta vec\u0101ka ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "dp": { "default": 2, "description": "Decim\u0101lda\u013cu skaits ko izmantos katr\u0101 resurs\u0101.", "type": "integer", "required": false }, "order_item_display_meta": { "default": false, "description": "Only show meta which is meant to be displayed for an order.", "type": "boolean", "required": false }, "include_meta": { "default": [], "description": "Limit meta_data to specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Ensure meta_data excludes specific keys.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "Pas\u016bt\u012bjuma ID.", "type": "integer", "required": false }, "amount": { "description": "Atmaksas summa.", "type": "string", "required": false }, "reason": { "description": "Atmaksas iemesls.", "type": "string", "required": false }, "refunded_by": { "description": "Lietot\u0101ja ID, kur\u0161 ir izveidojis atmaksu.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "shipping_lines": { "description": "Pieg\u0101des rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Pieg\u0101des metodes nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Pieg\u0101des veida ID", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "Shipping instance ID.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Nodevas\/maksas rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Maksas nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Maksas nodok\u013ca kategorija.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Maksas nodok\u013ca statuss.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Nodok\u013cu starpsumma.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "api_refund": { "default": true, "description": "Ja tas ir patiess, maks\u0101juma v\u0101rtejas API tiek izmantots, lai izveidotu atmaksu.", "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": "Pas\u016bt\u012bjuma ID.", "type": "integer", "required": false }, "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "order_id": { "description": "Pas\u016bt\u012bjuma ID.", "type": "integer", "required": false }, "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "Nepiecie\u0161ams b\u016bt patiesam, jo resurss neatbalsta m\u0113slo\u0161anu.", "required": false } } } ] }, "\/wc\/v2\/orders": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eojiet rezult\u0101tus tiem, kas atbilst virknei.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "parent": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz noteiktu vec\u0101ku ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz visiem vienumiem, iz\u0146emot konkr\u0113ta vec\u0101ka ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "status": { "default": "any", "description": "Robe\u017eas rezult\u0101ts tiek noteikts pas\u016bt\u012bjumiem, kuriem pie\u0161\u0137irts konkr\u0113ts statuss.", "type": "string", "enum": [ "any", "trash", "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "customer": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts pas\u016bt\u012bjumiem, kuriem pie\u0161\u0137irts konkr\u0113ts klients.", "type": "integer", "required": false }, "product": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts pas\u016bt\u012bjumiem, kuriem pie\u0161\u0137irts konkr\u0113ts produkts.", "type": "integer", "required": false }, "dp": { "default": 2, "description": "Decim\u0101lda\u013cu skaits ko izmantos katr\u0101 resurs\u0101.", "type": "integer", "required": false }, "order_item_display_meta": { "default": false, "description": "Only show meta which is meant to be displayed for an order.", "type": "boolean", "required": false }, "include_meta": { "default": [], "description": "Limit meta_data to specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Ensure meta_data excludes specific keys.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "parent_id": { "description": "Vec\u0101ku pas\u016bt\u012bjuma ID.", "type": "integer", "required": false }, "status": { "default": "pending", "description": "Pas\u016bt\u012bjuma statuss.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "default": "CNY", "description": "Val\u016btas k\u0101rtotas p\u0113c ISO form\u0101ta.", "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": "Lietot\u0101ja ID, kuram pieder pas\u016bt\u012bjums. 0 priek\u0161 viesiem.", "type": "integer", "required": false }, "customer_note": { "description": "Piez\u012bme, kuru klients atst\u0101j izrakst\u012b\u0161anas laik\u0101.", "type": "string", "required": false }, "billing": { "description": "Nor\u0113\u0137inu adrese.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adrese 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts kods ISO 3166-1 alpha-2 form\u0101t\u0101.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "E-pasta adrese.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "T\u0101lru\u0146a numurs.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Pieg\u0101des adrese.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adrese 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts kods ISO 3166-1 alpha-2 form\u0101t\u0101.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "Maks\u0101juma metodes ID.", "type": "string", "required": false }, "payment_method_title": { "description": "Maks\u0101jumu metodes nosaukums.", "type": "string", "required": false }, "transaction_id": { "description": "Unik\u0101ls dar\u012bjuma ID.", "type": "string", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Rindas vien\u012bbu dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Produkta nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Parent product name if the product is a variation.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "Produkta ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Vari\u0101cijas ID, ja piem\u0113rojams.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Pas\u016bt\u012btais daudzums.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Produkta nodok\u013cu klase.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Rindu starpsumma (pirms atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Rindu starpsumma (pirms atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Nodok\u013cu starpsumma.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Meta dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Meta key for UI display.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Meta value for UI display.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Produkta SKU:", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "global_unique_id": { "description": "GTIN, UPC, EAN or ISBN.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Produkta cena.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Properties of the main product image.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Pieg\u0101des rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Pieg\u0101des metodes nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Pieg\u0101des veida ID", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "Shipping instance ID.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Nodevas\/maksas rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Maksas nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Maksas nodok\u013ca kategorija.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Maksas nodok\u013ca statuss.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Nodok\u013cu starpsumma.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Kupona rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Atlaides kods.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Atlaides summa.", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "Atlaides kop\u0113jais nodoklis.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Discount type.", "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 dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "default": false, "description": "Nor\u0101diet, vai pas\u016bt\u012bjums ir samaks\u0101ts. Tas noteiks statusu apstr\u0101dei un samazin\u0101s kr\u0101juma daudzumu.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "parent_id": { "description": "Vec\u0101ku pas\u016bt\u012bjuma ID.", "type": "integer", "required": false }, "status": { "description": "Pas\u016bt\u012bjuma statuss.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "description": "Val\u016btas k\u0101rtotas p\u0113c ISO form\u0101ta.", "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": "Lietot\u0101ja ID, kuram pieder pas\u016bt\u012bjums. 0 priek\u0161 viesiem.", "type": "integer", "required": false }, "customer_note": { "description": "Piez\u012bme, kuru klients atst\u0101j izrakst\u012b\u0161anas laik\u0101.", "type": "string", "required": false }, "billing": { "description": "Nor\u0113\u0137inu adrese.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adrese 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts kods ISO 3166-1 alpha-2 form\u0101t\u0101.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "E-pasta adrese.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "T\u0101lru\u0146a numurs.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Pieg\u0101des adrese.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adrese 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts kods ISO 3166-1 alpha-2 form\u0101t\u0101.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "Maks\u0101juma metodes ID.", "type": "string", "required": false }, "payment_method_title": { "description": "Maks\u0101jumu metodes nosaukums.", "type": "string", "required": false }, "transaction_id": { "description": "Unik\u0101ls dar\u012bjuma ID.", "type": "string", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Rindas vien\u012bbu dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Produkta nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Parent product name if the product is a variation.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "Produkta ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Vari\u0101cijas ID, ja piem\u0113rojams.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Pas\u016bt\u012btais daudzums.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Produkta nodok\u013cu klase.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Rindu starpsumma (pirms atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Rindu starpsumma (pirms atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Nodok\u013cu starpsumma.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Meta dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Meta key for UI display.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Meta value for UI display.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Produkta SKU:", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "global_unique_id": { "description": "GTIN, UPC, EAN or ISBN.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Produkta cena.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Properties of the main product image.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Pieg\u0101des rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Pieg\u0101des metodes nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Pieg\u0101des veida ID", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "Shipping instance ID.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Nodevas\/maksas rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Maksas nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Maksas nodok\u013ca kategorija.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Maksas nodok\u013ca statuss.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Nodok\u013cu starpsumma.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Kupona rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Atlaides kods.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Atlaides summa.", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "Atlaides kop\u0113jais nodoklis.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Discount type.", "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 dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "description": "Nor\u0101diet, vai pas\u016bt\u012bjums ir samaks\u0101ts. Tas noteiks statusu apstr\u0101dei un samazin\u0101s kr\u0101juma daudzumu.", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Vai apiet atkritumus un uzspiest dz\u0113\u0161anu.", "required": false } } } ] }, "\/wc\/v2\/orders\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "parent_id": { "description": "Vec\u0101ku pas\u016bt\u012bjuma ID.", "type": "integer", "required": false }, "status": { "description": "Pas\u016bt\u012bjuma statuss.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "description": "Val\u016btas k\u0101rtotas p\u0113c ISO form\u0101ta.", "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": "Lietot\u0101ja ID, kuram pieder pas\u016bt\u012bjums. 0 priek\u0161 viesiem.", "type": "integer", "required": false }, "customer_note": { "description": "Piez\u012bme, kuru klients atst\u0101j izrakst\u012b\u0161anas laik\u0101.", "type": "string", "required": false }, "billing": { "description": "Nor\u0113\u0137inu adrese.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adrese 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts kods ISO 3166-1 alpha-2 form\u0101t\u0101.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "E-pasta adrese.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "T\u0101lru\u0146a numurs.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Pieg\u0101des adrese.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adrese 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts kods ISO 3166-1 alpha-2 form\u0101t\u0101.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "Maks\u0101juma metodes ID.", "type": "string", "required": false }, "payment_method_title": { "description": "Maks\u0101jumu metodes nosaukums.", "type": "string", "required": false }, "transaction_id": { "description": "Unik\u0101ls dar\u012bjuma ID.", "type": "string", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Rindas vien\u012bbu dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Produkta nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Parent product name if the product is a variation.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "Produkta ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Vari\u0101cijas ID, ja piem\u0113rojams.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Pas\u016bt\u012btais daudzums.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Produkta nodok\u013cu klase.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Rindu starpsumma (pirms atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Rindu starpsumma (pirms atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Nodok\u013cu starpsumma.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Meta dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Meta key for UI display.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Meta value for UI display.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Produkta SKU:", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "global_unique_id": { "description": "GTIN, UPC, EAN or ISBN.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Produkta cena.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Properties of the main product image.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Pieg\u0101des rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Pieg\u0101des metodes nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Pieg\u0101des veida ID", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "Shipping instance ID.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Nodevas\/maksas rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Maksas nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Maksas nodok\u013ca kategorija.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Maksas nodok\u013ca statuss.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Nodok\u013cu starpsumma.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Kupona rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Atlaides kods.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Atlaides summa.", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "Atlaides kop\u0113jais nodoklis.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Discount type.", "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 dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "description": "Nor\u0101diet, vai pas\u016bt\u012bjums ir samaks\u0101ts. Tas noteiks statusu apstr\u0101dei un samazin\u0101s kr\u0101juma daudzumu.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Unik\u0101ls terminu atrib\u016bta identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c resursa atrib\u016bta.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Vai sl\u0113pt resursus, kas nav pie\u0161\u0137irti nevienam produktam.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "product": { "description": "Robe\u017eas rezult\u0101ts noteikts resursiem, kas pie\u0161\u0137irti konkr\u0113tam produktam.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts resursiem ar \u012bpa\u0161u taku.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "attribute_id": { "description": "Unik\u0101ls terminu atrib\u016bta identifikators.", "type": "integer", "required": false }, "name": { "type": "string", "description": "Resursa nosaukums.", "required": true }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto, lai k\u0101rtotu resursus.", "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": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "attribute_id": { "description": "Unik\u0101ls terminu atrib\u016bta identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "attribute_id": { "description": "Unik\u0101ls terminu atrib\u016bta identifikators.", "type": "integer", "required": false }, "name": { "description": "Noteikumu nosaukums", "type": "string", "required": false }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto, lai k\u0101rtotu resursus.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "attribute_id": { "description": "Unik\u0101ls terminu atrib\u016bta identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Nepiecie\u0161ams b\u016bt patiesam, jo resurss neatbalsta m\u0113slo\u0161anu.", "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": "Unik\u0101ls terminu atrib\u016bta identifikators.", "type": "integer", "required": false }, "name": { "description": "Noteikumu nosaukums", "type": "string", "required": false }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto, lai k\u0101rtotu resursus.", "type": "integer", "required": false } } } ] }, "\/wc\/v2\/products\/attributes": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Resursa nosaukums.", "type": "string", "required": true }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "type": { "default": "select", "description": "Atrib\u016bta tips.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "default": "menu_order", "description": "Noklus\u0113juma k\u0101rtojuma sec\u012bba.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "default": false, "description": "Iesp\u0113jot \/ atsp\u0113jot atrib\u016btu arh\u012bvus.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "required": false }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "type": { "description": "Atrib\u016bta tips.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Noklus\u0113juma k\u0101rtojuma sec\u012bba.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "Iesp\u0113jot \/ atsp\u0113jot atrib\u016btu arh\u012bvus.", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "Nepiecie\u0161ams b\u016bt patiesam, jo resurss neatbalsta m\u0113slo\u0161anu.", "required": false } } } ] }, "\/wc\/v2\/products\/attributes\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "required": false }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "type": { "description": "Atrib\u016bta tips.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Noklus\u0113juma k\u0101rtojuma sec\u012bba.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "Iesp\u0113jot \/ atsp\u0113jot atrib\u016btu arh\u012bvus.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v2\/products\/attributes\/batch" } ] } }, "\/wc\/v2\/products\/categories": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c resursa atrib\u016bta.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Vai sl\u0113pt resursus, kas nav pie\u0161\u0137irti nevienam produktam.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "product": { "description": "Robe\u017eas rezult\u0101ts noteikts resursiem, kas pie\u0161\u0137irti konkr\u0113tam produktam.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts resursiem ar \u012bpa\u0161u taku.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Resursa nosaukums.", "required": true }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "parent": { "description": "ID resursa vec\u0101kiem.", "type": "integer", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false }, "display": { "default": "default", "description": "Kategorijas arh\u012bva att\u0113lojuma veids", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Image data.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto, lai k\u0101rtotu resursus.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "name": { "description": "Kategorijas nosaukums.", "type": "string", "required": false }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "parent": { "description": "ID resursa vec\u0101kiem.", "type": "integer", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false }, "display": { "description": "Kategorijas arh\u012bva att\u0113lojuma veids", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Image data.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto, lai k\u0101rtotu resursus.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Nepiecie\u0161ams b\u016bt patiesam, jo resurss neatbalsta m\u0113slo\u0161anu.", "required": false } } } ] }, "\/wc\/v2\/products\/categories\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Kategorijas nosaukums.", "type": "string", "required": false }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "parent": { "description": "ID resursa vec\u0101kiem.", "type": "integer", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false }, "display": { "description": "Kategorijas arh\u012bva att\u0113lojuma veids", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Image data.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto, lai k\u0101rtotu resursus.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "id": { "description": "Unik\u0101ls vari\u0101cijas identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "id": { "description": "Unik\u0101ls vari\u0101cijas identifikators.", "type": "integer", "required": false }, "review": { "type": "string", "description": "P\u0101rskat\u012bt saturu.", "required": true }, "date_created": { "description": "Datums, kad p\u0101rskat\u012b\u0161ana tika izveidota, vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "P\u0101rskata izveides datums k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "rating": { "description": "P\u0101rskata reitings (no 0 l\u012bdz 5).", "type": "integer", "required": false }, "name": { "type": "string", "description": "P\u0101rskata sast\u0101d\u012bt\u0101js.", "required": true }, "email": { "type": "string", "description": "Recenzents e-pasts.", "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": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "review": { "description": "Recenzijas saturs.", "type": "string", "required": false }, "date_created": { "description": "Datums, kad p\u0101rskat\u012b\u0161ana tika izveidota, vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "P\u0101rskata izveides datums k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "rating": { "description": "P\u0101rskata reitings (no 0 l\u012bdz 5).", "type": "integer", "required": false }, "name": { "description": "Recenzenta v\u0101rsds.", "type": "string", "required": false }, "email": { "description": "Recenzenta e-pasts.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "description": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Vai apiet atkritumus un uzspiest dz\u0113\u0161anu.", "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": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "review": { "description": "Recenzijas saturs.", "type": "string", "required": false }, "date_created": { "description": "Datums, kad p\u0101rskat\u012b\u0161ana tika izveidota, vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "P\u0101rskata izveides datums k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "rating": { "description": "P\u0101rskata reitings (no 0 l\u012bdz 5).", "type": "integer", "required": false }, "name": { "description": "Recenzenta v\u0101rsds.", "type": "string", "required": false }, "email": { "description": "Recenzenta e-pasts.", "type": "string", "required": false } } } ] }, "\/wc\/v2\/products\/shipping_classes": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c resursa atrib\u016bta.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Vai sl\u0113pt resursus, kas nav pie\u0161\u0137irti nevienam produktam.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "product": { "description": "Robe\u017eas rezult\u0101ts noteikts resursiem, kas pie\u0161\u0137irti konkr\u0113tam produktam.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts resursiem ar \u012bpa\u0161u taku.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Resursa nosaukums.", "required": true }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "name": { "description": "Pieg\u0101des klases nosaukums.", "type": "string", "required": false }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Nepiecie\u0161ams b\u016bt patiesam, jo resurss neatbalsta m\u0113slo\u0161anu.", "required": false } } } ] }, "\/wc\/v2\/products\/shipping_classes\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Pieg\u0101des klases nosaukums.", "type": "string", "required": false }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v2\/products\/shipping_classes\/batch" } ] } }, "\/wc\/v2\/products\/tags": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c resursa atrib\u016bta.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Vai sl\u0113pt resursus, kas nav pie\u0161\u0137irti nevienam produktam.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "product": { "description": "Robe\u017eas rezult\u0101ts noteikts resursiem, kas pie\u0161\u0137irti konkr\u0113tam produktam.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts resursiem ar \u012bpa\u0161u taku.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Resursa nosaukums.", "required": true }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "name": { "description": "Birkas nosaukums", "type": "string", "required": false }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Nepiecie\u0161ams b\u016bt patiesam, jo resurss neatbalsta m\u0113slo\u0161anu.", "required": false } } } ] }, "\/wc\/v2\/products\/tags\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Birkas nosaukums", "type": "string", "required": false }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v2\/products\/tags\/batch" } ] } }, "\/wc\/v2\/products": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eojiet rezult\u0101tus tiem, kas atbilst virknei.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "popularity", "rating", "post__in", "price", "sales", "menu_order", "random", "popularity", "rating", "menu_order" ], "required": false }, "parent": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz noteiktu vec\u0101ku ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz visiem vienumiem, iz\u0146emot konkr\u0113ta vec\u0101ka ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "brand": { "description": "Limit result set to products assigned a specific brand ID.", "type": "string", "required": false }, "slug": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem ar \u012bpa\u0161u taku.", "type": "string", "required": false }, "status": { "default": "any", "description": "Robe\u017eas rezult\u0101ts ir noteikts produktiem, kam pie\u0161\u0137irts \u012bpa\u0161s statuss.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "Robe\u017eas rezult\u0101ts noteikts produktiem, kuriem pie\u0161\u0137irts \u012bpa\u0161s veids.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "sku": { "description": "Robe\u017ea rezult\u0101ts tiek noteikts produktiem ar konkr\u0113tu SKU. Izmantojiet komatus, lai no\u0161\u0137irtu.", "type": "string", "required": false }, "featured": { "description": "Ierobe\u017eotais rezult\u0101ts, kas iestat\u012bts uz pied\u0101v\u0101tajiem produktiem.", "type": "boolean", "required": false }, "category": { "description": "Robe\u017eas rezult\u0101ts ir noteikts produktiem, kam pie\u0161\u0137irts \u012bpa\u0161a kategorijas ID.", "type": "string", "required": false }, "tag": { "description": "Robe\u017eas rezult\u0101ts ir noteikts produktiem, kuriem pie\u0161\u0137irts \u012bpa\u0161s birkas ID.", "type": "string", "required": false }, "shipping_class": { "description": "Ierobe\u017eots rezult\u0101ts, kas noteikts produktiem, kuriem pie\u0161\u0137irts konkr\u0113ts pieg\u0101des klases ID.", "type": "string", "required": false }, "attribute": { "description": "Limit result set to products with a specific attribute. Use the taxonomy name\/attribute slug.", "type": "string", "required": false }, "attribute_term": { "description": "Ierobe\u017eojo\u0161ais rezult\u0101ts ir noteikts produktiem ar \u012bpa\u0161u atrib\u016btu terminu ID (nepiecie\u0161ams pie\u0161\u0137irts atrib\u016bts).", "type": "string", "required": false }, "in_stock": { "description": "Robe\u017ev\u0113rt\u012bba, kas noteikta kr\u0101jumu vai noliktav\u0101 eso\u0161iem produktiem.", "type": "boolean", "required": false }, "on_sale": { "description": "Ierobe\u017eots rezult\u0101ts p\u0101rdo\u0161anas produktiem.", "type": "boolean", "required": false }, "min_price": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem, kuru pamat\u0101 ir minim\u0101l\u0101 cena.", "type": "string", "required": false }, "max_price": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem, kuru pamat\u0101 ir maksim\u0101l\u0101 cena.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Limit meta_data to specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Ensure meta_data excludes specific keys.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Produkta nosaukums.", "type": "string", "required": false }, "slug": { "description": "Produkta taka.", "type": "string", "required": false }, "type": { "default": "simple", "description": "Produkta tips.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "default": "publish", "description": "Produkta statuss (pasta statuss).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false }, "featured": { "default": false, "description": "Pied\u0101v\u0101tais produkts.", "type": "boolean", "required": false }, "catalog_visibility": { "default": "visible", "description": "Kataloga redzam\u012bba.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Produkta apraksts.", "type": "string", "required": false }, "short_description": { "description": "Produkta \u012bss apraksts.", "type": "string", "required": false }, "sku": { "description": "Unik\u0101lais identifikators.", "type": "string", "required": false }, "regular_price": { "description": "Produkta cena.", "type": "string", "required": false }, "sale_price": { "description": "Produkta akcijas cena.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Akciju s\u0101kuma datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "S\u0101kuma datums izp\u0101rdo\u0161anas cen\u0101m, k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Izp\u0101rdo\u0161anas cenas beigu datums, k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "virtual": { "default": false, "description": "Ja produkts ir virtu\u0101ls.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Ja produkts ir lejupiel\u0101d\u0113jams.", "type": "boolean", "required": false }, "downloads": { "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer", "required": false }, "external_url": { "description": "Produkta \u0101r\u0113jais URL. Tikai \u0101r\u0113jiem produktiem.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Produkta \u0101r\u0113jais pogas teksts. Tikai \u0101r\u0113jiem produktiem.", "type": "string", "required": false }, "tax_status": { "default": "taxable", "description": "Nodok\u013cu status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Nodok\u013cu likme.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Kr\u0101jumu p\u0101rvald\u012bba produktu l\u012bmen\u012b.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Daudzums noliktav\u0101.", "type": "integer", "required": false }, "in_stock": { "default": true, "description": "Kontrol\u0113 vai produkts ir uzr\u0101d\u012bts, k\u0101 \"pieejams\" vai \"nepieejams\" lapas priek\u0161pl\u0101n\u0101.", "type": "boolean", "required": false }, "backorders": { "default": "no", "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "sold_individually": { "default": false, "description": "At\u013caut vienu preci nopirkt vien\u0101 pas\u016bt\u012bjum\u0101.", "type": "boolean", "required": false }, "weight": { "description": "Produkta svars (kg).", "type": "string", "required": false }, "dimensions": { "description": "Produkta izm\u0113ri.", "type": "object", "properties": { "length": { "description": "Produkta garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Produkta platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Produkta augstums (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Pieg\u0101des klases taka.", "type": "string", "required": false }, "reviews_allowed": { "default": true, "description": "At\u013caut atsauksmes", "type": "boolean", "required": false }, "upsell_ids": { "description": "Saraksts ar piep\u0101rdo\u0161anas produktu ID.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Saraksts ar piep\u0101rdo\u0161anas produktu ID.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "Produkta vec\u0101ku ID.", "type": "integer", "required": false }, "purchase_note": { "description": "Izv\u0113les piez\u012bme, lai nos\u016bt\u012btu klientu p\u0113c pirkuma.", "type": "string", "required": false }, "categories": { "description": "Kategoriju saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kategorijas ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Kategorijas nosaukums.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Kategorijas kods.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Birku sarakst.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Birkas ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Birkas nosaukums", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Birkas taka.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Att\u0113lu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Att\u0113la novietojums 0 noz\u012bm\u0113, ka att\u0113ls ir izcelts.", "type": "integer", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Atrib\u016btu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Atrib\u016bta poz\u012bcija", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Nor\u0101diet, vai produkta lap\u0101 ciln\u0113 \"Papildinform\u0101cija\" ir redzams atrib\u016bts.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Noteikt, vai atrib\u016btu var izmantot k\u0101 vari\u0101ciju.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Atrib\u016bta pieejamo terminu nosaukumi.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "string" } } } }, "required": false }, "default_attributes": { "description": "Noklus\u0113juma variantu atrib\u016bti.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "grouped_products": { "description": "Grup\u0113to produktu ID saraksts.", "type": "array", "items": { "type": "integer" }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto pas\u016bt\u012bjuma \u0161\u0137iro\u0161anai.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "name": { "description": "Produkta nosaukums.", "type": "string", "required": false }, "slug": { "description": "Produkta taka.", "type": "string", "required": false }, "type": { "description": "Produkta tips.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "description": "Produkta statuss (pasta statuss).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false }, "featured": { "description": "Pied\u0101v\u0101tais produkts.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Kataloga redzam\u012bba.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Produkta apraksts.", "type": "string", "required": false }, "short_description": { "description": "Produkta \u012bss apraksts.", "type": "string", "required": false }, "sku": { "description": "Unik\u0101lais identifikators.", "type": "string", "required": false }, "regular_price": { "description": "Produkta cena.", "type": "string", "required": false }, "sale_price": { "description": "Produkta akcijas cena.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Akciju s\u0101kuma datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "S\u0101kuma datums izp\u0101rdo\u0161anas cen\u0101m, k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Izp\u0101rdo\u0161anas cenas beigu datums, k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "Ja produkts ir virtu\u0101ls.", "type": "boolean", "required": false }, "downloadable": { "description": "Ja produkts ir lejupiel\u0101d\u0113jams.", "type": "boolean", "required": false }, "downloads": { "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer", "required": false }, "download_expiry": { "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer", "required": false }, "external_url": { "description": "Produkta \u0101r\u0113jais URL. Tikai \u0101r\u0113jiem produktiem.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Produkta \u0101r\u0113jais pogas teksts. Tikai \u0101r\u0113jiem produktiem.", "type": "string", "required": false }, "tax_status": { "description": "Nodok\u013cu status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Nodok\u013cu likme.", "type": "string", "required": false }, "manage_stock": { "description": "Kr\u0101jumu p\u0101rvald\u012bba produktu l\u012bmen\u012b.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Daudzums noliktav\u0101.", "type": "integer", "required": false }, "in_stock": { "description": "Kontrol\u0113 vai produkts ir uzr\u0101d\u012bts, k\u0101 \"pieejams\" vai \"nepieejams\" lapas priek\u0161pl\u0101n\u0101.", "type": "boolean", "required": false }, "backorders": { "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "sold_individually": { "description": "At\u013caut vienu preci nopirkt vien\u0101 pas\u016bt\u012bjum\u0101.", "type": "boolean", "required": false }, "weight": { "description": "Produkta svars (kg).", "type": "string", "required": false }, "dimensions": { "description": "Produkta izm\u0113ri.", "type": "object", "properties": { "length": { "description": "Produkta garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Produkta platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Produkta augstums (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Pieg\u0101des klases taka.", "type": "string", "required": false }, "reviews_allowed": { "description": "At\u013caut atsauksmes", "type": "boolean", "required": false }, "upsell_ids": { "description": "Saraksts ar piep\u0101rdo\u0161anas produktu ID.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Saraksts ar piep\u0101rdo\u0161anas produktu ID.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "Produkta vec\u0101ku ID.", "type": "integer", "required": false }, "purchase_note": { "description": "Izv\u0113les piez\u012bme, lai nos\u016bt\u012btu klientu p\u0113c pirkuma.", "type": "string", "required": false }, "categories": { "description": "Kategoriju saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kategorijas ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Kategorijas nosaukums.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Kategorijas kods.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Birku sarakst.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Birkas ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Birkas nosaukums", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Birkas taka.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Att\u0113lu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Att\u0113la novietojums 0 noz\u012bm\u0113, ka att\u0113ls ir izcelts.", "type": "integer", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Atrib\u016btu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Atrib\u016bta poz\u012bcija", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Nor\u0101diet, vai produkta lap\u0101 ciln\u0113 \"Papildinform\u0101cija\" ir redzams atrib\u016bts.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Noteikt, vai atrib\u016btu var izmantot k\u0101 vari\u0101ciju.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Atrib\u016bta pieejamo terminu nosaukumi.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "string" } } } }, "required": false }, "default_attributes": { "description": "Noklus\u0113juma variantu atrib\u016bti.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "grouped_products": { "description": "Grup\u0113to produktu ID saraksts.", "type": "array", "items": { "type": "integer" }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto pas\u016bt\u012bjuma \u0161\u0137iro\u0161anai.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": false, "description": "Vai apiet atkritumus un uzspiest dz\u0113\u0161anu.", "type": "boolean", "required": false } } } ] }, "\/wc\/v2\/products\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Produkta nosaukums.", "type": "string", "required": false }, "slug": { "description": "Produkta taka.", "type": "string", "required": false }, "type": { "description": "Produkta tips.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "description": "Produkta statuss (pasta statuss).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false }, "featured": { "description": "Pied\u0101v\u0101tais produkts.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Kataloga redzam\u012bba.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Produkta apraksts.", "type": "string", "required": false }, "short_description": { "description": "Produkta \u012bss apraksts.", "type": "string", "required": false }, "sku": { "description": "Unik\u0101lais identifikators.", "type": "string", "required": false }, "regular_price": { "description": "Produkta cena.", "type": "string", "required": false }, "sale_price": { "description": "Produkta akcijas cena.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Akciju s\u0101kuma datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "S\u0101kuma datums izp\u0101rdo\u0161anas cen\u0101m, k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Izp\u0101rdo\u0161anas cenas beigu datums, k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "Ja produkts ir virtu\u0101ls.", "type": "boolean", "required": false }, "downloadable": { "description": "Ja produkts ir lejupiel\u0101d\u0113jams.", "type": "boolean", "required": false }, "downloads": { "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer", "required": false }, "download_expiry": { "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer", "required": false }, "external_url": { "description": "Produkta \u0101r\u0113jais URL. Tikai \u0101r\u0113jiem produktiem.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Produkta \u0101r\u0113jais pogas teksts. Tikai \u0101r\u0113jiem produktiem.", "type": "string", "required": false }, "tax_status": { "description": "Nodok\u013cu status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Nodok\u013cu likme.", "type": "string", "required": false }, "manage_stock": { "description": "Kr\u0101jumu p\u0101rvald\u012bba produktu l\u012bmen\u012b.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Daudzums noliktav\u0101.", "type": "integer", "required": false }, "in_stock": { "description": "Kontrol\u0113 vai produkts ir uzr\u0101d\u012bts, k\u0101 \"pieejams\" vai \"nepieejams\" lapas priek\u0161pl\u0101n\u0101.", "type": "boolean", "required": false }, "backorders": { "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "sold_individually": { "description": "At\u013caut vienu preci nopirkt vien\u0101 pas\u016bt\u012bjum\u0101.", "type": "boolean", "required": false }, "weight": { "description": "Produkta svars (kg).", "type": "string", "required": false }, "dimensions": { "description": "Produkta izm\u0113ri.", "type": "object", "properties": { "length": { "description": "Produkta garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Produkta platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Produkta augstums (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Pieg\u0101des klases taka.", "type": "string", "required": false }, "reviews_allowed": { "description": "At\u013caut atsauksmes", "type": "boolean", "required": false }, "upsell_ids": { "description": "Saraksts ar piep\u0101rdo\u0161anas produktu ID.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Saraksts ar piep\u0101rdo\u0161anas produktu ID.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "Produkta vec\u0101ku ID.", "type": "integer", "required": false }, "purchase_note": { "description": "Izv\u0113les piez\u012bme, lai nos\u016bt\u012btu klientu p\u0113c pirkuma.", "type": "string", "required": false }, "categories": { "description": "Kategoriju saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kategorijas ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Kategorijas nosaukums.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Kategorijas kods.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Birku sarakst.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Birkas ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Birkas nosaukums", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Birkas taka.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Att\u0113lu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Att\u0113la novietojums 0 noz\u012bm\u0113, ka att\u0113ls ir izcelts.", "type": "integer", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Atrib\u016btu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Atrib\u016bta poz\u012bcija", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Nor\u0101diet, vai produkta lap\u0101 ciln\u0113 \"Papildinform\u0101cija\" ir redzams atrib\u016bts.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Noteikt, vai atrib\u016btu var izmantot k\u0101 vari\u0101ciju.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Atrib\u016bta pieejamo terminu nosaukumi.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "string" } } } }, "required": false }, "default_attributes": { "description": "Noklus\u0113juma variantu atrib\u016bti.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "grouped_products": { "description": "Grup\u0113to produktu ID saraksts.", "type": "array", "items": { "type": "integer" }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto pas\u016bt\u012bjuma \u0161\u0137iro\u0161anai.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eojiet rezult\u0101tus tiem, kas atbilst virknei.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "menu_order" ], "required": false }, "parent": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz noteiktu vec\u0101ku ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz visiem vienumiem, iz\u0146emot konkr\u0113ta vec\u0101ka ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem ar \u012bpa\u0161u taku.", "type": "string", "required": false }, "status": { "default": "any", "description": "Robe\u017eas rezult\u0101ts ir noteikts produktiem, kam pie\u0161\u0137irts \u012bpa\u0161s statuss.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "Robe\u017eas rezult\u0101ts noteikts produktiem, kuriem pie\u0161\u0137irts \u012bpa\u0161s veids.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "sku": { "description": "Robe\u017ea rezult\u0101ts tiek noteikts produktiem ar konkr\u0113tu SKU. Izmantojiet komatus, lai no\u0161\u0137irtu.", "type": "string", "required": false }, "featured": { "description": "Ierobe\u017eotais rezult\u0101ts, kas iestat\u012bts uz pied\u0101v\u0101tajiem produktiem.", "type": "boolean", "required": false }, "category": { "description": "Robe\u017eas rezult\u0101ts ir noteikts produktiem, kam pie\u0161\u0137irts \u012bpa\u0161a kategorijas ID.", "type": "string", "required": false }, "tag": { "description": "Robe\u017eas rezult\u0101ts ir noteikts produktiem, kuriem pie\u0161\u0137irts \u012bpa\u0161s birkas ID.", "type": "string", "required": false }, "shipping_class": { "description": "Ierobe\u017eots rezult\u0101ts, kas noteikts produktiem, kuriem pie\u0161\u0137irts konkr\u0113ts pieg\u0101des klases ID.", "type": "string", "required": false }, "attribute": { "description": "Limit result set to products with a specific attribute. Use the taxonomy name\/attribute slug.", "type": "string", "required": false }, "attribute_term": { "description": "Ierobe\u017eojo\u0161ais rezult\u0101ts ir noteikts produktiem ar \u012bpa\u0161u atrib\u016btu terminu ID (nepiecie\u0161ams pie\u0161\u0137irts atrib\u016bts).", "type": "string", "required": false }, "in_stock": { "description": "Robe\u017ev\u0113rt\u012bba, kas noteikta kr\u0101jumu vai noliktav\u0101 eso\u0161iem produktiem.", "type": "boolean", "required": false }, "on_sale": { "description": "Ierobe\u017eots rezult\u0101ts p\u0101rdo\u0161anas produktiem.", "type": "boolean", "required": false }, "min_price": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem, kuru pamat\u0101 ir minim\u0101l\u0101 cena.", "type": "string", "required": false }, "max_price": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem, kuru pamat\u0101 ir maksim\u0101l\u0101 cena.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Limit meta_data to specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Ensure meta_data excludes specific keys.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "description": { "description": "Vari\u0101cijas apraksts.", "type": "string", "required": false }, "sku": { "description": "Unik\u0101lais identifikators.", "type": "string", "required": false }, "regular_price": { "description": "Vari\u0101cijas regul\u0101r\u0101 cena.", "type": "string", "required": false }, "sale_price": { "description": "Vari\u0101cijas p\u0101rdo\u0161anas cena.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Akciju s\u0101kuma datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "S\u0101kuma datums izp\u0101rdo\u0161anas cen\u0101m, k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Izp\u0101rdo\u0161anas cenas beigu datums, k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "visible": { "default": true, "description": "Nor\u0101diet, vari\u0101cija vai ir redzama produkta lap\u0101.", "type": "boolean", "required": false }, "virtual": { "default": false, "description": "Ja vari\u0101cija ir virtu\u0101la.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Ja vari\u0101cija ir lejupiel\u0101d\u0113jama.", "type": "boolean", "required": false }, "downloads": { "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "Nodok\u013cu status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Nodok\u013cu likme.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Noliktavas uzskaite vari\u0101cijas l\u012bmen\u012b.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false }, "stock_quantity": { "description": "Daudzums noliktav\u0101.", "type": "integer", "required": false }, "in_stock": { "default": true, "description": "Kontrol\u0113 vai produkta vari\u0101cija ir uzr\u0101d\u012bta, k\u0101 \"pieejama\" vai \"nepieejama\" lapas priek\u0161pl\u0101n\u0101.", "type": "boolean", "required": false }, "backorders": { "default": "no", "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "weight": { "description": "Vari\u0101cijas svars (kg).", "type": "string", "required": false }, "dimensions": { "description": "Vari\u0101ciju izm\u0113ri.", "type": "object", "properties": { "length": { "description": "Vari\u0101cijas garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Vari\u0101cijas platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Vari\u0101cijas augstums (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Pieg\u0101des klases taka.", "type": "string", "required": false }, "image": { "description": "Vari\u0101cijas att\u0113la dati.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Att\u0113la novietojums 0 noz\u012bm\u0113, ka att\u0113ls ir izcelts.", "type": "integer", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Atrib\u016btu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto pas\u016bt\u012bjuma \u0161\u0137iro\u0161anai.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "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": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "id": { "description": "Unik\u0101ls vari\u0101cijas identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "id": { "description": "Unik\u0101ls vari\u0101cijas identifikators.", "type": "integer", "required": false }, "description": { "description": "Vari\u0101cijas apraksts.", "type": "string", "required": false }, "sku": { "description": "Unik\u0101lais identifikators.", "type": "string", "required": false }, "regular_price": { "description": "Vari\u0101cijas regul\u0101r\u0101 cena.", "type": "string", "required": false }, "sale_price": { "description": "Vari\u0101cijas p\u0101rdo\u0161anas cena.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Akciju s\u0101kuma datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "S\u0101kuma datums izp\u0101rdo\u0161anas cen\u0101m, k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Izp\u0101rdo\u0161anas cenas beigu datums, k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "visible": { "description": "Nor\u0101diet, vari\u0101cija vai ir redzama produkta lap\u0101.", "type": "boolean", "required": false }, "virtual": { "description": "Ja vari\u0101cija ir virtu\u0101la.", "type": "boolean", "required": false }, "downloadable": { "description": "Ja vari\u0101cija ir lejupiel\u0101d\u0113jama.", "type": "boolean", "required": false }, "downloads": { "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer", "required": false }, "download_expiry": { "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer", "required": false }, "tax_status": { "description": "Nodok\u013cu status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Nodok\u013cu likme.", "type": "string", "required": false }, "manage_stock": { "description": "Noliktavas uzskaite vari\u0101cijas l\u012bmen\u012b.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false }, "stock_quantity": { "description": "Daudzums noliktav\u0101.", "type": "integer", "required": false }, "in_stock": { "description": "Kontrol\u0113 vai produkta vari\u0101cija ir uzr\u0101d\u012bta, k\u0101 \"pieejama\" vai \"nepieejama\" lapas priek\u0161pl\u0101n\u0101.", "type": "boolean", "required": false }, "backorders": { "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "weight": { "description": "Vari\u0101cijas svars (kg).", "type": "string", "required": false }, "dimensions": { "description": "Vari\u0101ciju izm\u0113ri.", "type": "object", "properties": { "length": { "description": "Vari\u0101cijas garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Vari\u0101cijas platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Vari\u0101cijas augstums (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Pieg\u0101des klases taka.", "type": "string", "required": false }, "image": { "description": "Vari\u0101cijas att\u0113la dati.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Att\u0113la novietojums 0 noz\u012bm\u0113, ka att\u0113ls ir izcelts.", "type": "integer", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Atrib\u016btu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto pas\u016bt\u012bjuma \u0161\u0137iro\u0161anai.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "description": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "id": { "description": "Unik\u0101ls vari\u0101cijas identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Vai apiet atkritumus un uzspiest dz\u0113\u0161anu.", "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": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "description": { "description": "Vari\u0101cijas apraksts.", "type": "string", "required": false }, "sku": { "description": "Unik\u0101lais identifikators.", "type": "string", "required": false }, "regular_price": { "description": "Vari\u0101cijas regul\u0101r\u0101 cena.", "type": "string", "required": false }, "sale_price": { "description": "Vari\u0101cijas p\u0101rdo\u0161anas cena.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Akciju s\u0101kuma datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "S\u0101kuma datums izp\u0101rdo\u0161anas cen\u0101m, k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Izp\u0101rdo\u0161anas cenas beigu datums, k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "visible": { "description": "Nor\u0101diet, vari\u0101cija vai ir redzama produkta lap\u0101.", "type": "boolean", "required": false }, "virtual": { "description": "Ja vari\u0101cija ir virtu\u0101la.", "type": "boolean", "required": false }, "downloadable": { "description": "Ja vari\u0101cija ir lejupiel\u0101d\u0113jama.", "type": "boolean", "required": false }, "downloads": { "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer", "required": false }, "download_expiry": { "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer", "required": false }, "tax_status": { "description": "Nodok\u013cu status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Nodok\u013cu likme.", "type": "string", "required": false }, "manage_stock": { "description": "Noliktavas uzskaite vari\u0101cijas l\u012bmen\u012b.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false }, "stock_quantity": { "description": "Daudzums noliktav\u0101.", "type": "integer", "required": false }, "in_stock": { "description": "Kontrol\u0113 vai produkta vari\u0101cija ir uzr\u0101d\u012bta, k\u0101 \"pieejama\" vai \"nepieejama\" lapas priek\u0161pl\u0101n\u0101.", "type": "boolean", "required": false }, "backorders": { "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "weight": { "description": "Vari\u0101cijas svars (kg).", "type": "string", "required": false }, "dimensions": { "description": "Vari\u0101ciju izm\u0113ri.", "type": "object", "properties": { "length": { "description": "Vari\u0101cijas garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Vari\u0101cijas platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Vari\u0101cijas augstums (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Pieg\u0101des klases taka.", "type": "string", "required": false }, "image": { "description": "Vari\u0101cijas att\u0113la dati.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Att\u0113la novietojums 0 noz\u012bm\u0113, ka att\u0113ls ir izcelts.", "type": "integer", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Atrib\u016btu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto pas\u016bt\u012bjuma \u0161\u0137iro\u0161anai.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "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": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "period": { "description": "Atskaites periods.", "type": "string", "enum": [ "week", "month", "last_month", "year" ], "required": false }, "date_min": { "description": "Atgriezt p\u0101rdo\u0161an\u0101 konkr\u0113t\u0101 s\u0101kuma datum\u0101, datums ir YYYY-MM-DD form\u0101t\u0101.", "type": "string", "format": "date", "required": false }, "date_max": { "description": "Atgriezt p\u0101rdo\u0161an\u0101 konkr\u0113t\u0101 beigu datum\u0101, datums ir YYYY-MM-DD form\u0101t\u0101.", "type": "string", "format": "date", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v2\/reports\/sales" } ] } }, "\/wc\/v2\/reports\/top_sellers": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "period": { "description": "Atskaites periods.", "type": "string", "enum": [ "week", "month", "last_month", "year" ], "required": false }, "date_min": { "description": "Atgriezt p\u0101rdo\u0161an\u0101 konkr\u0113t\u0101 s\u0101kuma datum\u0101, datums ir YYYY-MM-DD form\u0101t\u0101.", "type": "string", "format": "date", "required": false }, "date_max": { "description": "Atgriezt p\u0101rdo\u0161an\u0101 konkr\u0113t\u0101 beigu datum\u0101, datums ir YYYY-MM-DD form\u0101t\u0101.", "type": "string", "format": "date", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v2\/reports\/top_sellers" } ] } }, "\/wc\/v2\/reports": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v2\/reports" } ] } }, "\/wc\/v2\/settings": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v2\/settings" } ] } }, "\/wc\/v2\/settings\/(?P[\\w-]+)": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "group": { "description": "Iestat\u012bjumu grupas 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": "Iestat\u012bjumu grupas ID.", "type": "string", "required": false }, "value": { "description": "Iestat\u012bjumu v\u0113rt\u012bba.", "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": "Iestat\u012bjumu grupas ID.", "type": "string", "required": false }, "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "description": "Iestat\u012bjumu grupas ID.", "type": "string", "required": false }, "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "string", "required": false }, "value": { "description": "Iestat\u012bjumu v\u0113rt\u012bba.", "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": "Pieg\u0101des zonas nosaukums", "required": true }, "order": { "description": "Pieg\u0101des zonas pas\u016bt\u012bjums.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Resursa unik\u0101lais ID.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais ID.", "type": "integer", "required": false }, "name": { "description": "Pieg\u0101des zonas nosaukums", "type": "string", "required": false }, "order": { "description": "Pieg\u0101des zonas pas\u016bt\u012bjums.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais ID.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Vai apiet atkritumus un uzspiest dz\u0113\u0161anu.", "required": false } } } ] }, "\/wc\/v2\/shipping\/zones\/(?P[\\d]+)\/locations": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Resursa unik\u0101lais ID.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais ID.", "type": "integer", "required": false }, "code": { "description": "Pieg\u0101de zonas atra\u0161an\u0101s vietas kods.", "type": "string", "required": false }, "type": { "description": "Pieg\u0101de zonas atra\u0161an\u0101s vietas veids.", "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": "Unik\u0101ls zonas ID.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "zone_id": { "description": "Unik\u0101ls zonas ID.", "type": "integer", "required": false }, "order": { "description": "Pieg\u0101des veidu k\u0101rto\u0161anas sec\u012bba.", "type": "integer", "required": false }, "enabled": { "description": "Pieg\u0101des metode ir iesp\u0113jota.", "type": "boolean", "required": false }, "settings": { "description": "Pieg\u0101des veida iestat\u012bjumi.", "type": "object", "properties": { "id": { "description": "Unik\u0101ls iestat\u012bjuma identifikators.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Cilv\u0113ka las\u0101ms mar\u0137\u0113jums, lai noteiktu, k\u0101 izmanto saskarni.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "description": { "description": "Cilv\u0113kam las\u0101ms apraksts par saskarnes iestat\u012bjumu izmanto\u0161anu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "type": { "description": "Iestat\u012bjuma veids.", "type": "string", "context": [ "view", "edit" ], "enum": [ "text", "email", "number", "color", "password", "textarea", "select", "multiselect", "radio", "image_width", "checkbox" ], "readonly": true }, "value": { "description": "Iestat\u012bjumu v\u0113rt\u012bba.", "type": "string", "context": [ "view", "edit" ] }, "default": { "description": "Iestat\u012bjuma noklus\u0113juma v\u0113rt\u012bba.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "tip": { "description": "Papildu pal\u012bdz\u012bbas teksts, kas lietot\u0101jam tiek par\u0101d\u012bts par iestat\u012bjumu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "placeholder": { "description": "Vietr\u0101\u017ea tekstu, kas tiks par\u0101d\u012bts teksta ievad\u012b\u0161an\u0101.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "method_id": { "description": "Pieg\u0101des veida 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": "Unik\u0101ls zonas ID.", "type": "integer", "required": false }, "instance_id": { "description": "Piem\u0113ram, unik\u0101ls ID.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "zone_id": { "description": "Unik\u0101ls zonas ID.", "type": "integer", "required": false }, "instance_id": { "description": "Piem\u0113ram, unik\u0101ls ID.", "type": "integer", "required": false }, "order": { "description": "Pieg\u0101des veidu k\u0101rto\u0161anas sec\u012bba.", "type": "integer", "required": false }, "enabled": { "description": "Pieg\u0101des metode ir iesp\u0113jota.", "type": "boolean", "required": false }, "settings": { "description": "Pieg\u0101des veida iestat\u012bjumi.", "type": "object", "properties": { "id": { "description": "Unik\u0101ls iestat\u012bjuma identifikators.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Cilv\u0113ka las\u0101ms mar\u0137\u0113jums, lai noteiktu, k\u0101 izmanto saskarni.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "description": { "description": "Cilv\u0113kam las\u0101ms apraksts par saskarnes iestat\u012bjumu izmanto\u0161anu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "type": { "description": "Iestat\u012bjuma veids.", "type": "string", "context": [ "view", "edit" ], "enum": [ "text", "email", "number", "color", "password", "textarea", "select", "multiselect", "radio", "image_width", "checkbox" ], "readonly": true }, "value": { "description": "Iestat\u012bjumu v\u0113rt\u012bba.", "type": "string", "context": [ "view", "edit" ] }, "default": { "description": "Iestat\u012bjuma noklus\u0113juma v\u0113rt\u012bba.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "tip": { "description": "Papildu pal\u012bdz\u012bbas teksts, kas lietot\u0101jam tiek par\u0101d\u012bts par iestat\u012bjumu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "placeholder": { "description": "Vietr\u0101\u017ea tekstu, kas tiks par\u0101d\u012bts teksta ievad\u012b\u0161an\u0101.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "zone_id": { "description": "Unik\u0101ls zonas ID.", "type": "integer", "required": false }, "instance_id": { "description": "Piem\u0113ram, unik\u0101ls ID.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Vai apiet atkritumus un uzspiest dz\u0113\u0161anu.", "required": false } } } ] }, "\/wc\/v2\/taxes\/classes": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Nodok\u013cu kategorijas nosaukums.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Unik\u0101la taka priek\u0161 resursa.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "slug": { "description": "Unik\u0101la taka priek\u0161 resursa.", "type": "string", "required": false }, "force": { "default": false, "type": "boolean", "description": "Nepiecie\u0161ams b\u016bt patiesam, jo resurss neatbalsta m\u0113slo\u0161anu.", "required": false } } } ] }, "\/wc\/v2\/taxes": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "order", "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "enum": [ "id", "order", "priority" ], "type": "string", "required": false }, "class": { "description": "K\u0101rtot p\u0113c nodok\u013cu klases.", "enum": [ "standard", "%e5%87%8f%e7%a8%8e%e7%a8%8e%e7%8e%87", "%e9%9b%b6%e7%a8%8e%e7%8e%87" ], "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "country": { "description": "Valsts ISO 3166 kods.", "type": "string", "required": false }, "state": { "description": "Valsts kods.", "type": "string", "required": false }, "postcode": { "description": "Pasta indekss.", "type": "string", "required": false }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "required": false }, "rate": { "description": "Nodok\u013ca likme.", "type": "string", "required": false }, "name": { "description": "Nodok\u013ca likmes nosaukums.", "type": "string", "required": false }, "priority": { "default": 1, "description": "Nodok\u013cu priorit\u0101te.", "type": "integer", "required": false }, "compound": { "default": false, "description": "Neatkar\u012bgi no t\u0101, vai \u0161\u012b ir salikt\u0101 likme.", "type": "boolean", "required": false }, "shipping": { "default": true, "description": "Vai \u0161\u012b nodok\u013ca likme ar\u012b tiek piem\u0113rota pieg\u0101dei.", "type": "boolean", "required": false }, "order": { "description": "Nor\u0101da pas\u016bt\u012bjumu, kas tiks par\u0101d\u012bts vaic\u0101jumos.", "type": "integer", "required": false }, "class": { "default": "standard", "description": "Nodok\u013cu likme.", "type": "string", "enum": [ "standard", "%e5%87%8f%e7%a8%8e%e7%a8%8e%e7%8e%87", "%e9%9b%b6%e7%a8%8e%e7%8e%87" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "country": { "description": "Valsts ISO 3166 kods.", "type": "string", "required": false }, "state": { "description": "Valsts kods.", "type": "string", "required": false }, "postcode": { "description": "Pasta indekss.", "type": "string", "required": false }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "required": false }, "rate": { "description": "Nodok\u013ca likme.", "type": "string", "required": false }, "name": { "description": "Nodok\u013ca likmes nosaukums.", "type": "string", "required": false }, "priority": { "description": "Nodok\u013cu priorit\u0101te.", "type": "integer", "required": false }, "compound": { "description": "Neatkar\u012bgi no t\u0101, vai \u0161\u012b ir salikt\u0101 likme.", "type": "boolean", "required": false }, "shipping": { "description": "Vai \u0161\u012b nodok\u013ca likme ar\u012b tiek piem\u0113rota pieg\u0101dei.", "type": "boolean", "required": false }, "order": { "description": "Nor\u0101da pas\u016bt\u012bjumu, kas tiks par\u0101d\u012bts vaic\u0101jumos.", "type": "integer", "required": false }, "class": { "description": "Nodok\u013cu likme.", "type": "string", "enum": [ "standard", "%e5%87%8f%e7%a8%8e%e7%a8%8e%e7%8e%87", "%e9%9b%b6%e7%a8%8e%e7%8e%87" ], "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Nepiecie\u0161ams b\u016bt patiesam, jo resurss neatbalsta m\u0113slo\u0161anu.", "required": false } } } ] }, "\/wc\/v2\/taxes\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "country": { "description": "Valsts ISO 3166 kods.", "type": "string", "required": false }, "state": { "description": "Valsts kods.", "type": "string", "required": false }, "postcode": { "description": "Pasta indekss.", "type": "string", "required": false }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "required": false }, "rate": { "description": "Nodok\u013ca likme.", "type": "string", "required": false }, "name": { "description": "Nodok\u013ca likmes nosaukums.", "type": "string", "required": false }, "priority": { "description": "Nodok\u013cu priorit\u0101te.", "type": "integer", "required": false }, "compound": { "description": "Neatkar\u012bgi no t\u0101, vai \u0161\u012b ir salikt\u0101 likme.", "type": "boolean", "required": false }, "shipping": { "description": "Vai \u0161\u012b nodok\u013ca likme ar\u012b tiek piem\u0113rota pieg\u0101dei.", "type": "boolean", "required": false }, "order": { "description": "Nor\u0101da pas\u016bt\u012bjumu, kas tiks par\u0101d\u012bts vaic\u0101jumos.", "type": "integer", "required": false }, "class": { "description": "Nodok\u013cu likme.", "type": "string", "enum": [ "standard", "%e5%87%8f%e7%a8%8e%e7%a8%8e%e7%8e%87", "%e9%9b%b6%e7%a8%8e%e7%8e%87" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v2\/taxes\/batch" } ] } }, "\/wc\/v2\/webhooks": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "id", "title" ], "required": false }, "status": { "default": "all", "description": "Ierobe\u017eots rezult\u0101ts, kas iestat\u012bts uz webhooks, kam pie\u0161\u0137irts konkr\u0113ts statuss.", "type": "string", "enum": [ "all", "active", "paused", "disabled" ], "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Draudz\u012bgs v\u0101rds webhookam.", "type": "string", "required": false }, "status": { "default": "active", "description": "Webhookas statuss.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "type": "string", "description": "Webhook t\u0113ma.", "required": true }, "secret": { "description": "Slepen\u0101 atsl\u0113ga, ko izmanto, lai \u0123ener\u0113tu pieg\u0101d\u0101to webhoku hash un sniegtu piepras\u012bjuma galvenes. P\u0113c noklus\u0113juma MD5 hash n\u0101k no pa\u0161reiz\u0113j\u0101 lietot\u0101ja ID | lietot\u0101jv\u0101rda, ja tas nav nodro\u0161in\u0101ts.", "type": "string", "required": false }, "delivery_url": { "type": "string", "description": "Webhook pieg\u0101des URL.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "name": { "description": "Draudz\u012bgs v\u0101rds webhookam.", "type": "string", "required": false }, "status": { "description": "Webhookas statuss.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "description": "Webhook t\u0113ma.", "type": "string", "required": false }, "secret": { "description": "Slepen\u0101 atsl\u0113ga, ko izmanto, lai \u0123ener\u0113tu pieg\u0101d\u0101to webhoku hash un sniegtu piepras\u012bjuma galvenes. P\u0113c noklus\u0113juma MD5 hash n\u0101k no pa\u0161reiz\u0113j\u0101 lietot\u0101ja ID | lietot\u0101jv\u0101rda, ja tas nav nodro\u0161in\u0101ts.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Nepiecie\u0161ams b\u016bt patiesam, jo resurss neatbalsta m\u0113slo\u0161anu.", "required": false } } } ] }, "\/wc\/v2\/webhooks\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Draudz\u012bgs v\u0101rds webhookam.", "type": "string", "required": false }, "status": { "description": "Webhookas statuss.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "description": "Webhook t\u0113ma.", "type": "string", "required": false }, "secret": { "description": "Slepen\u0101 atsl\u0113ga, ko izmanto, lai \u0123ener\u0113tu pieg\u0101d\u0101to webhoku hash un sniegtu piepras\u012bjuma galvenes. P\u0113c noklus\u0113juma MD5 hash n\u0101k no pa\u0161reiz\u0113j\u0101 lietot\u0101ja ID | lietot\u0101jv\u0101rda, ja tas nav nodro\u0161in\u0101ts.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v2\/webhooks\/batch" } ] } }, "\/wc\/v2\/webhooks\/(?P[\\d]+)\/deliveries": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "webhook_id": { "description": "Webhokas unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "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": "Webhokas unik\u0101lais identifikators.", "type": "integer", "required": false }, "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/v2\/system_status": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v2\/system_status" } ] } }, "\/wc\/v2\/system_status\/tools": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Resursa unik\u0101lais identifikators.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Instrumenta unik\u0101lais identifikators.", "type": "string", "required": false }, "name": { "description": "R\u012bka nosaukums.", "type": "string", "required": false }, "action": { "description": "Ko darbojoties r\u012bks veiks.", "type": "string", "required": false }, "description": { "description": "R\u012bka apraksts.", "type": "string", "required": false }, "success": { "description": "Vai r\u012bks darbojas veiksm\u012bgi?", "type": "boolean", "required": false }, "message": { "description": "R\u012bka atgrie\u0161an\u0101s zi\u0146ojums.", "type": "string", "required": false } } } ] }, "\/wc\/v2\/shipping_methods": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v2\/shipping_methods" } ] } }, "\/wc\/v2\/shipping_methods\/(?P[\\w-]+)": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "string", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ] }, "\/wc\/v2\/payment_gateways": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Resursa unik\u0101lais identifikators.", "type": "string", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "string", "required": false }, "title": { "description": "Maks\u0101jumu v\u0101rtejas nosaukums izrakst\u0101.", "type": "string", "required": false }, "description": { "description": "Maks\u0101jumu v\u0101rtejas apraksts izrakst\u012b\u0161an\u0101s br\u012bd\u012b.", "type": "string", "required": false }, "order": { "description": "Maks\u0101jumu v\u0101rtejas \u0161\u0137iro\u0161anas sec\u012bba.", "type": "integer", "required": false }, "enabled": { "description": "Iesp\u0113jotas maks\u0101jumu v\u0101rtejas statuss.", "type": "boolean", "required": false }, "settings": { "description": "Maks\u0101jumu v\u0101rtejas iestat\u012bjumi.", "type": "object", "properties": { "id": { "description": "Unik\u0101ls iestat\u012bjuma identifikators.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Cilv\u0113ka las\u0101ms mar\u0137\u0113jums, lai noteiktu, k\u0101 izmanto saskarni.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "description": { "description": "Cilv\u0113kam las\u0101ms apraksts par saskarnes iestat\u012bjumu izmanto\u0161anu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "type": { "description": "Iestat\u012bjuma veids.", "type": "string", "context": [ "view", "edit" ], "enum": [ "text", "email", "number", "color", "password", "textarea", "select", "multiselect", "radio", "image_width", "checkbox" ], "readonly": true }, "value": { "description": "Iestat\u012bjumu v\u0113rt\u012bba.", "type": "string", "context": [ "view", "edit" ] }, "default": { "description": "Iestat\u012bjuma noklus\u0113juma v\u0113rt\u012bba.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "tip": { "description": "Papildu pal\u012bdz\u012bbas teksts, kas lietot\u0101jam tiek par\u0101d\u012bts par iestat\u012bjumu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "placeholder": { "description": "Vietr\u0101\u017ea tekstu, kas tiks par\u0101d\u012bts teksta ievad\u012b\u0161an\u0101.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false } } } ] }, "\/wc\/v3\/coupons": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eojiet rezult\u0101tus tiem, kas atbilst virknei.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "code": { "description": "Ierobe\u017eots rezult\u0101ts, kas noteikts resursiem ar konkr\u0113tu kodu.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "code": { "description": "Atlaides kods.", "type": "string", "required": true }, "amount": { "description": "Atlai\u017eu summa. Vienm\u0113r j\u0101b\u016bt skaitliskam skaitlim, pat ja tiek iestat\u012bts procents.", "type": "string", "required": false }, "status": { "description": "The status of the coupon. Should always be draft, published, or pending review", "type": "string", "required": false }, "discount_type": { "default": "fixed_cart", "description": "Nosaka atlaides veidu, kas tiks piem\u0113rota.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "description": { "description": "Kupona apraksts.", "type": "string", "required": false }, "date_expires": { "description": "Datums, kur\u0101 kupons beigsies, p\u0113c vietnes laika joslas.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "Kupona der\u012bguma termi\u0146\u0161 k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "individual_use": { "default": false, "description": "Ja ir taisn\u012bba, kuponu var izmantot tikai individu\u0101li. Citi piem\u0113rotie kuponi tiks no\u0146emti no groza.", "type": "boolean", "required": false }, "product_ids": { "description": "To produktu ID, uz kuriem var izmantot kuponu.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "To produktu ID, uz kuriem nevar izmantot kuponu.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Cik reizes kuponu var kop\u012bgi izmantot.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Cik reizes kupons var tikt izmantots katram klientam.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Maksim\u0101lais pre\u010du skaits groz\u0101, uz kuru var piem\u0113rot kuponu.", "type": "integer", "required": false }, "free_shipping": { "default": false, "description": "Ja ir taisn\u012bba un ja bezmaksas pieg\u0101des metodei ir nepiecie\u0161ams kupons, \u0161is kupons nodro\u0161in\u0101s bezmaksas pieg\u0101di.", "type": "boolean", "required": false }, "product_categories": { "description": "Kategorijas ID saraksts, uz kuriem kupons attiecas.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Kategorijas ID saraksts, uz kuriem kupons neattiecas.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "default": false, "description": "Ja ir taisn\u012bba, \u0161is kupons netiks piem\u0113rots prec\u0113m, kur\u0101m ir akcijas cenas.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minim\u0101lais pas\u016bt\u012bjuma apjoms, kam j\u0101b\u016bt groz\u0101, pirms tiek piem\u0113rots kupons.", "type": "string", "required": false }, "maximum_amount": { "description": "Izmantojot kuponu, ir at\u013cauts maksim\u0101lais pas\u016bt\u012bjuma apjoms.", "type": "string", "required": false }, "email_restrictions": { "description": "To e-pasta adre\u0161u saraksts, kuri var izmantot \u0161o kuponu.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "code": { "description": "Atlaides kods.", "type": "string", "required": false }, "amount": { "description": "Atlai\u017eu summa. Vienm\u0113r j\u0101b\u016bt skaitliskam skaitlim, pat ja tiek iestat\u012bts procents.", "type": "string", "required": false }, "status": { "description": "The status of the coupon. Should always be draft, published, or pending review", "type": "string", "required": false }, "discount_type": { "description": "Nosaka atlaides veidu, kas tiks piem\u0113rota.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "description": { "description": "Kupona apraksts.", "type": "string", "required": false }, "date_expires": { "description": "Datums, kur\u0101 kupons beigsies, p\u0113c vietnes laika joslas.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "Kupona der\u012bguma termi\u0146\u0161 k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "Ja ir taisn\u012bba, kuponu var izmantot tikai individu\u0101li. Citi piem\u0113rotie kuponi tiks no\u0146emti no groza.", "type": "boolean", "required": false }, "product_ids": { "description": "To produktu ID, uz kuriem var izmantot kuponu.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "To produktu ID, uz kuriem nevar izmantot kuponu.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Cik reizes kuponu var kop\u012bgi izmantot.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Cik reizes kupons var tikt izmantots katram klientam.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Maksim\u0101lais pre\u010du skaits groz\u0101, uz kuru var piem\u0113rot kuponu.", "type": "integer", "required": false }, "free_shipping": { "description": "Ja ir taisn\u012bba un ja bezmaksas pieg\u0101des metodei ir nepiecie\u0161ams kupons, \u0161is kupons nodro\u0161in\u0101s bezmaksas pieg\u0101di.", "type": "boolean", "required": false }, "product_categories": { "description": "Kategorijas ID saraksts, uz kuriem kupons attiecas.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Kategorijas ID saraksts, uz kuriem kupons neattiecas.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "Ja ir taisn\u012bba, \u0161is kupons netiks piem\u0113rots prec\u0113m, kur\u0101m ir akcijas cenas.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minim\u0101lais pas\u016bt\u012bjuma apjoms, kam j\u0101b\u016bt groz\u0101, pirms tiek piem\u0113rots kupons.", "type": "string", "required": false }, "maximum_amount": { "description": "Izmantojot kuponu, ir at\u013cauts maksim\u0101lais pas\u016bt\u012bjuma apjoms.", "type": "string", "required": false }, "email_restrictions": { "description": "To e-pasta adre\u0161u saraksts, kuri var izmantot \u0161o kuponu.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Vai apiet atkritumus un uzspiest dz\u0113\u0161anu.", "required": false } } } ] }, "\/wc\/v3\/coupons\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "code": { "description": "Atlaides kods.", "type": "string", "required": false }, "amount": { "description": "Atlai\u017eu summa. Vienm\u0113r j\u0101b\u016bt skaitliskam skaitlim, pat ja tiek iestat\u012bts procents.", "type": "string", "required": false }, "status": { "description": "The status of the coupon. Should always be draft, published, or pending review", "type": "string", "required": false }, "discount_type": { "description": "Nosaka atlaides veidu, kas tiks piem\u0113rota.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product" ], "required": false }, "description": { "description": "Kupona apraksts.", "type": "string", "required": false }, "date_expires": { "description": "Datums, kur\u0101 kupons beigsies, p\u0113c vietnes laika joslas.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "Kupona der\u012bguma termi\u0146\u0161 k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "Ja ir taisn\u012bba, kuponu var izmantot tikai individu\u0101li. Citi piem\u0113rotie kuponi tiks no\u0146emti no groza.", "type": "boolean", "required": false }, "product_ids": { "description": "To produktu ID, uz kuriem var izmantot kuponu.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "To produktu ID, uz kuriem nevar izmantot kuponu.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Cik reizes kuponu var kop\u012bgi izmantot.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Cik reizes kupons var tikt izmantots katram klientam.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Maksim\u0101lais pre\u010du skaits groz\u0101, uz kuru var piem\u0113rot kuponu.", "type": "integer", "required": false }, "free_shipping": { "description": "Ja ir taisn\u012bba un ja bezmaksas pieg\u0101des metodei ir nepiecie\u0161ams kupons, \u0161is kupons nodro\u0161in\u0101s bezmaksas pieg\u0101di.", "type": "boolean", "required": false }, "product_categories": { "description": "Kategorijas ID saraksts, uz kuriem kupons attiecas.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Kategorijas ID saraksts, uz kuriem kupons neattiecas.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "Ja ir taisn\u012bba, \u0161is kupons netiks piem\u0113rots prec\u0113m, kur\u0101m ir akcijas cenas.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minim\u0101lais pas\u016bt\u012bjuma apjoms, kam j\u0101b\u016bt groz\u0101, pirms tiek piem\u0113rots kupons.", "type": "string", "required": false }, "maximum_amount": { "description": "Izmantojot kuponu, ir at\u013cauts maksim\u0101lais pas\u016bt\u012bjuma apjoms.", "type": "string", "required": false }, "email_restrictions": { "description": "To e-pasta adre\u0161u saraksts, kuri var izmantot \u0161o kuponu.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v3\/coupons\/batch" } ] } }, "\/wc\/v3\/customers\/(?P[\\d]+)\/downloads": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "customer_id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ] }, "\/wc\/v3\/customers": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "name", "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "enum": [ "id", "include", "name", "registered_date" ], "type": "string", "required": false }, "email": { "description": "Ierobe\u017eots rezult\u0101ts, kas noteikts resursiem ar konkr\u0113tu e-pastu.", "type": "string", "format": "email", "required": false }, "role": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts resursiem ar noteiktu lomu.", "type": "string", "default": "customer", "enum": [ "all", "administrator", "editor", "author", "contributor", "subscriber", "wpseo_manager", "wpseo_editor", "customer", "shop_manager" ], "required": false } } }, { "methods": [ "POST" ], "args": { "email": { "type": "string", "description": "Jauna lietot\u0101ja e-pasta adrese.", "required": true }, "first_name": { "description": "Klienta v\u0101rds.", "type": "string", "required": false }, "last_name": { "description": "Klienta uzv\u0101rds.", "type": "string", "required": false }, "username": { "description": "Jaunsa lietot\u0101ja lietot\u0101jv\u0101rds.", "type": "string", "required": false }, "password": { "description": "Jauna lietot\u0101ja parole.", "type": "string", "required": false }, "billing": { "description": "Saraksts ar r\u0113\u0137ina adre\u0161u inform\u0101ciju.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adrese 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts ISO kods.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "E-pasta adrese.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "T\u0101lru\u0146a numurs.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Pieg\u0101des adreses datu saraksts.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adrese 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts ISO kods.", "type": "string", "context": [ "view", "edit" ] }, "phone": { "description": "T\u0101lru\u0146a numurs.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "email": { "description": "Klienta e-pasta adrese.", "type": "string", "format": "email", "required": false }, "first_name": { "description": "Klienta v\u0101rds.", "type": "string", "required": false }, "last_name": { "description": "Klienta uzv\u0101rds.", "type": "string", "required": false }, "username": { "description": "Klienta lietot\u0101ja v\u0101rds.", "type": "string", "required": false }, "password": { "description": "Klienta parole.", "type": "string", "required": false }, "billing": { "description": "Saraksts ar r\u0113\u0137ina adre\u0161u inform\u0101ciju.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adrese 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts ISO kods.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "E-pasta adrese.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "T\u0101lru\u0146a numurs.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Pieg\u0101des adreses datu saraksts.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adrese 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts ISO kods.", "type": "string", "context": [ "view", "edit" ] }, "phone": { "description": "T\u0101lru\u0146a numurs.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Nepiecie\u0161ams b\u016bt patiesam, jo resurss neatbalsta m\u0113slo\u0161anu.", "required": false }, "reassign": { "default": 0, "type": "integer", "description": "ID, lai p\u0101rceltu zi\u0146ojumus uz.", "required": false } } } ] }, "\/wc\/v3\/customers\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "email": { "description": "Klienta e-pasta adrese.", "type": "string", "format": "email", "required": false }, "first_name": { "description": "Klienta v\u0101rds.", "type": "string", "required": false }, "last_name": { "description": "Klienta uzv\u0101rds.", "type": "string", "required": false }, "username": { "description": "Klienta lietot\u0101ja v\u0101rds.", "type": "string", "required": false }, "password": { "description": "Klienta parole.", "type": "string", "required": false }, "billing": { "description": "Saraksts ar r\u0113\u0137ina adre\u0161u inform\u0101ciju.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adrese 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts ISO kods.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "E-pasta adrese.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "T\u0101lru\u0146a numurs.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Pieg\u0101des adreses datu saraksts.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adrese 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts ISO kods.", "type": "string", "context": [ "view", "edit" ] }, "phone": { "description": "T\u0101lru\u0146a numurs.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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": "Resursa unik\u0101lais identifikators.", "type": "string", "required": false } } } ] }, "\/wc\/v3\/orders\/(?P[\\d]+)\/notes": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "Pas\u016bt\u012bjuma ID.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "type": { "default": "any", "description": "Ierobe\u017eot rezult\u0101tu klientiem vai iek\u0161\u0113j\u0101m piez\u012bm\u0113m.", "type": "string", "enum": [ "any", "customer", "internal" ], "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "Pas\u016bt\u012bjuma ID.", "type": "integer", "required": false }, "note": { "type": "string", "description": "Pas\u016bt\u012bjuma piez\u012bmes saturs.", "required": true }, "customer_note": { "default": false, "description": "Ja ir taisn\u012bba, piez\u012bme tiks par\u0101d\u012bta klientiem, un par to tiks pazi\u0146ots. Ja ir nepatiesa, piez\u012bme b\u016bs tikai administrat\u012bvai atsaucei.", "type": "boolean", "required": false }, "added_by_user": { "default": false, "description": "If true, this note will be attributed to the current user. If false, the note will be attributed to the system.", "type": "boolean", "required": false } } } ] }, "\/wc\/v3\/orders\/(?P[\\d]+)\/notes\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "order_id": { "description": "Pas\u016bt\u012bjuma ID.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "order_id": { "description": "Pas\u016bt\u012bjuma ID.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Nepiecie\u0161ams b\u016bt patiesam, jo resurss neatbalsta m\u0113slo\u0161anu.", "required": false } } } ] }, "\/wc\/v3\/orders\/(?P[\\d]+)\/refunds": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "Pas\u016bt\u012bjuma ID.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eojiet rezult\u0101tus tiem, kas atbilst virknei.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "parent": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz noteiktu vec\u0101ku ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz visiem vienumiem, iz\u0146emot konkr\u0113ta vec\u0101ka ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "dp": { "default": 2, "description": "Decim\u0101lda\u013cu skaits ko izmantos katr\u0101 resurs\u0101.", "type": "integer", "required": false }, "order_item_display_meta": { "default": false, "description": "Only show meta which is meant to be displayed for an order.", "type": "boolean", "required": false }, "include_meta": { "default": [], "description": "Limit meta_data to specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Ensure meta_data excludes specific keys.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "Pas\u016bt\u012bjuma ID.", "type": "integer", "required": false }, "amount": { "description": "Atmaksas summa.", "type": "string", "required": false }, "reason": { "description": "Atmaksas iemesls.", "type": "string", "required": false }, "refunded_by": { "description": "Lietot\u0101ja ID, kur\u0161 ir izveidojis atmaksu.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "shipping_lines": { "description": "Pieg\u0101des rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Pieg\u0101des metodes nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Pieg\u0101des veida ID", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "Shipping instance ID.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Nodevas\/maksas rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Maksas nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Maksas nodok\u013ca kategorija.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Maksas nodok\u013ca statuss.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Nodok\u013cu starpsumma.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "api_refund": { "default": true, "description": "Ja tas ir patiess, maks\u0101juma v\u0101rtejas API tiek izmantots, lai izveidotu atmaksu.", "type": "boolean", "required": false }, "api_restock": { "default": true, "description": "When true, refunded items are restocked.", "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": "Pas\u016bt\u012bjuma ID.", "type": "integer", "required": false }, "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "order_id": { "description": "Pas\u016bt\u012bjuma ID.", "type": "integer", "required": false }, "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "Nepiecie\u0161ams b\u016bt patiesam, jo resurss neatbalsta m\u0113slo\u0161anu.", "required": false } } } ] }, "\/wc\/v3\/orders": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eojiet rezult\u0101tus tiem, kas atbilst virknei.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "parent": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz noteiktu vec\u0101ku ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz visiem vienumiem, iz\u0146emot konkr\u0113ta vec\u0101ka ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "status": { "default": "any", "description": "Limit result set to orders which have specific statuses.", "type": "array", "items": { "type": "string", "enum": [ "any", "trash", "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ] }, "required": false }, "customer": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts pas\u016bt\u012bjumiem, kuriem pie\u0161\u0137irts konkr\u0113ts klients.", "type": "integer", "required": false }, "product": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts pas\u016bt\u012bjumiem, kuriem pie\u0161\u0137irts konkr\u0113ts produkts.", "type": "integer", "required": false }, "dp": { "default": 2, "description": "Decim\u0101lda\u013cu skaits ko izmantos katr\u0101 resurs\u0101.", "type": "integer", "required": false }, "order_item_display_meta": { "default": false, "description": "Only show meta which is meant to be displayed for an order.", "type": "boolean", "required": false }, "include_meta": { "default": [], "description": "Limit meta_data to specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Ensure meta_data excludes specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "created_via": { "description": "Limit result set to orders created via specific sources (e.g. checkout, admin).", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "parent_id": { "description": "Vec\u0101ku pas\u016bt\u012bjuma ID.", "type": "integer", "required": false }, "created_via": { "description": "R\u0101da, kur tika izveidots pas\u016bt\u012bjums.", "type": "string", "required": false }, "status": { "default": "pending", "description": "Pas\u016bt\u012bjuma statuss.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "default": "CNY", "description": "Val\u016btas k\u0101rtotas p\u0113c ISO form\u0101ta.", "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": "Lietot\u0101ja ID, kuram pieder pas\u016bt\u012bjums. 0 priek\u0161 viesiem.", "type": "integer", "required": false }, "customer_note": { "description": "Piez\u012bme, kuru klients atst\u0101j izrakst\u012b\u0161anas laik\u0101.", "type": "string", "required": false }, "billing": { "description": "Nor\u0113\u0137inu adrese.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adrese 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts kods ISO 3166-1 alpha-2 form\u0101t\u0101.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "E-pasta adrese.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "T\u0101lru\u0146a numurs.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Pieg\u0101des adrese.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adrese 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts kods ISO 3166-1 alpha-2 form\u0101t\u0101.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "Maks\u0101juma metodes ID.", "type": "string", "required": false }, "payment_method_title": { "description": "Maks\u0101jumu metodes nosaukums.", "type": "string", "required": false }, "transaction_id": { "description": "Unik\u0101ls dar\u012bjuma ID.", "type": "string", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Rindas vien\u012bbu dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Produkta nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Parent product name if the product is a variation.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "Produkta ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Vari\u0101cijas ID, ja piem\u0113rojams.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Pas\u016bt\u012btais daudzums.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Produkta nodok\u013cu klase.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Rindu starpsumma (pirms atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Rindu starpsumma (pirms atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Nodok\u013cu starpsumma.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Meta dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Meta key for UI display.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Meta value for UI display.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Produkta SKU:", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "global_unique_id": { "description": "GTIN, UPC, EAN or ISBN.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Produkta cena.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Properties of the main product image.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Pieg\u0101des rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Pieg\u0101des metodes nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Pieg\u0101des veida ID", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "Shipping instance ID.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Nodevas\/maksas rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Maksas nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Maksas nodok\u013ca kategorija.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Maksas nodok\u013ca statuss.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Nodok\u013cu starpsumma.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Kupona rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Atlaides kods.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Atlaides summa.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "Atlaides kop\u0113jais nodoklis.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Discount type.", "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 dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "default": false, "description": "Nor\u0101diet, vai pas\u016bt\u012bjums ir samaks\u0101ts. Tas noteiks statusu apstr\u0101dei un samazin\u0101s kr\u0101juma daudzumu.", "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:\/\/www.triumphgifts.com\/lv\/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": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "parent_id": { "description": "Vec\u0101ku pas\u016bt\u012bjuma ID.", "type": "integer", "required": false }, "created_via": { "description": "R\u0101da, kur tika izveidots pas\u016bt\u012bjums.", "type": "string", "required": false }, "status": { "description": "Pas\u016bt\u012bjuma statuss.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "description": "Val\u016btas k\u0101rtotas p\u0113c ISO form\u0101ta.", "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": "Lietot\u0101ja ID, kuram pieder pas\u016bt\u012bjums. 0 priek\u0161 viesiem.", "type": "integer", "required": false }, "customer_note": { "description": "Piez\u012bme, kuru klients atst\u0101j izrakst\u012b\u0161anas laik\u0101.", "type": "string", "required": false }, "billing": { "description": "Nor\u0113\u0137inu adrese.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adrese 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts kods ISO 3166-1 alpha-2 form\u0101t\u0101.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "E-pasta adrese.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "T\u0101lru\u0146a numurs.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Pieg\u0101des adrese.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adrese 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts kods ISO 3166-1 alpha-2 form\u0101t\u0101.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "Maks\u0101juma metodes ID.", "type": "string", "required": false }, "payment_method_title": { "description": "Maks\u0101jumu metodes nosaukums.", "type": "string", "required": false }, "transaction_id": { "description": "Unik\u0101ls dar\u012bjuma ID.", "type": "string", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Rindas vien\u012bbu dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Produkta nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Parent product name if the product is a variation.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "Produkta ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Vari\u0101cijas ID, ja piem\u0113rojams.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Pas\u016bt\u012btais daudzums.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Produkta nodok\u013cu klase.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Rindu starpsumma (pirms atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Rindu starpsumma (pirms atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Nodok\u013cu starpsumma.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Meta dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Meta key for UI display.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Meta value for UI display.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Produkta SKU:", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "global_unique_id": { "description": "GTIN, UPC, EAN or ISBN.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Produkta cena.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Properties of the main product image.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Pieg\u0101des rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Pieg\u0101des metodes nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Pieg\u0101des veida ID", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "Shipping instance ID.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Nodevas\/maksas rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Maksas nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Maksas nodok\u013ca kategorija.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Maksas nodok\u013ca statuss.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Nodok\u013cu starpsumma.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Kupona rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Atlaides kods.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Atlaides summa.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "Atlaides kop\u0113jais nodoklis.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Discount type.", "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 dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "description": "Nor\u0101diet, vai pas\u016bt\u012bjums ir samaks\u0101ts. Tas noteiks statusu apstr\u0101dei un samazin\u0101s kr\u0101juma daudzumu.", "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": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Vai apiet atkritumus un uzspiest dz\u0113\u0161anu.", "required": false } } } ] }, "\/wc\/v3\/orders\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "parent_id": { "description": "Vec\u0101ku pas\u016bt\u012bjuma ID.", "type": "integer", "required": false }, "created_via": { "description": "R\u0101da, kur tika izveidots pas\u016bt\u012bjums.", "type": "string", "required": false }, "status": { "description": "Pas\u016bt\u012bjuma statuss.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "description": "Val\u016btas k\u0101rtotas p\u0113c ISO form\u0101ta.", "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": "Lietot\u0101ja ID, kuram pieder pas\u016bt\u012bjums. 0 priek\u0161 viesiem.", "type": "integer", "required": false }, "customer_note": { "description": "Piez\u012bme, kuru klients atst\u0101j izrakst\u012b\u0161anas laik\u0101.", "type": "string", "required": false }, "billing": { "description": "Nor\u0113\u0137inu adrese.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adrese 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts kods ISO 3166-1 alpha-2 form\u0101t\u0101.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "E-pasta adrese.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "T\u0101lru\u0146a numurs.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Pieg\u0101des adrese.", "type": "object", "properties": { "first_name": { "description": "V\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Uzv\u0101rds.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Uz\u0146\u0113muma nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adrese 1", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adrese 2", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Pils\u0113tas nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "ISO kods vai \u0161tata, provinces vai rajona nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Pasta indekss.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Valsts kods ISO 3166-1 alpha-2 form\u0101t\u0101.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "Maks\u0101juma metodes ID.", "type": "string", "required": false }, "payment_method_title": { "description": "Maks\u0101jumu metodes nosaukums.", "type": "string", "required": false }, "transaction_id": { "description": "Unik\u0101ls dar\u012bjuma ID.", "type": "string", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Rindas vien\u012bbu dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Produkta nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Parent product name if the product is a variation.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "Produkta ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Vari\u0101cijas ID, ja piem\u0113rojams.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Pas\u016bt\u012btais daudzums.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Produkta nodok\u013cu klase.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Rindu starpsumma (pirms atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Rindu starpsumma (pirms atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Nodok\u013cu starpsumma.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Meta dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Meta key for UI display.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Meta value for UI display.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "Produkta SKU:", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "global_unique_id": { "description": "GTIN, UPC, EAN or ISBN.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Produkta cena.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Properties of the main product image.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Pieg\u0101des rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Pieg\u0101des metodes nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "Pieg\u0101des veida ID", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "Shipping instance ID.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Nodevas\/maksas rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Maksas nosaukums.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Maksas nodok\u013ca kategorija.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Maksas nodok\u013ca statuss.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Rinda kop\u0101 (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Rindas kop\u0113jais nodoklis (p\u0113c atlaid\u0113m).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Nodok\u013ca likmes ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Kop\u0101 nodok\u013ci.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Nodok\u013cu starpsumma.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Meta dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Kupona rindas dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Vien\u012bbas ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Atlaides kods.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "Atlaides summa.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "Atlaides kop\u0113jais nodoklis.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Discount type.", "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 dati.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "description": "Nor\u0101diet, vai pas\u016bt\u012bjums ir samaks\u0101ts. Tas noteiks statusu apstr\u0101dei un samazin\u0101s kr\u0101juma daudzumu.", "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:\/\/www.triumphgifts.com\/lv\/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": "Unik\u0101ls terminu atrib\u016bta identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c resursa atrib\u016bta.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Vai sl\u0113pt resursus, kas nav pie\u0161\u0137irti nevienam produktam.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "product": { "description": "Robe\u017eas rezult\u0101ts noteikts resursiem, kas pie\u0161\u0137irti konkr\u0113tam produktam.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts resursiem ar \u012bpa\u0161u taku.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "attribute_id": { "description": "Unik\u0101ls terminu atrib\u016bta identifikators.", "type": "integer", "required": false }, "name": { "type": "string", "description": "Resursa nosaukums.", "required": true }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto, lai k\u0101rtotu resursus.", "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": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "attribute_id": { "description": "Unik\u0101ls terminu atrib\u016bta identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "attribute_id": { "description": "Unik\u0101ls terminu atrib\u016bta identifikators.", "type": "integer", "required": false }, "name": { "description": "Noteikumu nosaukums", "type": "string", "required": false }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto, lai k\u0101rtotu resursus.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "attribute_id": { "description": "Unik\u0101ls terminu atrib\u016bta identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Nepiecie\u0161ams b\u016bt patiesam, jo resurss neatbalsta m\u0113slo\u0161anu.", "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": "Unik\u0101ls terminu atrib\u016bta identifikators.", "type": "integer", "required": false }, "name": { "description": "Noteikumu nosaukums", "type": "string", "required": false }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto, lai k\u0101rtotu resursus.", "type": "integer", "required": false } } } ] }, "\/wc\/v3\/products\/attributes": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Resursa nosaukums.", "type": "string", "required": true }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "type": { "default": "select", "description": "Atrib\u016bta tips.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "default": "menu_order", "description": "Noklus\u0113juma k\u0101rtojuma sec\u012bba.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "default": false, "description": "Iesp\u0113jot \/ atsp\u0113jot atrib\u016btu arh\u012bvus.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "required": false }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "type": { "description": "Atrib\u016bta tips.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Noklus\u0113juma k\u0101rtojuma sec\u012bba.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "Iesp\u0113jot \/ atsp\u0113jot atrib\u016btu arh\u012bvus.", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "Nepiecie\u0161ams b\u016bt patiesam, jo resurss neatbalsta m\u0113slo\u0161anu.", "required": false } } } ] }, "\/wc\/v3\/products\/attributes\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "required": false }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "type": { "description": "Atrib\u016bta tips.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Noklus\u0113juma k\u0101rtojuma sec\u012bba.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "Iesp\u0113jot \/ atsp\u0113jot atrib\u016btu arh\u012bvus.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v3\/products\/attributes\/batch" } ] } }, "\/wc\/v3\/products\/categories": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c resursa atrib\u016bta.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Vai sl\u0113pt resursus, kas nav pie\u0161\u0137irti nevienam produktam.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "product": { "description": "Robe\u017eas rezult\u0101ts noteikts resursiem, kas pie\u0161\u0137irti konkr\u0113tam produktam.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts resursiem ar \u012bpa\u0161u taku.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Resursa nosaukums.", "required": true }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "parent": { "description": "ID resursa vec\u0101kiem.", "type": "integer", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false }, "display": { "default": "default", "description": "Kategorijas arh\u012bva att\u0113lojuma veids", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Image data.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto, lai k\u0101rtotu resursus.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "name": { "description": "Kategorijas nosaukums.", "type": "string", "required": false }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "parent": { "description": "ID resursa vec\u0101kiem.", "type": "integer", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false }, "display": { "description": "Kategorijas arh\u012bva att\u0113lojuma veids", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Image data.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto, lai k\u0101rtotu resursus.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Nepiecie\u0161ams b\u016bt patiesam, jo resurss neatbalsta m\u0113slo\u0161anu.", "required": false } } } ] }, "\/wc\/v3\/products\/categories\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Kategorijas nosaukums.", "type": "string", "required": false }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "parent": { "description": "ID resursa vec\u0101kiem.", "type": "integer", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false }, "display": { "description": "Kategorijas arh\u012bva att\u0113lojuma veids", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Image data.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto, lai k\u0101rtotu resursus.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v3\/products\/categories\/batch" } ] } }, "\/wc\/v3\/products\/custom-fields\/names": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "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:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v3\/products\/custom-fields\/names" } ] } }, "\/wc\/v3\/products\/reviews": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Limit response to reviews published before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date_gmt", "enum": [ "date", "date_gmt", "id", "include", "product" ], "required": false }, "reviewer": { "description": "Limit result set to reviews assigned to specific user IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "reviewer_exclude": { "description": "Ensure result set excludes reviews assigned to specific user IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "reviewer_email": { "default": null, "description": "Limit result set to that from a specific author email.", "format": "email", "type": "string", "required": false }, "product": { "default": [], "description": "Limit result set to reviews assigned to specific product IDs.", "type": "array", "items": { "type": "integer" }, "required": false }, "status": { "default": "approved", "description": "Limit result set to reviews assigned a specific status.", "type": "string", "enum": [ "all", "hold", "approved", "spam", "trash" ], "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Produkta unik\u0101lais identifikators.", "type": "integer", "required": true }, "product_name": { "description": "Produkta nosaukums.", "type": "string", "required": false }, "status": { "default": "approved", "description": "Status of the review.", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "type": "string", "description": "P\u0101rskata sast\u0101d\u012bt\u0101js.", "required": true }, "reviewer_email": { "type": "string", "description": "Recenzents e-pasts.", "required": true }, "review": { "type": "string", "description": "P\u0101rskat\u012bt saturu.", "required": true }, "rating": { "description": "P\u0101rskata reitings (no 0 l\u012bdz 5).", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "product_id": { "description": "Unique identifier for the product that the review belongs to.", "type": "integer", "required": false }, "product_name": { "description": "Produkta nosaukums.", "type": "string", "required": false }, "status": { "description": "Status of the review.", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "description": "Recenzenta v\u0101rsds.", "type": "string", "required": false }, "reviewer_email": { "description": "Recenzenta e-pasts.", "type": "string", "format": "email", "required": false }, "review": { "description": "Recenzijas saturs.", "type": "string", "required": false }, "rating": { "description": "P\u0101rskata reitings (no 0 l\u012bdz 5).", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Vai apiet atkritumus un uzspiest dz\u0113\u0161anu.", "required": false } } } ] }, "\/wc\/v3\/products\/reviews\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Unique identifier for the product that the review belongs to.", "type": "integer", "required": false }, "product_name": { "description": "Produkta nosaukums.", "type": "string", "required": false }, "status": { "description": "Status of the review.", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "description": "Recenzenta v\u0101rsds.", "type": "string", "required": false }, "reviewer_email": { "description": "Recenzenta e-pasts.", "type": "string", "format": "email", "required": false }, "review": { "description": "Recenzijas saturs.", "type": "string", "required": false }, "rating": { "description": "P\u0101rskata reitings (no 0 l\u012bdz 5).", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v3\/products\/reviews\/batch" } ] } }, "\/wc\/v3\/products\/shipping_classes": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c resursa atrib\u016bta.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Vai sl\u0113pt resursus, kas nav pie\u0161\u0137irti nevienam produktam.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "product": { "description": "Robe\u017eas rezult\u0101ts noteikts resursiem, kas pie\u0161\u0137irti konkr\u0113tam produktam.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts resursiem ar \u012bpa\u0161u taku.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Resursa nosaukums.", "required": true }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "name": { "description": "Pieg\u0101des klases nosaukums.", "type": "string", "required": false }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Nepiecie\u0161ams b\u016bt patiesam, jo resurss neatbalsta m\u0113slo\u0161anu.", "required": false } } } ] }, "\/wc\/v3\/products\/shipping_classes\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Pieg\u0101des klases nosaukums.", "type": "string", "required": false }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Pieg\u0101des klases nosaukums.", "type": "string", "required": false }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Offset the result set by a specific number of items. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c resursa atrib\u016bta.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Vai sl\u0113pt resursus, kas nav pie\u0161\u0137irti nevienam produktam.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Limit result set to resources assigned to a specific parent. Applies to hierarchical taxonomies only.", "type": "integer", "required": false }, "product": { "description": "Robe\u017eas rezult\u0101ts noteikts resursiem, kas pie\u0161\u0137irti konkr\u0113tam produktam.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts resursiem ar \u012bpa\u0161u taku.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Resursa nosaukums.", "required": true }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "name": { "description": "Birkas nosaukums", "type": "string", "required": false }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Nepiecie\u0161ams b\u016bt patiesam, jo resurss neatbalsta m\u0113slo\u0161anu.", "required": false } } } ] }, "\/wc\/v3\/products\/tags\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Birkas nosaukums", "type": "string", "required": false }, "slug": { "description": "Burtu un ciparu identifikators par t\u0101 tipam rakstur\u012bgo resursu.", "type": "string", "required": false }, "description": { "description": "Resursu HTML apraksts.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v3\/products\/tags\/batch" } ] } }, "\/wc\/v3\/products": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eojiet rezult\u0101tus tiem, kas atbilst virknei.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "popularity", "rating", "post__in", "price", "sales", "menu_order", "random", "popularity", "rating", "menu_order", "price", "popularity", "rating" ], "required": false }, "parent": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz noteiktu vec\u0101ku ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz visiem vienumiem, iz\u0146emot konkr\u0113ta vec\u0101ka ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "brand": { "description": "Limit result set to products assigned a specific brand ID.", "type": "string", "required": false }, "slug": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem ar \u012bpa\u0161u taku.", "type": "string", "required": false }, "status": { "default": "any", "description": "Robe\u017eas rezult\u0101ts ir noteikts produktiem, kam pie\u0161\u0137irts \u012bpa\u0161s statuss.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "Robe\u017eas rezult\u0101ts noteikts produktiem, kuriem pie\u0161\u0137irts \u012bpa\u0161s veids.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "sku": { "description": "Robe\u017ea rezult\u0101ts tiek noteikts produktiem ar konkr\u0113tu SKU. Izmantojiet komatus, lai no\u0161\u0137irtu.", "type": "string", "required": false }, "featured": { "description": "Ierobe\u017eotais rezult\u0101ts, kas iestat\u012bts uz pied\u0101v\u0101tajiem produktiem.", "type": "boolean", "required": false }, "category": { "description": "Robe\u017eas rezult\u0101ts ir noteikts produktiem, kam pie\u0161\u0137irts \u012bpa\u0161a kategorijas ID.", "type": "string", "required": false }, "tag": { "description": "Robe\u017eas rezult\u0101ts ir noteikts produktiem, kuriem pie\u0161\u0137irts \u012bpa\u0161s birkas ID.", "type": "string", "required": false }, "shipping_class": { "description": "Ierobe\u017eots rezult\u0101ts, kas noteikts produktiem, kuriem pie\u0161\u0137irts konkr\u0113ts pieg\u0101des klases ID.", "type": "string", "required": false }, "attribute": { "description": "Limit result set to products with a specific attribute. Use the taxonomy name\/attribute slug.", "type": "string", "required": false }, "attribute_term": { "description": "Ierobe\u017eojo\u0161ais rezult\u0101ts ir noteikts produktiem ar \u012bpa\u0161u atrib\u016btu terminu ID (nepiecie\u0161ams pie\u0161\u0137irts atrib\u016bts).", "type": "string", "required": false }, "on_sale": { "description": "Ierobe\u017eots rezult\u0101ts p\u0101rdo\u0161anas produktiem.", "type": "boolean", "required": false }, "min_price": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem, kuru pamat\u0101 ir minim\u0101l\u0101 cena.", "type": "string", "required": false }, "max_price": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem, kuru pamat\u0101 ir maksim\u0101l\u0101 cena.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Limit meta_data to specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Ensure meta_data excludes specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Rezult\u0101tu kopas ierobe\u017eo\u0161ana uz produktiem ar nor\u0101d\u012bto kr\u0101jumu statusu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "search_sku": { "description": "Limit results to those with a SKU that partial matches a string. This argument takes precedence over 'sku'.", "type": "string", "required": false }, "search_name_or_sku": { "description": "Limit results to those with a name or SKU that partial matches a string. This argument takes precedence over 'search', 'sku' and 'search_sku'.", "type": "string", "required": false }, "search_fields": { "description": "Limit search to specific fields when used with search parameter. Available fields: name, sku, global_unique_id, description, short_description. This argument takes precedence over all other search parameters.", "type": "array", "items": { "type": "string", "enum": [ "name", "global_unique_id", "description", "short_description", "sku" ] }, "default": [], "required": false }, "include_status": { "description": "Limit result set to products with any of the statuses.", "type": "array", "items": { "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "exclude_status": { "description": "Exclude products with any of the statuses from result set.", "type": "array", "items": { "type": "string", "enum": [ "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "include_types": { "description": "Limit result set to products with any of the types.", "type": "array", "items": { "type": "string", "enum": [ "simple", "grouped", "external", "variable" ] }, "required": false }, "exclude_types": { "description": "Exclude products with any of the types from result set.", "type": "array", "items": { "type": "string", "enum": [ "simple", "grouped", "external", "variable" ] }, "required": false }, "downloadable": { "description": "Limit result set to downloadable products.", "type": "boolean", "required": false }, "virtual": { "description": "Limit result set to virtual products.", "type": "boolean", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Produkta nosaukums.", "type": "string", "required": false }, "slug": { "description": "Produkta taka.", "type": "string", "required": false }, "date_created": { "description": "Datums, kad produkts tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Produkta izveides datums k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "type": { "default": "simple", "description": "Produkta tips.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "default": "publish", "description": "Produkta statuss (pasta statuss).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "default": false, "description": "Pied\u0101v\u0101tais produkts.", "type": "boolean", "required": false }, "catalog_visibility": { "default": "visible", "description": "Kataloga redzam\u012bba.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Produkta apraksts.", "type": "string", "required": false }, "short_description": { "description": "Produkta \u012bss apraksts.", "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": "Produkta cena.", "type": "string", "required": false }, "sale_price": { "description": "Produkta akcijas cena.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Akciju s\u0101kuma datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "S\u0101kuma datums izp\u0101rdo\u0161anas cen\u0101m, k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "virtual": { "default": false, "description": "Ja produkts ir virtu\u0101ls.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Ja produkts ir lejupiel\u0101d\u0113jams.", "type": "boolean", "required": false }, "downloads": { "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer", "required": false }, "external_url": { "description": "Produkta \u0101r\u0113jais URL. Tikai \u0101r\u0113jiem produktiem.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Produkta \u0101r\u0113jais pogas teksts. Tikai \u0101r\u0113jiem produktiem.", "type": "string", "required": false }, "tax_status": { "default": "taxable", "description": "Nodok\u013cu status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Nodok\u013cu likme.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Kr\u0101jumu p\u0101rvald\u012bba produktu l\u012bmen\u012b.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Daudzums noliktav\u0101.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the product.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "default": false, "description": "At\u013caut vienu preci nopirkt vien\u0101 pas\u016bt\u012bjum\u0101.", "type": "boolean", "required": false }, "weight": { "description": "Produkta svars (kg).", "type": "string", "required": false }, "dimensions": { "description": "Produkta izm\u0113ri.", "type": "object", "properties": { "length": { "description": "Produkta garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Produkta platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Produkta augstums (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Pieg\u0101des klases taka.", "type": "string", "required": false }, "reviews_allowed": { "default": true, "description": "At\u013caut atsauksmes", "type": "boolean", "required": false }, "post_password": { "description": "Post password.", "type": "string", "required": false }, "upsell_ids": { "description": "Saraksts ar piep\u0101rdo\u0161anas produktu ID.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Saraksts ar piep\u0101rdo\u0161anas produktu ID.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "Produkta vec\u0101ku ID.", "type": "integer", "required": false }, "purchase_note": { "description": "Izv\u0113les piez\u012bme, lai nos\u016bt\u012btu klientu p\u0113c pirkuma.", "type": "string", "required": false }, "categories": { "description": "Kategoriju saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kategorijas ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Kategorijas nosaukums.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Kategorijas kods.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "brands": { "description": "List of brands.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Brand ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Brand name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Brand slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Birku sarakst.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Birkas ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Birkas nosaukums", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Birkas taka.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Att\u0113lu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Atrib\u016btu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Atrib\u016bta poz\u012bcija", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Nor\u0101diet, vai produkta lap\u0101 ciln\u0113 \"Papildinform\u0101cija\" ir redzams atrib\u016bts.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Noteikt, vai atrib\u016btu var izmantot k\u0101 vari\u0101ciju.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Atrib\u016bta pieejamo terminu nosaukumi.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Noklus\u0113juma variantu atrib\u016bti.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto pas\u016bt\u012bjuma \u0161\u0137iro\u0161anai.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "name": { "description": "Produkta nosaukums.", "type": "string", "required": false }, "slug": { "description": "Produkta taka.", "type": "string", "required": false }, "date_created": { "description": "Datums, kad produkts tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Produkta izveides datums k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "type": { "description": "Produkta tips.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "description": "Produkta statuss (pasta statuss).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "description": "Pied\u0101v\u0101tais produkts.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Kataloga redzam\u012bba.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Produkta apraksts.", "type": "string", "required": false }, "short_description": { "description": "Produkta \u012bss apraksts.", "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": "Produkta cena.", "type": "string", "required": false }, "sale_price": { "description": "Produkta akcijas cena.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Akciju s\u0101kuma datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "S\u0101kuma datums izp\u0101rdo\u0161anas cen\u0101m, k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "Ja produkts ir virtu\u0101ls.", "type": "boolean", "required": false }, "downloadable": { "description": "Ja produkts ir lejupiel\u0101d\u0113jams.", "type": "boolean", "required": false }, "downloads": { "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer", "required": false }, "download_expiry": { "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer", "required": false }, "external_url": { "description": "Produkta \u0101r\u0113jais URL. Tikai \u0101r\u0113jiem produktiem.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Produkta \u0101r\u0113jais pogas teksts. Tikai \u0101r\u0113jiem produktiem.", "type": "string", "required": false }, "tax_status": { "description": "Nodok\u013cu status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Nodok\u013cu likme.", "type": "string", "required": false }, "manage_stock": { "description": "Kr\u0101jumu p\u0101rvald\u012bba produktu l\u012bmen\u012b.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Daudzums noliktav\u0101.", "type": "integer", "required": false }, "stock_status": { "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the product.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "description": "At\u013caut vienu preci nopirkt vien\u0101 pas\u016bt\u012bjum\u0101.", "type": "boolean", "required": false }, "weight": { "description": "Produkta svars (kg).", "type": "string", "required": false }, "dimensions": { "description": "Produkta izm\u0113ri.", "type": "object", "properties": { "length": { "description": "Produkta garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Produkta platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Produkta augstums (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Pieg\u0101des klases taka.", "type": "string", "required": false }, "reviews_allowed": { "description": "At\u013caut atsauksmes", "type": "boolean", "required": false }, "post_password": { "description": "Post password.", "type": "string", "required": false }, "upsell_ids": { "description": "Saraksts ar piep\u0101rdo\u0161anas produktu ID.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Saraksts ar piep\u0101rdo\u0161anas produktu ID.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "Produkta vec\u0101ku ID.", "type": "integer", "required": false }, "purchase_note": { "description": "Izv\u0113les piez\u012bme, lai nos\u016bt\u012btu klientu p\u0113c pirkuma.", "type": "string", "required": false }, "categories": { "description": "Kategoriju saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kategorijas ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Kategorijas nosaukums.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Kategorijas kods.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "brands": { "description": "List of brands.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Brand ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Brand name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Brand slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Birku sarakst.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Birkas ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Birkas nosaukums", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Birkas taka.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Att\u0113lu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Atrib\u016btu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Atrib\u016bta poz\u012bcija", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Nor\u0101diet, vai produkta lap\u0101 ciln\u0113 \"Papildinform\u0101cija\" ir redzams atrib\u016bts.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Noteikt, vai atrib\u016btu var izmantot k\u0101 vari\u0101ciju.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Atrib\u016bta pieejamo terminu nosaukumi.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Noklus\u0113juma variantu atrib\u016bti.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto pas\u016bt\u012bjuma \u0161\u0137iro\u0161anai.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": false, "description": "Vai apiet atkritumus un uzspiest dz\u0113\u0161anu.", "type": "boolean", "required": false } } } ] }, "\/wc\/v3\/products\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Produkta nosaukums.", "type": "string", "required": false }, "slug": { "description": "Produkta taka.", "type": "string", "required": false }, "date_created": { "description": "Datums, kad produkts tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Produkta izveides datums k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "type": { "description": "Produkta tips.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "description": "Produkta statuss (pasta statuss).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "description": "Pied\u0101v\u0101tais produkts.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Kataloga redzam\u012bba.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Produkta apraksts.", "type": "string", "required": false }, "short_description": { "description": "Produkta \u012bss apraksts.", "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": "Produkta cena.", "type": "string", "required": false }, "sale_price": { "description": "Produkta akcijas cena.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Akciju s\u0101kuma datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "S\u0101kuma datums izp\u0101rdo\u0161anas cen\u0101m, k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "Ja produkts ir virtu\u0101ls.", "type": "boolean", "required": false }, "downloadable": { "description": "Ja produkts ir lejupiel\u0101d\u0113jams.", "type": "boolean", "required": false }, "downloads": { "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer", "required": false }, "download_expiry": { "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer", "required": false }, "external_url": { "description": "Produkta \u0101r\u0113jais URL. Tikai \u0101r\u0113jiem produktiem.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Produkta \u0101r\u0113jais pogas teksts. Tikai \u0101r\u0113jiem produktiem.", "type": "string", "required": false }, "tax_status": { "description": "Nodok\u013cu status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Nodok\u013cu likme.", "type": "string", "required": false }, "manage_stock": { "description": "Kr\u0101jumu p\u0101rvald\u012bba produktu l\u012bmen\u012b.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Daudzums noliktav\u0101.", "type": "integer", "required": false }, "stock_status": { "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the product.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "description": "At\u013caut vienu preci nopirkt vien\u0101 pas\u016bt\u012bjum\u0101.", "type": "boolean", "required": false }, "weight": { "description": "Produkta svars (kg).", "type": "string", "required": false }, "dimensions": { "description": "Produkta izm\u0113ri.", "type": "object", "properties": { "length": { "description": "Produkta garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Produkta platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Produkta augstums (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Pieg\u0101des klases taka.", "type": "string", "required": false }, "reviews_allowed": { "description": "At\u013caut atsauksmes", "type": "boolean", "required": false }, "post_password": { "description": "Post password.", "type": "string", "required": false }, "upsell_ids": { "description": "Saraksts ar piep\u0101rdo\u0161anas produktu ID.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Saraksts ar piep\u0101rdo\u0161anas produktu ID.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "Produkta vec\u0101ku ID.", "type": "integer", "required": false }, "purchase_note": { "description": "Izv\u0113les piez\u012bme, lai nos\u016bt\u012btu klientu p\u0113c pirkuma.", "type": "string", "required": false }, "categories": { "description": "Kategoriju saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kategorijas ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Kategorijas nosaukums.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Kategorijas kods.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "brands": { "description": "List of brands.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Brand ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Brand name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Brand slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Birku sarakst.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Birkas ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Birkas nosaukums", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Birkas taka.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Att\u0113lu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Atrib\u016btu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Atrib\u016bta poz\u012bcija", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Nor\u0101diet, vai produkta lap\u0101 ciln\u0113 \"Papildinform\u0101cija\" ir redzams atrib\u016bts.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Noteikt, vai atrib\u016btu var izmantot k\u0101 vari\u0101ciju.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Atrib\u016bta pieejamo terminu nosaukumi.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Noklus\u0113juma variantu atrib\u016bti.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto pas\u016bt\u012bjuma \u0161\u0137iro\u0161anai.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v3\/products\/batch" } ] } }, "\/wc\/v3\/products\/suggested-products": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eojiet rezult\u0101tus tiem, kas atbilst virknei.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "popularity", "rating", "post__in", "price", "sales", "menu_order", "random", "popularity", "rating", "menu_order" ], "required": false }, "parent": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz noteiktu vec\u0101ku ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz visiem vienumiem, iz\u0146emot konkr\u0113ta vec\u0101ka ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "brand": { "description": "Limit result set to products assigned a specific brand ID.", "type": "string", "required": false }, "slug": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem ar \u012bpa\u0161u taku.", "type": "string", "required": false }, "status": { "default": "any", "description": "Robe\u017eas rezult\u0101ts ir noteikts produktiem, kam pie\u0161\u0137irts \u012bpa\u0161s statuss.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "Robe\u017eas rezult\u0101ts noteikts produktiem, kuriem pie\u0161\u0137irts \u012bpa\u0161s veids.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "sku": { "description": "Robe\u017ea rezult\u0101ts tiek noteikts produktiem ar konkr\u0113tu SKU. Izmantojiet komatus, lai no\u0161\u0137irtu.", "type": "string", "required": false }, "featured": { "description": "Ierobe\u017eotais rezult\u0101ts, kas iestat\u012bts uz pied\u0101v\u0101tajiem produktiem.", "type": "boolean", "required": false }, "category": { "description": "Robe\u017eas rezult\u0101ts ir noteikts produktiem, kam pie\u0161\u0137irts \u012bpa\u0161a kategorijas ID.", "type": "string", "required": false }, "tag": { "description": "Robe\u017eas rezult\u0101ts ir noteikts produktiem, kuriem pie\u0161\u0137irts \u012bpa\u0161s birkas ID.", "type": "string", "required": false }, "shipping_class": { "description": "Ierobe\u017eots rezult\u0101ts, kas noteikts produktiem, kuriem pie\u0161\u0137irts konkr\u0113ts pieg\u0101des klases ID.", "type": "string", "required": false }, "attribute": { "description": "Limit result set to products with a specific attribute. Use the taxonomy name\/attribute slug.", "type": "string", "required": false }, "attribute_term": { "description": "Ierobe\u017eojo\u0161ais rezult\u0101ts ir noteikts produktiem ar \u012bpa\u0161u atrib\u016btu terminu ID (nepiecie\u0161ams pie\u0161\u0137irts atrib\u016bts).", "type": "string", "required": false }, "in_stock": { "description": "Robe\u017ev\u0113rt\u012bba, kas noteikta kr\u0101jumu vai noliktav\u0101 eso\u0161iem produktiem.", "type": "boolean", "required": false }, "on_sale": { "description": "Ierobe\u017eots rezult\u0101ts p\u0101rdo\u0161anas produktiem.", "type": "boolean", "required": false }, "min_price": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem, kuru pamat\u0101 ir minim\u0101l\u0101 cena.", "type": "string", "required": false }, "max_price": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem, kuru pamat\u0101 ir maksim\u0101l\u0101 cena.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Limit meta_data to specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Ensure meta_data excludes specific keys.", "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:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v3\/products\/suggested-products" } ] } }, "\/wc\/v3\/products\/(?P[\\d]+)\/duplicate": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "name": { "description": "Produkta nosaukums.", "type": "string", "required": false }, "slug": { "description": "Produkta taka.", "type": "string", "required": false }, "date_created": { "description": "Datums, kad produkts tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Produkta izveides datums k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "type": { "description": "Produkta tips.", "type": "string", "enum": [ "simple", "grouped", "external", "variable" ], "required": false }, "status": { "description": "Produkta statuss (pasta statuss).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "description": "Pied\u0101v\u0101tais produkts.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Kataloga redzam\u012bba.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Produkta apraksts.", "type": "string", "required": false }, "short_description": { "description": "Produkta \u012bss apraksts.", "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": "Produkta cena.", "type": "string", "required": false }, "sale_price": { "description": "Produkta akcijas cena.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Akciju s\u0101kuma datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "S\u0101kuma datums izp\u0101rdo\u0161anas cen\u0101m, k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "Ja produkts ir virtu\u0101ls.", "type": "boolean", "required": false }, "downloadable": { "description": "Ja produkts ir lejupiel\u0101d\u0113jams.", "type": "boolean", "required": false }, "downloads": { "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer", "required": false }, "download_expiry": { "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer", "required": false }, "external_url": { "description": "Produkta \u0101r\u0113jais URL. Tikai \u0101r\u0113jiem produktiem.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Produkta \u0101r\u0113jais pogas teksts. Tikai \u0101r\u0113jiem produktiem.", "type": "string", "required": false }, "tax_status": { "description": "Nodok\u013cu status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Nodok\u013cu likme.", "type": "string", "required": false }, "manage_stock": { "description": "Kr\u0101jumu p\u0101rvald\u012bba produktu l\u012bmen\u012b.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Daudzums noliktav\u0101.", "type": "integer", "required": false }, "stock_status": { "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the product.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "description": "At\u013caut vienu preci nopirkt vien\u0101 pas\u016bt\u012bjum\u0101.", "type": "boolean", "required": false }, "weight": { "description": "Produkta svars (kg).", "type": "string", "required": false }, "dimensions": { "description": "Produkta izm\u0113ri.", "type": "object", "properties": { "length": { "description": "Produkta garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Produkta platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Produkta augstums (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Pieg\u0101des klases taka.", "type": "string", "required": false }, "reviews_allowed": { "description": "At\u013caut atsauksmes", "type": "boolean", "required": false }, "post_password": { "description": "Post password.", "type": "string", "required": false }, "upsell_ids": { "description": "Saraksts ar piep\u0101rdo\u0161anas produktu ID.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Saraksts ar piep\u0101rdo\u0161anas produktu ID.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "Produkta vec\u0101ku ID.", "type": "integer", "required": false }, "purchase_note": { "description": "Izv\u0113les piez\u012bme, lai nos\u016bt\u012btu klientu p\u0113c pirkuma.", "type": "string", "required": false }, "categories": { "description": "Kategoriju saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Kategorijas ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Kategorijas nosaukums.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Kategorijas kods.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "brands": { "description": "List of brands.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Brand ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Brand name.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Brand slug.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Birku sarakst.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Birkas ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Birkas nosaukums", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Birkas taka.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Att\u0113lu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Atrib\u016btu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Atrib\u016bta poz\u012bcija", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Nor\u0101diet, vai produkta lap\u0101 ciln\u0113 \"Papildinform\u0101cija\" ir redzams atrib\u016bts.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Noteikt, vai atrib\u016btu var izmantot k\u0101 vari\u0101ciju.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Atrib\u016bta pieejamo terminu nosaukumi.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Noklus\u0113juma variantu atrib\u016bti.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto pas\u016bt\u012bjuma \u0161\u0137iro\u0161anai.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "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": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eojiet rezult\u0101tus tiem, kas atbilst virknei.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "menu_order" ], "required": false }, "parent": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz noteiktu vec\u0101ku ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz visiem vienumiem, iz\u0146emot konkr\u0113ta vec\u0101ka ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem ar \u012bpa\u0161u taku.", "type": "string", "required": false }, "status": { "default": "any", "description": "Robe\u017eas rezult\u0101ts ir noteikts produktiem, kam pie\u0161\u0137irts \u012bpa\u0161s statuss.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "sku": { "description": "Robe\u017ea rezult\u0101ts tiek noteikts produktiem ar konkr\u0113tu SKU. Izmantojiet komatus, lai no\u0161\u0137irtu.", "type": "string", "required": false }, "on_sale": { "description": "Ierobe\u017eots rezult\u0101ts p\u0101rdo\u0161anas produktiem.", "type": "boolean", "required": false }, "min_price": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem, kuru pamat\u0101 ir minim\u0101l\u0101 cena.", "type": "string", "required": false }, "max_price": { "description": "Robe\u017eas rezult\u0101ts tiek noteikts produktiem, kuru pamat\u0101 ir maksim\u0101l\u0101 cena.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Limit meta_data to specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Ensure meta_data excludes specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Rezult\u0101tu kopas ierobe\u017eo\u0161ana uz produktiem ar nor\u0101d\u012bto kr\u0101jumu statusu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "has_price": { "description": "Limit result set to products with or without price.", "type": "boolean", "required": false }, "attributes": { "description": "Limit result set to products with specified attributes.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "type": "string", "description": "Attribute slug." }, "term": { "type": "string", "description": "Attribute term." }, "terms": { "type": "array", "description": "Attribute terms." } } }, "required": false }, "virtual": { "description": "Limit result set to virtual product variations.", "type": "boolean", "required": false }, "downloadable": { "description": "Limit result set to downloadable product variations.", "type": "boolean", "required": false }, "include_status": { "description": "Limit result set to product variations with any of the statuses.", "type": "array", "items": { "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "exclude_status": { "description": "Exclude product variations with any of the statuses from result set.", "type": "array", "items": { "type": "string", "enum": [ "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "description": { "description": "Vari\u0101cijas apraksts.", "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": "Vari\u0101cijas regul\u0101r\u0101 cena.", "type": "string", "required": false }, "sale_price": { "description": "Vari\u0101cijas p\u0101rdo\u0161anas cena.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Akciju s\u0101kuma datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "S\u0101kuma datums izp\u0101rdo\u0161anas cen\u0101m, k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "status": { "default": "publish", "description": "Vari\u0101cijas statuss.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "default": false, "description": "Ja vari\u0101cija ir virtu\u0101la.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Ja vari\u0101cija ir lejupiel\u0101d\u0113jama.", "type": "boolean", "required": false }, "downloads": { "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "Nodok\u013cu status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Nodok\u013cu likme.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Noliktavas uzskaite vari\u0101cijas l\u012bmen\u012b.", "type": [ "boolean", "string" ], "required": false }, "stock_quantity": { "description": "Daudzums noliktav\u0101.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the variation.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Vari\u0101cijas svars (kg).", "type": "string", "required": false }, "dimensions": { "description": "Vari\u0101ciju izm\u0113ri.", "type": "object", "properties": { "length": { "description": "Vari\u0101cijas garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Vari\u0101cijas platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Vari\u0101cijas augstums (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Pieg\u0101des klases taka.", "type": "string", "required": false }, "image": { "description": "Vari\u0101cijas att\u0113la dati.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Atrib\u016btu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto pas\u016bt\u012bjuma \u0161\u0137iro\u0161anai.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "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": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "id": { "description": "Unik\u0101ls vari\u0101cijas identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "id": { "description": "Unik\u0101ls vari\u0101cijas identifikators.", "type": "integer", "required": false }, "description": { "description": "Vari\u0101cijas apraksts.", "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": "Vari\u0101cijas regul\u0101r\u0101 cena.", "type": "string", "required": false }, "sale_price": { "description": "Vari\u0101cijas p\u0101rdo\u0161anas cena.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Akciju s\u0101kuma datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "S\u0101kuma datums izp\u0101rdo\u0161anas cen\u0101m, k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "status": { "description": "Vari\u0101cijas statuss.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "description": "Ja vari\u0101cija ir virtu\u0101la.", "type": "boolean", "required": false }, "downloadable": { "description": "Ja vari\u0101cija ir lejupiel\u0101d\u0113jama.", "type": "boolean", "required": false }, "downloads": { "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer", "required": false }, "download_expiry": { "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer", "required": false }, "tax_status": { "description": "Nodok\u013cu status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Nodok\u013cu likme.", "type": "string", "required": false }, "manage_stock": { "description": "Noliktavas uzskaite vari\u0101cijas l\u012bmen\u012b.", "type": [ "boolean", "string" ], "required": false }, "stock_quantity": { "description": "Daudzums noliktav\u0101.", "type": "integer", "required": false }, "stock_status": { "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the variation.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Vari\u0101cijas svars (kg).", "type": "string", "required": false }, "dimensions": { "description": "Vari\u0101ciju izm\u0113ri.", "type": "object", "properties": { "length": { "description": "Vari\u0101cijas garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Vari\u0101cijas platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Vari\u0101cijas augstums (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Pieg\u0101des klases taka.", "type": "string", "required": false }, "image": { "description": "Vari\u0101cijas att\u0113la dati.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Atrib\u016btu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto pas\u016bt\u012bjuma \u0161\u0137iro\u0161anai.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "description": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "id": { "description": "Unik\u0101ls vari\u0101cijas identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Vai apiet atkritumus un uzspiest dz\u0113\u0161anu.", "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": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "description": { "description": "Vari\u0101cijas apraksts.", "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": "Vari\u0101cijas regul\u0101r\u0101 cena.", "type": "string", "required": false }, "sale_price": { "description": "Vari\u0101cijas p\u0101rdo\u0161anas cena.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Akciju s\u0101kuma datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "S\u0101kuma datums izp\u0101rdo\u0161anas cen\u0101m, k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "status": { "description": "Vari\u0101cijas statuss.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "description": "Ja vari\u0101cija ir virtu\u0101la.", "type": "boolean", "required": false }, "downloadable": { "description": "Ja vari\u0101cija ir lejupiel\u0101d\u0113jama.", "type": "boolean", "required": false }, "downloads": { "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer", "required": false }, "download_expiry": { "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer", "required": false }, "tax_status": { "description": "Nodok\u013cu status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Nodok\u013cu likme.", "type": "string", "required": false }, "manage_stock": { "description": "Noliktavas uzskaite vari\u0101cijas l\u012bmen\u012b.", "type": [ "boolean", "string" ], "required": false }, "stock_quantity": { "description": "Daudzums noliktav\u0101.", "type": "integer", "required": false }, "stock_status": { "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the variation.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Vari\u0101cijas svars (kg).", "type": "string", "required": false }, "dimensions": { "description": "Vari\u0101ciju izm\u0113ri.", "type": "object", "properties": { "length": { "description": "Vari\u0101cijas garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Vari\u0101cijas platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Vari\u0101cijas augstums (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Pieg\u0101des klases taka.", "type": "string", "required": false }, "image": { "description": "Vari\u0101cijas att\u0113la dati.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Atrib\u016btu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto pas\u016bt\u012bjuma \u0161\u0137iro\u0161anai.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "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": "Main\u012bg\u0101 produkta unik\u0101lais identifikators.", "type": "integer", "required": false }, "delete": { "description": "Deletes unused variations.", "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": "Vari\u0101cijas apraksts.", "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": "Vari\u0101cijas regul\u0101r\u0101 cena.", "type": "string" }, "sale_price": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Vari\u0101cijas p\u0101rdo\u0161anas cena.", "type": "string" }, "date_on_sale_from": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Akciju s\u0101kuma datums vietnes laika zon\u0101.", "type": [ "null", "string" ] }, "date_on_sale_from_gmt": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "S\u0101kuma datums izp\u0101rdo\u0161anas cen\u0101m, k\u0101 GMT.", "type": [ "null", "string" ] }, "date_on_sale_to": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ] }, "date_on_sale_to_gmt": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ] }, "status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Vari\u0101cijas statuss.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ] }, "virtual": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Ja vari\u0101cija ir virtu\u0101la.", "type": "boolean" }, "downloadable": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Ja vari\u0101cija ir lejupiel\u0101d\u0113jama.", "type": "boolean" }, "downloads": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer" }, "download_expiry": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer" }, "tax_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Nodok\u013cu status.", "type": "string", "enum": [ "taxable", "shipping", "none" ] }, "tax_class": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Nodok\u013cu likme.", "type": "string" }, "manage_stock": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Noliktavas uzskaite vari\u0101cijas l\u012bmen\u012b.", "type": [ "boolean", "string" ] }, "stock_quantity": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Daudzums noliktav\u0101.", "type": "integer" }, "stock_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ] }, "backorders": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "enum": [ "no", "notify", "yes" ] }, "low_stock_amount": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Low Stock amount for the variation.", "type": [ "integer", "null" ] }, "weight": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Vari\u0101cijas svars (kg).", "type": "string" }, "dimensions": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Vari\u0101ciju izm\u0113ri.", "type": "object", "properties": { "length": { "description": "Vari\u0101cijas garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Vari\u0101cijas platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Vari\u0101cijas augstums (cm).", "type": "string", "context": [ "view", "edit" ] } } }, "shipping_class": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Pieg\u0101des klases taka.", "type": "string" }, "image": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Vari\u0101cijas att\u0113la dati.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } } }, "attributes": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Atrib\u016btu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } } }, "menu_order": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Izv\u0113lnes sec\u012bba, ko izmanto pas\u016bt\u012bjuma \u0161\u0137iro\u0161anai.", "type": "integer" }, "meta_data": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } }, "required": false }, "description": { "description": "Vari\u0101cijas apraksts.", "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": "Vari\u0101cijas regul\u0101r\u0101 cena.", "type": "string", "required": false }, "sale_price": { "description": "Vari\u0101cijas p\u0101rdo\u0161anas cena.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Akciju s\u0101kuma datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "S\u0101kuma datums izp\u0101rdo\u0161anas cen\u0101m, k\u0101 GMT.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "P\u0101rdo\u0161anas cenas beigu datums vietnes laika zon\u0101.", "type": [ "null", "string" ], "required": false }, "status": { "default": "publish", "description": "Vari\u0101cijas statuss.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "default": false, "description": "Ja vari\u0101cija ir virtu\u0101la.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Ja vari\u0101cija ir lejupiel\u0101d\u0113jama.", "type": "boolean", "required": false }, "downloads": { "description": "Lejupiel\u0101\u017eu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Faila ID.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Faila nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "Faila saite.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Cik rei\u017eu lejupiel\u0101d\u0113jamus failus var lejupiel\u0101d\u0113t p\u0113c ieg\u0101des.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Dienu skaits, l\u012bdz beidzas piek\u013cuve lejupiel\u0101d\u0113jamiem failiem.", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "Nodok\u013cu status.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Nodok\u013cu likme.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Noliktavas uzskaite vari\u0101cijas l\u012bmen\u012b.", "type": [ "boolean", "string" ], "required": false }, "stock_quantity": { "description": "Daudzums noliktav\u0101.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Controls the stock status of the product.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "Ja p\u0101rvald\u0101t kr\u0101jumus, tas kontrol\u0113, vai ir at\u013cauti aizkav\u0113tie pas\u016bt\u012bjumi.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Low Stock amount for the variation.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Vari\u0101cijas svars (kg).", "type": "string", "required": false }, "dimensions": { "description": "Vari\u0101ciju izm\u0113ri.", "type": "object", "properties": { "length": { "description": "Vari\u0101cijas garums (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Vari\u0101cijas platums (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Vari\u0101cijas augstums (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Pieg\u0101des klases taka.", "type": "string", "required": false }, "image": { "description": "Vari\u0101cijas att\u0113la dati.", "type": "object", "properties": { "id": { "description": "Att\u0113la ID.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Datums, kad att\u0113ls tika izveidots, vietnes laika josl\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Datums, kad att\u0113ls tika izveidots, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Datums, kad att\u0113ls p\u0113d\u0113jo reizi tika main\u012bts, vietnes laika zon\u0101.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Datums, kad att\u0113ls tika p\u0113d\u0113joreiz main\u012bts, k\u0101 GMT.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "Att\u0113la URL.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Att\u0113la nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Att\u0113la alternat\u012bvais teksts.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Atrib\u016btu saraksts.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Atrib\u016btu ID.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Atrib\u016bta nosaukums.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Selected attribute term name.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Izv\u0113lnes sec\u012bba, ko izmanto pas\u016bt\u012bjuma \u0161\u0137iro\u0161anai.", "type": "integer", "required": false }, "meta_data": { "description": "Meta dati.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Meta atsl\u0113ga", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Meta v\u0113rt\u012bba", "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": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eojiet rezult\u0101tus tiem, kas atbilst virknei.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Limit response to resources modified after a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Limit response to resources modified before a given ISO8601 compliant date.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Whether to consider GMT post dates when limiting response by published or modified date.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "parent": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz noteiktu vec\u0101ku ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Robe\u017eas rezult\u0101ts ir iestat\u012bts uz visiem vienumiem, iz\u0146emot konkr\u0113ta vec\u0101ka ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "dp": { "default": 2, "description": "Decim\u0101lda\u013cu skaits ko izmantos katr\u0101 resurs\u0101.", "type": "integer", "required": false }, "order_item_display_meta": { "default": false, "description": "Only show meta which is meant to be displayed for an order.", "type": "boolean", "required": false }, "include_meta": { "default": [], "description": "Limit meta_data to specific keys.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Ensure meta_data excludes specific keys.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v3\/refunds" } ] } }, "\/wc\/v3\/reports\/sales": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "period": { "description": "Atskaites periods.", "type": "string", "enum": [ "week", "month", "last_month", "year" ], "required": false }, "date_min": { "description": "Atgriezt p\u0101rdo\u0161an\u0101 konkr\u0113t\u0101 s\u0101kuma datum\u0101, datums ir YYYY-MM-DD form\u0101t\u0101.", "type": "string", "format": "date", "required": false }, "date_max": { "description": "Atgriezt p\u0101rdo\u0161an\u0101 konkr\u0113t\u0101 beigu datum\u0101, datums ir YYYY-MM-DD form\u0101t\u0101.", "type": "string", "format": "date", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v3\/reports\/sales" } ] } }, "\/wc\/v3\/reports\/top_sellers": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "period": { "description": "Atskaites periods.", "type": "string", "enum": [ "week", "month", "last_month", "year" ], "required": false }, "date_min": { "description": "Atgriezt p\u0101rdo\u0161an\u0101 konkr\u0113t\u0101 s\u0101kuma datum\u0101, datums ir YYYY-MM-DD form\u0101t\u0101.", "type": "string", "format": "date", "required": false }, "date_max": { "description": "Atgriezt p\u0101rdo\u0161an\u0101 konkr\u0113t\u0101 beigu datum\u0101, datums ir YYYY-MM-DD form\u0101t\u0101.", "type": "string", "format": "date", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v3\/reports\/top_sellers" } ] } }, "\/wc\/v3\/reports\/orders\/totals": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v3\/reports\/orders\/totals" } ] } }, "\/wc\/v3\/reports\/products\/totals": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v3\/reports\/products\/totals" } ] } }, "\/wc\/v3\/reports\/customers\/totals": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v3\/reports\/customers\/totals" } ] } }, "\/wc\/v3\/reports\/coupons\/totals": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v3\/reports\/coupons\/totals" } ] } }, "\/wc\/v3\/reports\/reviews\/totals": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v3\/reports\/reviews\/totals" } ] } }, "\/wc\/v3\/reports": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v3\/reports" } ] } }, "\/wc\/v3\/settings": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v3\/settings\/batch" } ] } }, "\/wc\/v3\/settings\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "group": { "description": "Iestat\u012bjumu grupas 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": "Iestat\u012bjumu grupas ID.", "type": "string", "required": false }, "value": { "description": "Iestat\u012bjumu v\u0113rt\u012bba.", "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": "Iestat\u012bjumu grupas ID.", "type": "string", "required": false }, "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "description": "Iestat\u012bjumu grupas ID.", "type": "string", "required": false }, "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "string", "required": false }, "value": { "description": "Iestat\u012bjumu v\u0113rt\u012bba.", "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": "Pieg\u0101des zonas nosaukums", "required": true }, "order": { "description": "Pieg\u0101des zonas pas\u016bt\u012bjums.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Resursa unik\u0101lais ID.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais ID.", "type": "integer", "required": false }, "name": { "description": "Pieg\u0101des zonas nosaukums", "type": "string", "required": false }, "order": { "description": "Pieg\u0101des zonas pas\u016bt\u012bjums.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais ID.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Vai apiet atkritumus un uzspiest dz\u0113\u0161anu.", "required": false } } } ] }, "\/wc\/v3\/shipping\/zones\/(?P[\\d]+)\/locations": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Resursa unik\u0101lais ID.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais ID.", "type": "integer", "required": false }, "code": { "description": "Pieg\u0101de zonas atra\u0161an\u0101s vietas kods.", "type": "string", "required": false }, "type": { "description": "Pieg\u0101de zonas atra\u0161an\u0101s vietas veids.", "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": "Unik\u0101ls zonas ID.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "zone_id": { "description": "Unik\u0101ls zonas ID.", "type": "integer", "required": false }, "order": { "description": "Pieg\u0101des veidu k\u0101rto\u0161anas sec\u012bba.", "type": "integer", "required": false }, "enabled": { "description": "Pieg\u0101des metode ir iesp\u0113jota.", "type": "boolean", "required": false }, "settings": { "description": "Pieg\u0101des veida iestat\u012bjumi.", "type": "object", "properties": { "id": { "description": "Unik\u0101ls iestat\u012bjuma identifikators.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Cilv\u0113ka las\u0101ms mar\u0137\u0113jums, lai noteiktu, k\u0101 izmanto saskarni.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "description": { "description": "Cilv\u0113kam las\u0101ms apraksts par saskarnes iestat\u012bjumu izmanto\u0161anu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "type": { "description": "Iestat\u012bjuma veids.", "type": "string", "context": [ "view", "edit" ], "enum": [ "text", "email", "number", "color", "password", "textarea", "select", "multiselect", "radio", "image_width", "checkbox", "class", "order" ], "readonly": true }, "value": { "description": "Iestat\u012bjumu v\u0113rt\u012bba.", "type": "string", "context": [ "view", "edit" ] }, "default": { "description": "Iestat\u012bjuma noklus\u0113juma v\u0113rt\u012bba.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "tip": { "description": "Papildu pal\u012bdz\u012bbas teksts, kas lietot\u0101jam tiek par\u0101d\u012bts par iestat\u012bjumu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "placeholder": { "description": "Vietr\u0101\u017ea tekstu, kas tiks par\u0101d\u012bts teksta ievad\u012b\u0161an\u0101.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "method_id": { "description": "Pieg\u0101des veida 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": "Unik\u0101ls zonas ID.", "type": "integer", "required": false }, "instance_id": { "description": "Piem\u0113ram, unik\u0101ls ID.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "zone_id": { "description": "Unik\u0101ls zonas ID.", "type": "integer", "required": false }, "instance_id": { "description": "Piem\u0113ram, unik\u0101ls ID.", "type": "integer", "required": false }, "order": { "description": "Pieg\u0101des veidu k\u0101rto\u0161anas sec\u012bba.", "type": "integer", "required": false }, "enabled": { "description": "Pieg\u0101des metode ir iesp\u0113jota.", "type": "boolean", "required": false }, "settings": { "description": "Pieg\u0101des veida iestat\u012bjumi.", "type": "object", "properties": { "id": { "description": "Unik\u0101ls iestat\u012bjuma identifikators.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Cilv\u0113ka las\u0101ms mar\u0137\u0113jums, lai noteiktu, k\u0101 izmanto saskarni.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "description": { "description": "Cilv\u0113kam las\u0101ms apraksts par saskarnes iestat\u012bjumu izmanto\u0161anu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "type": { "description": "Iestat\u012bjuma veids.", "type": "string", "context": [ "view", "edit" ], "enum": [ "text", "email", "number", "color", "password", "textarea", "select", "multiselect", "radio", "image_width", "checkbox", "class", "order" ], "readonly": true }, "value": { "description": "Iestat\u012bjumu v\u0113rt\u012bba.", "type": "string", "context": [ "view", "edit" ] }, "default": { "description": "Iestat\u012bjuma noklus\u0113juma v\u0113rt\u012bba.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "tip": { "description": "Papildu pal\u012bdz\u012bbas teksts, kas lietot\u0101jam tiek par\u0101d\u012bts par iestat\u012bjumu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "placeholder": { "description": "Vietr\u0101\u017ea tekstu, kas tiks par\u0101d\u012bts teksta ievad\u012b\u0161an\u0101.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "zone_id": { "description": "Unik\u0101ls zonas ID.", "type": "integer", "required": false }, "instance_id": { "description": "Piem\u0113ram, unik\u0101ls ID.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Vai apiet atkritumus un uzspiest dz\u0113\u0161anu.", "required": false } } } ] }, "\/wc\/v3\/taxes\/classes": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Nodok\u013cu kategorijas nosaukums.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Unik\u0101la taka priek\u0161 resursa.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "slug": { "description": "Unik\u0101la taka priek\u0161 resursa.", "type": "string", "required": false }, "force": { "default": false, "type": "boolean", "description": "Nepiecie\u0161ams b\u016bt patiesam, jo resurss neatbalsta m\u0113slo\u0161anu.", "required": false } } } ] }, "\/wc\/v3\/taxes": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Kolekcijas pa\u0161reiz\u0113j\u0101 lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais priek\u0161metu skaits, kas j\u0101nog\u0101d\u0101 rezult\u0101tu kopum\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "order", "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "enum": [ "id", "order", "priority" ], "type": "string", "required": false }, "class": { "description": "K\u0101rtot p\u0113c nodok\u013cu klases.", "enum": [ "standard", "%e5%87%8f%e7%a8%8e%e7%a8%8e%e7%8e%87", "%e9%9b%b6%e7%a8%8e%e7%8e%87" ], "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "country": { "description": "Valsts ISO 3166 kods.", "type": "string", "required": false }, "state": { "description": "Valsts kods.", "type": "string", "required": false }, "postcode": { "description": "Postcode\/ZIP, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'postcodes' should be used instead.", "type": "string", "required": false }, "city": { "description": "City name, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'cities' should be used instead.", "type": "string", "required": false }, "rate": { "description": "Nodok\u013ca likme.", "type": "string", "required": false }, "name": { "description": "Nodok\u013ca likmes nosaukums.", "type": "string", "required": false }, "priority": { "default": 1, "description": "Nodok\u013cu priorit\u0101te.", "type": "integer", "required": false }, "compound": { "default": false, "description": "Neatkar\u012bgi no t\u0101, vai \u0161\u012b ir salikt\u0101 likme.", "type": "boolean", "required": false }, "shipping": { "default": true, "description": "Vai \u0161\u012b nodok\u013ca likme ar\u012b tiek piem\u0113rota pieg\u0101dei.", "type": "boolean", "required": false }, "order": { "description": "Nor\u0101da pas\u016bt\u012bjumu, kas tiks par\u0101d\u012bts vaic\u0101jumos.", "type": "integer", "required": false }, "class": { "default": "standard", "description": "Nodok\u013cu likme.", "type": "string", "enum": [ "standard", "%e5%87%8f%e7%a8%8e%e7%a8%8e%e7%8e%87", "%e9%9b%b6%e7%a8%8e%e7%8e%87" ], "required": false }, "postcodes": { "description": "List of postcodes \/ ZIPs. Introduced in WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false }, "cities": { "description": "List of city names. Introduced in WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "country": { "description": "Valsts ISO 3166 kods.", "type": "string", "required": false }, "state": { "description": "Valsts kods.", "type": "string", "required": false }, "postcode": { "description": "Postcode\/ZIP, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'postcodes' should be used instead.", "type": "string", "required": false }, "city": { "description": "City name, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'cities' should be used instead.", "type": "string", "required": false }, "rate": { "description": "Nodok\u013ca likme.", "type": "string", "required": false }, "name": { "description": "Nodok\u013ca likmes nosaukums.", "type": "string", "required": false }, "priority": { "description": "Nodok\u013cu priorit\u0101te.", "type": "integer", "required": false }, "compound": { "description": "Neatkar\u012bgi no t\u0101, vai \u0161\u012b ir salikt\u0101 likme.", "type": "boolean", "required": false }, "shipping": { "description": "Vai \u0161\u012b nodok\u013ca likme ar\u012b tiek piem\u0113rota pieg\u0101dei.", "type": "boolean", "required": false }, "order": { "description": "Nor\u0101da pas\u016bt\u012bjumu, kas tiks par\u0101d\u012bts vaic\u0101jumos.", "type": "integer", "required": false }, "class": { "description": "Nodok\u013cu likme.", "type": "string", "enum": [ "standard", "%e5%87%8f%e7%a8%8e%e7%a8%8e%e7%8e%87", "%e9%9b%b6%e7%a8%8e%e7%8e%87" ], "required": false }, "postcodes": { "description": "List of postcodes \/ ZIPs. Introduced in WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false }, "cities": { "description": "List of city names. Introduced in WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Nepiecie\u0161ams b\u016bt patiesam, jo resurss neatbalsta m\u0113slo\u0161anu.", "required": false } } } ] }, "\/wc\/v3\/taxes\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "country": { "description": "Valsts ISO 3166 kods.", "type": "string", "required": false }, "state": { "description": "Valsts kods.", "type": "string", "required": false }, "postcode": { "description": "Postcode\/ZIP, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'postcodes' should be used instead.", "type": "string", "required": false }, "city": { "description": "City name, it doesn't support multiple values. Deprecated as of WooCommerce 5.3, 'cities' should be used instead.", "type": "string", "required": false }, "rate": { "description": "Nodok\u013ca likme.", "type": "string", "required": false }, "name": { "description": "Nodok\u013ca likmes nosaukums.", "type": "string", "required": false }, "priority": { "description": "Nodok\u013cu priorit\u0101te.", "type": "integer", "required": false }, "compound": { "description": "Neatkar\u012bgi no t\u0101, vai \u0161\u012b ir salikt\u0101 likme.", "type": "boolean", "required": false }, "shipping": { "description": "Vai \u0161\u012b nodok\u013ca likme ar\u012b tiek piem\u0113rota pieg\u0101dei.", "type": "boolean", "required": false }, "order": { "description": "Nor\u0101da pas\u016bt\u012bjumu, kas tiks par\u0101d\u012bts vaic\u0101jumos.", "type": "integer", "required": false }, "class": { "description": "Nodok\u013cu likme.", "type": "string", "enum": [ "standard", "%e5%87%8f%e7%a8%8e%e7%a8%8e%e7%8e%87", "%e9%9b%b6%e7%a8%8e%e7%8e%87" ], "required": false }, "postcodes": { "description": "List of postcodes \/ ZIPs. Introduced in WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false }, "cities": { "description": "List of city names. Introduced in WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v3\/taxes\/batch" } ] } }, "\/wc\/v3\/webhooks": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti p\u0113c dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz resursiem, kas public\u0113ti pirms dotaj\u0101 ISO8601 atbilsto\u0161aj\u0101 datum\u0101.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Nodro\u0161iniet, lai rezult\u0101tu kopums izsl\u0113gtu konkr\u0113tus ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eots rezult\u0101ts iestat\u012bts uz konkr\u0113tiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Novirz\u012bt rezult\u0101tu, kas noteikts ar konkr\u0113tu priek\u0161metu skaitu.", "type": "integer", "required": false }, "order": { "description": "Pas\u016bt\u012bjumu k\u0101rto\u0161anas atrib\u016bts augo\u0161\u0101 vai dilsto\u0161\u0101 sec\u012bb\u0101.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "id", "title" ], "required": false }, "status": { "default": "all", "description": "Ierobe\u017eots rezult\u0101ts, kas iestat\u012bts uz webhooks, kam pie\u0161\u0137irts konkr\u0113ts statuss.", "type": "string", "enum": [ "all", "active", "paused", "disabled" ], "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Draudz\u012bgs v\u0101rds webhookam.", "type": "string", "required": false }, "status": { "default": "active", "description": "Webhookas statuss.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "type": "string", "description": "Webhook t\u0113ma.", "required": true }, "secret": { "description": "Slepen\u0101 atsl\u0113ga, ko izmanto, lai \u0123ener\u0113tu pieg\u0101d\u0101to webhoku hash un sniegtu piepras\u012bjuma galvenes. P\u0113c noklus\u0113juma MD5 hash n\u0101k no pa\u0161reiz\u0113j\u0101 lietot\u0101ja ID | lietot\u0101jv\u0101rda, ja tas nav nodro\u0161in\u0101ts.", "type": "string", "required": false }, "delivery_url": { "type": "string", "description": "Webhook pieg\u0101des URL.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "name": { "description": "Draudz\u012bgs v\u0101rds webhookam.", "type": "string", "required": false }, "status": { "description": "Webhookas statuss.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "description": "Webhook t\u0113ma.", "type": "string", "required": false }, "secret": { "description": "Slepen\u0101 atsl\u0113ga, ko izmanto, lai \u0123ener\u0113tu pieg\u0101d\u0101to webhoku hash un sniegtu piepras\u012bjuma galvenes. P\u0113c noklus\u0113juma MD5 hash n\u0101k no pa\u0161reiz\u0113j\u0101 lietot\u0101ja ID | lietot\u0101jv\u0101rda, ja tas nav nodro\u0161in\u0101ts.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Nepiecie\u0161ams b\u016bt patiesam, jo resurss neatbalsta m\u0113slo\u0161anu.", "required": false } } } ] }, "\/wc\/v3\/webhooks\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Draudz\u012bgs v\u0101rds webhookam.", "type": "string", "required": false }, "status": { "description": "Webhookas statuss.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "description": "Webhook t\u0113ma.", "type": "string", "required": false }, "secret": { "description": "Slepen\u0101 atsl\u0113ga, ko izmanto, lai \u0123ener\u0113tu pieg\u0101d\u0101to webhoku hash un sniegtu piepras\u012bjuma galvenes. P\u0113c noklus\u0113juma MD5 hash n\u0101k no pa\u0161reiz\u0113j\u0101 lietot\u0101ja ID | lietot\u0101jv\u0101rda, ja tas nav nodro\u0161in\u0101ts.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v3\/webhooks\/batch" } ] } }, "\/wc\/v3\/system_status": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v3\/system_status" } ] } }, "\/wc\/v3\/system_status\/tools": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Resursa unik\u0101lais identifikators.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Instrumenta unik\u0101lais identifikators.", "type": "string", "required": false }, "name": { "description": "R\u012bka nosaukums.", "type": "string", "required": false }, "action": { "description": "Ko darbojoties r\u012bks veiks.", "type": "string", "required": false }, "description": { "description": "R\u012bka apraksts.", "type": "string", "required": false }, "success": { "description": "Vai r\u012bks darbojas veiksm\u012bgi?", "type": "boolean", "required": false }, "message": { "description": "R\u012bka atgrie\u0161an\u0101s zi\u0146ojums.", "type": "string", "required": false } } } ] }, "\/wc\/v3\/shipping_methods": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v3\/shipping_methods" } ] } }, "\/wc\/v3\/shipping_methods\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "string", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ] }, "\/wc\/v3\/payment_gateways": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Resursa unik\u0101lais identifikators.", "type": "string", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Resursa unik\u0101lais identifikators.", "type": "string", "required": false }, "title": { "description": "Maks\u0101jumu v\u0101rtejas nosaukums izrakst\u0101.", "type": "string", "required": false }, "description": { "description": "Maks\u0101jumu v\u0101rtejas apraksts izrakst\u012b\u0161an\u0101s br\u012bd\u012b.", "type": "string", "required": false }, "order": { "description": "Maks\u0101jumu v\u0101rtejas \u0161\u0137iro\u0161anas sec\u012bba.", "type": "integer", "required": false }, "enabled": { "description": "Iesp\u0113jotas maks\u0101jumu v\u0101rtejas statuss.", "type": "boolean", "required": false }, "settings": { "description": "Maks\u0101jumu v\u0101rtejas iestat\u012bjumi.", "type": "object", "properties": { "id": { "description": "Unik\u0101ls iestat\u012bjuma identifikators.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Cilv\u0113ka las\u0101ms mar\u0137\u0113jums, lai noteiktu, k\u0101 izmanto saskarni.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "description": { "description": "Cilv\u0113kam las\u0101ms apraksts par saskarnes iestat\u012bjumu izmanto\u0161anu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "type": { "description": "Iestat\u012bjuma veids.", "type": "string", "context": [ "view", "edit" ], "enum": [ "text", "email", "number", "color", "password", "textarea", "select", "multiselect", "radio", "image_width", "checkbox" ], "readonly": true }, "value": { "description": "Iestat\u012bjumu v\u0113rt\u012bba.", "type": "string", "context": [ "view", "edit" ] }, "default": { "description": "Iestat\u012bjuma noklus\u0113juma v\u0113rt\u012bba.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "tip": { "description": "Papildu pal\u012bdz\u012bbas teksts, kas lietot\u0101jam tiek par\u0101d\u012bts par iestat\u012bjumu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "placeholder": { "description": "Vietr\u0101\u017ea tekstu, kas tiks par\u0101d\u012bts teksta ievad\u012b\u0161an\u0101.", "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:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v3\/data" } ] } }, "\/wc\/v3\/data\/continents": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v3\/data\/continents" } ] } }, "\/wc\/v3\/data\/continents\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "continent": { "description": "2 character continent code.", "type": "string", "required": false } } } ] }, "\/wc\/v3\/data\/countries": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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 country code.", "type": "string", "required": false } } } ] }, "\/wc\/v3\/data\/currencies": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v3\/data\/currencies" } ] } }, "\/wc\/v3\/data\/currencies\/current": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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 val\u016btas kods.", "type": "string", "required": false } } } ] }, "\/wc\/v3\/orders\/(?P[\\d]+)\/receipt": { "namespace": "wc\/v3", "methods": [ "POST", "GET" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "Unique identifier of the order.", "type": "integer", "required": false }, "expiration_date": { "description": "Expiration date formatted as yyyy-mm-dd.", "type": "string", "default": null, "required": false }, "expiration_days": { "description": "Number of days to be added to the current date to get the expiration date.", "type": "integer", "default": 1, "required": false }, "force_new": { "description": "True to force the creation of a new receipt even if one already exists and has not expired yet.", "type": "boolean", "default": false, "required": false } } }, { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier of the order.", "type": "integer", "required": false } } } ] }, "\/wc\/v3\/orders\/(?P[\\d]+)\/actions\/email_templates": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier of the order.", "type": "integer", "required": false } } } ] }, "\/wc\/v3\/orders\/(?P[\\d]+)\/actions\/send_email": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "Unique identifier of the order.", "type": "integer", "required": false }, "email": { "description": "Email address to send the order details to.", "type": "string", "format": "email", "required": false }, "force_email_update": { "description": "Whether to update the billing email of the order, even if it already has one.", "type": "boolean", "required": false }, "template_id": { "description": "The ID of the template to use for sending the email.", "type": "string", "enum": [ "new_order", "cancelled_order", "customer_cancelled_order", "failed_order", "customer_failed_order", "customer_on_hold_order", "customer_processing_order", "customer_completed_order", "customer_refunded_order", "customer_invoice", "customer_note", "customer_reset_password", "customer_new_account", "customer_pos_completed_order", "customer_pos_refunded_order" ], "required": true } } } ] }, "\/wc\/v3\/orders\/(?P[\\d]+)\/actions\/send_order_details": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "Unique identifier of the order.", "type": "integer", "required": false }, "email": { "description": "Email address to send the order details to.", "type": "string", "format": "email", "required": false }, "force_email_update": { "description": "Whether to update the billing email of the order, even if it already has one.", "type": "boolean", "required": false } } } ] }, "\/wc\/v3\/orders\/statuses": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc\/v3\/orders\/statuses" } ] } }, "\/wc-admin\/settings\/payments\/country": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "location": { "description": "The ISO3166 alpha-2 country code to save for the current user.", "type": "string", "pattern": "[a-zA-Z]{2}", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-admin\/settings\/payments\/country" } ] } }, "\/wc-admin\/settings\/payments\/providers": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "location": { "description": "ISO3166 alpha-2 country code. Defaults to WooCommerce's base location country.", "type": "string", "pattern": "[a-zA-Z]{2}", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-admin\/settings\/payments\/providers" } ] } }, "\/wc-admin\/settings\/payments\/providers\/order": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "order_map": { "description": "A map of provider ID to integer values representing the sort order.", "type": "object", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-admin\/settings\/payments\/providers\/order" } ] } }, "\/wc-admin\/settings\/payments\/suggestion\/(?P[\\w\\d\\-]+)\/attach": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/wc-admin\/settings\/payments\/suggestion\/(?P[\\w\\d\\-]+)\/hide": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/wc-admin\/settings\/payments\/suggestion\/(?P[\\w\\d\\-]+)\/incentive\/(?P[\\w\\d\\-]+)\/dismiss": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "context": { "description": "The context ID for which to dismiss the incentive. If not provided, will dismiss the incentive for all contexts.", "type": "string", "required": false }, "do_not_track": { "description": "If true, the incentive dismissal will be ignored by tracking.", "type": "boolean", "default": false, "required": false } } } ] }, "\/wc-admin\/settings\/payments\/woopayments\/onboarding": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "location": { "description": "ISO3166 alpha-2 country code. Defaults to the stored providers business location country code.", "type": "string", "pattern": "[a-zA-Z]{2}", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-admin\/settings\/payments\/woopayments\/onboarding" } ] } }, "\/wc-admin\/settings\/payments\/woopayments\/onboarding\/step\/(?P[a-zA-Z0-9_-]+)\/start": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "location": { "description": "ISO3166 alpha-2 country code. Defaults to the stored providers business location country code.", "type": "string", "pattern": "[a-zA-Z]{2}", "required": false }, "source": { "description": "The upmost entry point from where the merchant entered the onboarding flow.", "type": "string", "required": false } } } ] }, "\/wc-admin\/settings\/payments\/woopayments\/onboarding\/step\/(?P[a-zA-Z0-9_-]+)\/save": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "location": { "description": "ISO3166 alpha-2 country code. Defaults to the stored providers business location country code.", "type": "string", "pattern": "[a-zA-Z]{2}", "required": false }, "source": { "description": "The upmost entry point from where the merchant entered the onboarding flow.", "type": "string", "required": false } } } ] }, "\/wc-admin\/settings\/payments\/woopayments\/onboarding\/step\/(?P[a-zA-Z0-9_-]+)\/check": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "location": { "description": "ISO3166 alpha-2 country code. Defaults to the stored providers business location country code.", "type": "string", "pattern": "[a-zA-Z]{2}", "required": false } } } ] }, "\/wc-admin\/settings\/payments\/woopayments\/onboarding\/step\/(?P[a-zA-Z0-9_-]+)\/finish": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "location": { "description": "ISO3166 alpha-2 country code. Defaults to the stored providers business location country code.", "type": "string", "pattern": "[a-zA-Z]{2}", "required": false }, "source": { "description": "The upmost entry point from where the merchant entered the onboarding flow.", "type": "string", "required": false } } } ] }, "\/wc-admin\/settings\/payments\/woopayments\/onboarding\/step\/(?P[a-zA-Z0-9_-]+)\/clean": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "location": { "description": "ISO3166 alpha-2 country code. Defaults to the stored providers business location country code.", "type": "string", "pattern": "[a-zA-Z]{2}", "required": false } } } ] }, "\/wc-admin\/settings\/payments\/woopayments\/onboarding\/step\/test_account\/init": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "location": { "description": "ISO3166 alpha-2 country code. Defaults to the stored providers business location country code.", "type": "string", "pattern": "[a-zA-Z]{2}", "required": false }, "source": { "description": "The upmost entry point from where the merchant entered the onboarding flow.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-admin\/settings\/payments\/woopayments\/onboarding\/step\/test_account\/init" } ] } }, "\/wc-admin\/settings\/payments\/woopayments\/onboarding\/step\/test_account\/reset": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "location": { "description": "ISO3166 alpha-2 country code. Defaults to the stored providers business location country code.", "type": "string", "pattern": "[a-zA-Z]{2}", "required": false }, "source": { "description": "The upmost entry point from where the merchant entered the onboarding flow.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-admin\/settings\/payments\/woopayments\/onboarding\/step\/test_account\/reset" } ] } }, "\/wc-admin\/settings\/payments\/woopayments\/onboarding\/step\/business_verification\/kyc_session": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "location": { "description": "ISO3166 alpha-2 country code. Defaults to the stored providers business location country code.", "type": "string", "pattern": "[a-zA-Z]{2}", "required": false }, "source": { "description": "The upmost entry point from where the merchant entered the onboarding flow.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-admin\/settings\/payments\/woopayments\/onboarding\/step\/business_verification\/kyc_session" } ] } }, "\/wc-admin\/settings\/payments\/woopayments\/onboarding\/step\/business_verification\/kyc_session\/finish": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "location": { "description": "ISO3166 alpha-2 country code. Defaults to the stored providers business location country code.", "type": "string", "pattern": "[a-zA-Z]{2}", "required": false }, "source": { "description": "The upmost entry point from where the merchant entered the onboarding flow.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-admin\/settings\/payments\/woopayments\/onboarding\/step\/business_verification\/kyc_session\/finish" } ] } }, "\/wc-admin\/settings\/payments\/woopayments\/onboarding\/step\/business_verification\/test_account\/disable": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "location": { "description": "ISO3166 alpha-2 country code. Defaults to the stored providers business location country code.", "type": "string", "pattern": "[a-zA-Z]{2}", "required": false }, "from": { "description": "Where from in the onboarding flow this request was triggered.", "type": "string", "required": false }, "source": { "description": "The upmost entry point from where the merchant entered the onboarding flow.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-admin\/settings\/payments\/woopayments\/onboarding\/step\/business_verification\/test_account\/disable" } ] } }, "\/wc-admin\/settings\/payments\/woopayments\/onboarding\/preload": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "location": { "description": "ISO3166 alpha-2 country code. Defaults to the stored providers business location country code.", "type": "string", "pattern": "[a-zA-Z]{2}", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-admin\/settings\/payments\/woopayments\/onboarding\/preload" } ] } }, "\/wc-admin\/settings\/payments\/woopayments\/onboarding\/reset": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "location": { "description": "ISO3166 alpha-2 country code. Defaults to the stored providers business location country code.", "type": "string", "pattern": "[a-zA-Z]{2}", "required": false }, "from": { "description": "Where from in the onboarding flow this request was triggered.", "type": "string", "required": false }, "source": { "description": "The upmost entry point from where the merchant entered the onboarding flow.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-admin\/settings\/payments\/woopayments\/onboarding\/reset" } ] } }, "\/wc-admin\/settings\/payments\/woopayments\/woopay-eligibility": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-admin\/settings\/payments\/woopayments\/woopay-eligibility" } ] } }, "\/wc-admin\/settings\/payments\/woopayments\/onboarding\/test_account\/disable": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "location": { "description": "ISO3166 alpha-2 country code. Defaults to the stored providers business location country code.", "type": "string", "pattern": "[a-zA-Z]{2}", "required": false }, "from": { "description": "Where from in the onboarding flow this request was triggered.", "type": "string", "required": false }, "source": { "description": "The upmost entry point from where the merchant entered the onboarding flow.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-admin\/settings\/payments\/woopayments\/onboarding\/test_account\/disable" } ] } }, "\/wc-admin-email": { "namespace": "wc-admin-email", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wc-admin-email", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-admin-email" } ] } }, "\/wc-admin-email\/settings\/email\/send-preview": { "namespace": "wc-admin-email", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "type": { "description": "The email type to preview.", "type": "string", "required": true }, "email": { "description": "Email address to send the email preview to.", "type": "string", "format": "email", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-admin-email\/settings\/email\/send-preview" } ] } }, "\/wc-admin-email\/settings\/email\/preview-subject": { "namespace": "wc-admin-email", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "type": { "description": "The email type to get subject for.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-admin-email\/settings\/email\/preview-subject" } ] } }, "\/wc-admin-email\/settings\/email\/save-transient": { "namespace": "wc-admin-email", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "key": { "type": "string", "description": "The key for the transient. Must be one of the allowed options.", "required": true }, "value": { "type": "string", "description": "The value to be saved for the transient.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-admin-email\/settings\/email\/save-transient" } ] } }, "\/wc-admin-email\/settings\/email\/listing\/recreate-email-post": { "namespace": "wc-admin-email", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "email_id": { "description": "The email ID to recreate the post for.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-admin-email\/settings\/email\/listing\/recreate-email-post" } ] } }, "\/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:\/\/www.triumphgifts.com\/lv\/wp-json\/wc-telemetry" } ] } }, "\/wc-telemetry\/tracker": { "namespace": "wc-telemetry", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "platform": { "description": "Platform to track.", "type": "string", "required": true }, "version": { "description": "Platform version to track.", "type": "string", "required": true }, "installation_date": { "description": "Installation date of the WooCommerce mobile app.", "type": "string", "format": "date-time", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/wp-json\/wccom-site\/v3\/ssr" } ] } }, "\/wccom-site\/v3\/status": { "namespace": "wccom-site\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wccom-site\/v3\/status" } ] } }, "\/wccom-site\/v3\/connection\/disconnect": { "namespace": "wccom-site\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wccom-site\/v3\/connection\/disconnect" } ] } }, "\/wccom-site\/v3\/connection\/status": { "namespace": "wccom-site\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wccom-site\/v3\/connection\/status" } ] } }, "\/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:\/\/www.triumphgifts.com\/lv\/wp-json\/nps-survey\/v1" } ] } }, "\/nps-survey\/v1\/rating": { "namespace": "nps-survey\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/wp-json\/nps-survey\/v1\/dismiss-nps-survey" } ] } }, "\/elementor\/v1\/library\/connect": { "namespace": "elementor\/v1", "methods": [ "POST", "DELETE" ], "endpoints": [ { "methods": [ "POST" ], "args": { "token": { "type": "string", "description": "Connect CLI token", "required": true } } }, { "methods": [ "DELETE" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/elementor\/v1\/library\/connect" } ] } }, "\/elementor\/v1\/send-event": { "namespace": "elementor\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "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:\/\/www.triumphgifts.com\/lv\/wp-json\/elementor\/v1\/send-event" } ] } }, "\/jetpack\/v4\/verify_registration": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/wp-json\/jetpack\/v4\/remote_authorize" } ] } }, "\/jetpack\/v4\/remote_provision": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/jetpack\/v4\/remote_provision" } ] } }, "\/jetpack\/v4\/remote_register": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/jetpack\/v4\/remote_register" } ] } }, "\/jetpack\/v4\/remote_connect": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/jetpack\/v4\/remote_connect" } ] } }, "\/jetpack\/v4\/connection\/check": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/jetpack\/v4\/connection\/check" } ] } }, "\/jetpack\/v4\/connection": { "namespace": "jetpack\/v4", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "isActive": { "description": "Set to false will trigger the site to disconnect.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/jetpack\/v4\/connection" } ] } }, "\/jetpack\/v4\/connection\/user": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/jetpack\/v4\/connection\/user" } ] } }, "\/jetpack\/v4\/connection\/data": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/jetpack\/v4\/connection\/data" } ] } }, "\/jetpack\/v4\/connection\/plugins": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/wp-json\/jetpack\/v4\/connection\/reconnect" } ] } }, "\/jetpack\/v4\/connection\/register": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "from": { "description": "Indicates where the registration action was triggered for tracking\/segmentation purposes", "type": "string", "required": false }, "redirect_uri": { "description": "URI of the admin page where the user should be redirected after connection flow", "type": "string", "required": false }, "plugin_slug": { "description": "Indicates from what plugin the request is coming from", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/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:\/\/www.triumphgifts.com\/lv\/wp-json\/jetpack\/v4\/connection\/owner" } ] } }, "\/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:\/\/www.triumphgifts.com\/lv\/wp-json\/wp\/v2" } ] } }, "\/wp\/v2\/posts": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildes zi\u0146\u0101m, kas public\u0113tas p\u0113c dot\u0101, ISO8601 atbilsto\u0161\u0101 datuma.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ierobe\u017eot atbildi uz zi\u0146\u0101m, kas modific\u0113tas p\u0113c noteikta ISO8601 atbilsto\u0161a datuma.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Ierobe\u017eot rezult\u0101tu kopas zi\u0146\u0101m, kas pie\u0161\u0137irtas konkr\u0113tiem autoriem.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Nodro\u0161ina, ka rezult\u0101tu kopas izsl\u0113dz konkr\u0113tiem autoriem pie\u0161\u0137irtas zi\u0146as.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Ierobe\u017eot atbildes zi\u0146\u0101m, kas public\u0113tas pirms dot\u0101, ISO8601 atbilsto\u0161\u0101 datuma.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ierobe\u017eot atbildi uz zi\u0146\u0101m, kas modific\u0113tas pirms noteikta ISO8601 atbilsto\u0161a datuma.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Nodro\u0161ina, ka rezult\u0101tu kopa neiek\u013cauj konkr\u0113tu ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eot rezult\u0101tu kopu ar specifiskiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "K\u0101 interpret\u0113t mekl\u0113\u0161anas ievades datus.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Rezult\u0101tu kopas nob\u012bde par \u012bpa\u0161u vienumu skaitu.", "type": "integer", "required": false }, "order": { "description": "K\u0101rtot \u0161\u0137iro\u0161anas atrib\u016btu augo\u0161i vai dilsto\u0161i.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c zi\u0146as atrib\u016bta.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "Mekl\u0113jamo sleju nosaukumu mas\u012bvs.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Sa\u0161auriniet rezult\u0101tu kopu zi\u0146\u0101m ar viena vai vair\u0101k\u0101m konkr\u0113t\u0101m tak\u0101m.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Sa\u0161auriniet rezult\u0101tu kopas zi\u0146\u0101m, kam pie\u0161\u0137irts viens vai vair\u0101ki statusi.", "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", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "Ierobe\u017eot rezult\u0101tu kopu balstoties uz saikni starp vair\u0101k\u0101m taksonomij\u0101m.", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "categories": { "description": "Rezult\u0101ta ierobe\u017eojums ir iestat\u012bts uz vienumiem, kuriem categories taksonomij\u0101 ir noteikti \u012bpa\u0161i termini.", "type": [ "object", "array" ], "oneOf": [ { "title": "Terminu ID saraksts", "description": "Saska\u0146ojiet vienumus ar uzskait\u012btajiem ID.", "type": "array", "items": { "type": "integer" } }, { "title": "Termina ID taksonomijas vaic\u0101jums", "description": "Veiciet izv\u0113rstu termina vaic\u0101jumu.", "type": "object", "properties": { "terms": { "description": "Termi\u0146a ID.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Vai iek\u013caut atvasin\u0101tos terminus rezult\u0101tu kopas ierobe\u017eojumos.", "type": "boolean", "default": false }, "operator": { "description": "Vai vienumiem j\u0101pie\u0161\u0137ir visi vai k\u0101ds no nor\u0101d\u012btajiem noteikumiem.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "categories_exclude": { "description": "Rezult\u0101ta ierobe\u017eojums ir iestat\u012bts uz vienumiem, iz\u0146emot tos, kuriem categories taksonomij\u0101 ir noteikti \u012bpa\u0161i termini.", "type": [ "object", "array" ], "oneOf": [ { "title": "Terminu ID saraksts", "description": "Saska\u0146ojiet vienumus ar uzskait\u012btajiem ID.", "type": "array", "items": { "type": "integer" } }, { "title": "Termina ID taksonomijas vaic\u0101jums", "description": "Veiciet izv\u0113rstu termina vaic\u0101jumu.", "type": "object", "properties": { "terms": { "description": "Termi\u0146a ID.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Vai iek\u013caut atvasin\u0101tos terminus rezult\u0101tu kopas ierobe\u017eojumos.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "tags": { "description": "Rezult\u0101ta ierobe\u017eojums ir iestat\u012bts uz vienumiem, kuriem tags taksonomij\u0101 ir noteikti \u012bpa\u0161i termini.", "type": [ "object", "array" ], "oneOf": [ { "title": "Terminu ID saraksts", "description": "Saska\u0146ojiet vienumus ar uzskait\u012btajiem ID.", "type": "array", "items": { "type": "integer" } }, { "title": "Termina ID taksonomijas vaic\u0101jums", "description": "Veiciet izv\u0113rstu termina vaic\u0101jumu.", "type": "object", "properties": { "terms": { "description": "Termi\u0146a ID.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Vai vienumiem j\u0101pie\u0161\u0137ir visi vai k\u0101ds no nor\u0101d\u012btajiem noteikumiem.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "tags_exclude": { "description": "Rezult\u0101ta ierobe\u017eojums ir iestat\u012bts uz vienumiem, iz\u0146emot tos, kuriem tags taksonomij\u0101 ir noteikti \u012bpa\u0161i termini.", "type": [ "object", "array" ], "oneOf": [ { "title": "Terminu ID saraksts", "description": "Saska\u0146ojiet vienumus ar uzskait\u012btajiem ID.", "type": "array", "items": { "type": "integer" } }, { "title": "Termina ID taksonomijas vaic\u0101jums", "description": "Veiciet izv\u0113rstu termina vaic\u0101jumu.", "type": "object", "properties": { "terms": { "description": "Termi\u0146a ID.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false }, "sticky": { "description": "Ierobe\u017eot rezult\u0101tu kopu izceltiem vienumiem.", "type": "boolean", "required": false }, "ignore_sticky": { "description": "Ignor\u0113t fiks\u0113tos ierakstus vai n\u0113.", "type": "boolean", "default": true, "required": false }, "format": { "description": "Ierobe\u017eot rezult\u0101tu kopu ar vienumiem, kam pie\u0161\u0137irts viens vai vair\u0101ki nor\u0101d\u012btie form\u0101ti.", "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": "Zi\u0146as public\u0113\u0161anas datums vietnes laika josl\u0101.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Zi\u0146as public\u0113\u0161anas datums (GMT).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Zi\u0146as burtciparu identifikators, unik\u0101ls katram veidam.", "type": "string", "required": false }, "status": { "description": "Nosauktais zi\u0146as statuss.", "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" ], "required": false }, "password": { "description": "Parole lai aizsarg\u0101tu piek\u013cuvi saturam un izrakstam.", "type": "string", "required": false }, "title": { "description": "Zi\u0146as nosaukums.", "type": "object", "properties": { "raw": { "description": "Datu b\u0101z\u0113 eso\u0161s zi\u0146as virsraksts.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML virsraksts zi\u0146ai, p\u0101rveidots att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Zi\u0146as saturs.", "type": "object", "properties": { "raw": { "description": "Zi\u0146as saturs, k\u0101ds tas atrodas datu b\u0101z\u0113.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML saturs zi\u0146ai, p\u0101rveidots att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Zi\u0146\u0101 izmantot\u0101 satura bloka form\u0101ta versija.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Saturs ir vai nav aizsarg\u0101ts ar paroli.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "Zi\u0146as autora ID.", "type": "integer", "required": false }, "excerpt": { "description": "Zi\u0146as izraksts.", "type": "object", "properties": { "raw": { "description": "Datu b\u0101z\u0113 eso\u0161s zi\u0146as izraksts.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Att\u0113lo\u0161anai p\u0101rveidots zi\u0146as HTML fragments.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Izraksts ir vai nav aizsarg\u0101ts ar paroli.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "Pied\u0101v\u0101t\u0101s multivides ID zi\u0146ai.", "type": "integer", "required": false }, "comment_status": { "description": "Vai koment\u0101ri zi\u0146ai ir vai nav atv\u0113rti.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Var vai nevar nor\u0101d\u012bt atsauci uz zi\u0146u.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "format": { "description": "Form\u0101ts zi\u0146ai.", "type": "string", "enum": [ "standard", "aside", "chat", "gallery", "link", "image", "quote", "status", "video", "audio" ], "required": false }, "meta": { "description": "Metadatu lauki.", "type": "object", "properties": { "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": "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-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": "", "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-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": "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": "" }, "mobile": { "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": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "container", "floating-buttons", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "code_snippet", "product-post", "product", "product-archive", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "sticky": { "description": "Vai zi\u0146a ir j\u0101uzskata par izceltu, vai n\u0113.", "type": "boolean", "required": false }, "template": { "description": "T\u0113mas fails, ko izmant, zi\u0146as par\u0101d\u012b\u0161anai..", "type": "string", "required": false }, "categories": { "description": "Nosac\u012bjumi, kas pie\u0161\u0137irti \u0161ai zi\u0146ai category taksonomij\u0101.", "type": "array", "items": { "type": "integer" }, "required": false }, "tags": { "description": "Nosac\u012bjumi, kas pie\u0161\u0137irti \u0161ai zi\u0146ai post_tag taksonomij\u0101.", "type": "array", "items": { "type": "integer" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Unik\u0101ls zi\u0146as identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "excerpt_length": { "description": "Aizst\u0101t noklus\u0113juma fragmenta garumu.", "type": "integer", "required": false }, "password": { "description": "Parole zi\u0146ai, ja t\u0101 ir aizsarg\u0101ta ar paroli.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls zi\u0146as identifikators.", "type": "integer", "required": false }, "date": { "description": "Zi\u0146as public\u0113\u0161anas datums vietnes laika josl\u0101.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Zi\u0146as public\u0113\u0161anas datums (GMT).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Zi\u0146as burtciparu identifikators, unik\u0101ls katram veidam.", "type": "string", "required": false }, "status": { "description": "Nosauktais zi\u0146as statuss.", "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" ], "required": false }, "password": { "description": "Parole lai aizsarg\u0101tu piek\u013cuvi saturam un izrakstam.", "type": "string", "required": false }, "title": { "description": "Zi\u0146as nosaukums.", "type": "object", "properties": { "raw": { "description": "Datu b\u0101z\u0113 eso\u0161s zi\u0146as virsraksts.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML virsraksts zi\u0146ai, p\u0101rveidots att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Zi\u0146as saturs.", "type": "object", "properties": { "raw": { "description": "Zi\u0146as saturs, k\u0101ds tas atrodas datu b\u0101z\u0113.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML saturs zi\u0146ai, p\u0101rveidots att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Zi\u0146\u0101 izmantot\u0101 satura bloka form\u0101ta versija.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Saturs ir vai nav aizsarg\u0101ts ar paroli.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "Zi\u0146as autora ID.", "type": "integer", "required": false }, "excerpt": { "description": "Zi\u0146as izraksts.", "type": "object", "properties": { "raw": { "description": "Datu b\u0101z\u0113 eso\u0161s zi\u0146as izraksts.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Att\u0113lo\u0161anai p\u0101rveidots zi\u0146as HTML fragments.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Izraksts ir vai nav aizsarg\u0101ts ar paroli.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "Pied\u0101v\u0101t\u0101s multivides ID zi\u0146ai.", "type": "integer", "required": false }, "comment_status": { "description": "Vai koment\u0101ri zi\u0146ai ir vai nav atv\u0113rti.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Var vai nevar nor\u0101d\u012bt atsauci uz zi\u0146u.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "format": { "description": "Form\u0101ts zi\u0146ai.", "type": "string", "enum": [ "standard", "aside", "chat", "gallery", "link", "image", "quote", "status", "video", "audio" ], "required": false }, "meta": { "description": "Metadatu lauki.", "type": "object", "properties": { "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": "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-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": "", "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-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": "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": "" }, "mobile": { "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": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "container", "floating-buttons", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "code_snippet", "product-post", "product", "product-archive", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "sticky": { "description": "Vai zi\u0146a ir j\u0101uzskata par izceltu, vai n\u0113.", "type": "boolean", "required": false }, "template": { "description": "T\u0113mas fails, ko izmant, zi\u0146as par\u0101d\u012b\u0161anai..", "type": "string", "required": false }, "categories": { "description": "Nosac\u012bjumi, kas pie\u0161\u0137irti \u0161ai zi\u0146ai category taksonomij\u0101.", "type": "array", "items": { "type": "integer" }, "required": false }, "tags": { "description": "Nosac\u012bjumi, kas pie\u0161\u0137irti \u0161ai zi\u0146ai post_tag taksonomij\u0101.", "type": "array", "items": { "type": "integer" }, "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls zi\u0146as identifikators.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Vai apiet atkritni un veikt piespiedu dz\u0113\u0161anu.", "required": false } } } ] }, "\/wp\/v2\/posts\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "P\u0101rskat\u012bjuma vec\u0101kelementa ID.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161ina, ka rezult\u0101tu kopa neiek\u013cauj konkr\u0113tu ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eot rezult\u0101tu kopu ar specifiskiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Rezult\u0101tu kopas nob\u012bde par \u012bpa\u0161u vienumu skaitu.", "type": "integer", "required": false }, "order": { "description": "K\u0101rtot \u0161\u0137iro\u0161anas atrib\u016btu augo\u0161i vai dilsto\u0161i.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "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": "P\u0101rskat\u012bjuma vec\u0101kelementa ID.", "type": "integer", "required": false }, "id": { "description": "P\u0101rskat\u012b\u0161anas unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "P\u0101rskat\u012bjuma vec\u0101kelementa ID.", "type": "integer", "required": false }, "id": { "description": "P\u0101rskat\u012b\u0161anas unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Pras\u012bts, lai b\u016btu pareizs, jo labojumus nevar dz\u0113st.", "required": false } } } ] }, "\/wp\/v2\/posts\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Autom\u0101tisk\u0101s saglab\u0101\u0161anas pamatelementa ID.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "Autom\u0101tisk\u0101s saglab\u0101\u0161anas pamatelementa ID.", "type": "integer", "required": false }, "date": { "description": "Zi\u0146as public\u0113\u0161anas datums vietnes laika josl\u0101.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Zi\u0146as public\u0113\u0161anas datums (GMT).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Zi\u0146as burtciparu identifikators, unik\u0101ls katram veidam.", "type": "string", "required": false }, "status": { "description": "Nosauktais zi\u0146as statuss.", "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" ], "required": false }, "password": { "description": "Parole lai aizsarg\u0101tu piek\u013cuvi saturam un izrakstam.", "type": "string", "required": false }, "title": { "description": "Zi\u0146as nosaukums.", "type": "object", "properties": { "raw": { "description": "Datu b\u0101z\u0113 eso\u0161s zi\u0146as virsraksts.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML virsraksts zi\u0146ai, p\u0101rveidots att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Zi\u0146as saturs.", "type": "object", "properties": { "raw": { "description": "Zi\u0146as saturs, k\u0101ds tas atrodas datu b\u0101z\u0113.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML saturs zi\u0146ai, p\u0101rveidots att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Zi\u0146\u0101 izmantot\u0101 satura bloka form\u0101ta versija.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Saturs ir vai nav aizsarg\u0101ts ar paroli.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "Zi\u0146as autora ID.", "type": "integer", "required": false }, "excerpt": { "description": "Zi\u0146as izraksts.", "type": "object", "properties": { "raw": { "description": "Datu b\u0101z\u0113 eso\u0161s zi\u0146as izraksts.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Att\u0113lo\u0161anai p\u0101rveidots zi\u0146as HTML fragments.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Izraksts ir vai nav aizsarg\u0101ts ar paroli.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "Pied\u0101v\u0101t\u0101s multivides ID zi\u0146ai.", "type": "integer", "required": false }, "comment_status": { "description": "Vai koment\u0101ri zi\u0146ai ir vai nav atv\u0113rti.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Var vai nevar nor\u0101d\u012bt atsauci uz zi\u0146u.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "format": { "description": "Form\u0101ts zi\u0146ai.", "type": "string", "enum": [ "standard", "aside", "chat", "gallery", "link", "image", "quote", "status", "video", "audio" ], "required": false }, "meta": { "description": "Metadatu lauki.", "type": "object", "properties": { "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": "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-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": "", "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-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": "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": "" }, "mobile": { "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": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "container", "floating-buttons", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "code_snippet", "product-post", "product", "product-archive", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "sticky": { "description": "Vai zi\u0146a ir j\u0101uzskata par izceltu, vai n\u0113.", "type": "boolean", "required": false }, "template": { "description": "T\u0113mas fails, ko izmant, zi\u0146as par\u0101d\u012b\u0161anai..", "type": "string", "required": false }, "categories": { "description": "Nosac\u012bjumi, kas pie\u0161\u0137irti \u0161ai zi\u0146ai category taksonomij\u0101.", "type": "array", "items": { "type": "integer" }, "required": false }, "tags": { "description": "Nosac\u012bjumi, kas pie\u0161\u0137irti \u0161ai zi\u0146ai post_tag taksonomij\u0101.", "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": "Autom\u0101tisk\u0101s saglab\u0101\u0161anas pamatelementa ID.", "type": "integer", "required": false }, "id": { "description": "Autom\u0101tisk\u0101s saglab\u0101\u0161anas ID.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "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": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildes zi\u0146\u0101m, kas public\u0113tas p\u0113c dot\u0101, ISO8601 atbilsto\u0161\u0101 datuma.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ierobe\u017eot atbildi uz zi\u0146\u0101m, kas modific\u0113tas p\u0113c noteikta ISO8601 atbilsto\u0161a datuma.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Ierobe\u017eot rezult\u0101tu kopas zi\u0146\u0101m, kas pie\u0161\u0137irtas konkr\u0113tiem autoriem.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Nodro\u0161ina, ka rezult\u0101tu kopas izsl\u0113dz konkr\u0113tiem autoriem pie\u0161\u0137irtas zi\u0146as.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Ierobe\u017eot atbildes zi\u0146\u0101m, kas public\u0113tas pirms dot\u0101, ISO8601 atbilsto\u0161\u0101 datuma.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ierobe\u017eot atbildi uz zi\u0146\u0101m, kas modific\u0113tas pirms noteikta ISO8601 atbilsto\u0161a datuma.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Nodro\u0161ina, ka rezult\u0101tu kopa neiek\u013cauj konkr\u0113tu ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eot rezult\u0101tu kopu ar specifiskiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "menu_order": { "description": "Ierobe\u017eot rezult\u0101tu kopas zi\u0146\u0101m ar \u012bpa\u0161u menu_order v\u0113rt\u012bbu.", "type": "integer", "required": false }, "search_semantics": { "description": "K\u0101 interpret\u0113t mekl\u0113\u0161anas ievades datus.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Rezult\u0101tu kopas nob\u012bde par \u012bpa\u0161u vienumu skaitu.", "type": "integer", "required": false }, "order": { "description": "K\u0101rtot \u0161\u0137iro\u0161anas atrib\u016btu augo\u0161i vai dilsto\u0161i.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c zi\u0146as atrib\u016bta.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "menu_order" ], "required": false }, "parent": { "description": "Ierobe\u017eot rezult\u0101tu kopu ar \u012bpa\u0161u pamatelementa ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Ierobe\u017eot rezult\u0101tu kopu visiem vienumiem, iz\u0146emot tos, ar \u012bpa\u0161u pamatelementa ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_columns": { "default": [], "description": "Mekl\u0113jamo sleju nosaukumu mas\u012bvs.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Sa\u0161auriniet rezult\u0101tu kopu zi\u0146\u0101m ar viena vai vair\u0101k\u0101m konkr\u0113t\u0101m tak\u0101m.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Sa\u0161auriniet rezult\u0101tu kopas zi\u0146\u0101m, kam pie\u0161\u0137irts viens vai vair\u0101ki statusi.", "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", "any" ], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "Zi\u0146as public\u0113\u0161anas datums vietnes laika josl\u0101.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Zi\u0146as public\u0113\u0161anas datums (GMT).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Zi\u0146as burtciparu identifikators, unik\u0101ls katram veidam.", "type": "string", "required": false }, "status": { "description": "Nosauktais zi\u0146as statuss.", "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" ], "required": false }, "password": { "description": "Parole lai aizsarg\u0101tu piek\u013cuvi saturam un izrakstam.", "type": "string", "required": false }, "parent": { "description": "Zi\u0146as pamatelementa ID.", "type": "integer", "required": false }, "title": { "description": "Zi\u0146as nosaukums.", "type": "object", "properties": { "raw": { "description": "Datu b\u0101z\u0113 eso\u0161s zi\u0146as virsraksts.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML virsraksts zi\u0146ai, p\u0101rveidots att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Zi\u0146as saturs.", "type": "object", "properties": { "raw": { "description": "Zi\u0146as saturs, k\u0101ds tas atrodas datu b\u0101z\u0113.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML saturs zi\u0146ai, p\u0101rveidots att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Zi\u0146\u0101 izmantot\u0101 satura bloka form\u0101ta versija.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Saturs ir vai nav aizsarg\u0101ts ar paroli.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "Zi\u0146as autora ID.", "type": "integer", "required": false }, "excerpt": { "description": "Zi\u0146as izraksts.", "type": "object", "properties": { "raw": { "description": "Datu b\u0101z\u0113 eso\u0161s zi\u0146as izraksts.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Att\u0113lo\u0161anai p\u0101rveidots zi\u0146as HTML fragments.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Izraksts ir vai nav aizsarg\u0101ts ar paroli.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "Pied\u0101v\u0101t\u0101s multivides ID zi\u0146ai.", "type": "integer", "required": false }, "comment_status": { "description": "Vai koment\u0101ri zi\u0146ai ir vai nav atv\u0113rti.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Var vai nevar nor\u0101d\u012bt atsauci uz zi\u0146u.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "menu_order": { "description": "Zi\u0146as sec\u012bba attiec\u012bb\u0101 pret cit\u0101m zi\u0146\u0101m.", "type": "integer", "required": false }, "meta": { "description": "Metadatu lauki.", "type": "object", "properties": { "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": "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-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": "", "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-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": "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": "" }, "mobile": { "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": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "container", "floating-buttons", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "code_snippet", "product-post", "product", "product-archive", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "template": { "description": "T\u0113mas fails, ko izmant, zi\u0146as par\u0101d\u012b\u0161anai..", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Unik\u0101ls zi\u0146as identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "excerpt_length": { "description": "Aizst\u0101t noklus\u0113juma fragmenta garumu.", "type": "integer", "required": false }, "password": { "description": "Parole zi\u0146ai, ja t\u0101 ir aizsarg\u0101ta ar paroli.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls zi\u0146as identifikators.", "type": "integer", "required": false }, "date": { "description": "Zi\u0146as public\u0113\u0161anas datums vietnes laika josl\u0101.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Zi\u0146as public\u0113\u0161anas datums (GMT).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Zi\u0146as burtciparu identifikators, unik\u0101ls katram veidam.", "type": "string", "required": false }, "status": { "description": "Nosauktais zi\u0146as statuss.", "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" ], "required": false }, "password": { "description": "Parole lai aizsarg\u0101tu piek\u013cuvi saturam un izrakstam.", "type": "string", "required": false }, "parent": { "description": "Zi\u0146as pamatelementa ID.", "type": "integer", "required": false }, "title": { "description": "Zi\u0146as nosaukums.", "type": "object", "properties": { "raw": { "description": "Datu b\u0101z\u0113 eso\u0161s zi\u0146as virsraksts.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML virsraksts zi\u0146ai, p\u0101rveidots att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Zi\u0146as saturs.", "type": "object", "properties": { "raw": { "description": "Zi\u0146as saturs, k\u0101ds tas atrodas datu b\u0101z\u0113.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML saturs zi\u0146ai, p\u0101rveidots att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Zi\u0146\u0101 izmantot\u0101 satura bloka form\u0101ta versija.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Saturs ir vai nav aizsarg\u0101ts ar paroli.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "Zi\u0146as autora ID.", "type": "integer", "required": false }, "excerpt": { "description": "Zi\u0146as izraksts.", "type": "object", "properties": { "raw": { "description": "Datu b\u0101z\u0113 eso\u0161s zi\u0146as izraksts.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Att\u0113lo\u0161anai p\u0101rveidots zi\u0146as HTML fragments.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Izraksts ir vai nav aizsarg\u0101ts ar paroli.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "Pied\u0101v\u0101t\u0101s multivides ID zi\u0146ai.", "type": "integer", "required": false }, "comment_status": { "description": "Vai koment\u0101ri zi\u0146ai ir vai nav atv\u0113rti.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Var vai nevar nor\u0101d\u012bt atsauci uz zi\u0146u.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "menu_order": { "description": "Zi\u0146as sec\u012bba attiec\u012bb\u0101 pret cit\u0101m zi\u0146\u0101m.", "type": "integer", "required": false }, "meta": { "description": "Metadatu lauki.", "type": "object", "properties": { "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": "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-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": "", "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-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": "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": "" }, "mobile": { "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": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "container", "floating-buttons", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "code_snippet", "product-post", "product", "product-archive", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "template": { "description": "T\u0113mas fails, ko izmant, zi\u0146as par\u0101d\u012b\u0161anai..", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls zi\u0146as identifikators.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Vai apiet atkritni un veikt piespiedu dz\u0113\u0161anu.", "required": false } } } ] }, "\/wp\/v2\/pages\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "P\u0101rskat\u012bjuma vec\u0101kelementa ID.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161ina, ka rezult\u0101tu kopa neiek\u013cauj konkr\u0113tu ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eot rezult\u0101tu kopu ar specifiskiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Rezult\u0101tu kopas nob\u012bde par \u012bpa\u0161u vienumu skaitu.", "type": "integer", "required": false }, "order": { "description": "K\u0101rtot \u0161\u0137iro\u0161anas atrib\u016btu augo\u0161i vai dilsto\u0161i.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "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": "P\u0101rskat\u012bjuma vec\u0101kelementa ID.", "type": "integer", "required": false }, "id": { "description": "P\u0101rskat\u012b\u0161anas unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "P\u0101rskat\u012bjuma vec\u0101kelementa ID.", "type": "integer", "required": false }, "id": { "description": "P\u0101rskat\u012b\u0161anas unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Pras\u012bts, lai b\u016btu pareizs, jo labojumus nevar dz\u0113st.", "required": false } } } ] }, "\/wp\/v2\/pages\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Autom\u0101tisk\u0101s saglab\u0101\u0161anas pamatelementa ID.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "Zi\u0146as pamatelementa ID.", "type": "integer", "required": false }, "date": { "description": "Zi\u0146as public\u0113\u0161anas datums vietnes laika josl\u0101.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Zi\u0146as public\u0113\u0161anas datums (GMT).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Zi\u0146as burtciparu identifikators, unik\u0101ls katram veidam.", "type": "string", "required": false }, "status": { "description": "Nosauktais zi\u0146as statuss.", "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" ], "required": false }, "password": { "description": "Parole lai aizsarg\u0101tu piek\u013cuvi saturam un izrakstam.", "type": "string", "required": false }, "title": { "description": "Zi\u0146as nosaukums.", "type": "object", "properties": { "raw": { "description": "Datu b\u0101z\u0113 eso\u0161s zi\u0146as virsraksts.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML virsraksts zi\u0146ai, p\u0101rveidots att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Zi\u0146as saturs.", "type": "object", "properties": { "raw": { "description": "Zi\u0146as saturs, k\u0101ds tas atrodas datu b\u0101z\u0113.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML saturs zi\u0146ai, p\u0101rveidots att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Zi\u0146\u0101 izmantot\u0101 satura bloka form\u0101ta versija.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Saturs ir vai nav aizsarg\u0101ts ar paroli.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "Zi\u0146as autora ID.", "type": "integer", "required": false }, "excerpt": { "description": "Zi\u0146as izraksts.", "type": "object", "properties": { "raw": { "description": "Datu b\u0101z\u0113 eso\u0161s zi\u0146as izraksts.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Att\u0113lo\u0161anai p\u0101rveidots zi\u0146as HTML fragments.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Izraksts ir vai nav aizsarg\u0101ts ar paroli.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "Pied\u0101v\u0101t\u0101s multivides ID zi\u0146ai.", "type": "integer", "required": false }, "comment_status": { "description": "Vai koment\u0101ri zi\u0146ai ir vai nav atv\u0113rti.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Var vai nevar nor\u0101d\u012bt atsauci uz zi\u0146u.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "menu_order": { "description": "Zi\u0146as sec\u012bba attiec\u012bb\u0101 pret cit\u0101m zi\u0146\u0101m.", "type": "integer", "required": false }, "meta": { "description": "Metadatu lauki.", "type": "object", "properties": { "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": "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-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": "", "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-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": "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": "" }, "mobile": { "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": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "container", "floating-buttons", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "code_snippet", "product-post", "product", "product-archive", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "template": { "description": "T\u0113mas fails, ko izmant, zi\u0146as par\u0101d\u012b\u0161anai..", "type": "string", "required": false } } } ] }, "\/wp\/v2\/pages\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Autom\u0101tisk\u0101s saglab\u0101\u0161anas pamatelementa ID.", "type": "integer", "required": false }, "id": { "description": "Autom\u0101tisk\u0101s saglab\u0101\u0161anas ID.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "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": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildes zi\u0146\u0101m, kas public\u0113tas p\u0113c dot\u0101, ISO8601 atbilsto\u0161\u0101 datuma.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ierobe\u017eot atbildi uz zi\u0146\u0101m, kas modific\u0113tas p\u0113c noteikta ISO8601 atbilsto\u0161a datuma.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Ierobe\u017eot rezult\u0101tu kopas zi\u0146\u0101m, kas pie\u0161\u0137irtas konkr\u0113tiem autoriem.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Nodro\u0161ina, ka rezult\u0101tu kopas izsl\u0113dz konkr\u0113tiem autoriem pie\u0161\u0137irtas zi\u0146as.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Ierobe\u017eot atbildes zi\u0146\u0101m, kas public\u0113tas pirms dot\u0101, ISO8601 atbilsto\u0161\u0101 datuma.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ierobe\u017eot atbildi uz zi\u0146\u0101m, kas modific\u0113tas pirms noteikta ISO8601 atbilsto\u0161a datuma.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Nodro\u0161ina, ka rezult\u0101tu kopa neiek\u013cauj konkr\u0113tu ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eot rezult\u0101tu kopu ar specifiskiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "K\u0101 interpret\u0113t mekl\u0113\u0161anas ievades datus.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Rezult\u0101tu kopas nob\u012bde par \u012bpa\u0161u vienumu skaitu.", "type": "integer", "required": false }, "order": { "description": "K\u0101rtot \u0161\u0137iro\u0161anas atrib\u016btu augo\u0161i vai dilsto\u0161i.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c zi\u0146as atrib\u016bta.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "parent": { "description": "Ierobe\u017eot rezult\u0101tu kopu ar \u012bpa\u0161u pamatelementa ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Ierobe\u017eot rezult\u0101tu kopu visiem vienumiem, iz\u0146emot tos, ar \u012bpa\u0161u pamatelementa ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_columns": { "default": [], "description": "Mekl\u0113jamo sleju nosaukumu mas\u012bvs.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Sa\u0161auriniet rezult\u0101tu kopu zi\u0146\u0101m ar viena vai vair\u0101k\u0101m konkr\u0113t\u0101m tak\u0101m.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "inherit", "description": "Sa\u0161auriniet rezult\u0101tu kopas zi\u0146\u0101m, kam pie\u0161\u0137irts viens vai vair\u0101ki statusi.", "type": "array", "items": { "enum": [ "inherit", "private", "trash" ], "type": "string" }, "required": false }, "media_type": { "default": null, "description": "Ierobe\u017eot rezult\u0101tu kopu \u012bpa\u0161iem m\u0113diju veidiem.", "type": "string", "enum": [ "image", "video", "text", "application", "audio" ], "required": false }, "mime_type": { "default": null, "description": "Ierobe\u017eot rezult\u0101tu kopu \u012bpa\u0161iem MIME veidiem.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "date": { "description": "Zi\u0146as public\u0113\u0161anas datums vietnes laika josl\u0101.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Zi\u0146as public\u0113\u0161anas datums (GMT).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Zi\u0146as burtciparu identifikators, unik\u0101ls katram veidam.", "type": "string", "required": false }, "status": { "description": "Nosauktais zi\u0146as statuss.", "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" ], "required": false }, "title": { "description": "Zi\u0146as nosaukums.", "type": "object", "properties": { "raw": { "description": "Datu b\u0101z\u0113 eso\u0161s zi\u0146as virsraksts.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML virsraksts zi\u0146ai, p\u0101rveidots att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "Zi\u0146as autora ID.", "type": "integer", "required": false }, "featured_media": { "description": "Pied\u0101v\u0101t\u0101s multivides ID zi\u0146ai.", "type": "integer", "required": false }, "comment_status": { "description": "Vai koment\u0101ri zi\u0146ai ir vai nav atv\u0113rti.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Var vai nevar nor\u0101d\u012bt atsauci uz zi\u0146u.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "meta": { "description": "Metadatu lauki.", "type": "object", "properties": { "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": "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-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": "", "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-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": "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": "" }, "mobile": { "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": "" } }, "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": "T\u0113mas fails, ko izmant, zi\u0146as par\u0101d\u012b\u0161anai..", "type": "string", "required": false }, "alt_text": { "description": "Alternat\u012bvs teksts att\u0113lo\u0161anai, kad pielikums netiek r\u0101d\u012bts.", "type": "string", "required": false }, "caption": { "description": "Pielikuma virsraksts.", "type": "object", "properties": { "raw": { "description": "Datu b\u0101z\u0113 eso\u0161ais pielikuma virsraksts.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Att\u0113lo\u0161anai p\u0101rveidots HTML virsraksts pielikumam.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "description": "Pielikuma apraksts.", "type": "object", "properties": { "raw": { "description": "Pielikuma apraksts, k\u0101ds tas atrodas datu b\u0101z\u0113.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML apraksts pielikumam, p\u0101rveidots att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "post": { "description": "Pielikumam piesaist\u012bt\u0101s zi\u0146as ID.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Unik\u0101ls zi\u0146as identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unik\u0101ls zi\u0146as identifikators.", "type": "integer", "required": false }, "date": { "description": "Zi\u0146as public\u0113\u0161anas datums vietnes laika josl\u0101.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Zi\u0146as public\u0113\u0161anas datums (GMT).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Zi\u0146as burtciparu identifikators, unik\u0101ls katram veidam.", "type": "string", "required": false }, "status": { "description": "Nosauktais zi\u0146as statuss.", "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" ], "required": false }, "title": { "description": "Zi\u0146as nosaukums.", "type": "object", "properties": { "raw": { "description": "Datu b\u0101z\u0113 eso\u0161s zi\u0146as virsraksts.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML virsraksts zi\u0146ai, p\u0101rveidots att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "Zi\u0146as autora ID.", "type": "integer", "required": false }, "featured_media": { "description": "Pied\u0101v\u0101t\u0101s multivides ID zi\u0146ai.", "type": "integer", "required": false }, "comment_status": { "description": "Vai koment\u0101ri zi\u0146ai ir vai nav atv\u0113rti.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Var vai nevar nor\u0101d\u012bt atsauci uz zi\u0146u.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "meta": { "description": "Metadatu lauki.", "type": "object", "properties": { "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": "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-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": "", "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-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": "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": "" }, "mobile": { "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": "" } }, "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": "T\u0113mas fails, ko izmant, zi\u0146as par\u0101d\u012b\u0161anai..", "type": "string", "required": false }, "alt_text": { "description": "Alternat\u012bvs teksts att\u0113lo\u0161anai, kad pielikums netiek r\u0101d\u012bts.", "type": "string", "required": false }, "caption": { "description": "Pielikuma virsraksts.", "type": "object", "properties": { "raw": { "description": "Datu b\u0101z\u0113 eso\u0161ais pielikuma virsraksts.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Att\u0113lo\u0161anai p\u0101rveidots HTML virsraksts pielikumam.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "description": "Pielikuma apraksts.", "type": "object", "properties": { "raw": { "description": "Pielikuma apraksts, k\u0101ds tas atrodas datu b\u0101z\u0113.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML apraksts pielikumam, p\u0101rveidots att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "post": { "description": "Pielikumam piesaist\u012bt\u0101s zi\u0146as ID.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unik\u0101ls zi\u0146as identifikators.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Vai apiet atkritni un veikt piespiedu dz\u0113\u0161anu.", "required": false } } } ] }, "\/wp\/v2\/media\/(?P[\\d]+)\/post-process": { "namespace": "wp\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "Pielikuma unik\u0101lais identifikators.", "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": "Redi\u0123\u0113t\u0101 att\u0113la faila URL.", "type": "string", "format": "uri", "required": true }, "modifiers": { "description": "Att\u0113lu labojumu mas\u012bvs.", "type": "array", "minItems": 1, "items": { "description": "Att\u0113lu redi\u0123\u0113\u0161ana.", "type": "object", "required": [ "type", "args" ], "oneOf": [ { "title": "Rot\u0101cija", "properties": { "type": { "description": "Rot\u0101cijas veids.", "type": "string", "enum": [ "rotate" ] }, "args": { "description": "Rot\u0101cijas argumenti.", "type": "object", "required": [ "angle" ], "properties": { "angle": { "description": "Le\u0146\u0137is, lai pagrieztu pulkste\u0146r\u0101d\u012bt\u0101ju kust\u012bbas virzien\u0101 gr\u0101dos.", "type": "number" } } } } }, { "title": "Apgriezt", "properties": { "type": { "description": "Apcirp\u0161anas veids.", "type": "string", "enum": [ "crop" ] }, "args": { "description": "Apcirpt argumentus.", "type": "object", "required": [ "left", "top", "width", "height" ], "properties": { "left": { "description": "Horizont\u0101l\u0101 poz\u012bcija no kreis\u0101s puses, lai s\u0101ktu apgrie\u0161anu procentos no att\u0113la platuma.", "type": "number" }, "top": { "description": "Vertik\u0101l\u0101 poz\u012bcija no aug\u0161as, lai s\u0101ktu apgrie\u0161anu procentos no att\u0113la augstuma.", "type": "number" }, "width": { "description": "Apgriezuma platums procentos no att\u0113la platuma.", "type": "number" }, "height": { "description": "Apgrie\u0161anas augstums procentos no att\u0113la augstuma.", "type": "number" } } } } } ] }, "required": false }, "rotation": { "description": "Skaitlis gr\u0101dos, kas nepiecie\u0161ams, lai pagrieztu att\u0113lu pulkste\u0146r\u0101d\u012bt\u0101ju kust\u012bbas virzien\u0101. NOVECOJIS: t\u0101 viet\u0101 izmantojiet 'modifikatorus'.", "type": "integer", "minimum": 0, "exclusiveMinimum": true, "maximum": 360, "exclusiveMaximum": true, "required": false }, "x": { "description": "Procentu\u0101l\u0101 v\u0113rt\u012bba no x poz\u012bcijas, no kuras s\u0101kt apgrie\u0161anu. NOVECOJIS: t\u0101 viet\u0101 izmantojiet 'modifikatorus'.", "type": "number", "minimum": 0, "maximum": 100, "required": false }, "y": { "description": "Procentu\u0101l\u0101 v\u0113rt\u012bba no att\u0113la y poz\u012bcijas, no kuras s\u0101kt apgrie\u0161anu. NOVECOJIS: t\u0101 viet\u0101 izmantojiet 'modifikatorus'.", "type": "number", "minimum": 0, "maximum": 100, "required": false }, "width": { "description": "Att\u0113la procentu\u0101l\u0101 v\u0113rt\u012bba, platums, l\u012bdz kuram att\u0113lu apgriezt. NOVECOJIS: t\u0101 viet\u0101 izmantojiet 'modifikatorus'.", "type": "number", "minimum": 0, "maximum": 100, "required": false }, "height": { "description": "Att\u0113la procentu\u0101l\u0101 v\u0113rt\u012bba, augstums, l\u012bdz kuram att\u0113lu apgriezt. NOVECOJIS: t\u0101 viet\u0101 izmantojiet 'modifikatorus'.", "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": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 100, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildes zi\u0146\u0101m, kas public\u0113tas p\u0113c dot\u0101, ISO8601 atbilsto\u0161\u0101 datuma.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ierobe\u017eot atbildi uz zi\u0146\u0101m, kas modific\u0113tas p\u0113c noteikta ISO8601 atbilsto\u0161a datuma.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildes zi\u0146\u0101m, kas public\u0113tas pirms dot\u0101, ISO8601 atbilsto\u0161\u0101 datuma.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ierobe\u017eot atbildi uz zi\u0146\u0101m, kas modific\u0113tas pirms noteikta ISO8601 atbilsto\u0161a datuma.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Nodro\u0161ina, ka rezult\u0101tu kopa neiek\u013cauj konkr\u0113tu ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eot rezult\u0101tu kopu ar specifiskiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "K\u0101 interpret\u0113t mekl\u0113\u0161anas ievades datus.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Rezult\u0101tu kopas nob\u012bde par \u012bpa\u0161u vienumu skaitu.", "type": "integer", "required": false }, "order": { "description": "K\u0101rtot \u0161\u0137iro\u0161anas atrib\u016btu augo\u0161i vai dilsto\u0161i.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "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": "Mekl\u0113jamo sleju nosaukumu mas\u012bvs.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Sa\u0161auriniet rezult\u0101tu kopu zi\u0146\u0101m ar viena vai vair\u0101k\u0101m konkr\u0113t\u0101m tak\u0101m.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Sa\u0161auriniet rezult\u0101tu kopas zi\u0146\u0101m, kam pie\u0161\u0137irts viens vai vair\u0101ki statusi.", "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", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "Ierobe\u017eot rezult\u0101tu kopu balstoties uz saikni starp vair\u0101k\u0101m taksonomij\u0101m.", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "menus": { "description": "Rezult\u0101ta ierobe\u017eojums ir iestat\u012bts uz vienumiem, kuriem menus taksonomij\u0101 ir noteikti \u012bpa\u0161i termini.", "type": [ "object", "array" ], "oneOf": [ { "title": "Terminu ID saraksts", "description": "Saska\u0146ojiet vienumus ar uzskait\u012btajiem ID.", "type": "array", "items": { "type": "integer" } }, { "title": "Termina ID taksonomijas vaic\u0101jums", "description": "Veiciet izv\u0113rstu termina vaic\u0101jumu.", "type": "object", "properties": { "terms": { "description": "Termi\u0146a ID.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Vai vienumiem j\u0101pie\u0161\u0137ir visi vai k\u0101ds no nor\u0101d\u012btajiem noteikumiem.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "menus_exclude": { "description": "Rezult\u0101ta ierobe\u017eojums ir iestat\u012bts uz vienumiem, iz\u0146emot tos, kuriem menus taksonomij\u0101 ir noteikti \u012bpa\u0161i termini.", "type": [ "object", "array" ], "oneOf": [ { "title": "Terminu ID saraksts", "description": "Saska\u0146ojiet vienumus ar uzskait\u012btajiem ID.", "type": "array", "items": { "type": "integer" } }, { "title": "Termina ID taksonomijas vaic\u0101jums", "description": "Veiciet izv\u0113rstu termina vaic\u0101jumu.", "type": "object", "properties": { "terms": { "description": "Termi\u0146a ID.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false }, "menu_order": { "description": "Ierobe\u017eot rezult\u0101tu kopas zi\u0146\u0101m ar \u012bpa\u0161u menu_order v\u0113rt\u012bbu.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "title": { "description": "Virsraksts objektam.", "type": [ "string", "object" ], "properties": { "raw": { "description": "Virsraksts objektam, k\u0101ds tas eksist\u0113 datub\u0101z\u0113.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML virsraksts objektam, transform\u0113ts att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "type": { "default": "custom", "description": "S\u0101kotn\u0113ji p\u0101rst\u0101v\u0113to objektu saime, piem\u0113ram, \"post_type\" vai \"taksonomija\".", "type": "string", "enum": [ "taxonomy", "post_type", "post_type_archive", "custom" ], "required": false }, "status": { "default": "publish", "description": "Nosauktais objekta statuss.", "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" ], "required": false }, "parent": { "default": 0, "description": "Pamatobjekta ID.", "type": "integer", "minimum": 0, "required": false }, "attr_title": { "description": "\u0160\u012b izv\u0113lnes vienuma saites elementa nosaukuma atrib\u016bta teksts.", "type": "string", "required": false }, "classes": { "description": "Klases nosaukumi \u0161\u012b izv\u0113lnes vienuma saites elementam.", "type": "array", "items": { "type": "string" }, "required": false }, "description": { "description": "\u0160\u012bs izv\u0113lnes vienuma apraksts.", "type": "string", "required": false }, "menu_order": { "default": 1, "description": "Nav_menu_item DB ID, kas ir \u0161\u012b vienuma izv\u0113lnes pamats, ja t\u0101ds ir, cit\u0101di 0.", "type": "integer", "minimum": 1, "required": false }, "object": { "description": "S\u0101kotn\u0113ji att\u0113lot\u0101 objekta tips, piem\u0113ram, \"kategorija\", \"zi\u0146a\" vai \"pielikums\".", "type": "string", "required": false }, "object_id": { "default": 0, "description": "S\u0101kotn\u0113j\u0101 objekta datub\u0101zes ID, ko p\u0101rst\u0101v \u0161is izv\u0113lnes vienums, piem\u0113ram, ID zi\u0146\u0101m vai term_id kategorij\u0101m.", "type": "integer", "minimum": 0, "required": false }, "target": { "description": "\u0160\u012b izv\u0113lnes vienuma saites elementa m\u0113r\u0137a atrib\u016bts.", "type": "string", "enum": [ "_blank", "" ], "required": false }, "url": { "description": "URL, uz kuru nor\u0101da \u0161is izv\u0113lnes vienums.", "type": "string", "format": "uri", "required": false }, "xfn": { "description": "XFN sakar\u012bba, kas izteikta \u0161\u012b izv\u0113lnes vienuma sait\u0113.", "type": "array", "items": { "type": "string" }, "required": false }, "menus": { "description": "Uz objekta nav_menu taksonomiju attiecin\u0101ti termini.", "type": "integer", "required": false }, "meta": { "description": "Metadatu lauki.", "type": "object", "properties": { "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": "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-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": "", "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-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": "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": "" }, "mobile": { "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": "" } }, "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:\/\/www.triumphgifts.com\/lv\/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": "Unik\u0101ls zi\u0146as identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls zi\u0146as identifikators.", "type": "integer", "required": false }, "title": { "description": "Virsraksts objektam.", "type": [ "string", "object" ], "properties": { "raw": { "description": "Virsraksts objektam, k\u0101ds tas eksist\u0113 datub\u0101z\u0113.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML virsraksts objektam, transform\u0113ts att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "type": { "description": "S\u0101kotn\u0113ji p\u0101rst\u0101v\u0113to objektu saime, piem\u0113ram, \"post_type\" vai \"taksonomija\".", "type": "string", "enum": [ "taxonomy", "post_type", "post_type_archive", "custom" ], "required": false }, "status": { "description": "Nosauktais objekta statuss.", "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" ], "required": false }, "parent": { "description": "Pamatobjekta ID.", "type": "integer", "minimum": 0, "required": false }, "attr_title": { "description": "\u0160\u012b izv\u0113lnes vienuma saites elementa nosaukuma atrib\u016bta teksts.", "type": "string", "required": false }, "classes": { "description": "Klases nosaukumi \u0161\u012b izv\u0113lnes vienuma saites elementam.", "type": "array", "items": { "type": "string" }, "required": false }, "description": { "description": "\u0160\u012bs izv\u0113lnes vienuma apraksts.", "type": "string", "required": false }, "menu_order": { "description": "Nav_menu_item DB ID, kas ir \u0161\u012b vienuma izv\u0113lnes pamats, ja t\u0101ds ir, cit\u0101di 0.", "type": "integer", "minimum": 1, "required": false }, "object": { "description": "S\u0101kotn\u0113ji att\u0113lot\u0101 objekta tips, piem\u0113ram, \"kategorija\", \"zi\u0146a\" vai \"pielikums\".", "type": "string", "required": false }, "object_id": { "description": "S\u0101kotn\u0113j\u0101 objekta datub\u0101zes ID, ko p\u0101rst\u0101v \u0161is izv\u0113lnes vienums, piem\u0113ram, ID zi\u0146\u0101m vai term_id kategorij\u0101m.", "type": "integer", "minimum": 0, "required": false }, "target": { "description": "\u0160\u012b izv\u0113lnes vienuma saites elementa m\u0113r\u0137a atrib\u016bts.", "type": "string", "enum": [ "_blank", "" ], "required": false }, "url": { "description": "URL, uz kuru nor\u0101da \u0161is izv\u0113lnes vienums.", "type": "string", "format": "uri", "required": false }, "xfn": { "description": "XFN sakar\u012bba, kas izteikta \u0161\u012b izv\u0113lnes vienuma sait\u0113.", "type": "array", "items": { "type": "string" }, "required": false }, "menus": { "description": "Uz objekta nav_menu taksonomiju attiecin\u0101ti termini.", "type": "integer", "required": false }, "meta": { "description": "Metadatu lauki.", "type": "object", "properties": { "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": "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-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": "", "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-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": "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": "" }, "mobile": { "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": "" } }, "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": "Unik\u0101ls zi\u0146as identifikators.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Vai apiet atkritni un veikt piespiedu dz\u0113\u0161anu.", "required": false } } } ] }, "\/wp\/v2\/menu-items\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Autom\u0101tisk\u0101s saglab\u0101\u0161anas pamatelementa ID.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "Pamatobjekta ID.", "type": "integer", "minimum": 0, "required": false }, "title": { "description": "Virsraksts objektam.", "type": [ "string", "object" ], "properties": { "raw": { "description": "Virsraksts objektam, k\u0101ds tas eksist\u0113 datub\u0101z\u0113.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML virsraksts objektam, transform\u0113ts att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "type": { "description": "S\u0101kotn\u0113ji p\u0101rst\u0101v\u0113to objektu saime, piem\u0113ram, \"post_type\" vai \"taksonomija\".", "type": "string", "enum": [ "taxonomy", "post_type", "post_type_archive", "custom" ], "required": false }, "status": { "description": "Nosauktais objekta statuss.", "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" ], "required": false }, "attr_title": { "description": "\u0160\u012b izv\u0113lnes vienuma saites elementa nosaukuma atrib\u016bta teksts.", "type": "string", "required": false }, "classes": { "description": "Klases nosaukumi \u0161\u012b izv\u0113lnes vienuma saites elementam.", "type": "array", "items": { "type": "string" }, "required": false }, "description": { "description": "\u0160\u012bs izv\u0113lnes vienuma apraksts.", "type": "string", "required": false }, "menu_order": { "description": "Nav_menu_item DB ID, kas ir \u0161\u012b vienuma izv\u0113lnes pamats, ja t\u0101ds ir, cit\u0101di 0.", "type": "integer", "minimum": 1, "required": false }, "object": { "description": "S\u0101kotn\u0113ji att\u0113lot\u0101 objekta tips, piem\u0113ram, \"kategorija\", \"zi\u0146a\" vai \"pielikums\".", "type": "string", "required": false }, "object_id": { "description": "S\u0101kotn\u0113j\u0101 objekta datub\u0101zes ID, ko p\u0101rst\u0101v \u0161is izv\u0113lnes vienums, piem\u0113ram, ID zi\u0146\u0101m vai term_id kategorij\u0101m.", "type": "integer", "minimum": 0, "required": false }, "target": { "description": "\u0160\u012b izv\u0113lnes vienuma saites elementa m\u0113r\u0137a atrib\u016bts.", "type": "string", "enum": [ "_blank", "" ], "required": false }, "url": { "description": "URL, uz kuru nor\u0101da \u0161is izv\u0113lnes vienums.", "type": "string", "format": "uri", "required": false }, "xfn": { "description": "XFN sakar\u012bba, kas izteikta \u0161\u012b izv\u0113lnes vienuma sait\u0113.", "type": "array", "items": { "type": "string" }, "required": false }, "menus": { "description": "Uz objekta nav_menu taksonomiju attiecin\u0101ti termini.", "type": "integer", "required": false }, "meta": { "description": "Metadatu lauki.", "type": "object", "properties": { "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": "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-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": "", "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-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": "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": "" }, "mobile": { "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": "" } }, "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": "Autom\u0101tisk\u0101s saglab\u0101\u0161anas pamatelementa ID.", "type": "integer", "required": false }, "id": { "description": "Autom\u0101tisk\u0101s saglab\u0101\u0161anas ID.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "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": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildes zi\u0146\u0101m, kas public\u0113tas p\u0113c dot\u0101, ISO8601 atbilsto\u0161\u0101 datuma.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ierobe\u017eot atbildi uz zi\u0146\u0101m, kas modific\u0113tas p\u0113c noteikta ISO8601 atbilsto\u0161a datuma.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildes zi\u0146\u0101m, kas public\u0113tas pirms dot\u0101, ISO8601 atbilsto\u0161\u0101 datuma.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ierobe\u017eot atbildi uz zi\u0146\u0101m, kas modific\u0113tas pirms noteikta ISO8601 atbilsto\u0161a datuma.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Nodro\u0161ina, ka rezult\u0101tu kopa neiek\u013cauj konkr\u0113tu ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eot rezult\u0101tu kopu ar specifiskiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "K\u0101 interpret\u0113t mekl\u0113\u0161anas ievades datus.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Rezult\u0101tu kopas nob\u012bde par \u012bpa\u0161u vienumu skaitu.", "type": "integer", "required": false }, "order": { "description": "K\u0101rtot \u0161\u0137iro\u0161anas atrib\u016btu augo\u0161i vai dilsto\u0161i.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c zi\u0146as atrib\u016bta.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "Mekl\u0113jamo sleju nosaukumu mas\u012bvs.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Sa\u0161auriniet rezult\u0101tu kopu zi\u0146\u0101m ar viena vai vair\u0101k\u0101m konkr\u0113t\u0101m tak\u0101m.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Sa\u0161auriniet rezult\u0101tu kopas zi\u0146\u0101m, kam pie\u0161\u0137irts viens vai vair\u0101ki statusi.", "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", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "Ierobe\u017eot rezult\u0101tu kopu balstoties uz saikni starp vair\u0101k\u0101m taksonomij\u0101m.", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "wp_pattern_category": { "description": "Rezult\u0101ta ierobe\u017eojums ir iestat\u012bts uz vienumiem, kuriem wp_pattern_category taksonomij\u0101 ir noteikti \u012bpa\u0161i termini.", "type": [ "object", "array" ], "oneOf": [ { "title": "Terminu ID saraksts", "description": "Saska\u0146ojiet vienumus ar uzskait\u012btajiem ID.", "type": "array", "items": { "type": "integer" } }, { "title": "Termina ID taksonomijas vaic\u0101jums", "description": "Veiciet izv\u0113rstu termina vaic\u0101jumu.", "type": "object", "properties": { "terms": { "description": "Termi\u0146a ID.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Vai vienumiem j\u0101pie\u0161\u0137ir visi vai k\u0101ds no nor\u0101d\u012btajiem noteikumiem.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "wp_pattern_category_exclude": { "description": "Rezult\u0101ta ierobe\u017eojums ir iestat\u012bts uz vienumiem, iz\u0146emot tos, kuriem wp_pattern_category taksonomij\u0101 ir noteikti \u012bpa\u0161i termini.", "type": [ "object", "array" ], "oneOf": [ { "title": "Terminu ID saraksts", "description": "Saska\u0146ojiet vienumus ar uzskait\u012btajiem ID.", "type": "array", "items": { "type": "integer" } }, { "title": "Termina ID taksonomijas vaic\u0101jums", "description": "Veiciet izv\u0113rstu termina vaic\u0101jumu.", "type": "object", "properties": { "terms": { "description": "Termi\u0146a ID.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "Zi\u0146as public\u0113\u0161anas datums vietnes laika josl\u0101.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Zi\u0146as public\u0113\u0161anas datums (GMT).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Zi\u0146as burtciparu identifikators, unik\u0101ls katram veidam.", "type": "string", "required": false }, "status": { "description": "Nosauktais zi\u0146as statuss.", "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" ], "required": false }, "password": { "description": "Parole lai aizsarg\u0101tu piek\u013cuvi saturam un izrakstam.", "type": "string", "required": false }, "title": { "description": "Zi\u0146as nosaukums.", "type": "object", "properties": { "raw": { "description": "Datu b\u0101z\u0113 eso\u0161s zi\u0146as virsraksts.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "content": { "description": "Zi\u0146as saturs.", "type": "object", "properties": { "raw": { "description": "Zi\u0146as saturs, k\u0101ds tas atrodas datu b\u0101z\u0113.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Zi\u0146\u0101 izmantot\u0101 satura bloka form\u0101ta versija.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Saturs ir vai nav aizsarg\u0101ts ar paroli.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "excerpt": { "description": "Zi\u0146as izraksts.", "type": "object", "properties": { "raw": { "description": "Datu b\u0101z\u0113 eso\u0161s zi\u0146as izraksts.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Att\u0113lo\u0161anai p\u0101rveidots zi\u0146as HTML fragments.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Izraksts ir vai nav aizsarg\u0101ts ar paroli.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "meta": { "description": "Metadatu lauki.", "type": "object", "properties": { "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": "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-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": "", "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-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": "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": "" }, "mobile": { "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": "" } }, "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": "T\u0113mas fails, ko izmant, zi\u0146as par\u0101d\u012b\u0161anai..", "type": "string", "required": false }, "wp_pattern_category": { "description": "Nosac\u012bjumi, kas pie\u0161\u0137irti \u0161ai zi\u0146ai wp_pattern_category taksonomij\u0101.", "type": "array", "items": { "type": "integer" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Unik\u0101ls zi\u0146as identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "excerpt_length": { "description": "Aizst\u0101t noklus\u0113juma fragmenta garumu.", "type": "integer", "required": false }, "password": { "description": "Parole zi\u0146ai, ja t\u0101 ir aizsarg\u0101ta ar paroli.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls zi\u0146as identifikators.", "type": "integer", "required": false }, "date": { "description": "Zi\u0146as public\u0113\u0161anas datums vietnes laika josl\u0101.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Zi\u0146as public\u0113\u0161anas datums (GMT).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Zi\u0146as burtciparu identifikators, unik\u0101ls katram veidam.", "type": "string", "required": false }, "status": { "description": "Nosauktais zi\u0146as statuss.", "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" ], "required": false }, "password": { "description": "Parole lai aizsarg\u0101tu piek\u013cuvi saturam un izrakstam.", "type": "string", "required": false }, "title": { "description": "Zi\u0146as nosaukums.", "type": "object", "properties": { "raw": { "description": "Datu b\u0101z\u0113 eso\u0161s zi\u0146as virsraksts.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "content": { "description": "Zi\u0146as saturs.", "type": "object", "properties": { "raw": { "description": "Zi\u0146as saturs, k\u0101ds tas atrodas datu b\u0101z\u0113.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Zi\u0146\u0101 izmantot\u0101 satura bloka form\u0101ta versija.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Saturs ir vai nav aizsarg\u0101ts ar paroli.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "excerpt": { "description": "Zi\u0146as izraksts.", "type": "object", "properties": { "raw": { "description": "Datu b\u0101z\u0113 eso\u0161s zi\u0146as izraksts.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Att\u0113lo\u0161anai p\u0101rveidots zi\u0146as HTML fragments.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Izraksts ir vai nav aizsarg\u0101ts ar paroli.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "meta": { "description": "Metadatu lauki.", "type": "object", "properties": { "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": "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-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": "", "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-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": "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": "" }, "mobile": { "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": "" } }, "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": "T\u0113mas fails, ko izmant, zi\u0146as par\u0101d\u012b\u0161anai..", "type": "string", "required": false }, "wp_pattern_category": { "description": "Nosac\u012bjumi, kas pie\u0161\u0137irti \u0161ai zi\u0146ai wp_pattern_category taksonomij\u0101.", "type": "array", "items": { "type": "integer" }, "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls zi\u0146as identifikators.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Vai apiet atkritni un veikt piespiedu dz\u0113\u0161anu.", "required": false } } } ] }, "\/wp\/v2\/blocks\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "P\u0101rskat\u012bjuma vec\u0101kelementa ID.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161ina, ka rezult\u0101tu kopa neiek\u013cauj konkr\u0113tu ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eot rezult\u0101tu kopu ar specifiskiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Rezult\u0101tu kopas nob\u012bde par \u012bpa\u0161u vienumu skaitu.", "type": "integer", "required": false }, "order": { "description": "K\u0101rtot \u0161\u0137iro\u0161anas atrib\u016btu augo\u0161i vai dilsto\u0161i.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "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": "P\u0101rskat\u012bjuma vec\u0101kelementa ID.", "type": "integer", "required": false }, "id": { "description": "P\u0101rskat\u012b\u0161anas unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "P\u0101rskat\u012bjuma vec\u0101kelementa ID.", "type": "integer", "required": false }, "id": { "description": "P\u0101rskat\u012b\u0161anas unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Pras\u012bts, lai b\u016btu pareizs, jo labojumus nevar dz\u0113st.", "required": false } } } ] }, "\/wp\/v2\/blocks\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Autom\u0101tisk\u0101s saglab\u0101\u0161anas pamatelementa ID.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "Autom\u0101tisk\u0101s saglab\u0101\u0161anas pamatelementa ID.", "type": "integer", "required": false }, "date": { "description": "Zi\u0146as public\u0113\u0161anas datums vietnes laika josl\u0101.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Zi\u0146as public\u0113\u0161anas datums (GMT).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Zi\u0146as burtciparu identifikators, unik\u0101ls katram veidam.", "type": "string", "required": false }, "status": { "description": "Nosauktais zi\u0146as statuss.", "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" ], "required": false }, "password": { "description": "Parole lai aizsarg\u0101tu piek\u013cuvi saturam un izrakstam.", "type": "string", "required": false }, "title": { "description": "Zi\u0146as nosaukums.", "type": "object", "properties": { "raw": { "description": "Datu b\u0101z\u0113 eso\u0161s zi\u0146as virsraksts.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "content": { "description": "Zi\u0146as saturs.", "type": "object", "properties": { "raw": { "description": "Zi\u0146as saturs, k\u0101ds tas atrodas datu b\u0101z\u0113.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Zi\u0146\u0101 izmantot\u0101 satura bloka form\u0101ta versija.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Saturs ir vai nav aizsarg\u0101ts ar paroli.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "excerpt": { "description": "Zi\u0146as izraksts.", "type": "object", "properties": { "raw": { "description": "Datu b\u0101z\u0113 eso\u0161s zi\u0146as izraksts.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Att\u0113lo\u0161anai p\u0101rveidots zi\u0146as HTML fragments.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Izraksts ir vai nav aizsarg\u0101ts ar paroli.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "meta": { "description": "Metadatu lauki.", "type": "object", "properties": { "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": "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-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": "", "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-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": "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": "" }, "mobile": { "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": "" } }, "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": "T\u0113mas fails, ko izmant, zi\u0146as par\u0101d\u012b\u0161anai..", "type": "string", "required": false }, "wp_pattern_category": { "description": "Nosac\u012bjumi, kas pie\u0161\u0137irti \u0161ai zi\u0146ai wp_pattern_category taksonomij\u0101.", "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": "Autom\u0101tisk\u0101s saglab\u0101\u0161anas pamatelementa ID.", "type": "integer", "required": false }, "id": { "description": "Autom\u0101tisk\u0101s saglab\u0101\u0161anas ID.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "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": "Veidnes ID", "type": "string", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161ina, ka rezult\u0101tu kopa neiek\u013cauj konkr\u0113tu ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eot rezult\u0101tu kopu ar specifiskiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Rezult\u0101tu kopas nob\u012bde par \u012bpa\u0161u vienumu skaitu.", "type": "integer", "required": false }, "order": { "description": "K\u0101rtot \u0161\u0137iro\u0161anas atrib\u016btu augo\u0161i vai dilsto\u0161i.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "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": "Veidnes ID", "type": "string", "required": false }, "id": { "description": "P\u0101rskat\u012b\u0161anas unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "Veidnes ID", "type": "string", "required": false }, "id": { "description": "P\u0101rskat\u012b\u0161anas unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Pras\u012bts, lai b\u016btu pareizs, jo labojumus nevar dz\u0113st.", "required": false } } } ] }, "\/wp\/v2\/templates\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Veidnes ID", "type": "string", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "id": { "description": "Veidnes ID", "type": "string", "required": false }, "slug": { "description": "Unik\u0101la taka, kas identific\u0113 veidni.", "type": "string", "minLength": 1, "pattern": "[a-zA-Z0-9_\\%-]+", "required": false }, "theme": { "description": "T\u0113mas identifikators veidnei.", "type": "string", "required": false }, "type": { "description": "Veidnes veids.", "type": "string", "required": false }, "content": { "description": "Veidnes saturs.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Veidnes saturs, k\u0101ds tas past\u0101v datu b\u0101z\u0113.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Veidn\u0113 izmantot\u0101 satura bloka form\u0101ta versija.", "type": "integer", "context": [ "edit" ], "readonly": true } }, "required": false }, "title": { "description": "Veidnes nosaukums.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Veidnes nosaukums, k\u0101ds tas past\u0101v datu b\u0101z\u0113.", "type": "string", "context": [ "view", "edit", "embed" ] }, "rendered": { "description": "Veidnes HTML\u00a0nosaukums, p\u0101rveidots par\u0101d\u012b\u0161anai.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "description": "Veidnes apraksts.", "type": "string", "required": false }, "status": { "description": "Veidnes statuss.", "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" ], "required": false }, "author": { "description": "Veidnes autora ID.", "type": "integer", "required": false } } } ] }, "\/wp\/v2\/templates\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Veidnes ID", "type": "string", "required": false }, "id": { "description": "Autom\u0101tisk\u0101s saglab\u0101\u0161anas ID.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "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": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "wp_id": { "description": "Ierobe\u017eot ar nor\u0101d\u012bto zi\u0146as ID.", "type": "integer", "required": false }, "area": { "description": "Ierobe\u017eot nor\u0101d\u012btaj\u0101 veidnes da\u013cas apgabal\u0101.", "type": "string", "required": false }, "post_type": { "description": "Zi\u0146as veids, lai ieg\u016btu veidnes.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "slug": { "description": "Unik\u0101la taka, kas identific\u0113 veidni.", "type": "string", "minLength": 1, "pattern": "[a-zA-Z0-9_\\%-]+", "required": true }, "theme": { "description": "T\u0113mas identifikators veidnei.", "type": "string", "required": false }, "type": { "description": "Veidnes veids.", "type": "string", "required": false }, "content": { "default": "", "description": "Veidnes saturs.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Veidnes saturs, k\u0101ds tas past\u0101v datu b\u0101z\u0113.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Veidn\u0113 izmantot\u0101 satura bloka form\u0101ta versija.", "type": "integer", "context": [ "edit" ], "readonly": true } }, "required": false }, "title": { "default": "", "description": "Veidnes nosaukums.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Veidnes nosaukums, k\u0101ds tas past\u0101v datu b\u0101z\u0113.", "type": "string", "context": [ "view", "edit", "embed" ] }, "rendered": { "description": "Veidnes HTML\u00a0nosaukums, p\u0101rveidots par\u0101d\u012b\u0161anai.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "default": "", "description": "Veidnes apraksts.", "type": "string", "required": false }, "status": { "default": "publish", "description": "Veidnes statuss.", "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" ], "required": false }, "author": { "description": "Veidnes autora ID.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp\/v2\/templates" } ] } }, "\/wp\/v2\/templates\/lookup": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "description": "Veidnes taka, lai ieg\u016btu rezerves variantu", "type": "string", "required": true }, "is_custom": { "description": "Nor\u0101da, vai veidne ir piel\u0101gota vai da\u013ca no veid\u0146u hierarhijas", "type": "boolean", "required": false }, "template_prefix": { "description": "Izveidot\u0101s veidnes prefikss. To izmanto, lai ieg\u016btu galveno veidnes tipu, piem\u0113ram, `taxonomy-books` ieg\u016bst `taxonomy`.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Veidnes ID", "type": "string", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Veidnes ID", "type": "string", "required": false }, "slug": { "description": "Unik\u0101la taka, kas identific\u0113 veidni.", "type": "string", "minLength": 1, "pattern": "[a-zA-Z0-9_\\%-]+", "required": false }, "theme": { "description": "T\u0113mas identifikators veidnei.", "type": "string", "required": false }, "type": { "description": "Veidnes veids.", "type": "string", "required": false }, "content": { "description": "Veidnes saturs.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Veidnes saturs, k\u0101ds tas past\u0101v datu b\u0101z\u0113.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Veidn\u0113 izmantot\u0101 satura bloka form\u0101ta versija.", "type": "integer", "context": [ "edit" ], "readonly": true } }, "required": false }, "title": { "description": "Veidnes nosaukums.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Veidnes nosaukums, k\u0101ds tas past\u0101v datu b\u0101z\u0113.", "type": "string", "context": [ "view", "edit", "embed" ] }, "rendered": { "description": "Veidnes HTML\u00a0nosaukums, p\u0101rveidots par\u0101d\u012b\u0161anai.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "description": "Veidnes apraksts.", "type": "string", "required": false }, "status": { "description": "Veidnes statuss.", "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" ], "required": false }, "author": { "description": "Veidnes autora ID.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Veidnes ID", "type": "string", "required": false }, "force": { "type": "boolean", "default": false, "description": "Vai apiet atkritni un veikt piespiedu dz\u0113\u0161anu.", "required": false } } } ] }, "\/wp\/v2\/template-parts\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Veidnes ID", "type": "string", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161ina, ka rezult\u0101tu kopa neiek\u013cauj konkr\u0113tu ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eot rezult\u0101tu kopu ar specifiskiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Rezult\u0101tu kopas nob\u012bde par \u012bpa\u0161u vienumu skaitu.", "type": "integer", "required": false }, "order": { "description": "K\u0101rtot \u0161\u0137iro\u0161anas atrib\u016btu augo\u0161i vai dilsto\u0161i.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "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": "Veidnes ID", "type": "string", "required": false }, "id": { "description": "P\u0101rskat\u012b\u0161anas unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "Veidnes ID", "type": "string", "required": false }, "id": { "description": "P\u0101rskat\u012b\u0161anas unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Pras\u012bts, lai b\u016btu pareizs, jo labojumus nevar dz\u0113st.", "required": false } } } ] }, "\/wp\/v2\/template-parts\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Veidnes ID", "type": "string", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "id": { "description": "Veidnes ID", "type": "string", "required": false }, "slug": { "description": "Unik\u0101la taka, kas identific\u0113 veidni.", "type": "string", "minLength": 1, "pattern": "[a-zA-Z0-9_\\%-]+", "required": false }, "theme": { "description": "T\u0113mas identifikators veidnei.", "type": "string", "required": false }, "type": { "description": "Veidnes veids.", "type": "string", "required": false }, "content": { "description": "Veidnes saturs.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Veidnes saturs, k\u0101ds tas past\u0101v datu b\u0101z\u0113.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Veidn\u0113 izmantot\u0101 satura bloka form\u0101ta versija.", "type": "integer", "context": [ "edit" ], "readonly": true } }, "required": false }, "title": { "description": "Veidnes nosaukums.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Veidnes nosaukums, k\u0101ds tas past\u0101v datu b\u0101z\u0113.", "type": "string", "context": [ "view", "edit", "embed" ] }, "rendered": { "description": "Veidnes HTML\u00a0nosaukums, p\u0101rveidots par\u0101d\u012b\u0161anai.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "description": "Veidnes apraksts.", "type": "string", "required": false }, "status": { "description": "Veidnes statuss.", "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" ], "required": false }, "author": { "description": "Veidnes autora ID.", "type": "integer", "required": false }, "area": { "description": "Kur veidnes da\u013ca paredz\u0113ta lieto\u0161anai (galvene, k\u0101jene utt.)", "type": "string", "required": false } } } ] }, "\/wp\/v2\/template-parts\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Veidnes ID", "type": "string", "required": false }, "id": { "description": "Autom\u0101tisk\u0101s saglab\u0101\u0161anas ID.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "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": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "wp_id": { "description": "Ierobe\u017eot ar nor\u0101d\u012bto zi\u0146as ID.", "type": "integer", "required": false }, "area": { "description": "Ierobe\u017eot nor\u0101d\u012btaj\u0101 veidnes da\u013cas apgabal\u0101.", "type": "string", "required": false }, "post_type": { "description": "Zi\u0146as veids, lai ieg\u016btu veidnes.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "slug": { "description": "Unik\u0101la taka, kas identific\u0113 veidni.", "type": "string", "minLength": 1, "pattern": "[a-zA-Z0-9_\\%-]+", "required": true }, "theme": { "description": "T\u0113mas identifikators veidnei.", "type": "string", "required": false }, "type": { "description": "Veidnes veids.", "type": "string", "required": false }, "content": { "default": "", "description": "Veidnes saturs.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Veidnes saturs, k\u0101ds tas past\u0101v datu b\u0101z\u0113.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Veidn\u0113 izmantot\u0101 satura bloka form\u0101ta versija.", "type": "integer", "context": [ "edit" ], "readonly": true } }, "required": false }, "title": { "default": "", "description": "Veidnes nosaukums.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Veidnes nosaukums, k\u0101ds tas past\u0101v datu b\u0101z\u0113.", "type": "string", "context": [ "view", "edit", "embed" ] }, "rendered": { "description": "Veidnes HTML\u00a0nosaukums, p\u0101rveidots par\u0101d\u012b\u0161anai.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "default": "", "description": "Veidnes apraksts.", "type": "string", "required": false }, "status": { "default": "publish", "description": "Veidnes statuss.", "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" ], "required": false }, "author": { "description": "Veidnes autora ID.", "type": "integer", "required": false }, "area": { "description": "Kur veidnes da\u013ca paredz\u0113ta lieto\u0161anai (galvene, k\u0101jene utt.)", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp\/v2\/template-parts" } ] } }, "\/wp\/v2\/template-parts\/lookup": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "description": "Veidnes taka, lai ieg\u016btu rezerves variantu", "type": "string", "required": true }, "is_custom": { "description": "Nor\u0101da, vai veidne ir piel\u0101gota vai da\u013ca no veid\u0146u hierarhijas", "type": "boolean", "required": false }, "template_prefix": { "description": "Izveidot\u0101s veidnes prefikss. To izmanto, lai ieg\u016btu galveno veidnes tipu, piem\u0113ram, `taxonomy-books` ieg\u016bst `taxonomy`.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Veidnes ID", "type": "string", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Veidnes ID", "type": "string", "required": false }, "slug": { "description": "Unik\u0101la taka, kas identific\u0113 veidni.", "type": "string", "minLength": 1, "pattern": "[a-zA-Z0-9_\\%-]+", "required": false }, "theme": { "description": "T\u0113mas identifikators veidnei.", "type": "string", "required": false }, "type": { "description": "Veidnes veids.", "type": "string", "required": false }, "content": { "description": "Veidnes saturs.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Veidnes saturs, k\u0101ds tas past\u0101v datu b\u0101z\u0113.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Veidn\u0113 izmantot\u0101 satura bloka form\u0101ta versija.", "type": "integer", "context": [ "edit" ], "readonly": true } }, "required": false }, "title": { "description": "Veidnes nosaukums.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Veidnes nosaukums, k\u0101ds tas past\u0101v datu b\u0101z\u0113.", "type": "string", "context": [ "view", "edit", "embed" ] }, "rendered": { "description": "Veidnes HTML\u00a0nosaukums, p\u0101rveidots par\u0101d\u012b\u0161anai.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "description": "Veidnes apraksts.", "type": "string", "required": false }, "status": { "description": "Veidnes statuss.", "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" ], "required": false }, "author": { "description": "Veidnes autora ID.", "type": "integer", "required": false }, "area": { "description": "Kur veidnes da\u013ca paredz\u0113ta lieto\u0161anai (galvene, k\u0101jene utt.)", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Veidnes ID", "type": "string", "required": false }, "force": { "type": "boolean", "default": false, "description": "Vai apiet atkritni un veikt piespiedu dz\u0113\u0161anu.", "required": false } } } ] }, "\/wp\/v2\/global-styles\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "P\u0101rskat\u012bjuma vec\u0101kelementa ID.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "offset": { "description": "Rezult\u0101tu kopas nob\u012bde par \u012bpa\u0161u vienumu skaitu.", "type": "integer", "required": false } } } ] }, "\/wp\/v2\/global-styles\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Glob\u0101lo stilu p\u0101rskat\u012b\u0161anas cilmes ID.", "type": "integer", "required": false }, "id": { "description": "Unik\u0101ls glob\u0101lo stilu p\u0101rskat\u012b\u0161anas identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "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": "T\u0113mas identifikators", "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": "T\u0113mas identifikators", "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": "Veidnes ID", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": false }, "args": { "styles": { "description": "Glob\u0101lie stili.", "type": [ "object" ], "required": false }, "settings": { "description": "Glob\u0101lie iestat\u012bjumi.", "type": [ "object" ], "required": false }, "title": { "description": "Glob\u0101lo stilu variantu nosaukums.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Glob\u0101lo stilu varianta nosaukums, k\u0101ds tas ir datu b\u0101z\u0113.", "type": "string", "context": [ "view", "edit", "embed" ] }, "rendered": { "description": "HTML virsraksts zi\u0146ai, p\u0101rveidots att\u0113lo\u0161anai.", "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": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildes zi\u0146\u0101m, kas public\u0113tas p\u0113c dot\u0101, ISO8601 atbilsto\u0161\u0101 datuma.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ierobe\u017eot atbildi uz zi\u0146\u0101m, kas modific\u0113tas p\u0113c noteikta ISO8601 atbilsto\u0161a datuma.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildes zi\u0146\u0101m, kas public\u0113tas pirms dot\u0101, ISO8601 atbilsto\u0161\u0101 datuma.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ierobe\u017eot atbildi uz zi\u0146\u0101m, kas modific\u0113tas pirms noteikta ISO8601 atbilsto\u0161a datuma.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Nodro\u0161ina, ka rezult\u0101tu kopa neiek\u013cauj konkr\u0113tu ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eot rezult\u0101tu kopu ar specifiskiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "K\u0101 interpret\u0113t mekl\u0113\u0161anas ievades datus.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Rezult\u0101tu kopas nob\u012bde par \u012bpa\u0161u vienumu skaitu.", "type": "integer", "required": false }, "order": { "description": "K\u0101rtot \u0161\u0137iro\u0161anas atrib\u016btu augo\u0161i vai dilsto\u0161i.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c zi\u0146as atrib\u016bta.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "Mekl\u0113jamo sleju nosaukumu mas\u012bvs.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Sa\u0161auriniet rezult\u0101tu kopu zi\u0146\u0101m ar viena vai vair\u0101k\u0101m konkr\u0113t\u0101m tak\u0101m.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Sa\u0161auriniet rezult\u0101tu kopas zi\u0146\u0101m, kam pie\u0161\u0137irts viens vai vair\u0101ki statusi.", "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", "any" ], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "Zi\u0146as public\u0113\u0161anas datums vietnes laika josl\u0101.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Zi\u0146as public\u0113\u0161anas datums (GMT).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Zi\u0146as burtciparu identifikators, unik\u0101ls katram veidam.", "type": "string", "required": false }, "status": { "description": "Nosauktais zi\u0146as statuss.", "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" ], "required": false }, "password": { "description": "Parole lai aizsarg\u0101tu piek\u013cuvi saturam un izrakstam.", "type": "string", "required": false }, "title": { "description": "Zi\u0146as nosaukums.", "type": "object", "properties": { "raw": { "description": "Datu b\u0101z\u0113 eso\u0161s zi\u0146as virsraksts.", "type": "string", "context": [ "edit", "embed" ] }, "rendered": { "description": "HTML virsraksts zi\u0146ai, p\u0101rveidots att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Zi\u0146as saturs.", "type": "object", "properties": { "raw": { "description": "Zi\u0146as saturs, k\u0101ds tas atrodas datu b\u0101z\u0113.", "type": "string", "context": [ "edit", "embed" ] }, "rendered": { "description": "HTML saturs zi\u0146ai, p\u0101rveidots att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "block_version": { "description": "Zi\u0146\u0101 izmantot\u0101 satura bloka form\u0101ta versija.", "type": "integer", "context": [ "edit", "embed" ], "readonly": true }, "protected": { "description": "Saturs ir vai nav aizsarg\u0101ts ar paroli.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "template": { "description": "T\u0113mas fails, ko izmant, zi\u0146as par\u0101d\u012b\u0161anai..", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Unik\u0101ls zi\u0146as identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "Parole zi\u0146ai, ja t\u0101 ir aizsarg\u0101ta ar paroli.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls zi\u0146as identifikators.", "type": "integer", "required": false }, "date": { "description": "Zi\u0146as public\u0113\u0161anas datums vietnes laika josl\u0101.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Zi\u0146as public\u0113\u0161anas datums (GMT).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Zi\u0146as burtciparu identifikators, unik\u0101ls katram veidam.", "type": "string", "required": false }, "status": { "description": "Nosauktais zi\u0146as statuss.", "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" ], "required": false }, "password": { "description": "Parole lai aizsarg\u0101tu piek\u013cuvi saturam un izrakstam.", "type": "string", "required": false }, "title": { "description": "Zi\u0146as nosaukums.", "type": "object", "properties": { "raw": { "description": "Datu b\u0101z\u0113 eso\u0161s zi\u0146as virsraksts.", "type": "string", "context": [ "edit", "embed" ] }, "rendered": { "description": "HTML virsraksts zi\u0146ai, p\u0101rveidots att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Zi\u0146as saturs.", "type": "object", "properties": { "raw": { "description": "Zi\u0146as saturs, k\u0101ds tas atrodas datu b\u0101z\u0113.", "type": "string", "context": [ "edit", "embed" ] }, "rendered": { "description": "HTML saturs zi\u0146ai, p\u0101rveidots att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "block_version": { "description": "Zi\u0146\u0101 izmantot\u0101 satura bloka form\u0101ta versija.", "type": "integer", "context": [ "edit", "embed" ], "readonly": true }, "protected": { "description": "Saturs ir vai nav aizsarg\u0101ts ar paroli.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "template": { "description": "T\u0113mas fails, ko izmant, zi\u0146as par\u0101d\u012b\u0161anai..", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls zi\u0146as identifikators.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Vai apiet atkritni un veikt piespiedu dz\u0113\u0161anu.", "required": false } } } ] }, "\/wp\/v2\/navigation\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "P\u0101rskat\u012bjuma vec\u0101kelementa ID.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161ina, ka rezult\u0101tu kopa neiek\u013cauj konkr\u0113tu ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eot rezult\u0101tu kopu ar specifiskiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Rezult\u0101tu kopas nob\u012bde par \u012bpa\u0161u vienumu skaitu.", "type": "integer", "required": false }, "order": { "description": "K\u0101rtot \u0161\u0137iro\u0161anas atrib\u016btu augo\u0161i vai dilsto\u0161i.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "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": "P\u0101rskat\u012bjuma vec\u0101kelementa ID.", "type": "integer", "required": false }, "id": { "description": "P\u0101rskat\u012b\u0161anas unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "P\u0101rskat\u012bjuma vec\u0101kelementa ID.", "type": "integer", "required": false }, "id": { "description": "P\u0101rskat\u012b\u0161anas unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Pras\u012bts, lai b\u016btu pareizs, jo labojumus nevar dz\u0113st.", "required": false } } } ] }, "\/wp\/v2\/navigation\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Autom\u0101tisk\u0101s saglab\u0101\u0161anas pamatelementa ID.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "Autom\u0101tisk\u0101s saglab\u0101\u0161anas pamatelementa ID.", "type": "integer", "required": false }, "date": { "description": "Zi\u0146as public\u0113\u0161anas datums vietnes laika josl\u0101.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Zi\u0146as public\u0113\u0161anas datums (GMT).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Zi\u0146as burtciparu identifikators, unik\u0101ls katram veidam.", "type": "string", "required": false }, "status": { "description": "Nosauktais zi\u0146as statuss.", "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" ], "required": false }, "password": { "description": "Parole lai aizsarg\u0101tu piek\u013cuvi saturam un izrakstam.", "type": "string", "required": false }, "title": { "description": "Zi\u0146as nosaukums.", "type": "object", "properties": { "raw": { "description": "Datu b\u0101z\u0113 eso\u0161s zi\u0146as virsraksts.", "type": "string", "context": [ "edit", "embed" ] }, "rendered": { "description": "HTML virsraksts zi\u0146ai, p\u0101rveidots att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Zi\u0146as saturs.", "type": "object", "properties": { "raw": { "description": "Zi\u0146as saturs, k\u0101ds tas atrodas datu b\u0101z\u0113.", "type": "string", "context": [ "edit", "embed" ] }, "rendered": { "description": "HTML saturs zi\u0146ai, p\u0101rveidots att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "block_version": { "description": "Zi\u0146\u0101 izmantot\u0101 satura bloka form\u0101ta versija.", "type": "integer", "context": [ "edit", "embed" ], "readonly": true }, "protected": { "description": "Saturs ir vai nav aizsarg\u0101ts ar paroli.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "template": { "description": "T\u0113mas fails, ko izmant, zi\u0146as par\u0101d\u012b\u0161anai..", "type": "string", "required": false } } } ] }, "\/wp\/v2\/navigation\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Autom\u0101tisk\u0101s saglab\u0101\u0161anas pamatelementa ID.", "type": "integer", "required": false }, "id": { "description": "Autom\u0101tisk\u0101s saglab\u0101\u0161anas ID.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "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": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "exclude": { "description": "Nodro\u0161ina, ka rezult\u0101tu kopa neiek\u013cauj konkr\u0113tu ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eot rezult\u0101tu kopu ar specifiskiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "K\u0101 interpret\u0113t mekl\u0113\u0161anas ievades datus.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Rezult\u0101tu kopas nob\u012bde par \u012bpa\u0161u vienumu skaitu.", "type": "integer", "required": false }, "order": { "description": "K\u0101rtot \u0161\u0137iro\u0161anas atrib\u016btu augo\u0161i vai dilsto\u0161i.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c zi\u0146as atrib\u016bta.", "type": "string", "default": "id", "enum": [ "id", "include" ], "required": false }, "slug": { "description": "Sa\u0161auriniet rezult\u0101tu kopu zi\u0146\u0101m ar viena vai vair\u0101k\u0101m konkr\u0113t\u0101m tak\u0101m.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "theme_json_version": { "description": "Tipogr\u0101fijas iestat\u012bjumiem izmantot\u0101s sh\u0113mas theme.json versija.", "type": "integer", "default": 3, "minimum": 2, "maximum": 3, "required": false }, "font_family_settings": { "description": "font-family deklar\u0101cija theme.json form\u0101t\u0101, kas kod\u0113ta k\u0101 virkne.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/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": "Unik\u0101ls zi\u0146as identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unik\u0101ls zi\u0146as identifikators.", "type": "integer", "required": false }, "theme_json_version": { "description": "Tipogr\u0101fijas iestat\u012bjumiem izmantot\u0101s sh\u0113mas theme.json versija.", "type": "integer", "default": 3, "minimum": 2, "maximum": 3, "required": false }, "font_family_settings": { "description": "font-family deklar\u0101cija theme.json form\u0101t\u0101, kas kod\u0113ta k\u0101 virkne.", "type": "string", "required": true } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unik\u0101ls zi\u0146as identifikators.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Vai apiet atkritni un veikt piespiedu dz\u0113\u0161anu.", "required": false } } } ] }, "\/wp\/v2\/font-families\/(?P[\\d]+)\/font-faces": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "font_family_id": { "description": "Burtveida vec\u0101ku fontu saimes ID.", "type": "integer", "required": true }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "exclude": { "description": "Nodro\u0161ina, ka rezult\u0101tu kopa neiek\u013cauj konkr\u0113tu ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eot rezult\u0101tu kopu ar specifiskiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "K\u0101 interpret\u0113t mekl\u0113\u0161anas ievades datus.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Rezult\u0101tu kopas nob\u012bde par \u012bpa\u0161u vienumu skaitu.", "type": "integer", "required": false }, "order": { "description": "K\u0101rtot \u0161\u0137iro\u0161anas atrib\u016btu augo\u0161i vai dilsto\u0161i.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c zi\u0146as atrib\u016bta.", "type": "string", "default": "id", "enum": [ "id", "include" ], "required": false } } }, { "methods": [ "POST" ], "args": { "font_family_id": { "description": "Burtveida vec\u0101ku fontu saimes ID.", "type": "integer", "required": true }, "theme_json_version": { "description": "Tipogr\u0101fijas iestat\u012bjumiem izmantot\u0101s sh\u0113mas theme.json versija.", "type": "integer", "default": 3, "minimum": 2, "maximum": 3, "required": false }, "font_face_settings": { "description": "font-face deklar\u0101cija theme.json form\u0101t\u0101, kas kod\u0113ta k\u0101 virkne.", "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": "Burtveida vec\u0101ku fontu saimes ID.", "type": "integer", "required": true }, "id": { "description": "Unik\u0101ls burtveida identifikators.", "type": "integer", "required": true }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "font_family_id": { "description": "Burtveida vec\u0101ku fontu saimes ID.", "type": "integer", "required": true }, "id": { "description": "Unik\u0101ls burtveida identifikators.", "type": "integer", "required": true }, "force": { "type": "boolean", "default": false, "description": "Vai apiet atkritni un veikt piespiedu dz\u0113\u0161anu.", "required": false } } } ] }, "\/wp\/v2\/e-floating-buttons": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildes zi\u0146\u0101m, kas public\u0113tas p\u0113c dot\u0101, ISO8601 atbilsto\u0161\u0101 datuma.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ierobe\u017eot atbildi uz zi\u0146\u0101m, kas modific\u0113tas p\u0113c noteikta ISO8601 atbilsto\u0161a datuma.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Ierobe\u017eot rezult\u0101tu kopas zi\u0146\u0101m, kas pie\u0161\u0137irtas konkr\u0113tiem autoriem.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Nodro\u0161ina, ka rezult\u0101tu kopas izsl\u0113dz konkr\u0113tiem autoriem pie\u0161\u0137irtas zi\u0146as.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Ierobe\u017eot atbildes zi\u0146\u0101m, kas public\u0113tas pirms dot\u0101, ISO8601 atbilsto\u0161\u0101 datuma.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ierobe\u017eot atbildi uz zi\u0146\u0101m, kas modific\u0113tas pirms noteikta ISO8601 atbilsto\u0161a datuma.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Nodro\u0161ina, ka rezult\u0101tu kopa neiek\u013cauj konkr\u0113tu ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eot rezult\u0101tu kopu ar specifiskiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "menu_order": { "description": "Ierobe\u017eot rezult\u0101tu kopas zi\u0146\u0101m ar \u012bpa\u0161u menu_order v\u0113rt\u012bbu.", "type": "integer", "required": false }, "search_semantics": { "description": "K\u0101 interpret\u0113t mekl\u0113\u0161anas ievades datus.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Rezult\u0101tu kopas nob\u012bde par \u012bpa\u0161u vienumu skaitu.", "type": "integer", "required": false }, "order": { "description": "K\u0101rtot \u0161\u0137iro\u0161anas atrib\u016btu augo\u0161i vai dilsto\u0161i.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c zi\u0146as atrib\u016bta.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "menu_order" ], "required": false }, "search_columns": { "default": [], "description": "Mekl\u0113jamo sleju nosaukumu mas\u012bvs.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Sa\u0161auriniet rezult\u0101tu kopu zi\u0146\u0101m ar viena vai vair\u0101k\u0101m konkr\u0113t\u0101m tak\u0101m.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Sa\u0161auriniet rezult\u0101tu kopas zi\u0146\u0101m, kam pie\u0161\u0137irts viens vai vair\u0101ki statusi.", "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", "any" ], "type": "string" }, "required": false }, "format": { "description": "Ierobe\u017eot rezult\u0101tu kopu ar vienumiem, kam pie\u0161\u0137irts viens vai vair\u0101ki nor\u0101d\u012btie form\u0101ti.", "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": "Zi\u0146as public\u0113\u0161anas datums vietnes laika josl\u0101.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Zi\u0146as public\u0113\u0161anas datums (GMT).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Zi\u0146as burtciparu identifikators, unik\u0101ls katram veidam.", "type": "string", "required": false }, "status": { "description": "Nosauktais zi\u0146as statuss.", "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" ], "required": false }, "password": { "description": "Parole lai aizsarg\u0101tu piek\u013cuvi saturam un izrakstam.", "type": "string", "required": false }, "title": { "description": "Zi\u0146as nosaukums.", "type": "object", "properties": { "raw": { "description": "Datu b\u0101z\u0113 eso\u0161s zi\u0146as virsraksts.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML virsraksts zi\u0146ai, p\u0101rveidots att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Zi\u0146as saturs.", "type": "object", "properties": { "raw": { "description": "Zi\u0146as saturs, k\u0101ds tas atrodas datu b\u0101z\u0113.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML saturs zi\u0146ai, p\u0101rveidots att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Zi\u0146\u0101 izmantot\u0101 satura bloka form\u0101ta versija.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Saturs ir vai nav aizsarg\u0101ts ar paroli.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "Zi\u0146as autora ID.", "type": "integer", "required": false }, "excerpt": { "description": "Zi\u0146as izraksts.", "type": "object", "properties": { "raw": { "description": "Datu b\u0101z\u0113 eso\u0161s zi\u0146as izraksts.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Att\u0113lo\u0161anai p\u0101rveidots zi\u0146as HTML fragments.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Izraksts ir vai nav aizsarg\u0101ts ar paroli.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "Pied\u0101v\u0101t\u0101s multivides ID zi\u0146ai.", "type": "integer", "required": false }, "comment_status": { "description": "Vai koment\u0101ri zi\u0146ai ir vai nav atv\u0113rti.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Var vai nevar nor\u0101d\u012bt atsauci uz zi\u0146u.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "menu_order": { "description": "Zi\u0146as sec\u012bba attiec\u012bb\u0101 pret cit\u0101m zi\u0146\u0101m.", "type": "integer", "required": false }, "format": { "description": "Form\u0101ts zi\u0146ai.", "type": "string", "enum": [ "standard", "aside", "chat", "gallery", "link", "image", "quote", "status", "video", "audio" ], "required": false }, "meta": { "description": "Metadatu lauki.", "type": "object", "properties": { "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": "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-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": "", "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-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": "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": "" }, "mobile": { "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": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "container", "floating-buttons", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "code_snippet", "product-post", "product", "product-archive", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "template": { "description": "T\u0113mas fails, ko izmant, zi\u0146as par\u0101d\u012b\u0161anai..", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp\/v2\/e-floating-buttons" } ] } }, "\/wp\/v2\/e-floating-buttons\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls zi\u0146as identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "excerpt_length": { "description": "Aizst\u0101t noklus\u0113juma fragmenta garumu.", "type": "integer", "required": false }, "password": { "description": "Parole zi\u0146ai, ja t\u0101 ir aizsarg\u0101ta ar paroli.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls zi\u0146as identifikators.", "type": "integer", "required": false }, "date": { "description": "Zi\u0146as public\u0113\u0161anas datums vietnes laika josl\u0101.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Zi\u0146as public\u0113\u0161anas datums (GMT).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Zi\u0146as burtciparu identifikators, unik\u0101ls katram veidam.", "type": "string", "required": false }, "status": { "description": "Nosauktais zi\u0146as statuss.", "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" ], "required": false }, "password": { "description": "Parole lai aizsarg\u0101tu piek\u013cuvi saturam un izrakstam.", "type": "string", "required": false }, "title": { "description": "Zi\u0146as nosaukums.", "type": "object", "properties": { "raw": { "description": "Datu b\u0101z\u0113 eso\u0161s zi\u0146as virsraksts.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML virsraksts zi\u0146ai, p\u0101rveidots att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Zi\u0146as saturs.", "type": "object", "properties": { "raw": { "description": "Zi\u0146as saturs, k\u0101ds tas atrodas datu b\u0101z\u0113.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML saturs zi\u0146ai, p\u0101rveidots att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Zi\u0146\u0101 izmantot\u0101 satura bloka form\u0101ta versija.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Saturs ir vai nav aizsarg\u0101ts ar paroli.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "Zi\u0146as autora ID.", "type": "integer", "required": false }, "excerpt": { "description": "Zi\u0146as izraksts.", "type": "object", "properties": { "raw": { "description": "Datu b\u0101z\u0113 eso\u0161s zi\u0146as izraksts.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Att\u0113lo\u0161anai p\u0101rveidots zi\u0146as HTML fragments.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Izraksts ir vai nav aizsarg\u0101ts ar paroli.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "Pied\u0101v\u0101t\u0101s multivides ID zi\u0146ai.", "type": "integer", "required": false }, "comment_status": { "description": "Vai koment\u0101ri zi\u0146ai ir vai nav atv\u0113rti.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Var vai nevar nor\u0101d\u012bt atsauci uz zi\u0146u.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "menu_order": { "description": "Zi\u0146as sec\u012bba attiec\u012bb\u0101 pret cit\u0101m zi\u0146\u0101m.", "type": "integer", "required": false }, "format": { "description": "Form\u0101ts zi\u0146ai.", "type": "string", "enum": [ "standard", "aside", "chat", "gallery", "link", "image", "quote", "status", "video", "audio" ], "required": false }, "meta": { "description": "Metadatu lauki.", "type": "object", "properties": { "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": "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-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": "", "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-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": "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": "" }, "mobile": { "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": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "container", "floating-buttons", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "code_snippet", "product-post", "product", "product-archive", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "template": { "description": "T\u0113mas fails, ko izmant, zi\u0146as par\u0101d\u012b\u0161anai..", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls zi\u0146as identifikators.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Vai apiet atkritni un veikt piespiedu dz\u0113\u0161anu.", "required": false } } } ] }, "\/wp\/v2\/e-floating-buttons\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "P\u0101rskat\u012bjuma vec\u0101kelementa ID.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161ina, ka rezult\u0101tu kopa neiek\u013cauj konkr\u0113tu ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eot rezult\u0101tu kopu ar specifiskiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Rezult\u0101tu kopas nob\u012bde par \u012bpa\u0161u vienumu skaitu.", "type": "integer", "required": false }, "order": { "description": "K\u0101rtot \u0161\u0137iro\u0161anas atrib\u016btu augo\u0161i vai dilsto\u0161i.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "relevance", "slug", "include_slugs", "title" ], "required": false } } } ] }, "\/wp\/v2\/e-floating-buttons\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "P\u0101rskat\u012bjuma vec\u0101kelementa ID.", "type": "integer", "required": false }, "id": { "description": "P\u0101rskat\u012b\u0161anas unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "P\u0101rskat\u012bjuma vec\u0101kelementa ID.", "type": "integer", "required": false }, "id": { "description": "P\u0101rskat\u012b\u0161anas unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Pras\u012bts, lai b\u016btu pareizs, jo labojumus nevar dz\u0113st.", "required": false } } } ] }, "\/wp\/v2\/e-floating-buttons\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Autom\u0101tisk\u0101s saglab\u0101\u0161anas pamatelementa ID.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "Autom\u0101tisk\u0101s saglab\u0101\u0161anas pamatelementa ID.", "type": "integer", "required": false }, "date": { "description": "Zi\u0146as public\u0113\u0161anas datums vietnes laika josl\u0101.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Zi\u0146as public\u0113\u0161anas datums (GMT).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Zi\u0146as burtciparu identifikators, unik\u0101ls katram veidam.", "type": "string", "required": false }, "status": { "description": "Nosauktais zi\u0146as statuss.", "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" ], "required": false }, "password": { "description": "Parole lai aizsarg\u0101tu piek\u013cuvi saturam un izrakstam.", "type": "string", "required": false }, "title": { "description": "Zi\u0146as nosaukums.", "type": "object", "properties": { "raw": { "description": "Datu b\u0101z\u0113 eso\u0161s zi\u0146as virsraksts.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML virsraksts zi\u0146ai, p\u0101rveidots att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Zi\u0146as saturs.", "type": "object", "properties": { "raw": { "description": "Zi\u0146as saturs, k\u0101ds tas atrodas datu b\u0101z\u0113.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML saturs zi\u0146ai, p\u0101rveidots att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Zi\u0146\u0101 izmantot\u0101 satura bloka form\u0101ta versija.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Saturs ir vai nav aizsarg\u0101ts ar paroli.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "Zi\u0146as autora ID.", "type": "integer", "required": false }, "excerpt": { "description": "Zi\u0146as izraksts.", "type": "object", "properties": { "raw": { "description": "Datu b\u0101z\u0113 eso\u0161s zi\u0146as izraksts.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Att\u0113lo\u0161anai p\u0101rveidots zi\u0146as HTML fragments.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Izraksts ir vai nav aizsarg\u0101ts ar paroli.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "Pied\u0101v\u0101t\u0101s multivides ID zi\u0146ai.", "type": "integer", "required": false }, "comment_status": { "description": "Vai koment\u0101ri zi\u0146ai ir vai nav atv\u0113rti.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Var vai nevar nor\u0101d\u012bt atsauci uz zi\u0146u.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "menu_order": { "description": "Zi\u0146as sec\u012bba attiec\u012bb\u0101 pret cit\u0101m zi\u0146\u0101m.", "type": "integer", "required": false }, "format": { "description": "Form\u0101ts zi\u0146ai.", "type": "string", "enum": [ "standard", "aside", "chat", "gallery", "link", "image", "quote", "status", "video", "audio" ], "required": false }, "meta": { "description": "Metadatu lauki.", "type": "object", "properties": { "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": "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-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": "", "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-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": "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": "" }, "mobile": { "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": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "container", "floating-buttons", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "code_snippet", "product-post", "product", "product-archive", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "template": { "description": "T\u0113mas fails, ko izmant, zi\u0146as par\u0101d\u012b\u0161anai..", "type": "string", "required": false } } } ] }, "\/wp\/v2\/e-floating-buttons\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Autom\u0101tisk\u0101s saglab\u0101\u0161anas pamatelementa ID.", "type": "integer", "required": false }, "id": { "description": "Autom\u0101tisk\u0101s saglab\u0101\u0161anas ID.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/elementor_library": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildes zi\u0146\u0101m, kas public\u0113tas p\u0113c dot\u0101, ISO8601 atbilsto\u0161\u0101 datuma.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ierobe\u017eot atbildi uz zi\u0146\u0101m, kas modific\u0113tas p\u0113c noteikta ISO8601 atbilsto\u0161a datuma.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Ierobe\u017eot rezult\u0101tu kopas zi\u0146\u0101m, kas pie\u0161\u0137irtas konkr\u0113tiem autoriem.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Nodro\u0161ina, ka rezult\u0101tu kopas izsl\u0113dz konkr\u0113tiem autoriem pie\u0161\u0137irtas zi\u0146as.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Ierobe\u017eot atbildes zi\u0146\u0101m, kas public\u0113tas pirms dot\u0101, ISO8601 atbilsto\u0161\u0101 datuma.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ierobe\u017eot atbildi uz zi\u0146\u0101m, kas modific\u0113tas pirms noteikta ISO8601 atbilsto\u0161a datuma.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Nodro\u0161ina, ka rezult\u0101tu kopa neiek\u013cauj konkr\u0113tu ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eot rezult\u0101tu kopu ar specifiskiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "K\u0101 interpret\u0113t mekl\u0113\u0161anas ievades datus.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Rezult\u0101tu kopas nob\u012bde par \u012bpa\u0161u vienumu skaitu.", "type": "integer", "required": false }, "order": { "description": "K\u0101rtot \u0161\u0137iro\u0161anas atrib\u016btu augo\u0161i vai dilsto\u0161i.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c zi\u0146as atrib\u016bta.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "Mekl\u0113jamo sleju nosaukumu mas\u012bvs.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Sa\u0161auriniet rezult\u0101tu kopu zi\u0146\u0101m ar viena vai vair\u0101k\u0101m konkr\u0113t\u0101m tak\u0101m.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Sa\u0161auriniet rezult\u0101tu kopas zi\u0146\u0101m, kam pie\u0161\u0137irts viens vai vair\u0101ki statusi.", "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", "any" ], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "Zi\u0146as public\u0113\u0161anas datums vietnes laika josl\u0101.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Zi\u0146as public\u0113\u0161anas datums (GMT).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Zi\u0146as burtciparu identifikators, unik\u0101ls katram veidam.", "type": "string", "required": false }, "status": { "description": "Nosauktais zi\u0146as statuss.", "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" ], "required": false }, "password": { "description": "Parole lai aizsarg\u0101tu piek\u013cuvi saturam un izrakstam.", "type": "string", "required": false }, "title": { "description": "Zi\u0146as nosaukums.", "type": "object", "properties": { "raw": { "description": "Datu b\u0101z\u0113 eso\u0161s zi\u0146as virsraksts.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML virsraksts zi\u0146ai, p\u0101rveidots att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "Zi\u0146as autora ID.", "type": "integer", "required": false }, "featured_media": { "description": "Pied\u0101v\u0101t\u0101s multivides ID zi\u0146ai.", "type": "integer", "required": false }, "meta": { "description": "Metadatu lauki.", "type": "object", "properties": { "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": "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-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": "", "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-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": "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": "" }, "mobile": { "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": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "container", "floating-buttons", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "code_snippet", "product-post", "product", "product-archive", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "template": { "description": "T\u0113mas fails, ko izmant, zi\u0146as par\u0101d\u012b\u0161anai..", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp\/v2\/elementor_library" } ] } }, "\/wp\/v2\/elementor_library\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls zi\u0146as identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "Parole zi\u0146ai, ja t\u0101 ir aizsarg\u0101ta ar paroli.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls zi\u0146as identifikators.", "type": "integer", "required": false }, "date": { "description": "Zi\u0146as public\u0113\u0161anas datums vietnes laika josl\u0101.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Zi\u0146as public\u0113\u0161anas datums (GMT).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Zi\u0146as burtciparu identifikators, unik\u0101ls katram veidam.", "type": "string", "required": false }, "status": { "description": "Nosauktais zi\u0146as statuss.", "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" ], "required": false }, "password": { "description": "Parole lai aizsarg\u0101tu piek\u013cuvi saturam un izrakstam.", "type": "string", "required": false }, "title": { "description": "Zi\u0146as nosaukums.", "type": "object", "properties": { "raw": { "description": "Datu b\u0101z\u0113 eso\u0161s zi\u0146as virsraksts.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML virsraksts zi\u0146ai, p\u0101rveidots att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "Zi\u0146as autora ID.", "type": "integer", "required": false }, "featured_media": { "description": "Pied\u0101v\u0101t\u0101s multivides ID zi\u0146ai.", "type": "integer", "required": false }, "meta": { "description": "Metadatu lauki.", "type": "object", "properties": { "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": "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-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": "", "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-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": "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": "" }, "mobile": { "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": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "container", "floating-buttons", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "code_snippet", "product-post", "product", "product-archive", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "template": { "description": "T\u0113mas fails, ko izmant, zi\u0146as par\u0101d\u012b\u0161anai..", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls zi\u0146as identifikators.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Vai apiet atkritni un veikt piespiedu dz\u0113\u0161anu.", "required": false } } } ] }, "\/wp\/v2\/elementor_library\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "P\u0101rskat\u012bjuma vec\u0101kelementa ID.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161ina, ka rezult\u0101tu kopa neiek\u013cauj konkr\u0113tu ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eot rezult\u0101tu kopu ar specifiskiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Rezult\u0101tu kopas nob\u012bde par \u012bpa\u0161u vienumu skaitu.", "type": "integer", "required": false }, "order": { "description": "K\u0101rtot \u0161\u0137iro\u0161anas atrib\u016btu augo\u0161i vai dilsto\u0161i.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "relevance", "slug", "include_slugs", "title" ], "required": false } } } ] }, "\/wp\/v2\/elementor_library\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "P\u0101rskat\u012bjuma vec\u0101kelementa ID.", "type": "integer", "required": false }, "id": { "description": "P\u0101rskat\u012b\u0161anas unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "P\u0101rskat\u012bjuma vec\u0101kelementa ID.", "type": "integer", "required": false }, "id": { "description": "P\u0101rskat\u012b\u0161anas unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Pras\u012bts, lai b\u016btu pareizs, jo labojumus nevar dz\u0113st.", "required": false } } } ] }, "\/wp\/v2\/elementskit-content": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildes zi\u0146\u0101m, kas public\u0113tas p\u0113c dot\u0101, ISO8601 atbilsto\u0161\u0101 datuma.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ierobe\u017eot atbildi uz zi\u0146\u0101m, kas modific\u0113tas p\u0113c noteikta ISO8601 atbilsto\u0161a datuma.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildes zi\u0146\u0101m, kas public\u0113tas pirms dot\u0101, ISO8601 atbilsto\u0161\u0101 datuma.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ierobe\u017eot atbildi uz zi\u0146\u0101m, kas modific\u0113tas pirms noteikta ISO8601 atbilsto\u0161a datuma.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Nodro\u0161ina, ka rezult\u0101tu kopa neiek\u013cauj konkr\u0113tu ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eot rezult\u0101tu kopu ar specifiskiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "K\u0101 interpret\u0113t mekl\u0113\u0161anas ievades datus.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Rezult\u0101tu kopas nob\u012bde par \u012bpa\u0161u vienumu skaitu.", "type": "integer", "required": false }, "order": { "description": "K\u0101rtot \u0161\u0137iro\u0161anas atrib\u016btu augo\u0161i vai dilsto\u0161i.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c zi\u0146as atrib\u016bta.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "parent": { "description": "Ierobe\u017eot rezult\u0101tu kopu ar \u012bpa\u0161u pamatelementa ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Ierobe\u017eot rezult\u0101tu kopu visiem vienumiem, iz\u0146emot tos, ar \u012bpa\u0161u pamatelementa ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_columns": { "default": [], "description": "Mekl\u0113jamo sleju nosaukumu mas\u012bvs.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Sa\u0161auriniet rezult\u0101tu kopu zi\u0146\u0101m ar viena vai vair\u0101k\u0101m konkr\u0113t\u0101m tak\u0101m.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Sa\u0161auriniet rezult\u0101tu kopas zi\u0146\u0101m, kam pie\u0161\u0137irts viens vai vair\u0101ki statusi.", "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", "any" ], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "Zi\u0146as public\u0113\u0161anas datums vietnes laika josl\u0101.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Zi\u0146as public\u0113\u0161anas datums (GMT).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Zi\u0146as burtciparu identifikators, unik\u0101ls katram veidam.", "type": "string", "required": false }, "status": { "description": "Nosauktais zi\u0146as statuss.", "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" ], "required": false }, "password": { "description": "Parole lai aizsarg\u0101tu piek\u013cuvi saturam un izrakstam.", "type": "string", "required": false }, "parent": { "description": "Zi\u0146as pamatelementa ID.", "type": "integer", "required": false }, "title": { "description": "Zi\u0146as nosaukums.", "type": "object", "properties": { "raw": { "description": "Datu b\u0101z\u0113 eso\u0161s zi\u0146as virsraksts.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML virsraksts zi\u0146ai, p\u0101rveidots att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Zi\u0146as saturs.", "type": "object", "properties": { "raw": { "description": "Zi\u0146as saturs, k\u0101ds tas atrodas datu b\u0101z\u0113.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML saturs zi\u0146ai, p\u0101rveidots att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Zi\u0146\u0101 izmantot\u0101 satura bloka form\u0101ta versija.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Saturs ir vai nav aizsarg\u0101ts ar paroli.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "meta": { "description": "Metadatu lauki.", "type": "object", "properties": { "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": "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-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": "", "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-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": "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": "" }, "mobile": { "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": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "container", "floating-buttons", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "code_snippet", "product-post", "product", "product-archive", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "template": { "description": "T\u0113mas fails, ko izmant, zi\u0146as par\u0101d\u012b\u0161anai..", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp\/v2\/elementskit-content" } ] } }, "\/wp\/v2\/elementskit-content\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls zi\u0146as identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "Parole zi\u0146ai, ja t\u0101 ir aizsarg\u0101ta ar paroli.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls zi\u0146as identifikators.", "type": "integer", "required": false }, "date": { "description": "Zi\u0146as public\u0113\u0161anas datums vietnes laika josl\u0101.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Zi\u0146as public\u0113\u0161anas datums (GMT).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Zi\u0146as burtciparu identifikators, unik\u0101ls katram veidam.", "type": "string", "required": false }, "status": { "description": "Nosauktais zi\u0146as statuss.", "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" ], "required": false }, "password": { "description": "Parole lai aizsarg\u0101tu piek\u013cuvi saturam un izrakstam.", "type": "string", "required": false }, "parent": { "description": "Zi\u0146as pamatelementa ID.", "type": "integer", "required": false }, "title": { "description": "Zi\u0146as nosaukums.", "type": "object", "properties": { "raw": { "description": "Datu b\u0101z\u0113 eso\u0161s zi\u0146as virsraksts.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML virsraksts zi\u0146ai, p\u0101rveidots att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Zi\u0146as saturs.", "type": "object", "properties": { "raw": { "description": "Zi\u0146as saturs, k\u0101ds tas atrodas datu b\u0101z\u0113.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML saturs zi\u0146ai, p\u0101rveidots att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Zi\u0146\u0101 izmantot\u0101 satura bloka form\u0101ta versija.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Saturs ir vai nav aizsarg\u0101ts ar paroli.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "meta": { "description": "Metadatu lauki.", "type": "object", "properties": { "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": "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-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": "", "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-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": "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": "" }, "mobile": { "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": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "container", "floating-buttons", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "code_snippet", "product-post", "product", "product-archive", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "template": { "description": "T\u0113mas fails, ko izmant, zi\u0146as par\u0101d\u012b\u0161anai..", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls zi\u0146as identifikators.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Vai apiet atkritni un veikt piespiedu dz\u0113\u0161anu.", "required": false } } } ] }, "\/wp\/v2\/elementskit-content\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "P\u0101rskat\u012bjuma vec\u0101kelementa ID.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161ina, ka rezult\u0101tu kopa neiek\u013cauj konkr\u0113tu ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eot rezult\u0101tu kopu ar specifiskiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Rezult\u0101tu kopas nob\u012bde par \u012bpa\u0161u vienumu skaitu.", "type": "integer", "required": false }, "order": { "description": "K\u0101rtot \u0161\u0137iro\u0161anas atrib\u016btu augo\u0161i vai dilsto\u0161i.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "relevance", "slug", "include_slugs", "title" ], "required": false } } } ] }, "\/wp\/v2\/elementskit-content\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "P\u0101rskat\u012bjuma vec\u0101kelementa ID.", "type": "integer", "required": false }, "id": { "description": "P\u0101rskat\u012b\u0161anas unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "P\u0101rskat\u012bjuma vec\u0101kelementa ID.", "type": "integer", "required": false }, "id": { "description": "P\u0101rskat\u012b\u0161anas unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Pras\u012bts, lai b\u016btu pareizs, jo labojumus nevar dz\u0113st.", "required": false } } } ] }, "\/wp\/v2\/elementskit-content\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Autom\u0101tisk\u0101s saglab\u0101\u0161anas pamatelementa ID.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "Zi\u0146as pamatelementa ID.", "type": "integer", "required": false }, "date": { "description": "Zi\u0146as public\u0113\u0161anas datums vietnes laika josl\u0101.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Zi\u0146as public\u0113\u0161anas datums (GMT).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Zi\u0146as burtciparu identifikators, unik\u0101ls katram veidam.", "type": "string", "required": false }, "status": { "description": "Nosauktais zi\u0146as statuss.", "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" ], "required": false }, "password": { "description": "Parole lai aizsarg\u0101tu piek\u013cuvi saturam un izrakstam.", "type": "string", "required": false }, "title": { "description": "Zi\u0146as nosaukums.", "type": "object", "properties": { "raw": { "description": "Datu b\u0101z\u0113 eso\u0161s zi\u0146as virsraksts.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML virsraksts zi\u0146ai, p\u0101rveidots att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Zi\u0146as saturs.", "type": "object", "properties": { "raw": { "description": "Zi\u0146as saturs, k\u0101ds tas atrodas datu b\u0101z\u0113.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML saturs zi\u0146ai, p\u0101rveidots att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Zi\u0146\u0101 izmantot\u0101 satura bloka form\u0101ta versija.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Saturs ir vai nav aizsarg\u0101ts ar paroli.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "meta": { "description": "Metadatu lauki.", "type": "object", "properties": { "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": "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-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": "", "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-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": "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": "" }, "mobile": { "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": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "container", "floating-buttons", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "code_snippet", "product-post", "product", "product-archive", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "template": { "description": "T\u0113mas fails, ko izmant, zi\u0146as par\u0101d\u012b\u0161anai..", "type": "string", "required": false } } } ] }, "\/wp\/v2\/elementskit-content\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Autom\u0101tisk\u0101s saglab\u0101\u0161anas pamatelementa ID.", "type": "integer", "required": false }, "id": { "description": "Autom\u0101tisk\u0101s saglab\u0101\u0161anas ID.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/elementskit-template": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildes zi\u0146\u0101m, kas public\u0113tas p\u0113c dot\u0101, ISO8601 atbilsto\u0161\u0101 datuma.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ierobe\u017eot atbildi uz zi\u0146\u0101m, kas modific\u0113tas p\u0113c noteikta ISO8601 atbilsto\u0161a datuma.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildes zi\u0146\u0101m, kas public\u0113tas pirms dot\u0101, ISO8601 atbilsto\u0161\u0101 datuma.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ierobe\u017eot atbildi uz zi\u0146\u0101m, kas modific\u0113tas pirms noteikta ISO8601 atbilsto\u0161a datuma.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Nodro\u0161ina, ka rezult\u0101tu kopa neiek\u013cauj konkr\u0113tu ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eot rezult\u0101tu kopu ar specifiskiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "K\u0101 interpret\u0113t mekl\u0113\u0161anas ievades datus.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Rezult\u0101tu kopas nob\u012bde par \u012bpa\u0161u vienumu skaitu.", "type": "integer", "required": false }, "order": { "description": "K\u0101rtot \u0161\u0137iro\u0161anas atrib\u016btu augo\u0161i vai dilsto\u0161i.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c zi\u0146as atrib\u016bta.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "Mekl\u0113jamo sleju nosaukumu mas\u012bvs.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Sa\u0161auriniet rezult\u0101tu kopu zi\u0146\u0101m ar viena vai vair\u0101k\u0101m konkr\u0113t\u0101m tak\u0101m.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Sa\u0161auriniet rezult\u0101tu kopas zi\u0146\u0101m, kam pie\u0161\u0137irts viens vai vair\u0101ki statusi.", "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", "any" ], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "Zi\u0146as public\u0113\u0161anas datums vietnes laika josl\u0101.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Zi\u0146as public\u0113\u0161anas datums (GMT).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Zi\u0146as burtciparu identifikators, unik\u0101ls katram veidam.", "type": "string", "required": false }, "status": { "description": "Nosauktais zi\u0146as statuss.", "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" ], "required": false }, "password": { "description": "Parole lai aizsarg\u0101tu piek\u013cuvi saturam un izrakstam.", "type": "string", "required": false }, "title": { "description": "Zi\u0146as nosaukums.", "type": "object", "properties": { "raw": { "description": "Datu b\u0101z\u0113 eso\u0161s zi\u0146as virsraksts.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML virsraksts zi\u0146ai, p\u0101rveidots att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "Pied\u0101v\u0101t\u0101s multivides ID zi\u0146ai.", "type": "integer", "required": false }, "meta": { "description": "Metadatu lauki.", "type": "object", "properties": { "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": "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-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": "", "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-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": "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": "" }, "mobile": { "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": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "container", "floating-buttons", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "code_snippet", "product-post", "product", "product-archive", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "template": { "description": "T\u0113mas fails, ko izmant, zi\u0146as par\u0101d\u012b\u0161anai..", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp\/v2\/elementskit-template" } ] } }, "\/wp\/v2\/elementskit-template\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls zi\u0146as identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "Parole zi\u0146ai, ja t\u0101 ir aizsarg\u0101ta ar paroli.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls zi\u0146as identifikators.", "type": "integer", "required": false }, "date": { "description": "Zi\u0146as public\u0113\u0161anas datums vietnes laika josl\u0101.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Zi\u0146as public\u0113\u0161anas datums (GMT).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Zi\u0146as burtciparu identifikators, unik\u0101ls katram veidam.", "type": "string", "required": false }, "status": { "description": "Nosauktais zi\u0146as statuss.", "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" ], "required": false }, "password": { "description": "Parole lai aizsarg\u0101tu piek\u013cuvi saturam un izrakstam.", "type": "string", "required": false }, "title": { "description": "Zi\u0146as nosaukums.", "type": "object", "properties": { "raw": { "description": "Datu b\u0101z\u0113 eso\u0161s zi\u0146as virsraksts.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML virsraksts zi\u0146ai, p\u0101rveidots att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "Pied\u0101v\u0101t\u0101s multivides ID zi\u0146ai.", "type": "integer", "required": false }, "meta": { "description": "Metadatu lauki.", "type": "object", "properties": { "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": "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-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": "", "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-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": "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": "" }, "mobile": { "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": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "container", "floating-buttons", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "code_snippet", "product-post", "product", "product-archive", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "template": { "description": "T\u0113mas fails, ko izmant, zi\u0146as par\u0101d\u012b\u0161anai..", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls zi\u0146as identifikators.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Vai apiet atkritni un veikt piespiedu dz\u0113\u0161anu.", "required": false } } } ] }, "\/wp\/v2\/elementskit-template\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "P\u0101rskat\u012bjuma vec\u0101kelementa ID.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161ina, ka rezult\u0101tu kopa neiek\u013cauj konkr\u0113tu ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eot rezult\u0101tu kopu ar specifiskiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Rezult\u0101tu kopas nob\u012bde par \u012bpa\u0161u vienumu skaitu.", "type": "integer", "required": false }, "order": { "description": "K\u0101rtot \u0161\u0137iro\u0161anas atrib\u016btu augo\u0161i vai dilsto\u0161i.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "relevance", "slug", "include_slugs", "title" ], "required": false } } } ] }, "\/wp\/v2\/elementskit-template\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "P\u0101rskat\u012bjuma vec\u0101kelementa ID.", "type": "integer", "required": false }, "id": { "description": "P\u0101rskat\u012b\u0161anas unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "P\u0101rskat\u012bjuma vec\u0101kelementa ID.", "type": "integer", "required": false }, "id": { "description": "P\u0101rskat\u012b\u0161anas unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Pras\u012bts, lai b\u016btu pareizs, jo labojumus nevar dz\u0113st.", "required": false } } } ] }, "\/wp\/v2\/product": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildes zi\u0146\u0101m, kas public\u0113tas p\u0113c dot\u0101, ISO8601 atbilsto\u0161\u0101 datuma.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ierobe\u017eot atbildi uz zi\u0146\u0101m, kas modific\u0113tas p\u0113c noteikta ISO8601 atbilsto\u0161a datuma.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ierobe\u017eot atbildes zi\u0146\u0101m, kas public\u0113tas pirms dot\u0101, ISO8601 atbilsto\u0161\u0101 datuma.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ierobe\u017eot atbildi uz zi\u0146\u0101m, kas modific\u0113tas pirms noteikta ISO8601 atbilsto\u0161a datuma.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Nodro\u0161ina, ka rezult\u0101tu kopa neiek\u013cauj konkr\u0113tu ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eot rezult\u0101tu kopu ar specifiskiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "K\u0101 interpret\u0113t mekl\u0113\u0161anas ievades datus.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Rezult\u0101tu kopas nob\u012bde par \u012bpa\u0161u vienumu skaitu.", "type": "integer", "required": false }, "order": { "description": "K\u0101rtot \u0161\u0137iro\u0161anas atrib\u016btu augo\u0161i vai dilsto\u0161i.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c zi\u0146as atrib\u016bta.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "popularity", "rating", "post__in", "price", "sales", "menu_order", "random", "popularity", "rating" ], "required": false }, "search_columns": { "default": [], "description": "Mekl\u0113jamo sleju nosaukumu mas\u012bvs.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Sa\u0161auriniet rezult\u0101tu kopu zi\u0146\u0101m ar viena vai vair\u0101k\u0101m konkr\u0113t\u0101m tak\u0101m.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Sa\u0161auriniet rezult\u0101tu kopas zi\u0146\u0101m, kam pie\u0161\u0137irts viens vai vair\u0101ki statusi.", "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", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "Ierobe\u017eot rezult\u0101tu kopu balstoties uz saikni starp vair\u0101k\u0101m taksonomij\u0101m.", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "product_brand": { "description": "Rezult\u0101ta ierobe\u017eojums ir iestat\u012bts uz vienumiem, kuriem product_brand taksonomij\u0101 ir noteikti \u012bpa\u0161i termini.", "type": [ "object", "array" ], "oneOf": [ { "title": "Terminu ID saraksts", "description": "Saska\u0146ojiet vienumus ar uzskait\u012btajiem ID.", "type": "array", "items": { "type": "integer" } }, { "title": "Termina ID taksonomijas vaic\u0101jums", "description": "Veiciet izv\u0113rstu termina vaic\u0101jumu.", "type": "object", "properties": { "terms": { "description": "Termi\u0146a ID.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Vai iek\u013caut atvasin\u0101tos terminus rezult\u0101tu kopas ierobe\u017eojumos.", "type": "boolean", "default": false }, "operator": { "description": "Vai vienumiem j\u0101pie\u0161\u0137ir visi vai k\u0101ds no nor\u0101d\u012btajiem noteikumiem.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "product_brand_exclude": { "description": "Rezult\u0101ta ierobe\u017eojums ir iestat\u012bts uz vienumiem, iz\u0146emot tos, kuriem product_brand taksonomij\u0101 ir noteikti \u012bpa\u0161i termini.", "type": [ "object", "array" ], "oneOf": [ { "title": "Terminu ID saraksts", "description": "Saska\u0146ojiet vienumus ar uzskait\u012btajiem ID.", "type": "array", "items": { "type": "integer" } }, { "title": "Termina ID taksonomijas vaic\u0101jums", "description": "Veiciet izv\u0113rstu termina vaic\u0101jumu.", "type": "object", "properties": { "terms": { "description": "Termi\u0146a ID.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Vai iek\u013caut atvasin\u0101tos terminus rezult\u0101tu kopas ierobe\u017eojumos.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "product_cat": { "description": "Rezult\u0101ta ierobe\u017eojums ir iestat\u012bts uz vienumiem, kuriem product_cat taksonomij\u0101 ir noteikti \u012bpa\u0161i termini.", "type": [ "object", "array" ], "oneOf": [ { "title": "Terminu ID saraksts", "description": "Saska\u0146ojiet vienumus ar uzskait\u012btajiem ID.", "type": "array", "items": { "type": "integer" } }, { "title": "Termina ID taksonomijas vaic\u0101jums", "description": "Veiciet izv\u0113rstu termina vaic\u0101jumu.", "type": "object", "properties": { "terms": { "description": "Termi\u0146a ID.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Vai iek\u013caut atvasin\u0101tos terminus rezult\u0101tu kopas ierobe\u017eojumos.", "type": "boolean", "default": false }, "operator": { "description": "Vai vienumiem j\u0101pie\u0161\u0137ir visi vai k\u0101ds no nor\u0101d\u012btajiem noteikumiem.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "product_cat_exclude": { "description": "Rezult\u0101ta ierobe\u017eojums ir iestat\u012bts uz vienumiem, iz\u0146emot tos, kuriem product_cat taksonomij\u0101 ir noteikti \u012bpa\u0161i termini.", "type": [ "object", "array" ], "oneOf": [ { "title": "Terminu ID saraksts", "description": "Saska\u0146ojiet vienumus ar uzskait\u012btajiem ID.", "type": "array", "items": { "type": "integer" } }, { "title": "Termina ID taksonomijas vaic\u0101jums", "description": "Veiciet izv\u0113rstu termina vaic\u0101jumu.", "type": "object", "properties": { "terms": { "description": "Termi\u0146a ID.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Vai iek\u013caut atvasin\u0101tos terminus rezult\u0101tu kopas ierobe\u017eojumos.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "product_tag": { "description": "Rezult\u0101ta ierobe\u017eojums ir iestat\u012bts uz vienumiem, kuriem product_tag taksonomij\u0101 ir noteikti \u012bpa\u0161i termini.", "type": [ "object", "array" ], "oneOf": [ { "title": "Terminu ID saraksts", "description": "Saska\u0146ojiet vienumus ar uzskait\u012btajiem ID.", "type": "array", "items": { "type": "integer" } }, { "title": "Termina ID taksonomijas vaic\u0101jums", "description": "Veiciet izv\u0113rstu termina vaic\u0101jumu.", "type": "object", "properties": { "terms": { "description": "Termi\u0146a ID.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Vai vienumiem j\u0101pie\u0161\u0137ir visi vai k\u0101ds no nor\u0101d\u012btajiem noteikumiem.", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "product_tag_exclude": { "description": "Rezult\u0101ta ierobe\u017eojums ir iestat\u012bts uz vienumiem, iz\u0146emot tos, kuriem product_tag taksonomij\u0101 ir noteikti \u012bpa\u0161i termini.", "type": [ "object", "array" ], "oneOf": [ { "title": "Terminu ID saraksts", "description": "Saska\u0146ojiet vienumus ar uzskait\u012btajiem ID.", "type": "array", "items": { "type": "integer" } }, { "title": "Termina ID taksonomijas vaic\u0101jums", "description": "Veiciet izv\u0113rstu termina vaic\u0101jumu.", "type": "object", "properties": { "terms": { "description": "Termi\u0146a ID.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false }, "brand": { "description": "Limit result set to products assigned a specific brand ID.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "Zi\u0146as public\u0113\u0161anas datums vietnes laika josl\u0101.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Zi\u0146as public\u0113\u0161anas datums (GMT).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Zi\u0146as burtciparu identifikators, unik\u0101ls katram veidam.", "type": "string", "required": false }, "status": { "description": "Nosauktais zi\u0146as statuss.", "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" ], "required": false }, "password": { "description": "Parole lai aizsarg\u0101tu piek\u013cuvi saturam un izrakstam.", "type": "string", "required": false }, "title": { "description": "Zi\u0146as nosaukums.", "type": "object", "properties": { "raw": { "description": "Datu b\u0101z\u0113 eso\u0161s zi\u0146as virsraksts.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML virsraksts zi\u0146ai, p\u0101rveidots att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Zi\u0146as saturs.", "type": "object", "properties": { "raw": { "description": "Zi\u0146as saturs, k\u0101ds tas atrodas datu b\u0101z\u0113.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML saturs zi\u0146ai, p\u0101rveidots att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Zi\u0146\u0101 izmantot\u0101 satura bloka form\u0101ta versija.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Saturs ir vai nav aizsarg\u0101ts ar paroli.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "excerpt": { "description": "Zi\u0146as izraksts.", "type": "object", "properties": { "raw": { "description": "Datu b\u0101z\u0113 eso\u0161s zi\u0146as izraksts.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Att\u0113lo\u0161anai p\u0101rveidots zi\u0146as HTML fragments.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Izraksts ir vai nav aizsarg\u0101ts ar paroli.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "Pied\u0101v\u0101t\u0101s multivides ID zi\u0146ai.", "type": "integer", "required": false }, "comment_status": { "description": "Vai koment\u0101ri zi\u0146ai ir vai nav atv\u0113rti.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Var vai nevar nor\u0101d\u012bt atsauci uz zi\u0146u.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "meta": { "description": "Metadatu lauki.", "type": "object", "properties": { "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": "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-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": "", "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-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": "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": "" }, "mobile": { "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": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "container", "floating-buttons", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "code_snippet", "product-post", "product", "product-archive", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "template": { "description": "T\u0113mas fails, ko izmant, zi\u0146as par\u0101d\u012b\u0161anai..", "type": "string", "required": false }, "product_brand": { "description": "Nosac\u012bjumi, kas pie\u0161\u0137irti \u0161ai zi\u0146ai product_brand taksonomij\u0101.", "type": "array", "items": { "type": "integer" }, "required": false }, "product_cat": { "description": "Nosac\u012bjumi, kas pie\u0161\u0137irti \u0161ai zi\u0146ai product_cat taksonomij\u0101.", "type": "array", "items": { "type": "integer" }, "required": false }, "product_tag": { "description": "Nosac\u012bjumi, kas pie\u0161\u0137irti \u0161ai zi\u0146ai product_tag taksonomij\u0101.", "type": "array", "items": { "type": "integer" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp\/v2\/product" } ] } }, "\/wp\/v2\/product\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls zi\u0146as identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "excerpt_length": { "description": "Aizst\u0101t noklus\u0113juma fragmenta garumu.", "type": "integer", "required": false }, "password": { "description": "Parole zi\u0146ai, ja t\u0101 ir aizsarg\u0101ta ar paroli.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls zi\u0146as identifikators.", "type": "integer", "required": false }, "date": { "description": "Zi\u0146as public\u0113\u0161anas datums vietnes laika josl\u0101.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Zi\u0146as public\u0113\u0161anas datums (GMT).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Zi\u0146as burtciparu identifikators, unik\u0101ls katram veidam.", "type": "string", "required": false }, "status": { "description": "Nosauktais zi\u0146as statuss.", "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" ], "required": false }, "password": { "description": "Parole lai aizsarg\u0101tu piek\u013cuvi saturam un izrakstam.", "type": "string", "required": false }, "title": { "description": "Zi\u0146as nosaukums.", "type": "object", "properties": { "raw": { "description": "Datu b\u0101z\u0113 eso\u0161s zi\u0146as virsraksts.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML virsraksts zi\u0146ai, p\u0101rveidots att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Zi\u0146as saturs.", "type": "object", "properties": { "raw": { "description": "Zi\u0146as saturs, k\u0101ds tas atrodas datu b\u0101z\u0113.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML saturs zi\u0146ai, p\u0101rveidots att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Zi\u0146\u0101 izmantot\u0101 satura bloka form\u0101ta versija.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Saturs ir vai nav aizsarg\u0101ts ar paroli.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "excerpt": { "description": "Zi\u0146as izraksts.", "type": "object", "properties": { "raw": { "description": "Datu b\u0101z\u0113 eso\u0161s zi\u0146as izraksts.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Att\u0113lo\u0161anai p\u0101rveidots zi\u0146as HTML fragments.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Izraksts ir vai nav aizsarg\u0101ts ar paroli.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "Pied\u0101v\u0101t\u0101s multivides ID zi\u0146ai.", "type": "integer", "required": false }, "comment_status": { "description": "Vai koment\u0101ri zi\u0146ai ir vai nav atv\u0113rti.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Var vai nevar nor\u0101d\u012bt atsauci uz zi\u0146u.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "meta": { "description": "Metadatu lauki.", "type": "object", "properties": { "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": "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-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": "", "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-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": "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": "" }, "mobile": { "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": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "container", "floating-buttons", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "code_snippet", "product-post", "product", "product-archive", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "template": { "description": "T\u0113mas fails, ko izmant, zi\u0146as par\u0101d\u012b\u0161anai..", "type": "string", "required": false }, "product_brand": { "description": "Nosac\u012bjumi, kas pie\u0161\u0137irti \u0161ai zi\u0146ai product_brand taksonomij\u0101.", "type": "array", "items": { "type": "integer" }, "required": false }, "product_cat": { "description": "Nosac\u012bjumi, kas pie\u0161\u0137irti \u0161ai zi\u0146ai product_cat taksonomij\u0101.", "type": "array", "items": { "type": "integer" }, "required": false }, "product_tag": { "description": "Nosac\u012bjumi, kas pie\u0161\u0137irti \u0161ai zi\u0146ai product_tag taksonomij\u0101.", "type": "array", "items": { "type": "integer" }, "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls zi\u0146as identifikators.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Vai apiet atkritni un veikt piespiedu dz\u0113\u0161anu.", "required": false } } } ] }, "\/wp\/v2\/product\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "P\u0101rskat\u012bjuma vec\u0101kelementa ID.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161ina, ka rezult\u0101tu kopa neiek\u013cauj konkr\u0113tu ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eot rezult\u0101tu kopu ar specifiskiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Rezult\u0101tu kopas nob\u012bde par \u012bpa\u0161u vienumu skaitu.", "type": "integer", "required": false }, "order": { "description": "K\u0101rtot \u0161\u0137iro\u0161anas atrib\u016btu augo\u0161i vai dilsto\u0161i.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c objekta atrib\u016bta.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "relevance", "slug", "include_slugs", "title" ], "required": false } } } ] }, "\/wp\/v2\/product\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "P\u0101rskat\u012bjuma vec\u0101kelementa ID.", "type": "integer", "required": false }, "id": { "description": "P\u0101rskat\u012b\u0161anas unik\u0101lais identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "P\u0101rskat\u012bjuma vec\u0101kelementa ID.", "type": "integer", "required": false }, "id": { "description": "P\u0101rskat\u012b\u0161anas unik\u0101lais identifikators.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Pras\u012bts, lai b\u016btu pareizs, jo labojumus nevar dz\u0113st.", "required": false } } } ] }, "\/wp\/v2\/product\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Autom\u0101tisk\u0101s saglab\u0101\u0161anas pamatelementa ID.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "Autom\u0101tisk\u0101s saglab\u0101\u0161anas pamatelementa ID.", "type": "integer", "required": false }, "date": { "description": "Zi\u0146as public\u0113\u0161anas datums vietnes laika josl\u0101.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Zi\u0146as public\u0113\u0161anas datums (GMT).", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Zi\u0146as burtciparu identifikators, unik\u0101ls katram veidam.", "type": "string", "required": false }, "status": { "description": "Nosauktais zi\u0146as statuss.", "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" ], "required": false }, "password": { "description": "Parole lai aizsarg\u0101tu piek\u013cuvi saturam un izrakstam.", "type": "string", "required": false }, "title": { "description": "Zi\u0146as nosaukums.", "type": "object", "properties": { "raw": { "description": "Datu b\u0101z\u0113 eso\u0161s zi\u0146as virsraksts.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML virsraksts zi\u0146ai, p\u0101rveidots att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Zi\u0146as saturs.", "type": "object", "properties": { "raw": { "description": "Zi\u0146as saturs, k\u0101ds tas atrodas datu b\u0101z\u0113.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "HTML saturs zi\u0146ai, p\u0101rveidots att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Zi\u0146\u0101 izmantot\u0101 satura bloka form\u0101ta versija.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Saturs ir vai nav aizsarg\u0101ts ar paroli.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "excerpt": { "description": "Zi\u0146as izraksts.", "type": "object", "properties": { "raw": { "description": "Datu b\u0101z\u0113 eso\u0161s zi\u0146as izraksts.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Att\u0113lo\u0161anai p\u0101rveidots zi\u0146as HTML fragments.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Izraksts ir vai nav aizsarg\u0101ts ar paroli.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "Pied\u0101v\u0101t\u0101s multivides ID zi\u0146ai.", "type": "integer", "required": false }, "comment_status": { "description": "Vai koment\u0101ri zi\u0146ai ir vai nav atv\u0113rti.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "Var vai nevar nor\u0101d\u012bt atsauci uz zi\u0146u.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "meta": { "description": "Metadatu lauki.", "type": "object", "properties": { "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": "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-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": "", "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-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": "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": "" }, "mobile": { "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": "" } }, "properties": { "desktop": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "tablet": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false }, "mobile": { "type": "object", "properties": { "background-color": { "type": "string" }, "background-image": { "type": "string" }, "background-repeat": { "type": "string" }, "background-position": { "type": "string" }, "background-size": { "type": "string" }, "background-attachment": { "type": "string" }, "background-type": { "type": "string" }, "background-media": { "type": "string" }, "overlay-type": { "type": "string" }, "overlay-color": { "type": "string" }, "overlay-opacity": { "type": "string" }, "overlay-gradient": { "type": "string" } }, "additionalProperties": false } }, "additionalProperties": false }, "_elementor_edit_mode": { "type": "string", "title": "Elementor edit mode", "description": "Elementor edit mode, `builder` is required for Elementor editing", "default": "", "enum": [ "", "builder" ], "context": [ "edit" ] }, "_elementor_template_type": { "type": "string", "title": "Elementor template type", "description": "Elementor document type", "default": "", "enum": [ "post", "wp-post", "wp-page", "kit", "not-supported", "page", "section", "container", "floating-buttons", "cloud-template-preview", "widget", "popup", "header", "footer", "single", "single-post", "single-page", "archive", "search-results", "error-404", "code_snippet", "product-post", "product", "product-archive", "loop-item", "" ], "context": [ "edit" ] }, "_elementor_data": { "type": "string", "title": "Elementor data", "description": "Elementor JSON as a string", "default": "", "context": [ "edit" ] }, "_elementor_page_settings": { "type": "object", "title": "Elementor page settings", "description": "Elementor page level settings", "default": "{}", "properties": { "hide_title": { "type": "string", "enum": [ "yes", "no" ], "default": "" } }, "additionalProperties": true, "context": [ "edit" ] }, "_elementor_conditions": { "type": "array", "title": "", "description": "Elementor conditions", "default": [], "additionalProperties": true, "context": [ "edit" ] } }, "required": false }, "template": { "description": "T\u0113mas fails, ko izmant, zi\u0146as par\u0101d\u012b\u0161anai..", "type": "string", "required": false }, "product_brand": { "description": "Nosac\u012bjumi, kas pie\u0161\u0137irti \u0161ai zi\u0146ai product_brand taksonomij\u0101.", "type": "array", "items": { "type": "integer" }, "required": false }, "product_cat": { "description": "Nosac\u012bjumi, kas pie\u0161\u0137irti \u0161ai zi\u0146ai product_cat taksonomij\u0101.", "type": "array", "items": { "type": "integer" }, "required": false }, "product_tag": { "description": "Nosac\u012bjumi, kas pie\u0161\u0137irti \u0161ai zi\u0146ai product_tag taksonomij\u0101.", "type": "array", "items": { "type": "integer" }, "required": false } } } ] }, "\/wp\/v2\/product\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Autom\u0101tisk\u0101s saglab\u0101\u0161anas pamatelementa ID.", "type": "integer", "required": false }, "id": { "description": "Autom\u0101tisk\u0101s saglab\u0101\u0161anas ID.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/types": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp\/v2\/types" } ] } }, "\/wp\/v2\/types\/(?P[\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "type": { "description": "Zi\u0146as tipa burtciparu identifikators.", "type": "string", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/statuses": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp\/v2\/statuses" } ] } }, "\/wp\/v2\/statuses\/(?P[\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "status": { "description": "Statusa burtciparu identifikators.", "type": "string", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/taxonomies": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "type": { "description": "Ierobe\u017eot rezult\u0101tus taksonomij\u0101m, kas saist\u012btas ar konkr\u0113tu zi\u0146as veidu.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp\/v2\/taxonomies" } ] } }, "\/wp\/v2\/taxonomies\/(?P[\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "taxonomy": { "description": "Taksonomijas burtciparu identifikators.", "type": "string", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/categories": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161ina, ka rezult\u0101tu kopa neiek\u013cauj konkr\u0113tu ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eot rezult\u0101tu kopu ar specifiskiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "K\u0101rtot \u0161\u0137iro\u0161anas atrib\u016btu augo\u0161i vai dilsto\u0161i.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot terminu kolekciju p\u0113c atrib\u016bta.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "R\u0101d\u012bt vai sl\u0113pt terminus, kas nav pie\u0161\u0137irti nevienai zi\u0146ai.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Ierobe\u017eot rezult\u0101tu kopu terminiem, kas pie\u0161\u0137irti specifiskiem pamatelementiem.", "type": "integer", "required": false }, "post": { "description": "Ierobe\u017eot rezult\u0101tu kopu terminiem, kas pie\u0161\u0137irti specifisk\u0101m zi\u0146\u0101m.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Ierobe\u017eot rezult\u0101tu kopu terminiem ar viena vai vair\u0101kiem konkr\u0113tiem \u012bsv\u0101rdiem.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "Termina HTML apraksts.", "type": "string", "required": false }, "name": { "description": "Termina HTML virsraksts.", "type": "string", "required": true }, "slug": { "description": "Termina burtciparu identifikators, unik\u0101ls katram tipam.", "type": "string", "required": false }, "parent": { "description": "Pamata termina ID.", "type": "integer", "required": false }, "meta": { "description": "Metadatu lauki.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp\/v2\/categories" } ] } }, "\/wp\/v2\/categories\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls termina identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls termina identifikators.", "type": "integer", "required": false }, "description": { "description": "Termina HTML apraksts.", "type": "string", "required": false }, "name": { "description": "Termina HTML virsraksts.", "type": "string", "required": false }, "slug": { "description": "Termina burtciparu identifikators, unik\u0101ls katram tipam.", "type": "string", "required": false }, "parent": { "description": "Pamata termina ID.", "type": "integer", "required": false }, "meta": { "description": "Metadatu lauki.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls termina identifikators.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Pras\u012bts, lai b\u016btu pareizs, jo terminu nevar dz\u0113st.", "required": false } } } ] }, "\/wp\/v2\/tags": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161ina, ka rezult\u0101tu kopa neiek\u013cauj konkr\u0113tu ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eot rezult\u0101tu kopu ar specifiskiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Rezult\u0101tu kopas nob\u012bde par \u012bpa\u0161u vienumu skaitu.", "type": "integer", "required": false }, "order": { "description": "K\u0101rtot \u0161\u0137iro\u0161anas atrib\u016btu augo\u0161i vai dilsto\u0161i.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot terminu kolekciju p\u0113c atrib\u016bta.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "R\u0101d\u012bt vai sl\u0113pt terminus, kas nav pie\u0161\u0137irti nevienai zi\u0146ai.", "type": "boolean", "default": false, "required": false }, "post": { "description": "Ierobe\u017eot rezult\u0101tu kopu terminiem, kas pie\u0161\u0137irti specifisk\u0101m zi\u0146\u0101m.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Ierobe\u017eot rezult\u0101tu kopu terminiem ar viena vai vair\u0101kiem konkr\u0113tiem \u012bsv\u0101rdiem.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "Termina HTML apraksts.", "type": "string", "required": false }, "name": { "description": "Termina HTML virsraksts.", "type": "string", "required": true }, "slug": { "description": "Termina burtciparu identifikators, unik\u0101ls katram tipam.", "type": "string", "required": false }, "meta": { "description": "Metadatu lauki.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp\/v2\/tags" } ] } }, "\/wp\/v2\/tags\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls termina identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls termina identifikators.", "type": "integer", "required": false }, "description": { "description": "Termina HTML apraksts.", "type": "string", "required": false }, "name": { "description": "Termina HTML virsraksts.", "type": "string", "required": false }, "slug": { "description": "Termina burtciparu identifikators, unik\u0101ls katram tipam.", "type": "string", "required": false }, "meta": { "description": "Metadatu lauki.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls termina identifikators.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Pras\u012bts, lai b\u016btu pareizs, jo terminu nevar dz\u0113st.", "required": false } } } ] }, "\/wp\/v2\/menus": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161ina, ka rezult\u0101tu kopa neiek\u013cauj konkr\u0113tu ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eot rezult\u0101tu kopu ar specifiskiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Rezult\u0101tu kopas nob\u012bde par \u012bpa\u0161u vienumu skaitu.", "type": "integer", "required": false }, "order": { "description": "K\u0101rtot \u0161\u0137iro\u0161anas atrib\u016btu augo\u0161i vai dilsto\u0161i.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot terminu kolekciju p\u0113c atrib\u016bta.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "R\u0101d\u012bt vai sl\u0113pt terminus, kas nav pie\u0161\u0137irti nevienai zi\u0146ai.", "type": "boolean", "default": false, "required": false }, "post": { "description": "Ierobe\u017eot rezult\u0101tu kopu terminiem, kas pie\u0161\u0137irti specifisk\u0101m zi\u0146\u0101m.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Ierobe\u017eot rezult\u0101tu kopu terminiem ar viena vai vair\u0101kiem konkr\u0113tiem \u012bsv\u0101rdiem.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "Termina HTML apraksts.", "type": "string", "required": false }, "name": { "description": "Termina HTML virsraksts.", "type": "string", "required": true }, "slug": { "description": "Termina burtciparu identifikators, unik\u0101ls katram tipam.", "type": "string", "required": false }, "meta": { "description": "Metadatu lauki.", "type": "object", "properties": [], "required": false }, "locations": { "description": "Izv\u0113lnei pie\u0161\u0137irt\u0101s vietas.", "type": "array", "items": { "type": "string" }, "required": false }, "auto_add": { "description": "Vai \u0161ai izv\u0113lnei autom\u0101tiski pievienot aug\u0161\u0113j\u0101 l\u012bme\u0146a lapas.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp\/v2\/menus" } ] } }, "\/wp\/v2\/menus\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls termina identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls termina identifikators.", "type": "integer", "required": false }, "description": { "description": "Termina HTML apraksts.", "type": "string", "required": false }, "name": { "description": "Termina HTML virsraksts.", "type": "string", "required": false }, "slug": { "description": "Termina burtciparu identifikators, unik\u0101ls katram tipam.", "type": "string", "required": false }, "meta": { "description": "Metadatu lauki.", "type": "object", "properties": [], "required": false }, "locations": { "description": "Izv\u0113lnei pie\u0161\u0137irt\u0101s vietas.", "type": "array", "items": { "type": "string" }, "required": false }, "auto_add": { "description": "Vai \u0161ai izv\u0113lnei autom\u0101tiski pievienot aug\u0161\u0113j\u0101 l\u012bme\u0146a lapas.", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls termina identifikators.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Pras\u012bts, lai b\u016btu pareizs, jo terminu nevar dz\u0113st.", "required": false } } } ] }, "\/wp\/v2\/wp_pattern_category": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161ina, ka rezult\u0101tu kopa neiek\u013cauj konkr\u0113tu ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eot rezult\u0101tu kopu ar specifiskiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Rezult\u0101tu kopas nob\u012bde par \u012bpa\u0161u vienumu skaitu.", "type": "integer", "required": false }, "order": { "description": "K\u0101rtot \u0161\u0137iro\u0161anas atrib\u016btu augo\u0161i vai dilsto\u0161i.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot terminu kolekciju p\u0113c atrib\u016bta.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "R\u0101d\u012bt vai sl\u0113pt terminus, kas nav pie\u0161\u0137irti nevienai zi\u0146ai.", "type": "boolean", "default": false, "required": false }, "post": { "description": "Ierobe\u017eot rezult\u0101tu kopu terminiem, kas pie\u0161\u0137irti specifisk\u0101m zi\u0146\u0101m.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Ierobe\u017eot rezult\u0101tu kopu terminiem ar viena vai vair\u0101kiem konkr\u0113tiem \u012bsv\u0101rdiem.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "Termina HTML apraksts.", "type": "string", "required": false }, "name": { "description": "Termina HTML virsraksts.", "type": "string", "required": true }, "slug": { "description": "Termina burtciparu identifikators, unik\u0101ls katram tipam.", "type": "string", "required": false }, "meta": { "description": "Metadatu lauki.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp\/v2\/wp_pattern_category" } ] } }, "\/wp\/v2\/wp_pattern_category\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls termina identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls termina identifikators.", "type": "integer", "required": false }, "description": { "description": "Termina HTML apraksts.", "type": "string", "required": false }, "name": { "description": "Termina HTML virsraksts.", "type": "string", "required": false }, "slug": { "description": "Termina burtciparu identifikators, unik\u0101ls katram tipam.", "type": "string", "required": false }, "meta": { "description": "Metadatu lauki.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls termina identifikators.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Pras\u012bts, lai b\u016btu pareizs, jo terminu nevar dz\u0113st.", "required": false } } } ] }, "\/wp\/v2\/product_brand": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161ina, ka rezult\u0101tu kopa neiek\u013cauj konkr\u0113tu ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eot rezult\u0101tu kopu ar specifiskiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "K\u0101rtot \u0161\u0137iro\u0161anas atrib\u016btu augo\u0161i vai dilsto\u0161i.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot terminu kolekciju p\u0113c atrib\u016bta.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "R\u0101d\u012bt vai sl\u0113pt terminus, kas nav pie\u0161\u0137irti nevienai zi\u0146ai.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Ierobe\u017eot rezult\u0101tu kopu terminiem, kas pie\u0161\u0137irti specifiskiem pamatelementiem.", "type": "integer", "required": false }, "post": { "description": "Ierobe\u017eot rezult\u0101tu kopu terminiem, kas pie\u0161\u0137irti specifisk\u0101m zi\u0146\u0101m.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Ierobe\u017eot rezult\u0101tu kopu terminiem ar viena vai vair\u0101kiem konkr\u0113tiem \u012bsv\u0101rdiem.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "Termina HTML apraksts.", "type": "string", "required": false }, "name": { "description": "Termina HTML virsraksts.", "type": "string", "required": true }, "slug": { "description": "Termina burtciparu identifikators, unik\u0101ls katram tipam.", "type": "string", "required": false }, "parent": { "description": "Pamata termina ID.", "type": "integer", "required": false }, "meta": { "description": "Metadatu lauki.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp\/v2\/product_brand" } ] } }, "\/wp\/v2\/product_brand\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls termina identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls termina identifikators.", "type": "integer", "required": false }, "description": { "description": "Termina HTML apraksts.", "type": "string", "required": false }, "name": { "description": "Termina HTML virsraksts.", "type": "string", "required": false }, "slug": { "description": "Termina burtciparu identifikators, unik\u0101ls katram tipam.", "type": "string", "required": false }, "parent": { "description": "Pamata termina ID.", "type": "integer", "required": false }, "meta": { "description": "Metadatu lauki.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls termina identifikators.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Pras\u012bts, lai b\u016btu pareizs, jo terminu nevar dz\u0113st.", "required": false } } } ] }, "\/wp\/v2\/product_cat": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161ina, ka rezult\u0101tu kopa neiek\u013cauj konkr\u0113tu ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eot rezult\u0101tu kopu ar specifiskiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "K\u0101rtot \u0161\u0137iro\u0161anas atrib\u016btu augo\u0161i vai dilsto\u0161i.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot terminu kolekciju p\u0113c atrib\u016bta.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "R\u0101d\u012bt vai sl\u0113pt terminus, kas nav pie\u0161\u0137irti nevienai zi\u0146ai.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Ierobe\u017eot rezult\u0101tu kopu terminiem, kas pie\u0161\u0137irti specifiskiem pamatelementiem.", "type": "integer", "required": false }, "post": { "description": "Ierobe\u017eot rezult\u0101tu kopu terminiem, kas pie\u0161\u0137irti specifisk\u0101m zi\u0146\u0101m.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Ierobe\u017eot rezult\u0101tu kopu terminiem ar viena vai vair\u0101kiem konkr\u0113tiem \u012bsv\u0101rdiem.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "Termina HTML apraksts.", "type": "string", "required": false }, "name": { "description": "Termina HTML virsraksts.", "type": "string", "required": true }, "slug": { "description": "Termina burtciparu identifikators, unik\u0101ls katram tipam.", "type": "string", "required": false }, "parent": { "description": "Pamata termina ID.", "type": "integer", "required": false }, "meta": { "description": "Metadatu lauki.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp\/v2\/product_cat" } ] } }, "\/wp\/v2\/product_cat\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls termina identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls termina identifikators.", "type": "integer", "required": false }, "description": { "description": "Termina HTML apraksts.", "type": "string", "required": false }, "name": { "description": "Termina HTML virsraksts.", "type": "string", "required": false }, "slug": { "description": "Termina burtciparu identifikators, unik\u0101ls katram tipam.", "type": "string", "required": false }, "parent": { "description": "Pamata termina ID.", "type": "integer", "required": false }, "meta": { "description": "Metadatu lauki.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls termina identifikators.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Pras\u012bts, lai b\u016btu pareizs, jo terminu nevar dz\u0113st.", "required": false } } } ] }, "\/wp\/v2\/product_tag": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161ina, ka rezult\u0101tu kopa neiek\u013cauj konkr\u0113tu ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eot rezult\u0101tu kopu ar specifiskiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Rezult\u0101tu kopas nob\u012bde par \u012bpa\u0161u vienumu skaitu.", "type": "integer", "required": false }, "order": { "description": "K\u0101rtot \u0161\u0137iro\u0161anas atrib\u016btu augo\u0161i vai dilsto\u0161i.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot terminu kolekciju p\u0113c atrib\u016bta.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "R\u0101d\u012bt vai sl\u0113pt terminus, kas nav pie\u0161\u0137irti nevienai zi\u0146ai.", "type": "boolean", "default": false, "required": false }, "post": { "description": "Ierobe\u017eot rezult\u0101tu kopu terminiem, kas pie\u0161\u0137irti specifisk\u0101m zi\u0146\u0101m.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Ierobe\u017eot rezult\u0101tu kopu terminiem ar viena vai vair\u0101kiem konkr\u0113tiem \u012bsv\u0101rdiem.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "Termina HTML apraksts.", "type": "string", "required": false }, "name": { "description": "Termina HTML virsraksts.", "type": "string", "required": true }, "slug": { "description": "Termina burtciparu identifikators, unik\u0101ls katram tipam.", "type": "string", "required": false }, "meta": { "description": "Metadatu lauki.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp\/v2\/product_tag" } ] } }, "\/wp\/v2\/product_tag\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls termina identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls termina identifikators.", "type": "integer", "required": false }, "description": { "description": "Termina HTML apraksts.", "type": "string", "required": false }, "name": { "description": "Termina HTML virsraksts.", "type": "string", "required": false }, "slug": { "description": "Termina burtciparu identifikators, unik\u0101ls katram tipam.", "type": "string", "required": false }, "meta": { "description": "Metadatu lauki.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls termina identifikators.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Pras\u012bts, lai b\u016btu pareizs, jo terminu nevar dz\u0113st.", "required": false } } } ] }, "\/wp\/v2\/users": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "exclude": { "description": "Nodro\u0161ina, ka rezult\u0101tu kopa neiek\u013cauj konkr\u0113tu ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eot rezult\u0101tu kopu ar specifiskiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Rezult\u0101tu kopas nob\u012bde par \u012bpa\u0161u vienumu skaitu.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "K\u0101rtot \u0161\u0137iro\u0161anas atrib\u016btu augo\u0161i vai dilsto\u0161i.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "name", "description": "K\u0101rtot kolekciju p\u0113c lietot\u0101ja atrib\u016bta.", "enum": [ "id", "include", "name", "registered_date", "slug", "include_slugs", "email", "url" ], "type": "string", "required": false }, "slug": { "description": "Ierobe\u017eot rezult\u0101tu kopu lietot\u0101jiem ar viena vai vair\u0101kiem konkr\u0113tiem \u012bsv\u0101rdiem.", "type": "array", "items": { "type": "string" }, "required": false }, "roles": { "description": "Ierobe\u017eot rezult\u0101tu kopu lietot\u0101jiem ar vismaz vienu noteiktu lomu. Akcept\u0113 csv sarakstu vai atsevi\u0161\u0137u lomu.", "type": "array", "items": { "type": "string" }, "required": false }, "capabilities": { "description": "Ierobe\u017eojiet rezult\u0101tu kopu l\u012bdz lietot\u0101jiem, kas atbilst vismaz vienai noteiktai iesp\u0113jai. Pie\u0146em csv sarakstu vai atsevi\u0161\u0137as iesp\u0113jas.", "type": "array", "items": { "type": "string" }, "required": false }, "who": { "description": "Ierobe\u017eot rezult\u0101tus l\u012bdz lietot\u0101jiem, kuri ir autori.", "type": "string", "enum": [ "authors" ], "required": false }, "has_published_posts": { "description": "Rezult\u0101tu ierobe\u017eojums l\u012bdz lietot\u0101jiem, kuri ir public\u0113ju\u0161i zi\u0146as.", "type": [ "boolean", "array" ], "items": { "type": "string", "enum": { "post": "post", "page": "page", "attachment": "attachment", "nav_menu_item": "nav_menu_item", "wp_block": "wp_block", "wp_template": "wp_template", "wp_template_part": "wp_template_part", "wp_global_styles": "wp_global_styles", "wp_navigation": "wp_navigation", "wp_font_family": "wp_font_family", "wp_font_face": "wp_font_face", "e-floating-buttons": "e-floating-buttons", "elementor_library": "elementor_library", "elementskit_content": "elementskit_content", "elementskit_template": "elementskit_template", "product": "product" } }, "required": false }, "search_columns": { "default": [], "description": "Mekl\u0113jamo sleju nosaukumu mas\u012bvs.", "type": "array", "items": { "enum": [ "email", "name", "id", "username", "slug" ], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "username": { "description": "Lietot\u0101ja pieteik\u0161an\u0101s v\u0101rds.", "type": "string", "required": true }, "name": { "description": "Par\u0101d\u0101mais lietot\u0101ja v\u0101rds.", "type": "string", "required": false }, "first_name": { "description": "Lietot\u0101ja v\u0101rds.", "type": "string", "required": false }, "last_name": { "description": "Lietot\u0101ja uzv\u0101rds.", "type": "string", "required": false }, "email": { "description": "Lietot\u0101ja e-pasta adrese.", "type": "string", "format": "email", "required": true }, "url": { "description": "Lietot\u0101ja URL.", "type": "string", "format": "uri", "required": false }, "description": { "description": "Lietot\u0101ja apraksts.", "type": "string", "required": false }, "locale": { "description": "Lok\u0101le lietot\u0101jam.", "type": "string", "enum": [ "", "en_US", "af", "am", "ar", "bel", "bg_BG", "bn_BD", "bs_BA", "ca", "ceb", "ckb", "cs_CZ", "cy", "da_DK", "de_DE", "el", "eo", "es_PE", "et", "eu", "fa_IR", "fi", "fr_FR", "fy", "gl_ES", "gu", "he_IL", "hi_IN", "hr", "hu_HU", "hy", "id_ID", "is_IS", "it_IT", "ja", "jv_ID", "ka_GE", "kir", "kk", "km", "kn", "ko_KR", "lo", "lt_LT", "lv", "mk_MK", "ml_IN", "mn", "mr", "ms_MY", "my_MM", "ne_NP", "nl_NL", "nn_NO", "pl_PL", "ps", "pt_PT", "ro_RO", "ru_RU", "si_LK", "sk_SK", "sl_SI", "snd", "sq", "sr_RS", "sv_SE", "sw", "ta_IN", "th", "tr_TR", "tt_RU", "uk", "ur", "uz_UZ", "vi", "zh_CN", "zh_TW" ], "required": false }, "nickname": { "description": "Segv\u0101rds lietot\u0101jam.", "type": "string", "required": false }, "slug": { "description": "Lietot\u0101ja burtciparu identifikators.", "type": "string", "required": false }, "roles": { "description": "Lietot\u0101jam pie\u0161\u0137irt\u0101s lomas.", "type": "array", "items": { "type": "string" }, "required": false }, "password": { "description": "Parole lietot\u0101jam (nekad nav iek\u013cauta).", "type": "string", "required": true }, "meta": { "description": "Metadatu lauki.", "type": "object", "properties": { "persisted_preferences": { "type": "object", "title": "", "description": "", "default": [], "context": [ "edit" ], "properties": { "_modified": { "description": "Datums un laiks, kad priek\u0161roc\u012bbas tika atjaunotas.", "type": "string", "format": "date-time", "readonly": false } }, "additionalProperties": true } }, "required": false }, "elementor_introduction": { "description": "Elementor user meta data", "type": "object", "properties": { "ai_get_started": { "type": "boolean" } }, "additionalProperties": true, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp\/v2\/users" } ] } }, "\/wp\/v2\/users\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls lietot\u0101ja identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls lietot\u0101ja identifikators.", "type": "integer", "required": false }, "username": { "description": "Lietot\u0101ja pieteik\u0161an\u0101s v\u0101rds.", "type": "string", "required": false }, "name": { "description": "Par\u0101d\u0101mais lietot\u0101ja v\u0101rds.", "type": "string", "required": false }, "first_name": { "description": "Lietot\u0101ja v\u0101rds.", "type": "string", "required": false }, "last_name": { "description": "Lietot\u0101ja uzv\u0101rds.", "type": "string", "required": false }, "email": { "description": "Lietot\u0101ja e-pasta adrese.", "type": "string", "format": "email", "required": false }, "url": { "description": "Lietot\u0101ja URL.", "type": "string", "format": "uri", "required": false }, "description": { "description": "Lietot\u0101ja apraksts.", "type": "string", "required": false }, "locale": { "description": "Lok\u0101le lietot\u0101jam.", "type": "string", "enum": [ "", "en_US", "af", "am", "ar", "bel", "bg_BG", "bn_BD", "bs_BA", "ca", "ceb", "ckb", "cs_CZ", "cy", "da_DK", "de_DE", "el", "eo", "es_PE", "et", "eu", "fa_IR", "fi", "fr_FR", "fy", "gl_ES", "gu", "he_IL", "hi_IN", "hr", "hu_HU", "hy", "id_ID", "is_IS", "it_IT", "ja", "jv_ID", "ka_GE", "kir", "kk", "km", "kn", "ko_KR", "lo", "lt_LT", "lv", "mk_MK", "ml_IN", "mn", "mr", "ms_MY", "my_MM", "ne_NP", "nl_NL", "nn_NO", "pl_PL", "ps", "pt_PT", "ro_RO", "ru_RU", "si_LK", "sk_SK", "sl_SI", "snd", "sq", "sr_RS", "sv_SE", "sw", "ta_IN", "th", "tr_TR", "tt_RU", "uk", "ur", "uz_UZ", "vi", "zh_CN", "zh_TW" ], "required": false }, "nickname": { "description": "Segv\u0101rds lietot\u0101jam.", "type": "string", "required": false }, "slug": { "description": "Lietot\u0101ja burtciparu identifikators.", "type": "string", "required": false }, "roles": { "description": "Lietot\u0101jam pie\u0161\u0137irt\u0101s lomas.", "type": "array", "items": { "type": "string" }, "required": false }, "password": { "description": "Parole lietot\u0101jam (nekad nav iek\u013cauta).", "type": "string", "required": false }, "meta": { "description": "Metadatu lauki.", "type": "object", "properties": { "persisted_preferences": { "type": "object", "title": "", "description": "", "default": [], "context": [ "edit" ], "properties": { "_modified": { "description": "Datums un laiks, kad priek\u0161roc\u012bbas tika atjaunotas.", "type": "string", "format": "date-time", "readonly": false } }, "additionalProperties": true } }, "required": false }, "elementor_introduction": { "description": "Elementor user meta data", "type": "object", "properties": { "ai_get_started": { "type": "boolean" } }, "additionalProperties": true, "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unik\u0101ls lietot\u0101ja identifikators.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Nepiecie\u0161ams, lai b\u016btu patiess, jo lietot\u0101jus nevar ievietot atkritn\u0113.", "required": false }, "reassign": { "type": "integer", "description": "Pie\u0161\u0137iriet dz\u0113sto lietot\u0101ju zi\u0146\u0101m un sait\u0113m \u0161\u012b lietot\u0101ja ID.", "required": true } } } ] }, "\/wp\/v2\/users\/me": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "username": { "description": "Lietot\u0101ja pieteik\u0161an\u0101s v\u0101rds.", "type": "string", "required": false }, "name": { "description": "Par\u0101d\u0101mais lietot\u0101ja v\u0101rds.", "type": "string", "required": false }, "first_name": { "description": "Lietot\u0101ja v\u0101rds.", "type": "string", "required": false }, "last_name": { "description": "Lietot\u0101ja uzv\u0101rds.", "type": "string", "required": false }, "email": { "description": "Lietot\u0101ja e-pasta adrese.", "type": "string", "format": "email", "required": false }, "url": { "description": "Lietot\u0101ja URL.", "type": "string", "format": "uri", "required": false }, "description": { "description": "Lietot\u0101ja apraksts.", "type": "string", "required": false }, "locale": { "description": "Lok\u0101le lietot\u0101jam.", "type": "string", "enum": [ "", "en_US", "af", "am", "ar", "bel", "bg_BG", "bn_BD", "bs_BA", "ca", "ceb", "ckb", "cs_CZ", "cy", "da_DK", "de_DE", "el", "eo", "es_PE", "et", "eu", "fa_IR", "fi", "fr_FR", "fy", "gl_ES", "gu", "he_IL", "hi_IN", "hr", "hu_HU", "hy", "id_ID", "is_IS", "it_IT", "ja", "jv_ID", "ka_GE", "kir", "kk", "km", "kn", "ko_KR", "lo", "lt_LT", "lv", "mk_MK", "ml_IN", "mn", "mr", "ms_MY", "my_MM", "ne_NP", "nl_NL", "nn_NO", "pl_PL", "ps", "pt_PT", "ro_RO", "ru_RU", "si_LK", "sk_SK", "sl_SI", "snd", "sq", "sr_RS", "sv_SE", "sw", "ta_IN", "th", "tr_TR", "tt_RU", "uk", "ur", "uz_UZ", "vi", "zh_CN", "zh_TW" ], "required": false }, "nickname": { "description": "Segv\u0101rds lietot\u0101jam.", "type": "string", "required": false }, "slug": { "description": "Lietot\u0101ja burtciparu identifikators.", "type": "string", "required": false }, "roles": { "description": "Lietot\u0101jam pie\u0161\u0137irt\u0101s lomas.", "type": "array", "items": { "type": "string" }, "required": false }, "password": { "description": "Parole lietot\u0101jam (nekad nav iek\u013cauta).", "type": "string", "required": false }, "meta": { "description": "Metadatu lauki.", "type": "object", "properties": { "persisted_preferences": { "type": "object", "title": "", "description": "", "default": [], "context": [ "edit" ], "properties": { "_modified": { "description": "Datums un laiks, kad priek\u0161roc\u012bbas tika atjaunotas.", "type": "string", "format": "date-time", "readonly": false } }, "additionalProperties": true } }, "required": false }, "elementor_introduction": { "description": "Elementor user meta data", "type": "object", "properties": { "ai_get_started": { "type": "boolean" } }, "additionalProperties": true, "required": false } } }, { "methods": [ "DELETE" ], "args": { "force": { "type": "boolean", "default": false, "description": "Nepiecie\u0161ams, lai b\u016btu patiess, jo lietot\u0101jus nevar ievietot atkritn\u0113.", "required": false }, "reassign": { "type": "integer", "description": "Pie\u0161\u0137iriet dz\u0113sto lietot\u0101ju zi\u0146\u0101m un sait\u0113m \u0161\u012b lietot\u0101ja ID.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp\/v2\/users\/me" } ] } }, "\/wp\/v2\/users\/(?P(?:[\\d]+|me))\/application-passwords": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "app_id": { "description": "UUID, ko nodro\u0161ina programma, lai to unik\u0101li identific\u0113tu. Ieteicams izmantot UUID v 5 ar URL vai DNS nosaukumvietu.", "type": "string", "format": "uuid", "required": false }, "name": { "description": "Lietojumprogrammas paroles nosaukums.", "type": "string", "minLength": 1, "pattern": ".*\\S.*", "required": true } } }, { "methods": [ "DELETE" ], "args": [] } ] }, "\/wp\/v2\/users\/(?P(?:[\\d]+|me))\/application-passwords\/introspect": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/users\/(?P(?:[\\d]+|me))\/application-passwords\/(?P[\\w\\-]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "app_id": { "description": "UUID, ko nodro\u0161ina programma, lai to unik\u0101li identific\u0113tu. Ieteicams izmantot UUID v 5 ar URL vai DNS nosaukumvietu.", "type": "string", "format": "uuid", "required": false }, "name": { "description": "Lietojumprogrammas paroles nosaukums.", "type": "string", "minLength": 1, "pattern": ".*\\S.*", "required": false } } }, { "methods": [ "DELETE" ], "args": [] } ] }, "\/wp\/v2\/comments": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "after": { "description": "Ierobe\u017eot atbildi uz koment\u0101riem, kas public\u0113ti p\u0113c noteikt\u0101, ISO8601 pras\u012bb\u0101m atbilsto\u0161\u0101 datuma.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Ierobe\u017eot rezult\u0101tu kopu koment\u0101riem kas pie\u0161\u0137irti konkr\u0113ta lietot\u0101ja ID. Nepiecie\u0161ama autoriz\u0101cija.", "type": "array", "items": { "type": "integer" }, "required": false }, "author_exclude": { "description": "Nodro\u0161ina, ka rezult\u0101tu kopas izsl\u0113dz konkr\u0113tam lietot\u0101jam pie\u0161\u0137irtu ID. Nepiecie\u0161ama autoriz\u0101cija.", "type": "array", "items": { "type": "integer" }, "required": false }, "author_email": { "default": null, "description": "Ierobe\u017eot rezult\u0101tu kopu no konkr\u0113ta autora e-pasta. Nepiecie\u0161ama autoriz\u0101cija.", "format": "email", "type": "string", "required": false }, "before": { "description": "Ierobe\u017eot atbildi uz koment\u0101riem, kas public\u0113ti pirms noteikt\u0101, ISO8601 pras\u012bb\u0101m atbilsto\u0161\u0101 datuma.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Nodro\u0161ina, ka rezult\u0101tu kopa neiek\u013cauj konkr\u0113tu ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eot rezult\u0101tu kopu ar specifiskiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Rezult\u0101tu kopas nob\u012bde par \u012bpa\u0161u vienumu skaitu.", "type": "integer", "required": false }, "order": { "description": "K\u0101rtot \u0161\u0137iro\u0161anas atrib\u016btu augo\u0161i vai dilsto\u0161i.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c koment\u0101ra atrib\u016bta.", "type": "string", "default": "date_gmt", "enum": [ "date", "date_gmt", "id", "include", "post", "parent", "type" ], "required": false }, "parent": { "default": [], "description": "Ierobe\u017eot rezult\u0101tu kopu koment\u0101riem ar specifisku pamatelementa ID.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_exclude": { "default": [], "description": "Nodro\u0161ina, ka rezult\u0101tu kopa neiek\u013cauj konkr\u0113tu pamatelementu ID.", "type": "array", "items": { "type": "integer" }, "required": false }, "post": { "default": [], "description": "Ierobe\u017eot rezult\u0101tu kopu koment\u0101riem kas pie\u0161\u0137irti specifiskam zi\u0146u ID.", "type": "array", "items": { "type": "integer" }, "required": false }, "status": { "default": "approve", "description": "Ierobe\u017eot rezult\u0101tu kopu koment\u0101riem ar pie\u0161\u0137irtu specifisku statusu. Nepiecie\u0161ama autoriz\u0101cija.", "type": "string", "required": false }, "type": { "default": "comment", "description": "Ierobe\u017eot rezult\u0101tu kopu koment\u0101riem ar pie\u0161\u0137irtu specifisku veidu. Nepiecie\u0161ama autoriz\u0101cija.", "type": "string", "required": false }, "password": { "description": "Parole zi\u0146ai, ja t\u0101 ir aizsarg\u0101ta ar paroli.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "author": { "description": "Objekta autora IP adrese, ja autors bija lietot\u0101js.", "type": "integer", "required": false }, "author_email": { "description": "Koment\u0101ra autora e-pasta adrese.", "type": "string", "format": "email", "required": false }, "author_ip": { "description": "IP adrese koment\u0101ra autoram.", "type": "string", "format": "ip", "required": false }, "author_name": { "description": "Par\u0101d\u0101ms koment\u0101ra autora v\u0101rds.", "type": "string", "required": false }, "author_url": { "description": "URL koment\u0101ra autoram.", "type": "string", "format": "uri", "required": false }, "author_user_agent": { "description": "Lietot\u0101ja a\u0123ents koment\u0101ru autoram.", "type": "string", "required": false }, "content": { "description": "Saturs koment\u0101ram.", "type": "object", "properties": { "raw": { "description": "Datub\u0101z\u0113 eso\u0161s koment\u0101ra saturs.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Koment\u0101ra HTML saturs, p\u0101rveidots att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "date": { "description": "Koment\u0101ra public\u0113\u0161anas datums vietnes laika josl\u0101.", "type": "string", "format": "date-time", "required": false }, "date_gmt": { "description": "Koment\u0101ra public\u0113\u0161anas datums, att\u0113lots k\u0101 GTM.", "type": "string", "format": "date-time", "required": false }, "parent": { "default": 0, "description": "Koment\u0101ra pamatelementa ID.", "type": "integer", "required": false }, "post": { "default": 0, "description": "Saist\u012bt\u0101 zi\u0146as objekta ID.", "type": "integer", "required": false }, "status": { "description": "Koment\u0101ra st\u0101voklis.", "type": "string", "required": false }, "meta": { "description": "Metadatu lauki.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp\/v2\/comments" } ] } }, "\/wp\/v2\/comments\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unik\u0101ls koment\u0101ra identifikators.", "type": "integer", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "Parole koment\u0101ra pamata zi\u0146ai (ja zi\u0146a ir aizsarg\u0101ta ar paroli).", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unik\u0101ls koment\u0101ra identifikators.", "type": "integer", "required": false }, "author": { "description": "Objekta autora IP adrese, ja autors bija lietot\u0101js.", "type": "integer", "required": false }, "author_email": { "description": "Koment\u0101ra autora e-pasta adrese.", "type": "string", "format": "email", "required": false }, "author_ip": { "description": "IP adrese koment\u0101ra autoram.", "type": "string", "format": "ip", "required": false }, "author_name": { "description": "Par\u0101d\u0101ms koment\u0101ra autora v\u0101rds.", "type": "string", "required": false }, "author_url": { "description": "URL koment\u0101ra autoram.", "type": "string", "format": "uri", "required": false }, "author_user_agent": { "description": "Lietot\u0101ja a\u0123ents koment\u0101ru autoram.", "type": "string", "required": false }, "content": { "description": "Saturs koment\u0101ram.", "type": "object", "properties": { "raw": { "description": "Datub\u0101z\u0113 eso\u0161s koment\u0101ra saturs.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Koment\u0101ra HTML saturs, p\u0101rveidots att\u0113lo\u0161anai.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "date": { "description": "Koment\u0101ra public\u0113\u0161anas datums vietnes laika josl\u0101.", "type": "string", "format": "date-time", "required": false }, "date_gmt": { "description": "Koment\u0101ra public\u0113\u0161anas datums, att\u0113lots k\u0101 GTM.", "type": "string", "format": "date-time", "required": false }, "parent": { "description": "Koment\u0101ra pamatelementa ID.", "type": "integer", "required": false }, "post": { "description": "Saist\u012bt\u0101 zi\u0146as objekta ID.", "type": "integer", "required": false }, "status": { "description": "Koment\u0101ra st\u0101voklis.", "type": "string", "required": false }, "meta": { "description": "Metadatu lauki.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unik\u0101ls koment\u0101ra identifikators.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Vai apiet atkritni un veikt piespiedu dz\u0113\u0161anu.", "required": false }, "password": { "description": "Parole koment\u0101ra pamata zi\u0146ai (ja zi\u0146a ir aizsarg\u0101ta ar paroli).", "type": "string", "required": false } } } ] }, "\/wp\/v2\/search": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "type": { "default": "post", "description": "Ierobe\u017eot rezult\u0101tus ar objektu tipiem.", "type": "string", "enum": [ "post", "term", "post-format" ], "required": false }, "subtype": { "default": "any", "description": "Ierobe\u017eot rezult\u0101tus ar viena vai vair\u0101ku objektu apak\u0161tipiem.", "type": "array", "items": { "enum": [ "post", "page", "e-floating-buttons", "elementor_library", "elementskit_content", "elementskit_template", "product", "category", "post_tag", "product_brand", "product_cat", "product_tag", "any" ], "type": "string" }, "required": false }, "exclude": { "description": "Nodro\u0161ina, ka rezult\u0101tu kopa neiek\u013cauj konkr\u0113tu ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ierobe\u017eot rezult\u0101tu kopu ar specifiskiem ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp\/v2\/search" } ] } }, "\/wp\/v2\/block-renderer\/(?P[a-z0-9-]+\/[a-z0-9-]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET", "POST" ], "args": { "name": { "description": "Bloka unik\u0101lais re\u0123istr\u0113tais nosaukums.", "type": "string", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "edit" ], "default": "view", "required": false }, "attributes": { "description": "Bloka atrib\u016bti.", "type": "object", "default": [], "required": false }, "post_id": { "description": "Raksta konteksta ID.", "type": "integer", "required": false } } } ] }, "\/wp\/v2\/block-types": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "namespace": { "description": "Bloka nosaukumvieta.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp\/v2\/block-types" } ] } }, "\/wp\/v2\/block-types\/(?P[a-zA-Z0-9_-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "namespace": { "description": "Bloka nosaukumvieta.", "type": "string", "required": false } } } ] }, "\/wp\/v2\/block-types\/(?P[a-zA-Z0-9_-]+)\/(?P[a-zA-Z0-9_-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "name": { "description": "Bloka nosaukums.", "type": "string", "required": false }, "namespace": { "description": "Bloka nosaukumvieta.", "type": "string", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/settings": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "title": { "title": "Virsraksts", "description": "Vietnes nosaukums.", "type": "string", "required": false }, "description": { "title": "Dev\u012bze", "description": "Vietnes sauklis (moto).", "type": "string", "required": false }, "url": { "title": "", "description": "Vietnes URL.", "type": "string", "format": "uri", "required": false }, "email": { "title": "", "description": "\u0160\u012b adrese tiek izmantota administr\u0113\u0161anas m\u0113r\u0137iem, piem. jauna lietot\u0101ja apzi\u0146o\u0161anai.", "type": "string", "format": "email", "required": false }, "timezone": { "title": "", "description": "Pils\u0113ta j\u016bsu laika josl\u0101.", "type": "string", "required": false }, "date_format": { "title": "", "description": "Datuma form\u0101ts vis\u0101m datumu virkn\u0113m.", "type": "string", "required": false }, "time_format": { "title": "", "description": "Laika form\u0101ts visiem laika r\u0101d\u012bjumiem.", "type": "string", "required": false }, "start_of_week": { "title": "", "description": "Ned\u0113\u013cas dienas numurs, kur\u0101 ned\u0113\u013ca s\u0101kas.", "type": "integer", "required": false }, "language": { "title": "", "description": "WordPress locales kods.", "type": "string", "required": false }, "use_smilies": { "title": "", "description": "P\u0101rv\u0113rst emocijas k\u0101 :-) un :-P par grafiskiem smaidi\u0146iem.", "type": "boolean", "required": false }, "default_category": { "title": "", "description": "Zi\u0146as noklus\u0113juma kategorija.", "type": "integer", "required": false }, "default_post_format": { "title": "", "description": "Zi\u0146as noklus\u0113juma form\u0101ts.", "type": "string", "required": false }, "posts_per_page": { "title": "Maksim\u0101lais zi\u0146u skaits lap\u0101", "description": "Par\u0101d\u0101mo bloga lapu skaits.", "type": "integer", "required": false }, "show_on_front": { "title": "R\u0101d\u012bt priek\u0161pus\u0113", "description": "Ko r\u0101d\u012bt pirmaj\u0101 lap\u0101", "type": "string", "required": false }, "page_on_front": { "title": "Lapa priek\u0161pus\u0113", "description": "T\u0101s lapas ID, kura j\u0101r\u0101da k\u0101 pirm\u0101", "type": "integer", "required": false }, "page_for_posts": { "title": "", "description": "T\u0101s lapas\u00a0ID, kur\u0101 j\u0101r\u0101da jaun\u0101k\u0101s zi\u0146as", "type": "integer", "required": false }, "default_ping_status": { "title": "", "description": "At\u013caut saites pazi\u0146ojumus no citiem blogiem (atbalsojums un atpaka\u013csaites) jaunajiem rakstiem.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "default_comment_status": { "title": "At\u013caut koment\u0101rus jaunaj\u0101m zi\u0146\u0101m.", "description": "At\u013caut lietot\u0101jiem pievienot koment\u0101rus jauniem rakstiem.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "site_logo": { "title": "Logotips", "description": "Vietnes logo.", "type": "integer", "required": false }, "site_icon": { "title": "Ikona", "description": "Vietnes ikona.", "type": "integer", "required": false }, "pickup_location_settings": { "title": "", "description": "WooCommerce Local Pickup Method Settings", "type": "object", "properties": { "enabled": { "description": "If enabled, this method will appear on the block based checkout.", "type": "string", "enum": [ "yes", "no" ] }, "title": { "description": "Tas kontrol\u0113 nosaukumu, ko lietot\u0101js redz izrakst\u012b\u0161anas laik\u0101.", "type": "string" }, "tax_status": { "description": "If a cost is defined, this controls if taxes are applied to that cost.", "type": "string", "enum": [ "taxable", "none" ] }, "cost": { "description": "Optional cost to charge for local pickup.", "type": "string" } }, "additionalProperties": false, "required": false }, "pickup_locations": { "title": "", "description": "WooCommerce Local Pickup Locations", "type": "array", "items": { "type": "object", "properties": { "name": { "type": "string" }, "address": { "type": "object", "properties": { "address_1": { "type": "string" }, "city": { "type": "string" }, "state": { "type": "string" }, "postcode": { "type": "string" }, "country": { "type": "string" } }, "additionalProperties": false }, "details": { "type": "string" }, "enabled": { "type": "boolean" } }, "additionalProperties": false }, "required": false }, "woocommerce_default_catalog_orderby": { "title": "Noklus\u0113juma produktu \u0161\u0137iro\u0161ana", "description": "K\u0101 p\u0113c noklus\u0113juma produktiem j\u0101b\u016bt sak\u0101rtotim katalog\u0101?", "type": "string", "enum": [ "menu_order", "popularity", "rating", "date", "price", "price-desc" ], "required": false }, "woocommerce_checkout_phone_field": { "title": "Phone number", "description": "Controls the display of the phone field in checkout.", "type": "string", "enum": [ "optional", "required", "hidden" ], "required": false }, "woocommerce_checkout_company_field": { "title": "Uz\u0146\u0113mums", "description": "Controls the display of the company field in checkout.", "type": "string", "enum": [ "optional", "required", "hidden" ], "required": false }, "woocommerce_checkout_address_2_field": { "title": "Address Line 2", "description": "Controls the display of the apartment (address_2) field in checkout.", "type": "string", "enum": [ "optional", "required", "hidden" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp\/v2\/settings" } ] } }, "\/wp\/v2\/themes": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "status": { "description": "Ierobe\u017eot rezult\u0101tu kopu t\u0113m\u0101m, kur\u0101m pie\u0161\u0137irts viens vai vair\u0101ki statusi.", "type": "array", "items": { "enum": [ "active", "inactive" ], "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp\/v2\/themes" } ] } }, "\/wp\/v2\/themes\/(?P[^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "stylesheet": { "description": "T\u0113mas stila lapa. Tas unik\u0101li identific\u0113 t\u0113mu.", "type": "string", "required": false } } } ] }, "\/wp\/v2\/plugins": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "required": false }, "status": { "description": "Rezult\u0101ti tiek ierobe\u017eoti l\u012bdz spraud\u0146iem ar nor\u0101d\u012bto statusu.", "type": "array", "items": { "type": "string", "enum": [ "inactive", "active" ] }, "required": false } } }, { "methods": [ "POST" ], "args": { "slug": { "type": "string", "description": "WordPress.org spraud\u0146a direktorijas taka.", "pattern": "[\\w\\-]+", "required": true }, "status": { "description": "Spraud\u0146a aktiviz\u0101cijas statuss.", "type": "string", "enum": [ "inactive", "active" ], "default": "inactive", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp\/v2\/plugins" } ] } }, "\/wp\/v2\/plugins\/(?P[^.\\\/]+(?:\\\/[^.\\\/]+)?)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "plugin": { "type": "string", "pattern": "[^.\\\/]+(?:\\\/[^.\\\/]+)?", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "plugin": { "type": "string", "pattern": "[^.\\\/]+(?:\\\/[^.\\\/]+)?", "required": false }, "status": { "description": "Spraud\u0146a aktiviz\u0101cijas statuss.", "type": "string", "enum": [ "inactive", "active" ], "required": false } } }, { "methods": [ "DELETE" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "plugin": { "type": "string", "pattern": "[^.\\\/]+(?:\\\/[^.\\\/]+)?", "required": false } } } ] }, "\/wp\/v2\/sidebars": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp\/v2\/sidebars" } ] } }, "\/wp\/v2\/sidebars\/(?P[\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Re\u0123istr\u0113tas s\u0101njoslas ID", "type": "string", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "widgets": { "description": "Ligzdoti logr\u012bki.", "type": "array", "items": { "type": [ "object", "string" ] }, "required": false } } } ] }, "\/wp\/v2\/widget-types": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp\/v2\/widget-types" } ] } }, "\/wp\/v2\/widget-types\/(?P[a-zA-Z0-9_-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Logr\u012bka tipa id.", "type": "string", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/widget-types\/(?P[a-zA-Z0-9_-]+)\/encode": { "namespace": "wp\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "Logr\u012bka tipa id.", "type": "string", "required": true }, "instance": { "description": "Logr\u012bka pa\u0161reiz\u0113jie instances iestat\u012bjumi.", "type": "object", "required": false }, "form_data": { "description": "Serializ\u0113ti logr\u012bka formas dati, lai kod\u0113tu instances iestat\u012bjumos.", "type": "string", "required": false } } } ] }, "\/wp\/v2\/widget-types\/(?P[a-zA-Z0-9_-]+)\/render": { "namespace": "wp\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "Logr\u012bka tipa id.", "type": "string", "required": true }, "instance": { "description": "Logr\u012bka pa\u0161reiz\u0113jie instances iestat\u012bjumi.", "type": "object", "required": false } } } ] }, "\/wp\/v2\/widgets": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "sidebar": { "description": "S\u0101njosla, kurai atdot logr\u012bkus.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Logr\u012bka unik\u0101lais identifikators.", "type": "string", "required": false }, "id_base": { "description": "Logr\u012bka veids. Atbilst ID widget-types galapunktam.", "type": "string", "required": false }, "sidebar": { "default": "wp_inactive_widgets", "description": "S\u0101njosla, kurai pieder logr\u012bks.", "type": "string", "required": true }, "instance": { "description": "Logr\u012bka instances iestat\u012bjumi, ja tie tiek atbalst\u012bti.", "type": "object", "properties": { "encoded": { "description": "Base64 kod\u0113ts instances iestat\u012bjumu att\u0113lojums.", "type": "string", "context": [ "edit" ] }, "hash": { "description": "Kriptogr\u0101fiskais jauc\u0113js no instances iestat\u012bjumiem.", "type": "string", "context": [ "edit" ] }, "raw": { "description": "Nekod\u0113ti instances iestat\u012bjumi, ja tie tiek atbalst\u012bti.", "type": "object", "context": [ "edit" ] } }, "required": false }, "form_data": { "description": "URL kod\u0113tu veidlapu dati no logr\u012bka administratora veidlapas. Izmanto, lai atjaunin\u0101tu logr\u012bku, kas neatbalsta instanci. Tikai rakst\u012bt.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp\/v2\/widgets" } ] } }, "\/wp\/v2\/widgets\/(?P[\\w\\-]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Logr\u012bka unik\u0101lais identifikators.", "type": "string", "required": false }, "id_base": { "description": "Logr\u012bka veids. Atbilst ID widget-types galapunktam.", "type": "string", "required": false }, "sidebar": { "description": "S\u0101njosla, kurai pieder logr\u012bks.", "type": "string", "required": false }, "instance": { "description": "Logr\u012bka instances iestat\u012bjumi, ja tie tiek atbalst\u012bti.", "type": "object", "properties": { "encoded": { "description": "Base64 kod\u0113ts instances iestat\u012bjumu att\u0113lojums.", "type": "string", "context": [ "edit" ] }, "hash": { "description": "Kriptogr\u0101fiskais jauc\u0113js no instances iestat\u012bjumiem.", "type": "string", "context": [ "edit" ] }, "raw": { "description": "Nekod\u0113ti instances iestat\u012bjumi, ja tie tiek atbalst\u012bti.", "type": "object", "context": [ "edit" ] } }, "required": false }, "form_data": { "description": "URL kod\u0113tu veidlapu dati no logr\u012bka administratora veidlapas. Izmanto, lai atjaunin\u0101tu logr\u012bku, kas neatbalsta instanci. Tikai rakst\u012bt.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "force": { "description": "Vai piespiedu k\u0101rt\u0101 no\u0146emt logr\u012bku vai p\u0101rvietot to uz neakt\u012bvo s\u0101njoslu.", "type": "boolean", "required": false } } } ] }, "\/wp\/v2\/block-directory\/search": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "term": { "description": "Ierobe\u017eot rezult\u0101tu kopu l\u012bdz blokiem, kas atbilst mekl\u0113jamajam terminam.", "type": "string", "minLength": 1, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp\/v2\/block-directory\/search" } ] } }, "\/wp\/v2\/pattern-directory\/patterns": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 100, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ierobe\u017eot rezult\u0101tus, lai tie atbilstu virknei.", "type": "string", "minLength": 1, "required": false }, "category": { "description": "Ierobe\u017eojiet rezult\u0101tus tikai tiem, kas atbilst kategorijas ID.", "type": "integer", "minimum": 1, "required": false }, "keyword": { "description": "Ierobe\u017eot rezult\u0101tus tikai tiem, kas atbilst atsl\u0113gv\u0101rda ID.", "type": "integer", "minimum": 1, "required": false }, "slug": { "description": "Ierobe\u017eojiet rezult\u0101tus l\u012bdz tiem, kas atbilst modelim (taka).", "type": "array", "required": false }, "offset": { "description": "Rezult\u0101tu kopas nob\u012bde par \u012bpa\u0161u vienumu skaitu.", "type": "integer", "required": false }, "order": { "description": "K\u0101rtot \u0161\u0137iro\u0161anas atrib\u016btu augo\u0161i vai dilsto\u0161i.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "K\u0101rtot kolekciju p\u0113c zi\u0146as atrib\u016bta.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "favorite_count" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp\/v2\/pattern-directory\/patterns" } ] } }, "\/wp\/v2\/block-patterns\/patterns": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp\/v2\/block-patterns\/patterns" } ] } }, "\/wp\/v2\/block-patterns\/categories": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp\/v2\/block-patterns\/categories" } ] } }, "\/wp-site-health\/v1": { "namespace": "wp-site-health\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wp-site-health\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp-site-health\/v1" } ] } }, "\/wp-site-health\/v1\/tests\/background-updates": { "namespace": "wp-site-health\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp-site-health\/v1\/tests\/background-updates" } ] } }, "\/wp-site-health\/v1\/tests\/loopback-requests": { "namespace": "wp-site-health\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp-site-health\/v1\/tests\/loopback-requests" } ] } }, "\/wp-site-health\/v1\/tests\/https-status": { "namespace": "wp-site-health\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp-site-health\/v1\/tests\/https-status" } ] } }, "\/wp-site-health\/v1\/tests\/dotorg-communication": { "namespace": "wp-site-health\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp-site-health\/v1\/tests\/dotorg-communication" } ] } }, "\/wp-site-health\/v1\/tests\/authorization-header": { "namespace": "wp-site-health\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp-site-health\/v1\/tests\/authorization-header" } ] } }, "\/wp-site-health\/v1\/directory-sizes": { "namespace": "wp-site-health\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp-site-health\/v1\/directory-sizes" } ] } }, "\/wp-site-health\/v1\/tests\/page-cache": { "namespace": "wp-site-health\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp-site-health\/v1\/tests\/page-cache" } ] } }, "\/wp-block-editor\/v1": { "namespace": "wp-block-editor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wp-block-editor\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp-block-editor\/v1" } ] } }, "\/wp-block-editor\/v1\/url-details": { "namespace": "wp-block-editor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "url": { "description": "Apstr\u0101d\u0101jamais URL.", "type": "string", "format": "uri", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp-block-editor\/v1\/url-details" } ] } }, "\/wp\/v2\/menu-locations": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp\/v2\/menu-locations" } ] } }, "\/wp\/v2\/menu-locations\/(?P[\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "location": { "description": "Burtciparu identifikators izv\u0113lnes atra\u0161an\u0101s vietai.", "type": "string", "required": false }, "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp-block-editor\/v1\/export": { "namespace": "wp-block-editor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp-block-editor\/v1\/export" } ] } }, "\/wp-block-editor\/v1\/navigation-fallback": { "namespace": "wp-block-editor\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp-block-editor\/v1\/navigation-fallback" } ] } }, "\/wp\/v2\/font-collections": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Pa\u0161reiz\u0113j\u0101 kolekcijas lapa.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksim\u0101lais vienumu skaits, kas tiek atgriezts rezult\u0101tu kop\u0101.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp\/v2\/font-collections" } ] } }, "\/wp\/v2\/font-collections\/(?P[\\\/\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Tv\u0113rums, kur\u0101 tiek izteikts piepras\u012bjums; nosaka atbild\u0113 nepiecie\u0161amos laukus.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] } }, "site_logo": 355, "site_icon": 52, "site_icon_url": "https:\/\/www.triumphgifts.com\/wp-content\/uploads\/2025\/05\/cropped-\u5ee3\u5dde\u516c\u53f8logo.png", "_links": { "help": [ { "href": "https:\/\/developer.wordpress.org\/rest-api\/" } ], "wp:featuredmedia": [ { "embeddable": true, "type": "site_logo", "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp\/v2\/media\/355" }, { "embeddable": true, "type": "site_icon", "href": "https:\/\/www.triumphgifts.com\/lv\/wp-json\/wp\/v2\/media\/52" } ], "curies": [ { "name": "wp", "href": "https:\/\/api.w.org\/{rel}", "templated": true } ] } }