{ "name": "Nightscout Pro", "description": "Your CGM in the cloud, FOREVER!", "url": "https:\/\/nightscout.pro", "home": "https:\/\/nightscout.pro\/pl", "gmt_offset": "0", "timezone_string": "", "page_for_posts": 0, "page_on_front": 37, "show_on_front": "page", "namespaces": [ "oembed\/1.0", "fluent-smtp", "cookieyes\/v1", "jetpack\/v4", "wc\/v3", "wpcom\/v2", "jetpack\/v4\/stats-app", "wc-product-add-ons\/v1", "wpcom\/v3", "wc\/v1", "wc-admin", "wc-analytics", "wc\/store", "wc\/store\/v1", "wc\/private", "wp-rocket\/v1", "wc\/v2", "jetpack-boost\/v1", "my-jetpack\/v1", "jetpack\/v4\/explat", "jetpack\/v4\/blaze-app", "jetpack\/v4\/blaze", "google-site-kit\/v1", "divi\/v1", "wc-admin-email", "wc-telemetry", "wccom-site\/v3", "wp\/v2", "wp-site-health\/v1", "wp-block-editor\/v1" ], "authentication": { "application-passwords": { "endpoints": { "authorization": "https:\/\/nightscout.pro\/wp-admin\/authorize-application.php" } } }, "routes": { "\/": { "namespace": "", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/wp-json\/oembed\/1.0" } ] } }, "\/oembed\/1.0\/embed": { "namespace": "oembed\/1.0", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "url": { "description": "Adres URL zasobu pobieraj\u0105cego dane oEmbed.", "type": "string", "format": "uri", "required": true }, "format": { "default": "json", "required": false }, "maxwidth": { "default": 600, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/oembed\/1.0\/embed" } ] } }, "\/oembed\/1.0\/proxy": { "namespace": "oembed\/1.0", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "url": { "description": "Adres URL zasobu pobieraj\u0105cego dane oEmbed.", "type": "string", "format": "uri", "required": true }, "format": { "description": "oEmbed do wykorzystania.", "type": "string", "default": "json", "enum": [ "json", "xml" ], "required": false }, "maxwidth": { "description": "Maksymalna szeroko\u015b\u0107 osadzonej ramki w pikselach.", "type": "integer", "default": 600, "required": false }, "maxheight": { "description": "Maksymalna wysoko\u015b\u0107 osadzonej ramki w pikselach.", "type": "integer", "required": false }, "discover": { "description": "Czy wykonywa\u0107 zapytania oEmbed dla niezaufanych dostawc\u00f3w.", "type": "boolean", "default": true, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/oembed\/1.0\/proxy" } ] } }, "\/fluent-smtp": { "namespace": "fluent-smtp", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "fluent-smtp", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/fluent-smtp" } ] } }, "\/fluent-smtp\/outlook_callback": { "namespace": "fluent-smtp", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/fluent-smtp\/outlook_callback" } ] } }, "\/cookieyes\/v1": { "namespace": "cookieyes\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "cookieyes\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/cookieyes\/v1" } ] } }, "\/cookieyes\/v1\/fetch_results": { "namespace": "cookieyes\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/cookieyes\/v1\/fetch_results" } ] } }, "\/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:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4" } ] } }, "\/jetpack\/v4\/backup-helper-script": { "namespace": "jetpack\/v4", "methods": [ "POST", "DELETE" ], "endpoints": [ { "methods": [ "POST" ], "args": { "helper": { "description": "base64 encoded Backup Helper Script body.", "type": "string", "required": true } } }, { "methods": [ "DELETE" ], "args": { "path": { "description": "Path to Backup Helper Script", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/backup-helper-script" } ] } }, "\/jetpack\/v4\/database-object\/backup": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "object_type": { "description": "Type of object to fetch from the database", "required": true }, "object_id": { "description": "ID of the database object to fetch", "type": "integer", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/database-object\/backup" } ] } }, "\/jetpack\/v4\/options\/backup": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "name": { "description": "One or more option names to include in the backup", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/options\/backup" } ] } }, "\/jetpack\/v4\/comments\/(?P\\d+)\/backup": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/jetpack\/v4\/posts\/(?P\\d+)\/backup": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/jetpack\/v4\/terms\/(?P\\d+)\/backup": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/jetpack\/v4\/users\/(?P\\d+)\/backup": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/jetpack\/v4\/site\/backup\/undo-event": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/site\/backup\/undo-event" } ] } }, "\/jetpack\/v4\/orders\/(?P\\d+)\/backup": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/jetpack\/v4\/site\/backup\/preflight": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/site\/backup\/preflight" } ] } }, "\/jetpack\/v4\/jetpack-ai-jwt": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/jetpack-ai-jwt" } ] } }, "\/jetpack\/v4\/plans": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/plans" } ] } }, "\/jetpack\/v4\/products": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/products" } ] } }, "\/jetpack\/v4\/marketing\/survey": { "namespace": "jetpack\/v4", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/marketing\/survey" } ] } }, "\/jetpack\/v4\/connection\/test": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/connection\/test" } ] } }, "\/jetpack\/v4\/connection\/test-wpcom": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/connection\/test-wpcom" } ] } }, "\/jetpack\/v4\/rewind": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/rewind" } ] } }, "\/jetpack\/v4\/scan": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/scan" } ] } }, "\/jetpack\/v4\/connection\/url": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "from": { "type": "string", "required": false }, "redirect": { "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/connection\/url" } ] } }, "\/jetpack\/v4\/tracking\/settings": { "namespace": "jetpack\/v4", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "tracks_opt_out": { "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/tracking\/settings" } ] } }, "\/jetpack\/v4\/site": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/site" } ] } }, "\/jetpack\/v4\/site\/features": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/site\/features" } ] } }, "\/jetpack\/v4\/site\/products": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/site\/products" } ] } }, "\/jetpack\/v4\/site\/purchases": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/site\/purchases" } ] } }, "\/jetpack\/v4\/site\/benefits": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/site\/benefits" } ] } }, "\/jetpack\/v4\/site\/activity": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/site\/activity" } ] } }, "\/jetpack\/v4\/module\/all": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/module\/all" } ] } }, "\/jetpack\/v4\/module\/all\/active": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "modules": { "default": "", "type": "array", "items": { "type": "string" }, "required": true }, "active": { "default": true, "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/module\/all\/active" } ] } }, "\/jetpack\/v4\/module\/(?P[a-z\\-]+)": { "namespace": "jetpack\/v4", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "context": { "default": "edit", "required": false }, "jetpack_blocks_disabled": { "description": "Jetpack Blocks disabled.", "type": "boolean", "default": false, "required": false }, "carousel_background_color": { "description": "Color scheme.", "type": "string", "default": "black", "enum": [ "black", "white" ], "required": false }, "carousel_display_exif": { "description": "Show photo metadata (Exif<\/a>) in carousel, when available.", "type": "boolean", "default": 0, "required": false }, "carousel_display_comments": { "description": "Show comments area in carousel", "type": "boolean", "default": 1, "required": false }, "highlander_comment_form_prompt": { "description": "Greeting Text", "type": "string", "default": "Leave a Reply", "required": false }, "jetpack_comment_form_color_scheme": { "description": "Color scheme", "type": "string", "default": "light", "enum": [ "light", "dark", "transparent" ], "required": false }, "jetpack_portfolio": { "description": "Enable or disable Jetpack portfolio post type.", "type": "boolean", "default": 0, "required": false }, "jetpack_portfolio_posts_per_page": { "description": "Number of entries to show at most in Portfolio pages.", "type": "integer", "default": 10, "required": false }, "jetpack_testimonial": { "description": "Enable or disable Jetpack testimonial post type.", "type": "boolean", "default": 0, "required": false }, "jetpack_testimonial_posts_per_page": { "description": "Number of entries to show at most in Testimonial pages.", "type": "integer", "default": 10, "required": false }, "jetpack_waf_automatic_rules": { "description": "Enable automatic rules - Protect your site against untrusted traffic sources with automatic security rules.", "type": "boolean", "default": false, "required": false }, "jetpack_waf_ip_block_list_enabled": { "description": "Block list - Block a specific request IP.", "type": "boolean", "default": 0, "required": false }, "jetpack_waf_ip_block_list": { "description": "Blocked IP addresses", "type": "string", "default": "", "required": false }, "jetpack_waf_ip_allow_list_enabled": { "description": "Allow list - Allow a specific request IP.", "type": "boolean", "default": 0, "required": false }, "jetpack_waf_ip_allow_list": { "description": "Always allowed IP addresses", "type": "string", "default": "", "required": false }, "jetpack_waf_share_data": { "description": "Share basic data with Jetpack.", "type": "boolean", "default": 0, "required": false }, "jetpack_waf_share_debug_data": { "description": "Share detailed data with Jetpack.", "type": "boolean", "default": 0, "required": false }, "tiled_galleries": { "description": "Display all your gallery pictures in a cool mosaic.", "type": "boolean", "default": 0, "required": false }, "gravatar_disable_hovercards": { "description": "View people's profiles when you mouse over their Gravatars", "type": "string", "default": "enabled", "enum": [ "enabled", "disabled" ], "required": false }, "infinite_scroll": { "description": "To infinity and beyond", "type": "boolean", "default": 1, "required": false }, "infinite_scroll_google_analytics": { "description": "Use Google Analytics with Infinite Scroll", "type": "boolean", "default": 0, "required": false }, "wpl_default": { "description": "WordPress.com Likes are", "type": "string", "default": "on", "enum": [ "on", "off" ], "required": false }, "social_notifications_like": { "description": "Send email notification when someone likes a post", "type": "boolean", "default": 1, "required": false }, "wpcom_publish_comments_with_markdown": { "description": "Use Markdown for comments.", "type": "boolean", "default": 0, "required": false }, "wpcom_publish_posts_with_markdown": { "description": "Use Markdown for posts.", "type": "boolean", "default": 0, "required": false }, "monitor_receive_notifications": { "description": "Receive Monitor Email Notifications.", "type": "boolean", "default": 0, "required": false }, "post_by_email_address": { "description": "Email Address", "type": "string", "default": "noop", "enum": [ "noop", "create", "regenerate", "delete" ], "required": false }, "jetpack_protect_key": { "description": "Protect API key", "type": "string", "default": "", "required": false }, "jetpack_protect_global_whitelist": { "description": "Protect global IP allow list", "type": "string", "default": "", "required": false }, "sharing_services": { "description": "Enabled Services and those hidden behind a button", "type": "object", "default": { "visible": [ "facebook", "x" ], "hidden": [] }, "required": false }, "button_style": { "description": "Button Style", "type": "string", "default": "icon", "enum": [ "icon-text", "icon", "text", "official" ], "required": false }, "sharing_label": { "description": "Sharing Label", "type": "string", "default": "", "required": false }, "show": { "description": "Views where buttons are shown", "type": "array", "items": { "type": "string" }, "default": [ "post" ], "required": false }, "jetpack-twitter-cards-site-tag": { "description": "The Twitter username of the owner of this site's domain.", "type": "string", "default": "", "required": false }, "sharedaddy_disable_resources": { "description": "Disable CSS and JS", "type": "boolean", "default": 0, "required": false }, "custom": { "description": "Custom sharing services added by user.", "type": "object", "default": { "sharing_name": "", "sharing_url": "", "sharing_icon": "" }, "required": false }, "sharing_delete_service": { "description": "Delete custom sharing service.", "type": "string", "default": "", "required": false }, "jetpack_sso_require_two_step": { "description": "Require Two-Step Authentication", "type": "boolean", "default": false, "required": false }, "jetpack_sso_match_by_email": { "description": "Match by Email", "type": "boolean", "default": 1, "required": false }, "stb_enabled": { "description": "Show a <em>'follow blog'<\/em> option in the comment form", "type": "boolean", "default": 1, "required": false }, "stc_enabled": { "description": "Show a <em>'follow comments'<\/em> option in the comment form", "type": "boolean", "default": 1, "required": false }, "wpcom_newsletter_categories": { "description": "Array of post category ids that are marked as newsletter categories", "type": "array", "default": [], "required": false }, "wpcom_newsletter_categories_enabled": { "description": "Whether the newsletter categories are enabled or not", "type": "boolean", "default": 0, "required": false }, "wpcom_featured_image_in_email": { "description": "Whether to include the featured image in the email or not", "type": "boolean", "default": 0, "required": false }, "jetpack_gravatar_in_email": { "description": "Whether to show author avatar in the email byline", "type": "boolean", "default": 1, "required": false }, "jetpack_author_in_email": { "description": "Whether to show author display name in the email byline", "type": "boolean", "default": 1, "required": false }, "jetpack_post_date_in_email": { "description": "Whether to show date in the email byline", "type": "boolean", "default": 1, "required": false }, "wpcom_subscription_emails_use_excerpt": { "description": "Whether to use the excerpt in the email or not", "type": "boolean", "default": 0, "required": false }, "jetpack_subscriptions_reply_to": { "description": "Reply to email behaviour for newsletters emails", "type": "string", "default": "comment", "required": false }, "jetpack_subscriptions_from_name": { "description": "From name for newsletters emails", "type": "string", "default": "", "required": false }, "sm_enabled": { "description": "Show popup Subscribe modal to readers.", "type": "boolean", "default": 0, "required": false }, "jetpack_subscribe_overlay_enabled": { "description": "Show subscribe overlay on homepage.", "type": "boolean", "default": 0, "required": false }, "jetpack_subscribe_floating_button_enabled": { "description": "Show a floating subscribe button.", "type": "boolean", "default": 0, "required": false }, "jetpack_subscriptions_subscribe_post_end_enabled": { "description": "Add Subscribe block at the end of each post.", "type": "boolean", "default": 0, "required": false }, "jetpack_subscriptions_login_navigation_enabled": { "description": "Add Subscriber Login block to the navigation.", "type": "boolean", "default": 0, "required": false }, "jetpack_subscriptions_subscribe_navigation_enabled": { "description": "Add Subscribe block to the navigation.", "type": "boolean", "default": 0, "required": false }, "social_notifications_subscribe": { "description": "Send email notification when someone subscribes to my blog", "type": "boolean", "default": 0, "required": false }, "subscription_options": { "description": "Three options used in subscription email templates: 'invitation', 'welcome' and 'comment_follow'.", "type": "object", "default": { "invitation": "", "welcome": "", "comment_follow": "" }, "required": false }, "show_headline": { "description": "Highlight related content with a heading", "type": "boolean", "default": 1, "required": false }, "show_thumbnails": { "description": "Show a thumbnail image where available", "type": "boolean", "default": 0, "required": false }, "instant_search_enabled": { "description": "Enable Instant Search", "type": "boolean", "default": 0, "required": false }, "has_jetpack_search_product": { "description": "Has an active Jetpack Search product purchase", "type": "boolean", "default": 0, "required": false }, "search_auto_config": { "description": "Trigger an auto config of instant search", "type": "boolean", "default": 0, "required": false }, "google": { "description": "Google Search Console", "type": "string", "default": "", "required": false }, "bing": { "description": "Bing Webmaster Center", "type": "string", "default": "", "required": false }, "pinterest": { "description": "Pinterest Site Verification", "type": "string", "default": "", "required": false }, "yandex": { "description": "Yandex Site Verification", "type": "string", "default": "", "required": false }, "facebook": { "description": "Facebook Domain Verification", "type": "string", "default": "", "required": false }, "enable_header_ad": { "description": "Display an ad unit at the top of each page.", "type": "boolean", "default": 1, "required": false }, "wordads_approved": { "description": "Is site approved for WordAds?", "type": "boolean", "default": 0, "required": false }, "wordads_second_belowpost": { "description": "Display second ad below post?", "type": "boolean", "default": 1, "required": false }, "wordads_inline_enabled": { "description": "Display inline ad within post content?", "type": "boolean", "default": 1, "required": false }, "wordads_display_front_page": { "description": "Display ads on the front page?", "type": "boolean", "default": 1, "required": false }, "wordads_display_post": { "description": "Display ads on posts?", "type": "boolean", "default": 1, "required": false }, "wordads_display_page": { "description": "Display ads on pages?", "type": "boolean", "default": 1, "required": false }, "wordads_display_archive": { "description": "Display ads on archive pages?", "type": "boolean", "default": 1, "required": false }, "wordads_custom_adstxt_enabled": { "description": "Custom ads.txt", "type": "boolean", "default": 0, "required": false }, "wordads_custom_adstxt": { "description": "Custom ads.txt entries", "type": "string", "default": "", "required": false }, "wordads_ccpa_enabled": { "description": "Enable support for California Consumer Privacy Act", "type": "boolean", "default": 0, "required": false }, "wordads_ccpa_privacy_policy_url": { "description": "Privacy Policy URL", "type": "string", "default": "", "required": false }, "wordads_cmp_enabled": { "description": "Enable GDPR Consent Management Banner for WordAds", "type": "boolean", "default": 0, "required": false }, "google_analytics_tracking_id": { "description": "Google Analytics", "type": "string", "default": "", "required": false }, "admin_bar": { "description": "Include a small chart in your admin bar with a 48-hour traffic snapshot.", "type": "boolean", "default": 1, "required": false }, "enable_odyssey_stats": { "description": "Preview the new Jetpack Stats experience (Experimental).", "type": "boolean", "default": 1, "required": false }, "roles": { "description": "Select the roles that will be able to view stats reports.", "type": "array", "items": { "type": "string" }, "default": [ "administrator" ], "required": false }, "count_roles": { "description": "Count the page views of registered users who are logged in.", "type": "array", "items": { "type": "string" }, "default": [ "administrator" ], "required": false }, "blog_id": { "description": "Blog ID.", "type": "boolean", "default": 0, "required": false }, "do_not_track": { "description": "Do not track.", "type": "boolean", "default": 1, "required": false }, "version": { "description": "Version.", "type": "integer", "default": 9, "required": false }, "collapse_nudges": { "description": "Collapse upgrade nudges", "type": "boolean", "default": 0, "required": false }, "wpcom_reader_views_enabled": { "description": "Show post views in the WordPress.com Reader.", "type": "boolean", "default": 1, "required": false }, "akismet_show_user_comments_approved": { "description": "", "type": "boolean", "default": 0, "required": false }, "wordpress_api_key": { "description": "", "type": "string", "default": "", "required": false }, "dismiss_empty_stats_card": { "description": "", "type": "boolean", "default": 0, "required": false }, "dismiss_dash_backup_getting_started": { "description": "", "type": "boolean", "default": 0, "required": false }, "dismiss_dash_agencies_learn_more": { "description": "", "type": "boolean", "default": 0, "required": false }, "lang_id": { "description": "Primary language for the site.", "type": "string", "default": "en_US", "required": false }, "advanced_seo_front_page_description": { "description": "Front page meta description.", "type": "string", "default": "", "required": false }, "advanced_seo_title_formats": { "description": "SEO page title structures.", "type": "object", "default": { "archives": [], "front_page": [], "groups": [], "pages": [], "posts": [] }, "required": false }, "videopress_private_enabled_for_site": { "description": "Video Privacy: Restrict views to members of this site", "type": "boolean", "default": 0, "required": false }, "account-protection": { "description": "", "type": "boolean", "default": 0, "required": false }, "blaze": { "description": "", "type": "boolean", "default": 0, "required": false }, "blocks": { "description": "", "type": "boolean", "default": 0, "required": false }, "carousel": { "description": "", "type": "boolean", "default": 0, "required": false }, "comment-likes": { "description": "", "type": "boolean", "default": 0, "required": false }, "comments": { "description": "", "type": "boolean", "default": 0, "required": false }, "contact-form": { "description": "", "type": "boolean", "default": 0, "required": false }, "copy-post": { "description": "", "type": "boolean", "default": 0, "required": false }, "custom-content-types": { "description": "", "type": "boolean", "default": 0, "required": false }, "geo-location": { "description": "", "type": "boolean", "default": 0, "required": false }, "google-fonts": { "description": "", "type": "boolean", "default": 0, "required": false }, "gravatar-hovercards": { "description": "", "type": "boolean", "default": 0, "required": false }, "infinite-scroll": { "description": "", "type": "boolean", "default": 0, "required": false }, "json-api": { "description": "", "type": "boolean", "default": 0, "required": false }, "latex": { "description": "", "type": "boolean", "default": 0, "required": false }, "likes": { "description": "", "type": "boolean", "default": 0, "required": false }, "markdown": { "description": "", "type": "boolean", "default": 0, "required": false }, "monitor": { "description": "", "type": "boolean", "default": 0, "required": false }, "notes": { "description": "", "type": "boolean", "default": 0, "required": false }, "photon-cdn": { "description": "", "type": "boolean", "default": 0, "required": false }, "photon": { "description": "", "type": "boolean", "default": 0, "required": false }, "post-by-email": { "description": "", "type": "boolean", "default": 0, "required": false }, "post-list": { "description": "", "type": "boolean", "default": 0, "required": false }, "protect": { "description": "", "type": "boolean", "default": 0, "required": false }, "publicize": { "description": "", "type": "boolean", "default": 0, "required": false }, "related-posts": { "description": "", "type": "boolean", "default": 0, "required": false }, "search": { "description": "", "type": "boolean", "default": 0, "required": false }, "seo-tools": { "description": "", "type": "boolean", "default": 0, "required": false }, "sharedaddy": { "description": "", "type": "boolean", "default": 0, "required": false }, "shortcodes": { "description": "", "type": "boolean", "default": 0, "required": false }, "shortlinks": { "description": "", "type": "boolean", "default": 0, "required": false }, "sitemaps": { "description": "", "type": "boolean", "default": 0, "required": false }, "sso": { "description": "", "type": "boolean", "default": 0, "required": false }, "stats": { "description": "", "type": "boolean", "default": 0, "required": false }, "subscriptions": { "description": "", "type": "boolean", "default": 0, "required": false }, "tiled-gallery": { "description": "", "type": "boolean", "default": 0, "required": false }, "vaultpress": { "description": "", "type": "boolean", "default": 0, "required": false }, "verification-tools": { "description": "", "type": "boolean", "default": 0, "required": false }, "videopress": { "description": "", "type": "boolean", "default": 0, "required": false }, "waf": { "description": "", "type": "boolean", "default": 0, "required": false }, "widget-visibility": { "description": "", "type": "boolean", "default": 0, "required": false }, "widgets": { "description": "", "type": "boolean", "default": 0, "required": false }, "woocommerce-analytics": { "description": "", "type": "boolean", "default": 0, "required": false }, "wordads": { "description": "", "type": "boolean", "default": 0, "required": false } } } ] }, "\/jetpack\/v4\/module\/(?P[a-z\\-]+)\/active": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "active": { "default": true, "type": "boolean", "required": true } } } ] }, "\/jetpack\/v4\/module\/(?P[a-z\\-]+)\/data": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "range": { "default": "day", "type": "string", "required": false } } } ] }, "\/jetpack\/v4\/module\/(?P[a-z\\-]+)\/key\/check": { "namespace": "jetpack\/v4", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "api_key": { "default": "", "type": "string", "required": false } } } ] }, "\/jetpack\/v4\/settings": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH", "GET" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "context": { "default": "edit", "required": false }, "jetpack_blocks_disabled": { "description": "Jetpack Blocks disabled.", "type": "boolean", "default": false, "required": false }, "carousel_background_color": { "description": "Color scheme.", "type": "string", "default": "black", "enum": [ "black", "white" ], "required": false }, "carousel_display_exif": { "description": "Show photo metadata (Exif<\/a>) in carousel, when available.", "type": "boolean", "default": 0, "required": false }, "carousel_display_comments": { "description": "Show comments area in carousel", "type": "boolean", "default": 1, "required": false }, "highlander_comment_form_prompt": { "description": "Greeting Text", "type": "string", "default": "Leave a Reply", "required": false }, "jetpack_comment_form_color_scheme": { "description": "Color scheme", "type": "string", "default": "light", "enum": [ "light", "dark", "transparent" ], "required": false }, "jetpack_portfolio": { "description": "Enable or disable Jetpack portfolio post type.", "type": "boolean", "default": 0, "required": false }, "jetpack_portfolio_posts_per_page": { "description": "Number of entries to show at most in Portfolio pages.", "type": "integer", "default": 10, "required": false }, "jetpack_testimonial": { "description": "Enable or disable Jetpack testimonial post type.", "type": "boolean", "default": 0, "required": false }, "jetpack_testimonial_posts_per_page": { "description": "Number of entries to show at most in Testimonial pages.", "type": "integer", "default": 10, "required": false }, "jetpack_waf_automatic_rules": { "description": "Enable automatic rules - Protect your site against untrusted traffic sources with automatic security rules.", "type": "boolean", "default": false, "required": false }, "jetpack_waf_ip_block_list_enabled": { "description": "Block list - Block a specific request IP.", "type": "boolean", "default": 0, "required": false }, "jetpack_waf_ip_block_list": { "description": "Blocked IP addresses", "type": "string", "default": "", "required": false }, "jetpack_waf_ip_allow_list_enabled": { "description": "Allow list - Allow a specific request IP.", "type": "boolean", "default": 0, "required": false }, "jetpack_waf_ip_allow_list": { "description": "Always allowed IP addresses", "type": "string", "default": "", "required": false }, "jetpack_waf_share_data": { "description": "Share basic data with Jetpack.", "type": "boolean", "default": 0, "required": false }, "jetpack_waf_share_debug_data": { "description": "Share detailed data with Jetpack.", "type": "boolean", "default": 0, "required": false }, "tiled_galleries": { "description": "Display all your gallery pictures in a cool mosaic.", "type": "boolean", "default": 0, "required": false }, "gravatar_disable_hovercards": { "description": "View people's profiles when you mouse over their Gravatars", "type": "string", "default": "enabled", "enum": [ "enabled", "disabled" ], "required": false }, "infinite_scroll": { "description": "To infinity and beyond", "type": "boolean", "default": 1, "required": false }, "infinite_scroll_google_analytics": { "description": "Use Google Analytics with Infinite Scroll", "type": "boolean", "default": 0, "required": false }, "wpl_default": { "description": "WordPress.com Likes are", "type": "string", "default": "on", "enum": [ "on", "off" ], "required": false }, "social_notifications_like": { "description": "Send email notification when someone likes a post", "type": "boolean", "default": 1, "required": false }, "wpcom_publish_comments_with_markdown": { "description": "Use Markdown for comments.", "type": "boolean", "default": 0, "required": false }, "wpcom_publish_posts_with_markdown": { "description": "Use Markdown for posts.", "type": "boolean", "default": 0, "required": false }, "monitor_receive_notifications": { "description": "Receive Monitor Email Notifications.", "type": "boolean", "default": 0, "required": false }, "post_by_email_address": { "description": "Email Address", "type": "string", "default": "noop", "enum": [ "noop", "create", "regenerate", "delete" ], "required": false }, "jetpack_protect_key": { "description": "Protect API key", "type": "string", "default": "", "required": false }, "jetpack_protect_global_whitelist": { "description": "Protect global IP allow list", "type": "string", "default": "", "required": false }, "sharing_services": { "description": "Enabled Services and those hidden behind a button", "type": "object", "default": { "visible": [ "facebook", "x" ], "hidden": [] }, "required": false }, "button_style": { "description": "Button Style", "type": "string", "default": "icon", "enum": [ "icon-text", "icon", "text", "official" ], "required": false }, "sharing_label": { "description": "Sharing Label", "type": "string", "default": "", "required": false }, "show": { "description": "Views where buttons are shown", "type": "array", "items": { "type": "string" }, "default": [ "post" ], "required": false }, "jetpack-twitter-cards-site-tag": { "description": "The Twitter username of the owner of this site's domain.", "type": "string", "default": "", "required": false }, "sharedaddy_disable_resources": { "description": "Disable CSS and JS", "type": "boolean", "default": 0, "required": false }, "custom": { "description": "Custom sharing services added by user.", "type": "object", "default": { "sharing_name": "", "sharing_url": "", "sharing_icon": "" }, "required": false }, "sharing_delete_service": { "description": "Delete custom sharing service.", "type": "string", "default": "", "required": false }, "jetpack_sso_require_two_step": { "description": "Require Two-Step Authentication", "type": "boolean", "default": false, "required": false }, "jetpack_sso_match_by_email": { "description": "Match by Email", "type": "boolean", "default": 1, "required": false }, "stb_enabled": { "description": "Show a <em>'follow blog'<\/em> option in the comment form", "type": "boolean", "default": 1, "required": false }, "stc_enabled": { "description": "Show a <em>'follow comments'<\/em> option in the comment form", "type": "boolean", "default": 1, "required": false }, "wpcom_newsletter_categories": { "description": "Array of post category ids that are marked as newsletter categories", "type": "array", "default": [], "required": false }, "wpcom_newsletter_categories_enabled": { "description": "Whether the newsletter categories are enabled or not", "type": "boolean", "default": 0, "required": false }, "wpcom_featured_image_in_email": { "description": "Whether to include the featured image in the email or not", "type": "boolean", "default": 0, "required": false }, "jetpack_gravatar_in_email": { "description": "Whether to show author avatar in the email byline", "type": "boolean", "default": 1, "required": false }, "jetpack_author_in_email": { "description": "Whether to show author display name in the email byline", "type": "boolean", "default": 1, "required": false }, "jetpack_post_date_in_email": { "description": "Whether to show date in the email byline", "type": "boolean", "default": 1, "required": false }, "wpcom_subscription_emails_use_excerpt": { "description": "Whether to use the excerpt in the email or not", "type": "boolean", "default": 0, "required": false }, "jetpack_subscriptions_reply_to": { "description": "Reply to email behaviour for newsletters emails", "type": "string", "default": "comment", "required": false }, "jetpack_subscriptions_from_name": { "description": "From name for newsletters emails", "type": "string", "default": "", "required": false }, "sm_enabled": { "description": "Show popup Subscribe modal to readers.", "type": "boolean", "default": 0, "required": false }, "jetpack_subscribe_overlay_enabled": { "description": "Show subscribe overlay on homepage.", "type": "boolean", "default": 0, "required": false }, "jetpack_subscribe_floating_button_enabled": { "description": "Show a floating subscribe button.", "type": "boolean", "default": 0, "required": false }, "jetpack_subscriptions_subscribe_post_end_enabled": { "description": "Add Subscribe block at the end of each post.", "type": "boolean", "default": 0, "required": false }, "jetpack_subscriptions_login_navigation_enabled": { "description": "Add Subscriber Login block to the navigation.", "type": "boolean", "default": 0, "required": false }, "jetpack_subscriptions_subscribe_navigation_enabled": { "description": "Add Subscribe block to the navigation.", "type": "boolean", "default": 0, "required": false }, "social_notifications_subscribe": { "description": "Send email notification when someone subscribes to my blog", "type": "boolean", "default": 0, "required": false }, "subscription_options": { "description": "Three options used in subscription email templates: 'invitation', 'welcome' and 'comment_follow'.", "type": "object", "default": { "invitation": "", "welcome": "", "comment_follow": "" }, "required": false }, "show_headline": { "description": "Highlight related content with a heading", "type": "boolean", "default": 1, "required": false }, "show_thumbnails": { "description": "Show a thumbnail image where available", "type": "boolean", "default": 0, "required": false }, "instant_search_enabled": { "description": "Enable Instant Search", "type": "boolean", "default": 0, "required": false }, "has_jetpack_search_product": { "description": "Has an active Jetpack Search product purchase", "type": "boolean", "default": 0, "required": false }, "search_auto_config": { "description": "Trigger an auto config of instant search", "type": "boolean", "default": 0, "required": false }, "google": { "description": "Google Search Console", "type": "string", "default": "", "required": false }, "bing": { "description": "Bing Webmaster Center", "type": "string", "default": "", "required": false }, "pinterest": { "description": "Pinterest Site Verification", "type": "string", "default": "", "required": false }, "yandex": { "description": "Yandex Site Verification", "type": "string", "default": "", "required": false }, "facebook": { "description": "Facebook Domain Verification", "type": "string", "default": "", "required": false }, "enable_header_ad": { "description": "Display an ad unit at the top of each page.", "type": "boolean", "default": 1, "required": false }, "wordads_approved": { "description": "Is site approved for WordAds?", "type": "boolean", "default": 0, "required": false }, "wordads_second_belowpost": { "description": "Display second ad below post?", "type": "boolean", "default": 1, "required": false }, "wordads_inline_enabled": { "description": "Display inline ad within post content?", "type": "boolean", "default": 1, "required": false }, "wordads_display_front_page": { "description": "Display ads on the front page?", "type": "boolean", "default": 1, "required": false }, "wordads_display_post": { "description": "Display ads on posts?", "type": "boolean", "default": 1, "required": false }, "wordads_display_page": { "description": "Display ads on pages?", "type": "boolean", "default": 1, "required": false }, "wordads_display_archive": { "description": "Display ads on archive pages?", "type": "boolean", "default": 1, "required": false }, "wordads_custom_adstxt_enabled": { "description": "Custom ads.txt", "type": "boolean", "default": 0, "required": false }, "wordads_custom_adstxt": { "description": "Custom ads.txt entries", "type": "string", "default": "", "required": false }, "wordads_ccpa_enabled": { "description": "Enable support for California Consumer Privacy Act", "type": "boolean", "default": 0, "required": false }, "wordads_ccpa_privacy_policy_url": { "description": "Privacy Policy URL", "type": "string", "default": "", "required": false }, "wordads_cmp_enabled": { "description": "Enable GDPR Consent Management Banner for WordAds", "type": "boolean", "default": 0, "required": false }, "google_analytics_tracking_id": { "description": "Google Analytics", "type": "string", "default": "", "required": false }, "admin_bar": { "description": "Include a small chart in your admin bar with a 48-hour traffic snapshot.", "type": "boolean", "default": 1, "required": false }, "enable_odyssey_stats": { "description": "Preview the new Jetpack Stats experience (Experimental).", "type": "boolean", "default": 1, "required": false }, "roles": { "description": "Select the roles that will be able to view stats reports.", "type": "array", "items": { "type": "string" }, "default": [ "administrator" ], "required": false }, "count_roles": { "description": "Count the page views of registered users who are logged in.", "type": "array", "items": { "type": "string" }, "default": [ "administrator" ], "required": false }, "blog_id": { "description": "Blog ID.", "type": "boolean", "default": 0, "required": false }, "do_not_track": { "description": "Do not track.", "type": "boolean", "default": 1, "required": false }, "version": { "description": "Version.", "type": "integer", "default": 9, "required": false }, "collapse_nudges": { "description": "Collapse upgrade nudges", "type": "boolean", "default": 0, "required": false }, "wpcom_reader_views_enabled": { "description": "Show post views in the WordPress.com Reader.", "type": "boolean", "default": 1, "required": false }, "akismet_show_user_comments_approved": { "description": "", "type": "boolean", "default": 0, "required": false }, "wordpress_api_key": { "description": "", "type": "string", "default": "", "required": false }, "dismiss_empty_stats_card": { "description": "", "type": "boolean", "default": 0, "required": false }, "dismiss_dash_backup_getting_started": { "description": "", "type": "boolean", "default": 0, "required": false }, "dismiss_dash_agencies_learn_more": { "description": "", "type": "boolean", "default": 0, "required": false }, "lang_id": { "description": "Primary language for the site.", "type": "string", "default": "en_US", "required": false }, "advanced_seo_front_page_description": { "description": "Front page meta description.", "type": "string", "default": "", "required": false }, "advanced_seo_title_formats": { "description": "SEO page title structures.", "type": "object", "default": { "archives": [], "front_page": [], "groups": [], "pages": [], "posts": [] }, "required": false }, "videopress_private_enabled_for_site": { "description": "Video Privacy: Restrict views to members of this site", "type": "boolean", "default": 0, "required": false }, "account-protection": { "description": "", "type": "boolean", "default": 0, "required": false }, "blaze": { "description": "", "type": "boolean", "default": 0, "required": false }, "blocks": { "description": "", "type": "boolean", "default": 0, "required": false }, "carousel": { "description": "", "type": "boolean", "default": 0, "required": false }, "comment-likes": { "description": "", "type": "boolean", "default": 0, "required": false }, "comments": { "description": "", "type": "boolean", "default": 0, "required": false }, "contact-form": { "description": "", "type": "boolean", "default": 0, "required": false }, "copy-post": { "description": "", "type": "boolean", "default": 0, "required": false }, "custom-content-types": { "description": "", "type": "boolean", "default": 0, "required": false }, "geo-location": { "description": "", "type": "boolean", "default": 0, "required": false }, "google-fonts": { "description": "", "type": "boolean", "default": 0, "required": false }, "gravatar-hovercards": { "description": "", "type": "boolean", "default": 0, "required": false }, "infinite-scroll": { "description": "", "type": "boolean", "default": 0, "required": false }, "json-api": { "description": "", "type": "boolean", "default": 0, "required": false }, "latex": { "description": "", "type": "boolean", "default": 0, "required": false }, "likes": { "description": "", "type": "boolean", "default": 0, "required": false }, "markdown": { "description": "", "type": "boolean", "default": 0, "required": false }, "monitor": { "description": "", "type": "boolean", "default": 0, "required": false }, "notes": { "description": "", "type": "boolean", "default": 0, "required": false }, "photon-cdn": { "description": "", "type": "boolean", "default": 0, "required": false }, "photon": { "description": "", "type": "boolean", "default": 0, "required": false }, "post-by-email": { "description": "", "type": "boolean", "default": 0, "required": false }, "post-list": { "description": "", "type": "boolean", "default": 0, "required": false }, "protect": { "description": "", "type": "boolean", "default": 0, "required": false }, "publicize": { "description": "", "type": "boolean", "default": 0, "required": false }, "related-posts": { "description": "", "type": "boolean", "default": 0, "required": false }, "search": { "description": "", "type": "boolean", "default": 0, "required": false }, "seo-tools": { "description": "", "type": "boolean", "default": 0, "required": false }, "sharedaddy": { "description": "", "type": "boolean", "default": 0, "required": false }, "shortcodes": { "description": "", "type": "boolean", "default": 0, "required": false }, "shortlinks": { "description": "", "type": "boolean", "default": 0, "required": false }, "sitemaps": { "description": "", "type": "boolean", "default": 0, "required": false }, "sso": { "description": "", "type": "boolean", "default": 0, "required": false }, "stats": { "description": "", "type": "boolean", "default": 0, "required": false }, "subscriptions": { "description": "", "type": "boolean", "default": 0, "required": false }, "tiled-gallery": { "description": "", "type": "boolean", "default": 0, "required": false }, "vaultpress": { "description": "", "type": "boolean", "default": 0, "required": false }, "verification-tools": { "description": "", "type": "boolean", "default": 0, "required": false }, "videopress": { "description": "", "type": "boolean", "default": 0, "required": false }, "waf": { "description": "", "type": "boolean", "default": 0, "required": false }, "widget-visibility": { "description": "", "type": "boolean", "default": 0, "required": false }, "widgets": { "description": "", "type": "boolean", "default": 0, "required": false }, "woocommerce-analytics": { "description": "", "type": "boolean", "default": 0, "required": false }, "wordads": { "description": "", "type": "boolean", "default": 0, "required": false } } }, { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/settings" } ] } }, "\/jetpack\/v4\/settings\/(?P[a-z\\-]+)": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "context": { "default": "edit", "required": false } } } ] }, "\/jetpack\/v4\/options\/(?P[a-z\\-]+)": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/jetpack\/v4\/updates\/plugins": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/updates\/plugins" } ] } }, "\/jetpack\/v4\/notice\/(?P[a-z\\-_]+)": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/jetpack\/v4\/plugins": { "namespace": "jetpack\/v4", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": { "slug": { "type": "string", "description": "WordPress.org plugin directory slug.", "pattern": "[\\w\\-]+", "required": true }, "status": { "description": "The plugin activation status.", "type": "string", "enum": [ "inactive", "active" ], "default": "inactive", "required": false }, "source": { "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/plugins" } ] } }, "\/jetpack\/v4\/plugins\/(?P[^.\\\/]+(?:\\\/[^.\\\/]+)?)": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "status": { "type": "string", "required": true }, "source": { "type": "string", "required": false } } } ] }, "\/jetpack\/v4\/plugin\/(?P[a-z\\\/\\.\\-_]+)": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/jetpack\/v4\/widgets\/(?P[0-9a-z\\-_]+)": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/jetpack\/v4\/verify-site\/(?P[a-z\\-_]+)": { "namespace": "jetpack\/v4", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "keyring_id": { "type": "integer", "required": true } } } ] }, "\/jetpack\/v4\/verify-site\/(?P[a-z\\-_]+)\/(?[0-9]+)": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/jetpack\/v4\/recommendations\/data": { "namespace": "jetpack\/v4", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "data": { "type": "object", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/recommendations\/data" } ] } }, "\/jetpack\/v4\/recommendations\/step": { "namespace": "jetpack\/v4", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "step": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/recommendations\/step" } ] } }, "\/jetpack\/v4\/recommendations\/product-suggestions": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/recommendations\/product-suggestions" } ] } }, "\/jetpack\/v4\/recommendations\/upsell": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/recommendations\/upsell" } ] } }, "\/jetpack\/v4\/recommendations\/conditional": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/recommendations\/conditional" } ] } }, "\/jetpack\/v4\/site\/discount": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/site\/discount" } ] } }, "\/jetpack\/v4\/jetpack_crm": { "namespace": "jetpack\/v4", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "extension": { "type": "text", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/jetpack_crm" } ] } }, "\/jetpack\/v4\/purchase-token": { "namespace": "jetpack\/v4", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/purchase-token" } ] } }, "\/jetpack\/v4\/seen-wc-connection-modal": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/seen-wc-connection-modal" } ] } }, "\/jetpack\/v4\/intro-offers": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/intro-offers" } ] } }, "\/jetpack\/v4\/subscribers\/auth": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "redirect_url": { "description": "The URL to redirect to.", "type": "string", "format": "uri", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/subscribers\/auth" } ] } }, "\/jetpack\/v4\/features\/available": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/features\/available" } ] } }, "\/jetpack\/v4\/features\/enabled": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/features\/enabled" } ] } }, "\/jetpack\/v4\/licensing\/error": { "namespace": "jetpack\/v4", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "error": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/licensing\/error" } ] } }, "\/jetpack\/v4\/licensing\/set-license": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "license": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/licensing\/set-license" } ] } }, "\/jetpack\/v4\/licensing\/user\/licenses": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/licensing\/user\/licenses" } ] } }, "\/jetpack\/v4\/licensing\/user\/counts": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/licensing\/user\/counts" } ] } }, "\/jetpack\/v4\/licensing\/user\/activation-notice-dismiss": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "last_detached_count": { "type": "integer", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/licensing\/user\/activation-notice-dismiss" } ] } }, "\/jetpack\/v4\/licensing\/attach-licenses": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "licenses": { "type": "array", "items": { "type": "string" }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/licensing\/attach-licenses" } ] } }, "\/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:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3" } ] } }, "\/wc\/v3\/marketplace\/featured": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/marketplace\/featured" } ] } }, "\/wc\/v3\/marketplace\/refresh": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/marketplace\/refresh" } ] } }, "\/wc\/v3\/marketplace\/subscriptions": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/marketplace\/subscriptions\/connect" } ] } }, "\/wc\/v3\/marketplace\/subscriptions\/disconnect": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "product_key": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/marketplace\/create-order" } ] } }, "\/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:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/heartbeat\/data" } ] } }, "\/wpcom\/v2": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wpcom\/v2", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wpcom\/v2" } ] } }, "\/wpcom\/v2\/publicize\/connections": { "namespace": "wpcom\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "test_connections": { "type": "boolean", "description": "Whether to test connections.", "required": false } } }, { "methods": [ "POST" ], "args": { "keyring_connection_ID": { "description": "Keyring connection ID.", "type": "integer", "required": true }, "external_user_ID": { "description": "External User Id - in case of services like Facebook.", "type": "string", "required": false }, "shared": { "description": "Whether the connection is shared with other users.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wpcom\/v2\/publicize\/connections" } ] } }, "\/wpcom\/v2\/publicize\/connections\/(?P[0-9]+)": { "namespace": "wpcom\/v2", "methods": [ "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "connection_id": { "description": "Unique identifier for the connection.", "type": "string", "required": true }, "shared": { "description": "Whether the connection is shared with other users.", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "connection_id": { "description": "Unique identifier for the connection.", "type": "string", "required": true } } } ] }, "\/wpcom\/v2\/publicize\/scheduled-actions": { "namespace": "wpcom\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "post_id": { "type": "integer", "description": "The post ID to filter the items by.", "required": false } } }, { "methods": [ "POST" ], "args": { "post_id": { "type": "integer", "required": true }, "connection_id": { "type": "integer", "required": true }, "message": { "type": "string", "required": false }, "share_date": { "type": "integer", "description": "Deprecated in favor of timestamp.", "required": false }, "timestamp": { "type": "integer", "description": "GMT\/UTC Unix timestamp in seconds for the action.", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wpcom\/v2\/publicize\/scheduled-actions" } ] } }, "\/wpcom\/v2\/publicize\/scheduled-actions\/(?P\\d+)": { "namespace": "wpcom\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "message": { "type": "string", "required": false }, "share_date": { "type": "integer", "description": "Deprecated in favor of timestamp.", "required": false }, "timestamp": { "type": "integer", "description": "GMT\/UTC Unix timestamp in seconds for the action.", "required": false } } }, { "methods": [ "DELETE" ], "args": [] } ] }, "\/wpcom\/v2\/publicize\/services": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wpcom\/v2\/publicize\/services" } ] } }, "\/wpcom\/v2\/publicize\/shares-data": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wpcom\/v2\/publicize\/shares-data" } ] } }, "\/wpcom\/v2\/publicize\/share-post\/(?P\\d+)": { "namespace": "wpcom\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "message": { "description": "The message to share.", "type": "string", "required": true }, "skipped_connections": { "description": "Array of external connection IDs to skip sharing.", "type": "array", "required": false }, "async": { "description": "Whether to share the post asynchronously.", "type": "boolean", "default": false, "required": false } } } ] }, "\/wpcom\/v2\/publicize\/social-image-generator\/generate-token": { "namespace": "wpcom\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "text": { "description": "The text to be used to generate the image.", "type": "string", "required": true }, "image_url": { "description": "The URL of the background image to use when generating the social image.", "oneOf": [ { "type": "string" }, { "type": "null" } ], "required": false }, "template": { "description": "The template slug.", "type": "string", "enum": [ "highway", "dois", "fullscreen", "edge" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wpcom\/v2\/publicize\/social-image-generator\/generate-token" } ] } }, "\/jetpack\/v4\/verify_xmlrpc_error": { "namespace": "jetpack\/v4", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "nonce": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/verify_xmlrpc_error" } ] } }, "\/jetpack\/v4\/sync\/full-sync": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "modules": { "description": "Data Modules that should be included in Full Sync", "type": "array", "required": false }, "users": { "description": "User IDs to include in Full Sync or \"initial\"", "required": false }, "posts": { "description": "Post IDs to include in Full Sync", "type": "array", "required": false }, "comments": { "description": "Comment IDs to include in Full Sync", "type": "array", "required": false }, "context": { "description": "Context for the Full Sync", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/sync\/full-sync" } ] } }, "\/jetpack\/v4\/sync\/status": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "fields": { "description": "Comma seperated list of additional fields that should be included in status.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/sync\/status" } ] } }, "\/jetpack\/v4\/sync\/health": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "status": { "description": "New Sync health status", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/sync\/health" } ] } }, "\/jetpack\/v4\/sync\/settings": { "namespace": "jetpack\/v4", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/sync\/settings" } ] } }, "\/jetpack\/v4\/sync\/object": { "namespace": "jetpack\/v4", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "args": { "module_name": { "description": "Name of Sync module", "type": "string", "required": false }, "object_type": { "description": "Object Type", "type": "string", "required": false }, "object_ids": { "description": "Objects Identifiers", "type": "array", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/sync\/object" } ] } }, "\/jetpack\/v4\/sync\/now": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "queue": { "description": "Name of Sync queue.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/sync\/now" } ] } }, "\/jetpack\/v4\/sync\/checkout": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/sync\/checkout" } ] } }, "\/jetpack\/v4\/sync\/close": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/sync\/close" } ] } }, "\/jetpack\/v4\/sync\/unlock": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "queue": { "description": "Name of Sync queue.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/sync\/unlock" } ] } }, "\/jetpack\/v4\/sync\/object-id-range": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "sync_module": { "description": "Name of Sync module.", "type": "string", "required": true }, "batch_size": { "description": "Size of batches", "type": "int", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/sync\/object-id-range" } ] } }, "\/jetpack\/v4\/sync\/data-check": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "perform_text_conversion": { "description": "If text fields should be converted to latin1 in checksum calculation.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/sync\/data-check" } ] } }, "\/jetpack\/v4\/sync\/data-histogram": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "columns": { "description": "Column mappings", "type": "array", "required": false }, "object_type": { "description": "Object Type", "type": "string", "required": false }, "buckets": { "description": "Number of histogram buckets.", "type": "int", "required": false }, "start_id": { "description": "Start ID for the histogram", "type": "int", "required": false }, "end_id": { "description": "End ID for the histogram", "type": "int", "required": false }, "strip_non_ascii": { "description": "Strip non-ascii characters?", "type": "boolean", "required": false }, "shared_salt": { "description": "Shared Salt to use when generating checksum", "type": "string", "required": false }, "only_range_edges": { "description": "Should only range edges be returned", "type": "boolean", "required": false }, "detailed_drilldown": { "description": "Do we want the checksum or object ids.", "type": "boolean", "required": false }, "perform_text_conversion": { "description": "If text fields should be converted to latin1 in checksum calculation.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/sync\/data-histogram" } ] } }, "\/jetpack\/v4\/sync\/spawn-sync": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/sync\/spawn-sync" } ] } }, "\/jetpack\/v4\/sync\/locks": { "namespace": "jetpack\/v4", "methods": [ "DELETE" ], "endpoints": [ { "methods": [ "DELETE" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/sync\/locks" } ] } }, "\/jetpack\/v4\/jitm": { "namespace": "jetpack\/v4", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/jitm" } ] } }, "\/jetpack\/v4\/identity-crisis\/confirm-safe-mode": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/identity-crisis\/confirm-safe-mode" } ] } }, "\/jetpack\/v4\/identity-crisis\/migrate": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/identity-crisis\/migrate" } ] } }, "\/jetpack\/v4\/identity-crisis\/start-fresh": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "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:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/identity-crisis\/start-fresh" } ] } }, "\/jetpack\/v4\/identity-crisis\/idc-url-validation": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/identity-crisis\/idc-url-validation" } ] } }, "\/jetpack\/v4\/identity-crisis\/url-secret": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/identity-crisis\/url-secret" } ] } }, "\/jetpack\/v4\/identity-crisis\/compare-url-secret": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "secret": { "description": "URL secret to compare to the ones stored in the database.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/identity-crisis\/compare-url-secret" } ] } }, "\/jetpack\/v4\/search\/plan": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/search\/plan" } ] } }, "\/jetpack\/v4\/search\/settings": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH", "GET" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] }, { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/search\/settings" } ] } }, "\/jetpack\/v4\/search\/stats": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/search\/stats" } ] } }, "\/jetpack\/v4\/search\/pricing": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/search\/pricing" } ] } }, "\/jetpack\/v4\/search\/plan\/activate": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/search\/plan\/activate" } ] } }, "\/jetpack\/v4\/search\/plan\/deactivate": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/search\/plan\/deactivate" } ] } }, "\/jetpack\/v4\/search": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/search" } ] } }, "\/jetpack\/v4\/search\/local-stats": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/search\/local-stats" } ] } }, "\/jetpack\/v4\/waf": { "namespace": "jetpack\/v4", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/waf" } ] } }, "\/jetpack\/v4\/waf\/update-rules": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/waf\/update-rules" } ] } }, "\/wpcom\/v2\/videopress\/meta": { "namespace": "wpcom\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "The post id for the attachment.", "type": "int", "required": true }, "title": { "description": "The title of the video.", "type": "string", "required": false }, "description": { "description": "The description of the video.", "type": "string", "required": false }, "caption": { "description": "The caption of the video.", "type": "string", "required": false }, "rating": { "description": "The video content rating. One of G, PG-13 or R-17", "type": "string", "required": false }, "display_embed": { "description": "Display the share menu in the player.", "type": "boolean", "required": false }, "allow_download": { "description": "Display download option and allow viewers to download this video", "type": "boolean", "required": false }, "privacy_setting": { "description": "How to determine if the video should be public or private", "type": "int", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wpcom\/v2\/videopress\/meta" } ] } }, "\/wpcom\/v2\/videopress\/(?P\\w+)\/poster": { "namespace": "wpcom\/v2", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "at_time": { "description": "The time in the video to use as the poster frame.", "type": "int", "required": false }, "is_millisec": { "description": "Whether the time is in milliseconds or seconds.", "type": "boolean", "required": false }, "poster_attachment_id": { "description": "The attachment id of the poster image.", "type": "int", "required": false } } } ] }, "\/wpcom\/v2\/videopress\/(?P\\w+)\/check-ownership\/(?P\\d+)": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/wpcom\/v2\/videopress\/upload-jwt": { "namespace": "wpcom\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wpcom\/v2\/videopress\/upload-jwt" } ] } }, "\/wpcom\/v2\/videopress\/playback-jwt\/(?P\\w+)": { "namespace": "wpcom\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/jetpack\/v4\/stats\/blog": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/stats\/blog" } ] } }, "\/jetpack\/v4\/stats-app": { "namespace": "jetpack\/v4\/stats-app", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "jetpack\/v4\/stats-app", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/stats-app" } ] } }, "\/jetpack\/v4\/stats-app\/sites\/213264320\/stats\/(?P[\\-\\w]+)\/(?P[\\d]+)": { "namespace": "jetpack\/v4\/stats-app", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/jetpack\/v4\/stats-app\/sites\/213264320\/stats\/(?P[\\-\\w]+)": { "namespace": "jetpack\/v4\/stats-app", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/jetpack\/v4\/stats-app\/sites\/213264320\/posts\/(?P[\\d]+)": { "namespace": "jetpack\/v4\/stats-app", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/jetpack\/v4\/stats-app\/sites\/213264320\/posts\/(?P[\\d]+)\/likes": { "namespace": "jetpack\/v4\/stats-app", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/jetpack\/v4\/stats-app\/sites\/213264320\/stats": { "namespace": "jetpack\/v4\/stats-app", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/stats-app\/sites\/213264320\/stats" } ] } }, "\/jetpack\/v4\/stats-app\/sites\/213264320\/site-has-never-published-post": { "namespace": "jetpack\/v4\/stats-app", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/stats-app\/sites\/213264320\/site-has-never-published-post" } ] } }, "\/jetpack\/v4\/stats-app\/sites\/213264320\/posts": { "namespace": "jetpack\/v4\/stats-app", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/stats-app\/sites\/213264320\/posts" } ] } }, "\/jetpack\/v4\/stats-app\/sites\/213264320\/subscribers\/counts": { "namespace": "jetpack\/v4\/stats-app", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/stats-app\/sites\/213264320\/subscribers\/counts" } ] } }, "\/jetpack\/v4\/stats-app\/sites\/213264320\/jetpack-stats\/usage": { "namespace": "jetpack\/v4\/stats-app", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/stats-app\/sites\/213264320\/jetpack-stats\/usage" } ] } }, "\/jetpack\/v4\/stats-app\/sites\/213264320\/jetpack-stats\/user-feedback": { "namespace": "jetpack\/v4\/stats-app", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/stats-app\/sites\/213264320\/jetpack-stats\/user-feedback" } ] } }, "\/jetpack\/v4\/stats-app\/sites\/213264320\/wordads\/earnings": { "namespace": "jetpack\/v4\/stats-app", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/stats-app\/sites\/213264320\/wordads\/earnings" } ] } }, "\/jetpack\/v4\/stats-app\/sites\/213264320\/wordads\/stats": { "namespace": "jetpack\/v4\/stats-app", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/stats-app\/sites\/213264320\/wordads\/stats" } ] } }, "\/jetpack\/v4\/stats-app\/stats\/notices": { "namespace": "jetpack\/v4\/stats-app", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "type": "string", "description": "ID of the notice", "required": true }, "status": { "type": "string", "description": "Status of the notice", "required": true }, "postponed_for": { "type": "number", "default": null, "description": "Postponed for (in seconds)", "minimum": 0, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/stats-app\/stats\/notices" } ] } }, "\/jetpack\/v4\/stats-app\/sites\/213264320\/jetpack-stats-dashboard\/notices": { "namespace": "jetpack\/v4\/stats-app", "methods": [ "POST", "PUT", "PATCH", "GET" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "type": "string", "description": "ID of the notice", "required": true }, "status": { "type": "string", "description": "Status of the notice", "required": true }, "postponed_for": { "type": "number", "default": null, "description": "Postponed for (in seconds)", "minimum": 0, "required": false } } }, { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/stats-app\/sites\/213264320\/jetpack-stats-dashboard\/notices" } ] } }, "\/jetpack\/v4\/stats-app\/sites\/213264320\/stats\/referrers\/spam\/new": { "namespace": "jetpack\/v4\/stats-app", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "domain": { "type": "string", "description": "Domain of the referrer", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/stats-app\/sites\/213264320\/stats\/referrers\/spam\/new" } ] } }, "\/jetpack\/v4\/stats-app\/sites\/213264320\/stats\/referrers\/spam\/delete": { "namespace": "jetpack\/v4\/stats-app", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "domain": { "type": "string", "description": "Domain of the referrer", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/stats-app\/sites\/213264320\/stats\/referrers\/spam\/delete" } ] } }, "\/jetpack\/v4\/stats-app\/sites\/213264320\/jetpack-stats-dashboard\/modules": { "namespace": "jetpack\/v4\/stats-app", "methods": [ "POST", "PUT", "PATCH", "GET" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] }, { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/stats-app\/sites\/213264320\/jetpack-stats-dashboard\/modules" } ] } }, "\/jetpack\/v4\/stats-app\/sites\/213264320\/jetpack-stats-dashboard\/module-settings": { "namespace": "jetpack\/v4\/stats-app", "methods": [ "POST", "PUT", "PATCH", "GET" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] }, { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/stats-app\/sites\/213264320\/jetpack-stats-dashboard\/module-settings" } ] } }, "\/jetpack\/v4\/stats-app\/sites\/213264320\/stats\/emails\/(?P[\\-\\w\\d]+)": { "namespace": "jetpack\/v4\/stats-app", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/jetpack\/v4\/stats-app\/sites\/213264320\/stats\/opens\/emails\/(?P[\\d]+)\/(?P[\\-\\w]+)": { "namespace": "jetpack\/v4\/stats-app", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/jetpack\/v4\/stats-app\/sites\/213264320\/stats\/clicks\/emails\/(?P[\\d]+)\/(?P[\\-\\w]+)": { "namespace": "jetpack\/v4\/stats-app", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/jetpack\/v4\/stats-app\/sites\/213264320\/stats\/(?P[\\-\\w]+)\/emails\/(?P[\\d]+)": { "namespace": "jetpack\/v4\/stats-app", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/jetpack\/v4\/stats-app\/sites\/213264320\/stats\/utm\/(?P[_,\\-\\w]+)": { "namespace": "jetpack\/v4\/stats-app", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/jetpack\/v4\/stats-app\/sites\/213264320\/stats\/devices\/(?P[\\w]+)": { "namespace": "jetpack\/v4\/stats-app", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/jetpack\/v4\/stats-app\/sites\/213264320\/commercial-classification": { "namespace": "jetpack\/v4\/stats-app", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/stats-app\/sites\/213264320\/commercial-classification" } ] } }, "\/jetpack\/v4\/stats-app\/sites\/213264320\/purchases": { "namespace": "jetpack\/v4\/stats-app", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/stats-app\/sites\/213264320\/purchases" } ] } }, "\/jetpack\/v4\/stats-app\/sites\/213264320\/stats\/location-views\/(?Pcountry|region|city)": { "namespace": "jetpack\/v4\/stats-app", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/wc-product-add-ons\/v1": { "namespace": "wc-product-add-ons\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wc-product-add-ons\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc-product-add-ons\/v1" } ] } }, "\/wc-product-add-ons\/v1\/product-add-ons": { "namespace": "wc-product-add-ons\/v1", "methods": [ "POST", "GET" ], "endpoints": [ { "methods": [ "POST" ], "args": [] }, { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc-product-add-ons\/v1\/product-add-ons" } ] } }, "\/wc-product-add-ons\/v1\/product-add-ons\/(?P\\d+)": { "namespace": "wc-product-add-ons\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": [] }, { "methods": [ "DELETE" ], "args": [] } ] }, "\/wpcom\/v2\/business-hours\/localized-week": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wpcom\/v2\/business-hours\/localized-week" } ] } }, "\/wpcom\/v2\/admin-color": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wpcom\/v2\/admin-color" } ] } }, "\/wpcom\/v2\/admin-menu": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wpcom\/v2\/admin-menu" } ] } }, "\/wpcom\/v2\/jetpack-ai\/ai-assistant-feature": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wpcom\/v2\/jetpack-ai\/ai-assistant-feature" } ] } }, "\/wpcom\/v2\/app-media": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "number": { "description": "Number of media items in the request", "type": "number", "default": 20, "required": false }, "page_handle": { "type": "number", "required": false }, "after": { "description": "Timestamp since the media was uploaded", "type": "number", "default": 0, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wpcom\/v2\/app-media" } ] } }, "\/wpcom\/v2\/blog-stats": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "post_id": { "description": "Post ID to obtain stats for.", "type": [ "string", "integer" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wpcom\/v2\/blog-stats" } ] } }, "\/wpcom\/v2\/email-preview": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false }, "access": { "description": "Access level.", "enum": [ "everybody", "subscribers", "paid_subscribers" ], "default": "everybody", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wpcom\/v2\/email-preview" } ] } }, "\/wpcom\/v2\/external-media\/list\/(?Pgoogle_photos|openverse|pexels)": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "search": { "description": "Media collection search term.", "type": "string", "required": false }, "number": { "description": "Number of media items in the request", "type": "number", "default": 20, "required": false }, "path": { "type": "string", "required": false }, "page_handle": { "type": "string", "required": false }, "session_id": { "description": "Session id of a service, currently only Google Photos Picker", "type": "string", "required": false } } } ] }, "\/wpcom\/v2\/external-media\/copy\/(?Pgoogle_photos|openverse|pexels)": { "namespace": "wpcom\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "media": { "description": "Media data to copy.", "items": { "type": "array", "items": { "type": "object", "required": true, "properties": { "caption": { "type": "string" }, "guid": { "type": "object", "properties": { "caption": { "type": "string" }, "name": { "type": "string" }, "title": { "type": "string" }, "url": { "format": "uri", "type": "string" } } }, "title": { "type": "string" }, "meta": { "type": "object", "additionalProperties": false, "properties": { "vertical_id": { "type": "string", "format": "text-field" }, "pexels_object": { "type": "object" } } } } } }, "type": "array", "required": true }, "post_id": { "description": "The post ID to attach the upload to.", "type": "number", "minimum": 0, "required": false }, "should_proxy": { "description": "Whether to proxy the media request.", "type": "boolean", "default": false, "required": false } } } ] }, "\/wpcom\/v2\/external-media\/connection\/(?Pgoogle_photos)": { "namespace": "wpcom\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "DELETE" ], "args": [] } ] }, "\/wpcom\/v2\/external-media\/connection\/(?Pgoogle_photos)\/picker_status": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/wpcom\/v2\/external-media\/session\/(?Pgoogle_photos)": { "namespace": "wpcom\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ] }, "\/wpcom\/v2\/external-media\/session\/(?Pgoogle_photos)\/(?P.*)": { "namespace": "wpcom\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "DELETE" ], "args": [] } ] }, "\/wpcom\/v2\/external-media\/proxy\/(?Pgoogle_photos)": { "namespace": "wpcom\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "url": { "type": "string", "required": true } } } ] }, "\/wpcom\/v2\/following\/mine": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "ignore_user_blogs": { "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wpcom\/v2\/following\/mine" } ] } }, "\/wpcom\/v2\/following\/recommendations": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "number": { "type": "number", "default": 5, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wpcom\/v2\/following\/recommendations" } ] } }, "\/wpcom\/v2\/goodreads\/user-id": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Goodreads user ID", "type": "integer", "minimum": 1, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wpcom\/v2\/goodreads\/user-id" } ] } }, "\/wpcom\/v2\/checkGoogleDocVisibility": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wpcom\/v2\/checkGoogleDocVisibility" } ] } }, "\/wpcom\/v2\/instagram-gallery\/connect-url": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wpcom\/v2\/instagram-gallery\/connect-url" } ] } }, "\/wpcom\/v2\/instagram-gallery\/connections": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wpcom\/v2\/instagram-gallery\/connections" } ] } }, "\/wpcom\/v2\/instagram-gallery\/gallery": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "access_token": { "description": "An Instagram Keyring access token.", "type": "integer", "minimum": 1, "required": true }, "count": { "description": "How many Instagram posts?", "type": "integer", "minimum": 1, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wpcom\/v2\/instagram-gallery\/gallery" } ] } }, "\/wpcom\/v2\/mailchimp": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wpcom\/v2\/mailchimp" } ] } }, "\/wpcom\/v2\/mailchimp\/groups": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wpcom\/v2\/mailchimp\/groups" } ] } }, "\/wpcom\/v2\/newsletter-categories": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wpcom\/v2\/newsletter-categories" } ] } }, "\/wpcom\/v2\/newsletter-categories\/count": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "term_ids": { "default": "", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wpcom\/v2\/newsletter-categories\/count" } ] } }, "\/wpcom\/v2\/podcast-player": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "url": { "description": "The Podcast RSS feed URL.", "type": "string", "required": true }, "guids": { "description": "A list of unique identifiers for fetching specific podcast episodes.", "type": "array", "required": true }, "episode-options": { "description": "Whether we should return the episodes list for use in the selection UI", "type": "boolean", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wpcom\/v2\/podcast-player" } ] } }, "\/wpcom\/v2\/podcast-player\/track-quantity": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wpcom\/v2\/podcast-player\/track-quantity" } ] } }, "\/wpcom\/v2\/profile": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wpcom\/v2\/profile" } ] } }, "\/wpcom\/v2\/publicize\/share-status\/(?P\\d+)": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/wpcom\/v2\/related-posts": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wpcom\/v2\/related-posts" } ] } }, "\/wpcom\/v2\/related-posts\/enable": { "namespace": "wpcom\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wpcom\/v2\/related-posts\/enable" } ] } }, "\/wpcom\/v2\/related-posts\/(?P[\\d]+)": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false } } } ] }, "\/wpcom\/v2\/resolve-redirect\/?(?P.+)?": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "url": { "description": "The URL to check for redirects.", "type": "string", "required": true } } } ] }, "\/wpcom\/v2\/search": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wpcom\/v2\/search" } ] } }, "\/wpcom\/v2\/send-email-preview": { "namespace": "wpcom\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "Unique identifier for the post.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wpcom\/v2\/send-email-preview" } ] } }, "\/wpcom\/v2\/template-loader\/(?P\\w+)": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "template_type": { "description": "The type of the template.", "type": "string", "required": true } } } ] }, "\/wpcom\/v2\/post-types": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wpcom\/v2\/post-types" } ] } }, "\/wpcom\/v2\/top-posts": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "period": { "description": "Timeframe for stats.", "type": [ "string", "integer" ], "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wpcom\/v2\/top-posts" } ] } }, "\/wpcom\/v2\/transients\/(?P\\w{1,172})": { "namespace": "wpcom\/v2", "methods": [ "DELETE" ], "endpoints": [ { "methods": [ "DELETE" ], "args": { "name": { "description": "The name of the transient to delete.", "type": "string", "required": true } } } ] }, "\/wpcom\/v2\/unauth-file-upload": { "namespace": "wpcom\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wpcom\/v2\/unauth-file-upload" } ] } }, "\/wpcom\/v2\/unauth-file-upload\/remove": { "namespace": "wpcom\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "file_id": { "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wpcom\/v2\/unauth-file-upload\/remove" } ] } }, "\/wpcom\/v3": { "namespace": "wpcom\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "wpcom\/v3", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wpcom\/v3" } ] } }, "\/wpcom\/v3\/blogging-prompts": { "namespace": "wpcom\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "after": { "description": "Show prompts following a given date.", "type": "string", "required": false }, "before": { "description": "Show prompts before a given date.", "type": "string", "required": false }, "force_year": { "description": "Force the returned prompts to be for a specific year. Returns only one prompt for each day.", "type": "integer", "required": false }, "exclude": { "description": "Wyklucz z wyniku okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj kolekcj\u0119 wed\u0142ug atrybutu wpisu.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wpcom\/v3\/blogging-prompts" } ] } }, "\/wpcom\/v3\/blogging-prompts\/(?P[\\d]+)": { "namespace": "wpcom\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unique identifier for the prompt.", "type": "integer", "required": false } } } ] }, "\/wpcom\/v3\/jitm": { "namespace": "wpcom\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "message_path": { "type": "string", "description": "The message path to fetch JITMs for", "required": true }, "query": { "type": "string", "description": "Additional query parameters", "required": false }, "full_jp_logo_exists": { "type": "boolean", "description": "Whether the full Jetpack logo exists", "required": false } } }, { "methods": [ "POST" ], "args": { "id": { "type": "string", "description": "The ID of the JITM to dismiss", "required": true }, "feature_class": { "type": "string", "description": "The feature class of the JITM", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wpcom\/v3\/jitm" } ] } }, "\/wpcom\/v2\/gutenberg\/available-extensions": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wpcom\/v2\/gutenberg\/available-extensions" } ] } }, "\/wpcom\/v2\/hello": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wpcom\/v2\/hello" } ] } }, "\/wpcom\/v2\/memberships\/status\/?": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "type": { "type": "string", "required": false }, "source": { "type": "string", "required": false }, "is_editable": { "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wpcom\/v2\/memberships\/status\/?" } ] } }, "\/wpcom\/v2\/memberships\/product\/?": { "namespace": "wpcom\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "title": { "type": "string", "required": true }, "price": { "type": "number", "required": true }, "currency": { "type": "string", "required": true }, "interval": { "type": "string", "required": true }, "is_editable": { "type": "boolean", "required": false }, "buyer_can_change_amount": { "type": "boolean", "required": false }, "tier": { "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wpcom\/v2\/memberships\/product\/?" } ] } }, "\/wpcom\/v2\/memberships\/products\/?": { "namespace": "wpcom\/v2", "methods": [ "POST", "GET" ], "endpoints": [ { "methods": [ "POST" ], "args": { "currency": { "type": "string", "required": true }, "type": { "type": "string", "required": true }, "is_editable": { "type": "boolean", "required": false } } }, { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wpcom\/v2\/memberships\/products\/?" } ] } }, "\/wpcom\/v2\/memberships\/product\/(?P[0-9]+)\/?": { "namespace": "wpcom\/v2", "methods": [ "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "title": { "type": "string", "required": true }, "price": { "type": "number", "required": true }, "currency": { "type": "string", "required": true }, "interval": { "type": "string", "required": true }, "is_editable": { "type": "boolean", "required": false }, "buyer_can_change_amount": { "type": "boolean", "required": false }, "tier": { "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "cancel_subscriptions": { "type": "boolean", "required": false } } } ] }, "\/wpcom\/v2\/publicize\/connection-test-results": { "namespace": "wpcom\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wpcom\/v2\/publicize\/connection-test-results" } ] } }, "\/wpcom\/v2\/service-api-keys\/(?P[a-z\\-_]+)": { "namespace": "wpcom\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "service_api_key": { "type": "string", "required": true } } }, { "methods": [ "DELETE" ], "args": [] } ] }, "\/wc\/v3\/wc_stripe\/connection_tokens": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/wc_stripe\/connection_tokens" } ] } }, "\/wc\/v3\/wc_stripe\/terminal\/locations": { "namespace": "wc\/v3", "methods": [ "POST", "GET" ], "endpoints": [ { "methods": [ "POST" ], "args": { "display_name": { "type": "string", "required": true }, "address": { "type": "object", "required": true } } }, { "methods": [ "GET" ], "args": { "ending_before": { "type": "string", "required": false }, "limit": { "type": "integer", "required": false }, "starting_after": { "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/wc_stripe\/terminal\/locations" } ] } }, "\/wc\/v3\/wc_stripe\/terminal\/locations\/store": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/wc_stripe\/terminal\/locations\/store" } ] } }, "\/wc\/v3\/wc_stripe\/terminal\/locations\/(?P\\w+)": { "namespace": "wc\/v3", "methods": [ "DELETE", "GET", "POST" ], "endpoints": [ { "methods": [ "DELETE" ], "args": [] }, { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": { "display_name": { "type": "string", "required": false }, "address": { "type": "object", "required": false } } } ] }, "\/wc\/v3\/wc_stripe\/orders\/(?P\\d+)\/create_customer": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ] }, "\/wc\/v3\/wc_stripe\/orders\/(?P\\w+)\/capture_terminal_payment": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "payment_intent_id": { "required": true } } } ] }, "\/wc\/v3\/wc_stripe\/tokens\/(?P[a-z]{3}_[a-zA-Z0-9]{24})": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/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:\/\/nightscout.pro\/pl\/wp-json\/wc\/v1" } ] } }, "\/wc\/v1\/connect\/stripe\/oauth\/init": { "namespace": "wc\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v1\/connect\/stripe\/oauth\/init" } ] } }, "\/wc\/v1\/connect\/stripe\/oauth\/connect": { "namespace": "wc\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v1\/connect\/stripe\/oauth\/connect" } ] } }, "\/wc\/v3\/wc_stripe\/account": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/wc_stripe\/account" } ] } }, "\/wc\/v3\/wc_stripe\/account\/summary": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/wc_stripe\/account\/summary" } ] } }, "\/wc\/v3\/wc_stripe\/account\/webhook-status-message": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/wc_stripe\/account\/webhook-status-message" } ] } }, "\/wc\/v3\/wc_stripe\/account\/refresh": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/wc_stripe\/account\/refresh" } ] } }, "\/wc\/v3\/wc_stripe\/upe_flag_toggle": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "is_upe_enabled": { "description": "Determines if the UPE feature flag is enabled.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/wc_stripe\/upe_flag_toggle" } ] } }, "\/wc\/v3\/wc_stripe\/settings": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "is_stripe_enabled": { "description": "If Stripe should be enabled.", "type": "boolean", "required": false }, "is_test_mode_enabled": { "description": "Ustawienie trybu testowego Stripe.", "type": "boolean", "required": false }, "enabled_payment_method_ids": { "description": "Payment method IDs that should be enabled. Other methods will be disabled.", "type": "array", "items": { "type": "string", "enum": [ "card", "card", "alipay", "bancontact", "boleto", "eps", "giropay", "ideal", "multibanco", "oxxo", "p24", "sepa" ] }, "required": false }, "individual_payment_method_settings": { "description": "Individual payment method settings.", "type": "object", "items": { "type": "object" }, "required": false }, "is_spe_enabled": { "description": "If Single Payment Element should be enabled.", "type": "boolean", "required": false }, "is_amazon_pay_enabled": { "description": "If Amazon Pay should be enabled.", "type": "boolean", "required": false }, "amazon_pay_button_size": { "description": "Express checkout button sizes.", "type": "string", "enum": [ "small", "default", "large" ], "required": false }, "amazon_pay_button_locations": { "description": "Express checkout locations that should be enabled.", "type": "array", "items": { "type": "string", "enum": [ "product", "cart", "checkout" ] }, "required": false }, "is_payment_request_enabled": { "description": "If Stripe express checkouts should be enabled.", "type": "boolean", "required": false }, "payment_request_button_type": { "description": "Express checkout button types.", "type": "string", "enum": [ "default", "buy", "donate", "book" ], "required": false }, "payment_request_button_theme": { "description": "Express checkout button themes.", "type": "string", "enum": [ "dark", "light", "light-outline" ], "required": false }, "payment_request_button_size": { "description": "Express checkout button sizes.", "type": "string", "enum": [ "small", "default", "large" ], "required": false }, "payment_request_button_locations": { "description": "Express checkout locations that should be enabled.", "type": "array", "items": { "type": "string", "enum": [ "product", "cart", "checkout" ] }, "required": false }, "is_manual_capture_enabled": { "description": "If manual capture of charges should be enabled.", "type": "boolean", "required": false }, "is_saved_cards_enabled": { "description": "If \"Saved cards\" should be enabled.", "type": "boolean", "required": false }, "is_sepa_tokens_for_other_methods_enabled": { "description": "If \"SEPA tokens for other methods\" should be enabled.", "type": "boolean", "required": false }, "is_separate_card_form_enabled": { "description": "If credit card number field, expiry date field, and CVC field should be separate.", "type": "boolean", "required": false }, "is_short_statement_descriptor_enabled": { "description": "When enabled, we'll include the order number for card and express checkout transactions.", "type": "boolean", "required": false }, "is_debug_log_enabled": { "description": "When enabled, payment error logs will be saved to WooCommerce > Status > Logs.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/wc_stripe\/settings" } ] } }, "\/wc\/v3\/wc_stripe\/settings\/payment_method_order": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "ordered_payment_method_ids": { "description": "The order for the payment method IDs to be saved.", "type": "array", "items": { "type": "string", "enum": [ "card", "card", "alipay", "bancontact", "boleto", "eps", "giropay", "ideal", "multibanco", "oxxo", "p24", "sepa" ] }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/wc_stripe\/settings\/payment_method_order" } ] } }, "\/wc\/v3\/wc_stripe\/settings\/payment_method": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "payment_method": { "description": "Payment method id.", "type": "string", "enum": [ "card", "alipay", "bancontact", "boleto", "eps", "giropay", "ideal", "multibanco", "oxxo", "p24", "sepa" ], "required": false }, "is_enabled": { "description": "If payment method should be enabled.", "type": "boolean", "required": false }, "title": { "description": "Payment method title.", "type": "string", "required": false }, "description": { "description": "Payment method description.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/wc_stripe\/settings\/payment_method" } ] } }, "\/wc\/v3\/wc_stripe\/settings\/notice": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/wc_stripe\/settings\/notice" } ] } }, "\/wc\/v3\/wc_stripe\/account_keys": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "publishable_key": { "description": "Your Stripe API Publishable key, obtained from your Stripe dashboard.", "type": "string", "required": false }, "secret_key": { "description": "Your Stripe API Secret, obtained from your Stripe dashboard.", "type": "string", "required": false }, "webhook_secret": { "description": "Your Stripe webhook endpoint URL, obtained from your Stripe dashboard.", "type": "string", "required": false }, "test_publishable_key": { "description": "Your Stripe testing API Publishable key, obtained from your Stripe dashboard.", "type": "string", "required": false }, "test_secret_key": { "description": "Your Stripe testing API Secret, obtained from your Stripe dashboard.", "type": "string", "required": false }, "test_webhook_secret": { "description": "Your Stripe testing webhook endpoint URL, obtained from your Stripe dashboard.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/wc_stripe\/account_keys" } ] } }, "\/wc\/v3\/wc_stripe\/account_keys\/test": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "publishable_key": { "description": "Your Stripe API Publishable key, obtained from your Stripe dashboard.", "type": "string", "required": false }, "secret_key": { "description": "Your Stripe API Secret, obtained from your Stripe dashboard.", "type": "string", "required": false }, "test_publishable_key": { "description": "Your Stripe testing API Publishable key, obtained from your Stripe dashboard.", "type": "string", "required": false }, "test_secret_key": { "description": "Your Stripe testing API Secret, obtained from your Stripe dashboard.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/wc_stripe\/account_keys\/test" } ] } }, "\/wc\/v3\/wc_stripe\/account_keys\/configure_webhooks": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "live_mode": { "description": "Whether the account is in live mode.", "type": "boolean", "required": false }, "secret_key": { "description": "Your Stripe API Secret, obtained from your Stripe dashboard.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/wc_stripe\/account_keys\/configure_webhooks" } ] } }, "\/wc\/v3\/wc_square\/import-products": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/wc_square\/import-products" } ] } }, "\/wc\/v3\/wc_square\/connected_page_visited": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/wc_square\/connected_page_visited" } ] } }, "\/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:\/\/nightscout.pro\/pl\/wp-json\/wc-admin" } ] } }, "\/wc-admin\/notice\/dismiss": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc-admin\/notice\/dismiss" } ] } }, "\/wc-admin\/features": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc-admin\/features" } ] } }, "\/wc-admin\/experiments\/assignment": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc-admin\/experiments\/assignment" } ] } }, "\/wc-admin\/marketing\/recommended": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "category": { "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/wp-json\/wc-admin\/marketing\/recommendations" } ] } }, "\/wc-admin\/marketing\/channels": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc-admin\/marketing\/channels" } ] } }, "\/wc-admin\/marketing\/campaigns": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view" ], "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc-admin\/marketing\/campaigns" } ] } }, "\/wc-admin\/marketing\/campaign-types": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view" ], "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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": "Zwraca domy\u015blne rekomendacje p\u0142atno\u015bci, gdy opcje woocommerce_show_marketplace_suggestions i woocommerce_setting_payments_recommendations_hidden s\u0105 ustawione na nie", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "pluginzip": { "description": "Plik zip motywu do za\u0142adowania.", "type": "file", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/wp-json\/wc-admin\/plugins\/install" } ] } }, "\/wc-admin\/plugins\/install\/status": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/wp-json\/wc-admin\/plugins\/active" } ] } }, "\/wc-admin\/plugins\/installed": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/wp-json\/wc-admin\/plugins\/activate" } ] } }, "\/wc-admin\/plugins\/activate\/status": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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": "Czy profilowanie zosta\u0142o uko\u0144czone.", "required": false }, "skipped": { "type": "boolean", "description": "Czy profilowanie zosta\u0142o pomini\u0119te.", "required": false }, "industry": { "type": "array", "description": "Bran\u017ca.", "items": { "type": "string" }, "required": false }, "product_types": { "type": "array", "description": "Typy sprzedanych produkt\u00f3w.", "items": { "enum": [ "physical", "downloads", "subscriptions", "memberships", "bookings", "product-bundles", "product-add-ons" ], "type": "string" }, "required": false }, "product_count": { "type": "string", "description": "Liczba produkt\u00f3w do dodania.", "enum": [ "0", "1-10", "11-100", "101-1000", "1000+" ], "required": false }, "selling_venues": { "type": "string", "description": "Inne miejsca w kt\u00f3rych sklep prowadzi sprzeda\u017c.", "enum": [ "no", "other", "brick-mortar", "brick-mortar-other", "other-woocommerce" ], "required": false }, "number_employees": { "type": "string", "description": "Liczba pracownik\u00f3w sklepu.", "enum": [ "1", "<10", "10-50", "50-250", "+250", "not specified" ], "required": false }, "revenue": { "type": "string", "description": "Obecne roczne przychody sklepu.", "enum": [ "none", "up-to-2500", "2500-10000", "10000-50000", "50000-250000", "more-than-250000", "rather-not-say" ], "required": false }, "other_platform": { "type": "string", "description": "Nazwa platformy u\u017cywanej do sprzeda\u017cy.", "enum": [ "shopify", "bigcommerce", "magento", "wix", "amazon", "ebay", "etsy", "squarespace", "other" ], "required": false }, "other_platform_name": { "type": "string", "description": "Nazwa innej platformy wykorzystywanej do sprzeda\u017cy (nie wymienionej na li\u015bcie).", "required": false }, "business_extensions": { "type": "array", "description": "Dodatkowe rozszerzenia dla biznesu do zainstalowania.", "items": { "type": "string" }, "required": false }, "theme": { "type": "string", "description": "Wybierz motyw sklepu.", "required": false }, "setup_client": { "type": "boolean", "description": "Czy sklep zosta\u0142 za\u0142o\u017cony dla klienta.", "required": false }, "wccom_connected": { "type": "boolean", "description": "Czy sklep zosta\u0142 pod\u0142\u0105czony do WooCommerce.com podczas pracy z rozszerzeniami.", "required": false }, "is_agree_marketing": { "type": "boolean", "description": "Czy sklep wyrazi\u0142 zgod\u0119 na otrzymywanie tre\u015bci marketingowych od WooCommerce.com.", "required": false }, "store_email": { "type": "string", "description": "Adres e-mail sklepu.", "required": false }, "is_store_country_set": { "type": "boolean", "description": "Czy kraj sklepu zosta\u0142 ustawiony przez proces instalacji.", "required": false }, "is_plugins_page_skipped": { "type": "boolean", "description": "Czy krok wtyczek w profilerze rdzenia zosta\u0142 pomini\u0119ty.", "required": false }, "core_profiler_completed_steps": { "type": "array", "description": "Uko\u0144czone kroki w profilerze rdzenia.", "items": { "type": "object" }, "required": false }, "business_choice": { "type": "string", "description": "Wyb\u00f3r firmy.", "required": false }, "selling_online_answer": { "type": "string", "description": "Odpowied\u017a dotycz\u0105ca sprzeda\u017cy online.", "required": false }, "selling_platforms": { "type": [ "array", "null" ], "description": "Platformy sprzeda\u017cy.", "items": { "type": [ "string", "null" ] }, "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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": "Krok programu Core Profiler do oznaczenia jako uko\u0144czony.", "enum": [ "intro-opt-in", "skip-guided-setup", "user-profile", "business-info", "plugins", "intro-builder", "skip-guided-setup" ], "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Kod kraju.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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": "Nazwa szablonu produktu.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Opcjonalny parametr, aby otrzyma\u0107 konkretne listy zada\u0144 wg identyfikator\u00f3w.", "type": "array", "items": { "enum": [], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "ids": { "description": "Opcjonalny parametr, aby otrzyma\u0107 konkretne listy zada\u0144 wg identyfikator\u00f3w.", "type": "array", "items": { "enum": [], "type": "string" }, "required": false }, "extended_tasks": { "description": "Lista rozszerzonych, przestarza\u0142ych zada\u0144 z filtra po stronie klienta.", "type": "array", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Okres, na jaki u\u015bpi\u0107 zadanie.", "type": "string", "required": false }, "task_list_id": { "description": "Opcjonalny parametr, ograniczaj\u0105cy zapytanie do konkretnej listy zada\u0144.", "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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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": "Zwr\u00f3\u0107 domy\u015blne sugestie partnera wysy\u0142kowego, gdy opcja woocommerce_show_marketplace_suggestions jest ustawiona na no.", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc-admin\/shipping-partner-suggestions" } ] } }, "\/wc-admin\/ai\/store-title": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "business_description": { "description": "Opis dzia\u0142alno\u015bci danego sklepu.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc-admin\/ai\/store-title" } ] } }, "\/wc-admin\/ai\/business-description": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "business_description": { "description": "Opis dzia\u0142alno\u015bci danego sklepu.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc-admin\/ai\/business-description" } ] } }, "\/wc-admin\/ai\/store-info": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc-admin\/ai\/store-info" } ] } }, "\/wc-admin\/ai\/images": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "business_description": { "description": "Opis dzia\u0142alno\u015bci danego sklepu.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc-admin\/ai\/images" } ] } }, "\/wc-admin\/ai\/patterns": { "namespace": "wc-admin", "methods": [ "POST", "DELETE" ], "endpoints": [ { "methods": [ "POST" ], "args": { "business_description": { "description": "Opis dzia\u0142alno\u015bci danego sklepu.", "type": "string", "required": false }, "images": { "description": "Obrazki dla danego sklepu.", "type": "object", "required": false } } }, { "methods": [ "DELETE" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc-admin\/ai\/patterns" } ] } }, "\/wc-admin\/ai\/product": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "products_information": { "description": "Dane generowane przez sztuczn\u0105 inteligencj\u0119 w celu aktualizacji fikcyjnych produkt\u00f3w.", "type": "object", "required": false }, "last_product": { "description": "Czy aktualizowany produkt jest ostatnim w p\u0119tli?", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc-admin\/ai\/product" } ] } }, "\/wc-admin\/launch-your-store\/initialize-coming-soon": { "namespace": "wc-admin", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/wp-json\/wc-analytics" } ] } }, "\/wc-analytics\/customers": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "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": "Wymu\u015b pobranie najnowszych danych zamiast z pami\u0119ci podr\u0119cznej.", "type": "boolean", "required": false }, "registered_before": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w zarejestrowanych przed (lub z) dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "registered_after": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w zarejestrowanych po (lub z) dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "match": { "description": "Wskazuje, czy wszystkie warunki powinny by\u0107 spe\u0142nione przez zestaw wynik\u00f3w, czy jakikolwiek z nich jest wystarczaj\u0105cy. Wynik ma wp\u0142yw na nast\u0119puj\u0105ce parametry: 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": "Ogranicz odpowied\u017a do obiekt\u00f3w zawieraj\u0105cych w polu \"customer\" fraz\u0119 wyszukiwania. Przeszukuje pola wskazan\u0105 warto\u015bci\u0105 `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": "Ogranicz odpowied\u017a do obiekt\u00f3w o wskazanych nazwach.", "type": "string", "required": false }, "name_excludes": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w z pomini\u0119ciem niekt\u00f3rych nazw.", "type": "string", "required": false }, "username_includes": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w zawieraj\u0105cych wskazane nazwy u\u017cytkownik\u00f3w.", "type": "string", "required": false }, "username_excludes": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w z pomini\u0119ciem wskazanych nazw u\u017cytkownik\u00f3w.", "type": "string", "required": false }, "email_includes": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w zawieraj\u0105cych adresy e-mail.", "type": "string", "required": false }, "email_excludes": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w z pomini\u0119ciem adres\u00f3w e-mail.", "type": "string", "required": false }, "country_includes": { "description": "Ogranicz wynik do obiekt\u00f3w z wskazanych kraj\u00f3w.", "type": "string", "required": false }, "country_excludes": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w z pomini\u0119ciem wskazanych kraj\u00f3w.", "type": "string", "required": false }, "last_active_before": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w z ostatni\u0105 aktywno\u015bci\u0105 przed (lub z) podan\u0105 dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "last_active_after": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w z ostatni\u0105 aktywno\u015bci\u0105 po (lub z) podan\u0105 dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "last_active_between": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w ostatnio aktywnych pomi\u0119dzy dwoma datami zgodnymi z ISO8601.", "type": "array", "items": { "type": "string" }, "required": false }, "registered_between": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w ostatnio aktywnych pomi\u0119dzy dwoma datami zgodnymi z ISO8601.", "type": "array", "items": { "type": "string" }, "required": false }, "orders_count_min": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w o liczbie zam\u00f3wie\u0144 wi\u0119kszej lub r\u00f3wnej danej liczbie.", "type": "integer", "required": false }, "orders_count_max": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w o liczbie zam\u00f3wie\u0144 mniejszej lub r\u00f3wnej danej liczbie.", "type": "integer", "required": false }, "orders_count_between": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w z liczb\u0105 zam\u00f3wie\u0144 mi\u0119dzy dwiema podanymi liczbami.", "type": "array", "items": { "type": "integer" }, "required": false }, "total_spend_min": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w o \u015bredniej warto\u015bci zam\u00f3wienia wi\u0119kszej lub r\u00f3wnej danej liczbie.", "type": "number", "required": false }, "total_spend_max": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w o \u015bredniej warto\u015bci zam\u00f3wienia mniejszej lub r\u00f3wnej danej liczbie.", "type": "number", "required": false }, "total_spend_between": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w z ca\u0142kowit\u0105 warto\u015bci\u0105 zam\u00f3wienia mi\u0119dzy dwiema podanymi liczbami.", "type": "array", "items": { "type": "integer" }, "required": false }, "avg_order_value_min": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w o \u015bredniej warto\u015bci zam\u00f3wienia wi\u0119ksz\u0105 lub r\u00f3wn\u0105 danej liczbie.", "type": "number", "required": false }, "avg_order_value_max": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w o \u015bredniej warto\u015bci zam\u00f3wienia mniejszej lub r\u00f3wnej danej liczbie.", "type": "number", "required": false }, "avg_order_value_between": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w o \u015bredniej warto\u015bci zam\u00f3wienia mi\u0119dzy dwiema podanymi liczbami.", "type": "array", "items": { "type": "integer" }, "required": false }, "last_order_before": { "description": "Ogranicz wynik do obiekt\u00f3w z ostatnim zam\u00f3wieniem przed podan\u0105 dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "last_order_after": { "description": "Ogranicz wynik do obiekt\u00f3w z ostatnim zam\u00f3wieniem po podanej dacie zgodnej z ISO8601.", "type": "string", "format": "date-time", "required": false }, "users": { "description": "Ogranicz wyniki do element\u00f3w ze wskazanymi identyfikatorami u\u017cytkownik\u00f3w.", "type": "array", "items": { "type": "integer" }, "required": false }, "filter_empty": { "description": "Odfiltruj wyniki, w kt\u00f3rych kt\u00f3rekolwiek z podanych p\u00f3l jest puste", "type": "array", "items": { "type": "string", "enum": [ "email", "name", "country", "city", "state", "postcode" ] }, "required": false }, "include": { "description": "Ogranicz wyniki do element\u00f3w ze wskazanymi identyfikatorami klient\u00f3w.", "type": "array", "items": { "type": "integer" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc-analytics\/customers" } ] } }, "\/wc-analytics\/customers\/(?P[\\d-]+)": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unikalny ID zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "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": "Wymu\u015b pobranie najnowszych danych zamiast z pami\u0119ci podr\u0119cznej.", "type": "boolean", "required": false }, "registered_before": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w zarejestrowanych przed (lub z) dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "registered_after": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w zarejestrowanych po (lub z) dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "match": { "description": "Wskazuje, czy wszystkie warunki powinny by\u0107 spe\u0142nione przez zestaw wynik\u00f3w, czy jakikolwiek z nich jest wystarczaj\u0105cy. Wynik ma wp\u0142yw na nast\u0119puj\u0105ce parametry: 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": "Ogranicz odpowied\u017a do obiekt\u00f3w zawieraj\u0105cych w polu \"customer\" fraz\u0119 wyszukiwania. Przeszukuje pola wskazan\u0105 warto\u015bci\u0105 `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": "Ogranicz odpowied\u017a do obiekt\u00f3w o wskazanych nazwach.", "type": "string", "required": false }, "name_excludes": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w z pomini\u0119ciem niekt\u00f3rych nazw.", "type": "string", "required": false }, "username_includes": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w zawieraj\u0105cych wskazane nazwy u\u017cytkownik\u00f3w.", "type": "string", "required": false }, "username_excludes": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w z pomini\u0119ciem wskazanych nazw u\u017cytkownik\u00f3w.", "type": "string", "required": false }, "email_includes": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w zawieraj\u0105cych adresy e-mail.", "type": "string", "required": false }, "email_excludes": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w z pomini\u0119ciem adres\u00f3w e-mail.", "type": "string", "required": false }, "country_includes": { "description": "Ogranicz wynik do obiekt\u00f3w z wskazanych kraj\u00f3w.", "type": "string", "required": false }, "country_excludes": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w z pomini\u0119ciem wskazanych kraj\u00f3w.", "type": "string", "required": false }, "last_active_before": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w z ostatni\u0105 aktywno\u015bci\u0105 przed (lub z) podan\u0105 dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "last_active_after": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w z ostatni\u0105 aktywno\u015bci\u0105 po (lub z) podan\u0105 dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "last_active_between": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w ostatnio aktywnych pomi\u0119dzy dwoma datami zgodnymi z ISO8601.", "type": "array", "items": { "type": "string" }, "required": false }, "registered_between": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w ostatnio aktywnych pomi\u0119dzy dwoma datami zgodnymi z ISO8601.", "type": "array", "items": { "type": "string" }, "required": false }, "orders_count_min": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w o liczbie zam\u00f3wie\u0144 wi\u0119kszej lub r\u00f3wnej danej liczbie.", "type": "integer", "required": false }, "orders_count_max": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w o liczbie zam\u00f3wie\u0144 mniejszej lub r\u00f3wnej danej liczbie.", "type": "integer", "required": false }, "orders_count_between": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w z liczb\u0105 zam\u00f3wie\u0144 mi\u0119dzy dwiema podanymi liczbami.", "type": "array", "items": { "type": "integer" }, "required": false }, "total_spend_min": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w o \u015bredniej warto\u015bci zam\u00f3wienia wi\u0119kszej lub r\u00f3wnej danej liczbie.", "type": "number", "required": false }, "total_spend_max": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w o \u015bredniej warto\u015bci zam\u00f3wienia mniejszej lub r\u00f3wnej danej liczbie.", "type": "number", "required": false }, "total_spend_between": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w z ca\u0142kowit\u0105 warto\u015bci\u0105 zam\u00f3wienia mi\u0119dzy dwiema podanymi liczbami.", "type": "array", "items": { "type": "integer" }, "required": false }, "avg_order_value_min": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w o \u015bredniej warto\u015bci zam\u00f3wienia wi\u0119ksz\u0105 lub r\u00f3wn\u0105 danej liczbie.", "type": "number", "required": false }, "avg_order_value_max": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w o \u015bredniej warto\u015bci zam\u00f3wienia mniejszej lub r\u00f3wnej danej liczbie.", "type": "number", "required": false }, "avg_order_value_between": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w o \u015bredniej warto\u015bci zam\u00f3wienia mi\u0119dzy dwiema podanymi liczbami.", "type": "array", "items": { "type": "integer" }, "required": false }, "last_order_before": { "description": "Ogranicz wynik do obiekt\u00f3w z ostatnim zam\u00f3wieniem przed podan\u0105 dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "last_order_after": { "description": "Ogranicz wynik do obiekt\u00f3w z ostatnim zam\u00f3wieniem po podanej dacie zgodnej z ISO8601.", "type": "string", "format": "date-time", "required": false }, "users": { "description": "Ogranicz wyniki do element\u00f3w ze wskazanymi identyfikatorami u\u017cytkownik\u00f3w.", "type": "array", "items": { "type": "integer" }, "required": false }, "filter_empty": { "description": "Odfiltruj wyniki, w kt\u00f3rych kt\u00f3rekolwiek z podanych p\u00f3l jest puste", "type": "array", "items": { "type": "string", "enum": [ "email", "name", "country", "city", "state", "postcode" ] }, "required": false }, "include": { "description": "Ogranicz wyniki do element\u00f3w ze wskazanymi identyfikatorami klient\u00f3w.", "type": "array", "items": { "type": "integer" }, "required": false } } } ] }, "\/wc-analytics\/leaderboards": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 5, "minimum": 1, "maximum": 20, "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "persisted_query": { "description": "Sta\u0142e zapytanie w adresie URL dla wszystkich odno\u015bnik\u00f3w.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc-analytics\/leaderboards" } ] } }, "\/wc-analytics\/leaderboards\/allowed": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 5, "minimum": 1, "maximum": 20, "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "persisted_query": { "description": "Sta\u0142e zapytanie w adresie URL dla wszystkich odno\u015bnik\u00f3w.", "type": "string", "required": false } } } ] }, "\/wc-analytics\/reports": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc-analytics\/reports" } ] } }, "\/wc-analytics\/reports\/import": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "days": { "description": "Liczba dni do zaimportowania.", "type": "integer", "minimum": 0, "required": false }, "skip_existing": { "description": "Pomi\u0144 importowanie istniej\u0105cych danych o zam\u00f3wieniach.", "type": "boolean", "default": false, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/wp-json\/wc-analytics\/reports\/import\/status" } ] } }, "\/wc-analytics\/reports\/import\/totals": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "days": { "description": "Liczba dni do zaimportowania.", "type": "integer", "minimum": 0, "required": false }, "skip_existing": { "description": "Pomi\u0144 importowanie istniej\u0105cych danych o zam\u00f3wieniach.", "type": "boolean", "default": false, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Parametry przekazywane do eksportowanego raportu.", "type": "object", "required": false }, "email": { "description": "Je\u015bli \"true\", wy\u015blij mailem link do pobrania eksportu do u\u017cytkownika generuj\u0105cego eksport.", "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": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "net_revenue", "orders_count", "items_sold", "product_name", "variations", "sku" ], "required": false }, "force_cache_refresh": { "description": "Wymu\u015b pobranie najnowszych danych zamiast z pami\u0119ci podr\u0119cznej.", "type": "boolean", "required": false }, "categories": { "description": "Ogranicz wynik do element\u00f3w ze wskazanych kategorii.", "type": "array", "items": { "type": "integer" }, "required": false }, "match": { "description": "Wskazuje, czy wszystkie warunki powinny by\u0107 spe\u0142nione przez zestaw wynik\u00f3w, czy jakikolwiek z nich jest wystarczaj\u0105cy. Wynik ma wp\u0142yw na nast\u0119puj\u0105ce parametry: 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": "Ogranicz wyniki do element\u00f3w ze wskazanymi identyfikatorami produkt\u00f3w.", "type": "array", "items": { "type": "integer" }, "required": false }, "extended_info": { "description": "Dodaj dodatkowe informacje o ka\u017cdym produkcie do raportu.", "type": "boolean", "default": false, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc-analytics\/reports\/products" } ] } }, "\/wc-analytics\/reports\/variations": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "net_revenue", "orders_count", "items_sold", "sku" ], "required": false }, "force_cache_refresh": { "description": "Wymu\u015b pobranie najnowszych danych zamiast z pami\u0119ci podr\u0119cznej.", "type": "boolean", "required": false }, "match": { "description": "Wskazuje, czy wszystkie warunki powinny by\u0107 spe\u0142nione przez zestaw wynik\u00f3w, czy jakikolwiek z nich jest wystarczaj\u0105cy. Wynik ma wp\u0142yw na nast\u0119puj\u0105ce parametry: 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": "Ogranicz wyniki do element\u00f3w, kt\u00f3re maj\u0105 wskazane produkty nadrz\u0119dne.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "product_excludes": { "description": "Ogranicz wyniki do element\u00f3w, kt\u00f3re nie maj\u0105 wskazanych produkt\u00f3w nadrz\u0119dnych.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "variations": { "description": "Ogranicz wyniki do element\u00f3w ze wskazanymi identyfikatorami wariant\u00f3w.", "type": "array", "items": { "type": "integer" }, "required": false }, "extended_info": { "description": "Dodaj dodatkowe informacje o ka\u017cdym wariancie do raportu.", "type": "boolean", "default": false, "required": false }, "attribute_is": { "description": "Ogranicz wyniki do wariant\u00f3w, kt\u00f3re maj\u0105 wskazane atrybuty.", "type": "array", "items": { "type": "array" }, "default": [], "required": false }, "attribute_is_not": { "description": "Ogranicz wyniki do wariant\u00f3w, kt\u00f3re nie maj\u0105 wskazanych atrybut\u00f3w.", "type": "array", "items": { "type": "array" }, "default": [], "required": false }, "category_includes": { "description": "Ogranicz wyniki do wariant\u00f3w ze wskazanych kategorii.", "type": "array", "items": { "type": "integer" }, "required": false }, "category_excludes": { "description": "Ogranicz wyniki do wariant\u00f3w, kt\u00f3re nie s\u0105 ze wskazanych kategorii.", "type": "array", "items": { "type": "integer" }, "required": false }, "products": { "description": "Ogranicz wyniki do element\u00f3w ze wskazanymi identyfikatorami produkt\u00f3w.", "type": "array", "items": { "type": "integer" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc-analytics\/reports\/variations" } ] } }, "\/wc-analytics\/reports\/products\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "net_revenue", "coupons", "refunds", "shipping", "taxes", "net_revenue", "orders_count", "items_sold" ], "required": false }, "force_cache_refresh": { "description": "Wymu\u015b pobranie najnowszych danych zamiast z pami\u0119ci podr\u0119cznej.", "type": "boolean", "required": false }, "fields": { "description": "Ogranicz pola statystyk do okre\u015blonych element\u00f3w.", "type": "array", "items": { "type": "string" }, "required": false }, "interval": { "description": "Interwa\u0142y czasowe kt\u00f3re zostan\u0105 u\u017cyte w danych.", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "categories": { "description": "Ogranicz wynik do element\u00f3w ze wskazanych kategorii.", "type": "array", "items": { "type": "integer" }, "required": false }, "products": { "description": "Ogranicz wyniki do element\u00f3w ze wskazanymi identyfikatorami produkt\u00f3w.", "type": "array", "items": { "type": "integer" }, "required": false }, "variations": { "description": "Ogranicz wyniki do element\u00f3w ze wskazanymi identyfikatorami wariant\u00f3w.", "type": "array", "items": { "type": "integer" }, "required": false }, "segmentby": { "description": "Posegmentuj odpowied\u017a przy pomocy dodatkowych ogranicze\u0144.", "type": "string", "enum": [ "product", "category", "variation" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc-analytics\/reports\/products\/stats" } ] } }, "\/wc-analytics\/reports\/variations\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "net_revenue", "coupons", "refunds", "shipping", "taxes", "net_revenue", "orders_count", "items_sold" ], "required": false }, "force_cache_refresh": { "description": "Wymu\u015b pobranie najnowszych danych zamiast z pami\u0119ci podr\u0119cznej.", "type": "boolean", "required": false }, "fields": { "description": "Ogranicz pola statystyk do okre\u015blonych element\u00f3w.", "type": "array", "items": { "type": "string" }, "required": false }, "interval": { "description": "Interwa\u0142y czasowe kt\u00f3re zostan\u0105 u\u017cyte w danych.", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "match": { "description": "Wskazuje, czy wszystkie warunki powinny by\u0107 spe\u0142nione przez zestaw wynik\u00f3w, czy jakikolwiek z nich jest wystarczaj\u0105cy. Wynik ma wp\u0142yw na nast\u0119puj\u0105ce parametry: 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": "Ogranicz wynik do element\u00f3w ze wskazanych kategorii.", "type": "array", "items": { "type": "integer" }, "required": false }, "category_excludes": { "description": "Ogranicz wyniki do wariant\u00f3w, kt\u00f3re nie s\u0105 ze wskazanych kategorii.", "type": "array", "items": { "type": "integer" }, "required": false }, "product_includes": { "description": "Ogranicz wyniki do element\u00f3w, kt\u00f3re maj\u0105 wskazane produkty nadrz\u0119dne.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "product_excludes": { "description": "Ogranicz wyniki do element\u00f3w, kt\u00f3re nie maj\u0105 wskazanych produkt\u00f3w nadrz\u0119dnych.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "variations": { "description": "Ogranicz wyniki do element\u00f3w ze wskazanymi identyfikatorami wariant\u00f3w.", "type": "array", "items": { "type": "integer" }, "required": false }, "segmentby": { "description": "Posegmentuj odpowied\u017a przy pomocy dodatkowych ogranicze\u0144.", "type": "string", "enum": [ "product", "category", "variation" ], "required": false }, "attribute_is": { "description": "Ogranicz wyniki do zam\u00f3wie\u0144 produkt\u00f3w ze wskazanymi atrybutami.", "type": "array", "items": { "type": "array" }, "default": [], "required": false }, "attribute_is_not": { "description": "Ogranicz wyniki do zam\u00f3wie\u0144 produkt\u00f3w bez wskazanych atrybut\u00f3w.", "type": "array", "items": { "type": "array" }, "default": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc-analytics\/reports\/variations\/stats" } ] } }, "\/wc-analytics\/reports\/revenue\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "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": "Wymu\u015b pobranie najnowszych danych zamiast z pami\u0119ci podr\u0119cznej.", "type": "boolean", "required": false }, "interval": { "description": "Interwa\u0142y czasowe kt\u00f3re zostan\u0105 u\u017cyte w danych.", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "segmentby": { "description": "Posegmentuj odpowied\u017a przy pomocy dodatkowych ogranicze\u0144.", "type": "string", "enum": [ "product", "category", "variation", "coupon", "customer_type" ], "required": false }, "date_type": { "description": "Zast\u0105p opcj\u0119 \"woocommerce_date_type\", kt\u00f3ra jest u\u017cywana dla pola daty bazy danych uwzgl\u0119dnianego w raportach przychod\u00f3w.", "type": "string", "enum": [ "date_paid", "date_created", "date_completed" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc-analytics\/reports\/revenue\/stats" } ] } }, "\/wc-analytics\/reports\/orders": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 0, "maximum": 100, "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "num_items_sold", "net_total" ], "required": false }, "force_cache_refresh": { "description": "Wymu\u015b pobranie najnowszych danych zamiast z pami\u0119ci podr\u0119cznej.", "type": "boolean", "required": false }, "product_includes": { "description": "Ogranicz wyniki do element\u00f3w z przypisanymi wskazanymi produktami.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "product_excludes": { "description": "Ogranicz wyniki do element\u00f3w, kt\u00f3re maj\u0105 przypisanych wskazanych produkt\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "variation_includes": { "description": "Ogranicz wyniki do element\u00f3w, kt\u00f3re maj\u0105 przypisany wskazany wariant.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "variation_excludes": { "description": "Ogranicz wyniki do element\u00f3w, kt\u00f3re nie maj\u0105 przypisanego wskazanego wariantu.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "coupon_includes": { "description": "Ogranicz wyniki do element\u00f3w, kt\u00f3re maj\u0105 przypisane wskazane kupony.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "coupon_excludes": { "description": "Ogranicz wyniki do element\u00f3w, kt\u00f3re nie maj\u0105 przypisanych wskazanych kupon\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "tax_rate_includes": { "description": "Ogranicz wyniki do element\u00f3w, kt\u00f3re maj\u0105 przypisane wskazane stawki podatkowe.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "tax_rate_excludes": { "description": "Ogranicz wyniki do element\u00f3w, kt\u00f3re nie maj\u0105 przypisanych wskazanych stawek podatkowych.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "status_is": { "description": "Ogranicz wynik do towar\u00f3w, kt\u00f3re maj\u0105 wskazany status zam\u00f3wienia.", "type": "array", "items": { "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "type": "string" }, "required": false }, "status_is_not": { "description": "Ogranicz wynik do towar\u00f3w, kt\u00f3re nie maj\u0105 wskazanego statusu zam\u00f3wienia.", "type": "array", "items": { "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "type": "string" }, "required": false }, "customer_type": { "description": "Ogranicz wynik do powracaj\u0105cych lub nowych klient\u00f3w.", "type": "string", "default": "", "enum": [ "", "returning", "new" ], "required": false }, "refunds": { "description": "Ogranicz wyniki do wskazanych typ\u00f3w zwrotu.", "type": "string", "default": "", "enum": [ "", "all", "partial", "full", "none" ], "required": false }, "extended_info": { "description": "Dodaj dodatkowe informacje o ka\u017cdym kuponie do raportu.", "type": "boolean", "default": false, "required": false }, "order_includes": { "description": "Ogranicz wyniki do element\u00f3w, kt\u00f3re maj\u0105 wskazane identyfikatory zam\u00f3wienia.", "type": "array", "items": { "type": "integer" }, "required": false }, "order_excludes": { "description": "Ogranicz wyniki do element\u00f3w, kt\u00f3re nie maj\u0105 wskazanych identyfikator\u00f3w zam\u00f3wienia.", "type": "array", "items": { "type": "integer" }, "required": false }, "attribute_is": { "description": "Ogranicz wyniki do zam\u00f3wie\u0144 produkt\u00f3w ze wskazanymi atrybutami.", "type": "array", "items": { "type": "array" }, "default": [], "required": false }, "attribute_is_not": { "description": "Ogranicz wyniki do zam\u00f3wie\u0144 produkt\u00f3w bez wskazanych atrybut\u00f3w.", "type": "array", "items": { "type": "array" }, "default": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc-analytics\/reports\/orders" } ] } }, "\/wc-analytics\/reports\/orders\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "net_revenue", "orders_count", "avg_order_value" ], "required": false }, "force_cache_refresh": { "description": "Wymu\u015b pobranie najnowszych danych zamiast z pami\u0119ci podr\u0119cznej.", "type": "boolean", "required": false }, "interval": { "description": "Interwa\u0142y czasowe kt\u00f3re zostan\u0105 u\u017cyte w danych.", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "match": { "description": "Wskazuje, czy wszystkie warunki powinny by\u0107 spe\u0142nione przez zestaw wynik\u00f3w, czy jakikolwiek z nich jest wystarczaj\u0105cy. Wynik ma wp\u0142yw na nast\u0119puj\u0105ce parametry: 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": "Ogranicz wynik do towar\u00f3w, kt\u00f3re maj\u0105 wskazany status zam\u00f3wienia.", "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": "Ogranicz wynik do towar\u00f3w, kt\u00f3re nie maj\u0105 wskazanego statusu zam\u00f3wienia.", "type": "array", "items": { "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "type": "string" }, "required": false }, "product_includes": { "description": "Ogranicz wyniki do element\u00f3w z przypisanymi wskazanymi produktami.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "product_excludes": { "description": "Ogranicz wyniki do element\u00f3w, kt\u00f3re maj\u0105 przypisanych wskazanych produkt\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "variation_includes": { "description": "Ogranicz wyniki do element\u00f3w, kt\u00f3re maj\u0105 przypisany wskazany wariant.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "variation_excludes": { "description": "Ogranicz wyniki do element\u00f3w, kt\u00f3re nie maj\u0105 przypisanego wskazanego wariantu.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "coupon_includes": { "description": "Ogranicz wyniki do element\u00f3w, kt\u00f3re maj\u0105 przypisane wskazane kupony.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "coupon_excludes": { "description": "Ogranicz wyniki do element\u00f3w, kt\u00f3re nie maj\u0105 przypisanych wskazanych kupon\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "tax_rate_includes": { "description": "Ogranicz wyniki do element\u00f3w, kt\u00f3re maj\u0105 przypisane wskazane stawki podatkowe.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "tax_rate_excludes": { "description": "Ogranicz wyniki do element\u00f3w, kt\u00f3re nie maj\u0105 przypisanych wskazanych stawek podatkowych.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "customer": { "description": "Alias dla customer_type (przestarza\u0142e).", "type": "string", "enum": [ "new", "returning" ], "required": false }, "customer_type": { "description": "Ogranicz wynik do element\u00f3w, kt\u00f3re maj\u0105 wskazany status typ klienta.", "type": "string", "enum": [ "new", "returning" ], "required": false }, "refunds": { "description": "Ogranicz wyniki do wskazanych typ\u00f3w zwrotu.", "type": "string", "default": "", "enum": [ "", "all", "partial", "full", "none" ], "required": false }, "attribute_is": { "description": "Ogranicz wyniki do zam\u00f3wie\u0144 produkt\u00f3w ze wskazanymi atrybutami.", "type": "array", "items": { "type": "array" }, "default": [], "required": false }, "attribute_is_not": { "description": "Ogranicz wyniki do zam\u00f3wie\u0144 produkt\u00f3w bez wskazanych atrybut\u00f3w.", "type": "array", "items": { "type": "array" }, "default": [], "required": false }, "segmentby": { "description": "Posegmentuj odpowied\u017a przy pomocy dodatkowych ogranicze\u0144.", "type": "string", "enum": [ "product", "category", "variation", "coupon", "customer_type" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc-analytics\/reports\/orders\/stats" } ] } }, "\/wc-analytics\/reports\/categories": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "category_id", "enum": [ "category_id", "items_sold", "net_revenue", "orders_count", "products_count", "category" ], "required": false }, "force_cache_refresh": { "description": "Wymu\u015b pobranie najnowszych danych zamiast z pami\u0119ci podr\u0119cznej.", "type": "boolean", "required": false }, "interval": { "description": "Interwa\u0142y czasowe kt\u00f3re zostan\u0105 u\u017cyte w danych.", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "status_is": { "description": "Ogranicz wynik do towar\u00f3w, kt\u00f3re maj\u0105 wskazany status zam\u00f3wienia.", "type": "array", "items": { "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "type": "string" }, "required": false }, "status_is_not": { "description": "Ogranicz wynik do towar\u00f3w, kt\u00f3re nie maj\u0105 wskazanego statusu zam\u00f3wienia.", "type": "array", "items": { "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "type": "string" }, "required": false }, "categories": { "description": "Ogranicz wyniki do element\u00f3w posiadaj\u0105cych podany termin w taksonomii kategorii produktu.", "type": "array", "items": { "type": "integer" }, "required": false }, "extended_info": { "description": "Dodaj dodatkowe informacje o ka\u017cdej kategorii do raportu.", "type": "boolean", "default": false, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc-analytics\/reports\/categories" } ] } }, "\/wc-analytics\/reports\/taxes": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "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": "Wymu\u015b pobranie najnowszych danych zamiast z pami\u0119ci podr\u0119cznej.", "type": "boolean", "required": false }, "taxes": { "description": "Ogranicz wyniki do pozycji z przypisan\u0105 co najmniej jedn\u0105 stawk\u0105 podatkow\u0105.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc-analytics\/reports\/taxes" } ] } }, "\/wc-analytics\/reports\/taxes\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "items_sold", "total_sales", "orders_count", "products_count" ], "required": false }, "force_cache_refresh": { "description": "Wymu\u015b pobranie najnowszych danych zamiast z pami\u0119ci podr\u0119cznej.", "type": "boolean", "required": false }, "fields": { "description": "Ogranicz pola statystyk do okre\u015blonych element\u00f3w.", "type": "array", "items": { "type": "string" }, "required": false }, "interval": { "description": "Interwa\u0142y czasowe kt\u00f3re zostan\u0105 u\u017cyte w danych.", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "taxes": { "description": "Ogranicz wyniki do element\u00f3w posiadaj\u0105cych podany termin w taksonomii podatk\u00f3w.", "type": "array", "items": { "type": "integer" }, "required": false }, "segmentby": { "description": "Posegmentuj odpowied\u017a przy pomocy dodatkowych ogranicze\u0144.", "type": "string", "enum": [ "tax_rate_id" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc-analytics\/reports\/taxes\/stats" } ] } }, "\/wc-analytics\/reports\/coupons": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "coupon_id", "enum": [ "coupon_id", "code", "amount", "orders_count" ], "required": false }, "force_cache_refresh": { "description": "Wymu\u015b pobranie najnowszych danych zamiast z pami\u0119ci podr\u0119cznej.", "type": "boolean", "required": false }, "coupons": { "description": "Ogranicz zestaw wynik\u00f3w do kupon\u00f3w ze wskazanymi identyfikatorami.", "type": "array", "items": { "type": "integer" }, "required": false }, "extended_info": { "description": "Dodaj dodatkowe informacje o ka\u017cdym kuponie do raportu.", "type": "boolean", "default": false, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc-analytics\/reports\/coupons" } ] } }, "\/wc-analytics\/reports\/coupons\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "amount", "coupons_count", "orders_count" ], "required": false }, "force_cache_refresh": { "description": "Wymu\u015b pobranie najnowszych danych zamiast z pami\u0119ci podr\u0119cznej.", "type": "boolean", "required": false }, "fields": { "description": "Ogranicz pola statystyk do okre\u015blonych element\u00f3w.", "type": "array", "items": { "type": "string" }, "required": false }, "interval": { "description": "Interwa\u0142y czasowe kt\u00f3re zostan\u0105 u\u017cyte w danych.", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "coupons": { "description": "Ogranicz zestaw wynik\u00f3w do kupon\u00f3w ze wskazanymi identyfikatorami.", "type": "array", "items": { "type": "integer" }, "required": false }, "segmentby": { "description": "Posegmentuj odpowied\u017a przy pomocy dodatkowych ogranicze\u0144.", "type": "string", "enum": [ "product", "variation", "category", "coupon" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc-analytics\/reports\/coupons\/stats" } ] } }, "\/wc-analytics\/reports\/stock": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "stock_status", "enum": [ "stock_status", "stock_quantity", "date", "id", "include", "title", "sku" ], "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "parent": { "description": "Ogranicz zestaw wynik\u00f3w do tych z okre\u015blonych identyfikator\u00f3w nadrz\u0119dnych.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Ogranicz zestaw wynik\u00f3w do wszystkich element\u00f3w z wyj\u0105tkiem tych o okre\u015blonym identyfikatorze nadrz\u0119dnym.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "type": { "description": "Ogranicz wyniki do element\u00f3w, do kt\u00f3rych przypisano typ raportu magazynu.", "type": "string", "default": "all", "enum": [ "all", "lowstock", "instock", "outofstock", "onbackorder" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc-analytics\/reports\/stock" } ] } }, "\/wc-analytics\/reports\/stock\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc-analytics\/reports\/stock\/stats" } ] } }, "\/wc-analytics\/reports\/downloads": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "product" ], "required": false }, "force_cache_refresh": { "description": "Wymu\u015b pobranie najnowszych danych zamiast z pami\u0119ci podr\u0119cznej.", "type": "boolean", "required": false }, "match": { "description": "Wskazuje, czy wszystkie warunki powinny by\u0107 spe\u0142nione dla wynikowego zestawu, lub czy wystarczaj\u0105cy jest kt\u00f3rykolwiek z nich. Dotyczy parametr\u00f3w: produkty, zam\u00f3wienia, nazwa u\u017cytkownika, ip_address.", "type": "string", "default": "all", "enum": [ "all", "any" ], "required": false }, "product_includes": { "description": "Ogranicz wyniki do element\u00f3w z przypisanymi wskazanymi produktami.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "product_excludes": { "description": "Ogranicz wyniki do element\u00f3w, kt\u00f3re maj\u0105 przypisanych wskazanych produkt\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order_includes": { "description": "Ogranicz wyniki do element\u00f3w, kt\u00f3re maj\u0105 wskazane identyfikatory zam\u00f3wienia.", "type": "array", "items": { "type": "integer" }, "required": false }, "order_excludes": { "description": "Ogranicz wyniki do element\u00f3w, kt\u00f3re nie maj\u0105 wskazanych identyfikator\u00f3w zam\u00f3wienia.", "type": "array", "items": { "type": "integer" }, "required": false }, "customer_includes": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w, kt\u00f3re maj\u0105 wskazane identyfikatory u\u017cytkownik\u00f3w.", "type": "array", "items": { "type": "integer" }, "required": false }, "customer_excludes": { "description": "Ogranicz wynik do obiekt\u00f3w kt\u00f3re nie zawieraj\u0105 konkretnego identyfikatora u\u017cytkownika.", "type": "array", "items": { "type": "integer" }, "required": false }, "ip_address_includes": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w z konkretnymi adresami IP.", "type": "array", "items": { "type": "string" }, "required": false }, "ip_address_excludes": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w, kt\u00f3re nie zawieraj\u0105 wskazanych adres\u00f3w IP.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc-analytics\/reports\/downloads" } ] } }, "\/wc-analytics\/reports\/downloads\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "download_count" ], "required": false }, "force_cache_refresh": { "description": "Wymu\u015b pobranie najnowszych danych zamiast z pami\u0119ci podr\u0119cznej.", "type": "boolean", "required": false }, "fields": { "description": "Ogranicz pola statystyk do okre\u015blonych element\u00f3w.", "type": "array", "items": { "type": "string" }, "required": false }, "interval": { "description": "Interwa\u0142y czasowe kt\u00f3re zostan\u0105 u\u017cyte w danych.", "type": "string", "default": "week", "enum": [ "hour", "day", "week", "month", "quarter", "year" ], "required": false }, "match": { "description": "Wskazuje, czy wszystkie warunki powinny by\u0107 spe\u0142nione przez zestaw wynik\u00f3w, czy jakikolwiek z nich jest wystarczaj\u0105cy. Wynik ma wp\u0142yw na nast\u0119puj\u0105ce parametry: 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": "Ogranicz wyniki do element\u00f3w z przypisanymi wskazanymi produktami.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "product_excludes": { "description": "Ogranicz wyniki do element\u00f3w, kt\u00f3re maj\u0105 przypisanych wskazanych produkt\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order_includes": { "description": "Ogranicz wyniki do element\u00f3w, kt\u00f3re maj\u0105 wskazane identyfikatory zam\u00f3wienia.", "type": "array", "items": { "type": "integer" }, "required": false }, "order_excludes": { "description": "Ogranicz wyniki do element\u00f3w, kt\u00f3re nie maj\u0105 wskazanych identyfikator\u00f3w zam\u00f3wienia.", "type": "array", "items": { "type": "integer" }, "required": false }, "customer_includes": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w, kt\u00f3re maj\u0105 wskazane identyfikatory klient\u00f3w.", "type": "array", "items": { "type": "integer" }, "required": false }, "customer_excludes": { "description": "Ogranicz wynik do obiekt\u00f3w, kt\u00f3re nie zawieraj\u0105 wskazanych identyfikator\u00f3w klient\u00f3w.", "type": "array", "items": { "type": "integer" }, "required": false }, "ip_address_includes": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w z konkretnymi adresami IP.", "type": "array", "items": { "type": "string" }, "required": false }, "ip_address_excludes": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w, kt\u00f3re nie zawieraj\u0105 wskazanych adres\u00f3w IP.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc-analytics\/reports\/downloads\/stats" } ] } }, "\/wc-analytics\/reports\/customers": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "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": "Wymu\u015b pobranie najnowszych danych zamiast z pami\u0119ci podr\u0119cznej.", "type": "boolean", "required": false }, "registered_before": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w zarejestrowanych przed (lub z) dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "registered_after": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w zarejestrowanych po (lub z) dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "match": { "description": "Wskazuje, czy wszystkie warunki powinny by\u0107 spe\u0142nione przez zestaw wynik\u00f3w, czy jakikolwiek z nich jest wystarczaj\u0105cy. Wynik ma wp\u0142yw na nast\u0119puj\u0105ce parametry: 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": "Ogranicz odpowied\u017a do obiekt\u00f3w zawieraj\u0105cych w polu \"customer\" fraz\u0119 wyszukiwania. Przeszukuje pola wskazan\u0105 warto\u015bci\u0105 `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": "Ogranicz odpowied\u017a do obiekt\u00f3w o wskazanych nazwach.", "type": "string", "required": false }, "name_excludes": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w z pomini\u0119ciem niekt\u00f3rych nazw.", "type": "string", "required": false }, "username_includes": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w zawieraj\u0105cych wskazane nazwy u\u017cytkownik\u00f3w.", "type": "string", "required": false }, "username_excludes": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w z pomini\u0119ciem wskazanych nazw u\u017cytkownik\u00f3w.", "type": "string", "required": false }, "email_includes": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w zawieraj\u0105cych adresy e-mail.", "type": "string", "required": false }, "email_excludes": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w z pomini\u0119ciem adres\u00f3w e-mail.", "type": "string", "required": false }, "country_includes": { "description": "Ogranicz wynik do obiekt\u00f3w z wskazanych kraj\u00f3w.", "type": "string", "required": false }, "country_excludes": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w z pomini\u0119ciem wskazanych kraj\u00f3w.", "type": "string", "required": false }, "last_active_before": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w z ostatni\u0105 aktywno\u015bci\u0105 przed (lub z) podan\u0105 dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "last_active_after": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w z ostatni\u0105 aktywno\u015bci\u0105 po (lub z) podan\u0105 dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "last_active_between": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w ostatnio aktywnych pomi\u0119dzy dwoma datami zgodnymi z ISO8601.", "type": "array", "items": { "type": "string" }, "required": false }, "registered_between": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w ostatnio aktywnych pomi\u0119dzy dwoma datami zgodnymi z ISO8601.", "type": "array", "items": { "type": "string" }, "required": false }, "orders_count_min": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w o liczbie zam\u00f3wie\u0144 wi\u0119kszej lub r\u00f3wnej danej liczbie.", "type": "integer", "required": false }, "orders_count_max": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w o liczbie zam\u00f3wie\u0144 mniejszej lub r\u00f3wnej danej liczbie.", "type": "integer", "required": false }, "orders_count_between": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w z liczb\u0105 zam\u00f3wie\u0144 mi\u0119dzy dwiema podanymi liczbami.", "type": "array", "items": { "type": "integer" }, "required": false }, "total_spend_min": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w o \u015bredniej warto\u015bci zam\u00f3wienia wi\u0119kszej lub r\u00f3wnej danej liczbie.", "type": "number", "required": false }, "total_spend_max": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w o \u015bredniej warto\u015bci zam\u00f3wienia mniejszej lub r\u00f3wnej danej liczbie.", "type": "number", "required": false }, "total_spend_between": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w z ca\u0142kowit\u0105 warto\u015bci\u0105 zam\u00f3wienia mi\u0119dzy dwiema podanymi liczbami.", "type": "array", "items": { "type": "integer" }, "required": false }, "avg_order_value_min": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w o \u015bredniej warto\u015bci zam\u00f3wienia wi\u0119ksz\u0105 lub r\u00f3wn\u0105 danej liczbie.", "type": "number", "required": false }, "avg_order_value_max": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w o \u015bredniej warto\u015bci zam\u00f3wienia mniejszej lub r\u00f3wnej danej liczbie.", "type": "number", "required": false }, "avg_order_value_between": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w o \u015bredniej warto\u015bci zam\u00f3wienia mi\u0119dzy dwiema podanymi liczbami.", "type": "array", "items": { "type": "integer" }, "required": false }, "last_order_before": { "description": "Ogranicz wynik do obiekt\u00f3w z ostatnim zam\u00f3wieniem przed podan\u0105 dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "last_order_after": { "description": "Ogranicz wynik do obiekt\u00f3w z ostatnim zam\u00f3wieniem po podanej dacie zgodnej z ISO8601.", "type": "string", "format": "date-time", "required": false }, "customers": { "description": "Ogranicz wyniki do element\u00f3w ze wskazanymi identyfikatorami klient\u00f3w.", "type": "array", "items": { "type": "integer" }, "required": false }, "users": { "description": "Ogranicz wyniki do element\u00f3w ze wskazanymi identyfikatorami u\u017cytkownik\u00f3w.", "type": "array", "items": { "type": "integer" }, "required": false }, "filter_empty": { "description": "Odfiltruj wyniki, w kt\u00f3rych kt\u00f3rekolwiek z podanych p\u00f3l jest puste", "type": "array", "items": { "type": "string", "enum": [ "email", "name", "country", "city", "state", "postcode" ] }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc-analytics\/reports\/customers" } ] } }, "\/wc-analytics\/reports\/customers\/stats": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "registered_before": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w zarejestrowanych przed (lub z) dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "registered_after": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w zarejestrowanych po (lub z) dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "match": { "description": "Wskazuje, czy wszystkie warunki powinny by\u0107 spe\u0142nione przez zestaw wynik\u00f3w, czy jakikolwiek z nich jest wystarczaj\u0105cy. Wynik ma wp\u0142yw na nast\u0119puj\u0105ce parametry: 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": "Ogranicz odpowied\u017a do obiekt\u00f3w zawieraj\u0105cych w polu \"customer\" fraz\u0119 wyszukiwania. Przeszukuje pola wskazan\u0105 warto\u015bci\u0105 `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": "Ogranicz odpowied\u017a do obiekt\u00f3w o wskazanych nazwach.", "type": "string", "required": false }, "name_excludes": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w z pomini\u0119ciem niekt\u00f3rych nazw.", "type": "string", "required": false }, "username_includes": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w zawieraj\u0105cych wskazane nazwy u\u017cytkownik\u00f3w.", "type": "string", "required": false }, "username_excludes": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w z pomini\u0119ciem wskazanych nazw u\u017cytkownik\u00f3w.", "type": "string", "required": false }, "email_includes": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w zawieraj\u0105cych adresy e-mail.", "type": "string", "required": false }, "email_excludes": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w z pomini\u0119ciem adres\u00f3w e-mail.", "type": "string", "required": false }, "country_includes": { "description": "Ogranicz wynik do obiekt\u00f3w z wskazanych kraj\u00f3w.", "type": "string", "required": false }, "country_excludes": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w z pomini\u0119ciem wskazanych kraj\u00f3w.", "type": "string", "required": false }, "last_active_before": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w z ostatni\u0105 aktywno\u015bci\u0105 przed (lub z) podan\u0105 dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "last_active_after": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w z ostatni\u0105 aktywno\u015bci\u0105 po (lub z) podan\u0105 dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "last_active_between": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w ostatnio aktywnych pomi\u0119dzy dwoma datami zgodnymi z ISO8601.", "type": "array", "items": { "type": "string" }, "required": false }, "registered_between": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w ostatnio aktywnych pomi\u0119dzy dwoma datami zgodnymi z ISO8601.", "type": "array", "items": { "type": "string" }, "required": false }, "orders_count_min": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w o liczbie zam\u00f3wie\u0144 wi\u0119kszej lub r\u00f3wnej danej liczbie.", "type": "integer", "required": false }, "orders_count_max": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w o liczbie zam\u00f3wie\u0144 mniejszej lub r\u00f3wnej danej liczbie.", "type": "integer", "required": false }, "orders_count_between": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w z liczb\u0105 zam\u00f3wie\u0144 mi\u0119dzy dwiema podanymi liczbami.", "type": "array", "items": { "type": "integer" }, "required": false }, "total_spend_min": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w o \u015bredniej warto\u015bci zam\u00f3wienia wi\u0119kszej lub r\u00f3wnej danej liczbie.", "type": "number", "required": false }, "total_spend_max": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w o \u015bredniej warto\u015bci zam\u00f3wienia mniejszej lub r\u00f3wnej danej liczbie.", "type": "number", "required": false }, "total_spend_between": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w z ca\u0142kowit\u0105 warto\u015bci\u0105 zam\u00f3wienia mi\u0119dzy dwiema podanymi liczbami.", "type": "array", "items": { "type": "integer" }, "required": false }, "avg_order_value_min": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w o \u015bredniej warto\u015bci zam\u00f3wienia wi\u0119ksz\u0105 lub r\u00f3wn\u0105 danej liczbie.", "type": "number", "required": false }, "avg_order_value_max": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w o \u015bredniej warto\u015bci zam\u00f3wienia mniejszej lub r\u00f3wnej danej liczbie.", "type": "number", "required": false }, "avg_order_value_between": { "description": "Ogranicz odpowied\u017a do obiekt\u00f3w o \u015bredniej warto\u015bci zam\u00f3wienia mi\u0119dzy dwiema podanymi liczbami.", "type": "array", "items": { "type": "integer" }, "required": false }, "last_order_before": { "description": "Ogranicz wynik do obiekt\u00f3w z ostatnim zam\u00f3wieniem przed podan\u0105 dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "last_order_after": { "description": "Ogranicz wynik do obiekt\u00f3w z ostatnim zam\u00f3wieniem po podanej dacie zgodnej z ISO8601.", "type": "string", "format": "date-time", "required": false }, "customers": { "description": "Ogranicz wyniki do element\u00f3w ze wskazanymi identyfikatorami klient\u00f3w.", "type": "array", "items": { "type": "integer" }, "required": false }, "fields": { "description": "Ogranicz pola statystyk do okre\u015blonych element\u00f3w.", "type": "array", "items": { "type": "string" }, "required": false }, "force_cache_refresh": { "description": "Wymu\u015b pobranie najnowszych danych zamiast z pami\u0119ci podr\u0119cznej.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc-analytics\/reports\/customers\/stats" } ] } }, "\/wc-analytics\/reports\/performance-indicators": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "stats": { "description": "Ogranicz odpowied\u017a do wskazanych danych statystycznych raport\u00f3w. Dozwolone warto\u015bci: .", "type": "array", "items": { "type": "string", "enum": [] }, "default": [], "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc-analytics\/reports\/performance-indicators" } ] } }, "\/wc-analytics\/reports\/performance-indicators\/allowed": { "namespace": "wc-analytics", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "stats": { "description": "Ogranicz odpowied\u017a do wskazanych danych statystycznych raport\u00f3w. Dozwolone warto\u015bci: .", "type": "array", "items": { "type": "string", "enum": [] }, "default": [], "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc-analytics\/reports\/performance-indicators\/allowed" } ] } }, "\/wc-analytics\/admin\/notes": { "namespace": "wc-analytics", "methods": [ "GET", "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "note_id", "date", "type", "title", "status" ], "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "type": { "description": "Typ notatki.", "type": "array", "items": { "enum": [ "error", "warning", "update", "info", "marketing", "survey", "email" ], "type": "string" }, "required": false }, "status": { "description": "Status notatki.", "type": "array", "items": { "enum": [ "pending", "actioned", "unactioned", "snoozed", "sent" ], "type": "string" }, "required": false }, "source": { "description": "\u0179r\u00f3d\u0142o notatki.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "note_id", "date", "type", "title", "status" ], "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "type": { "description": "Typ notatki.", "type": "array", "items": { "enum": [ "error", "warning", "update", "info", "marketing", "survey", "email" ], "type": "string" }, "required": false }, "status": { "description": "Status notatki.", "type": "array", "items": { "enum": [ "pending", "actioned", "unactioned", "snoozed", "sent" ], "type": "string" }, "required": false }, "source": { "description": "\u0179r\u00f3d\u0142o notatki.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikalny ID zasobu.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikalny ID zasobu.", "type": "integer", "required": false } } }, { "methods": [ "GET" ], "args": { "id": { "description": "Unikalny ID zasobu.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikalny ID zasobu.", "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 notatki.", "type": "array", "items": { "enum": [ "pending", "actioned", "unactioned", "snoozed", "sent" ], "type": "string" }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "status": { "description": "Status notatki.", "type": "array", "items": { "enum": [ "pending", "actioned", "unactioned", "snoozed", "sent" ], "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator notatki.", "type": "integer", "required": false }, "action_id": { "description": "Unikatowy identyfikator akcji notatki.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "note_id": { "description": "Unikatowy identyfikator notatki.", "type": "integer", "required": false }, "action_id": { "description": "Unikatowy identyfikator akcji notatki.", "type": "integer", "required": false } } } ] }, "\/wc-analytics\/coupons": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do kupon\u00f3w z kodami pasuj\u0105cymi do podanego ci\u0105gu.", "type": "string", "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ogranicz wynik do zasob\u00f3w zmienionych po danej dacie zgodnej z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ogranicz odpowied\u017a do zasob\u00f3w zmienionych przed dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Czy bra\u0107 pod uwag\u0119 daty GMT publikacji lub modyfikacji podczas ograniczania odpowiedzi.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "code": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w z danym kodem.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "code": { "description": "Kod kuponu.", "type": "string", "required": true }, "amount": { "description": "Kwota zni\u017cki. Zawsze powinna by\u0107 warto\u015bci\u0105 numeryczn\u0105, nawet je\u015bli ustawiona jest warto\u015b\u0107 procentowa.", "type": "string", "required": false }, "status": { "description": "Status kuponu. Zawsze powinien by\u0107: szkic, obublikowany lub oczekuje na przegl\u0105d.", "type": "string", "required": false }, "discount_type": { "default": "fixed_cart", "description": "Determinuje typ rabatu, kt\u00f3ry zostanie zastosowany.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product", "sign_up_fee", "sign_up_fee_percent", "recurring_fee", "recurring_percent", "renewal_percent", "renewal_fee", "renewal_cart", "initial_cart" ], "required": false }, "description": { "description": "Opis kuponu.", "type": "string", "required": false }, "date_expires": { "description": "Data wyga\u015bni\u0119cia kuponu, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "Data wa\u017cno\u015bci kuponu (GMT).", "type": [ "null", "string" ], "required": false }, "individual_use": { "default": false, "description": "Je\u015bli \"true\", kupon mo\u017ce by\u0107 u\u017cyty tylko pojedynczo. Inne zastosowane kupony zostan\u0105 usuni\u0119te z koszyka.", "type": "boolean", "required": false }, "product_ids": { "description": "Lista ID produkt\u00f3w, dla kt\u00f3rych kupon mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "Lista ID produkt\u00f3w, dla kt\u00f3rych kupon nie mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Ile razy kupon mo\u017ce zosta\u0107 u\u017cyty.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Liczba, ile razy dany kupon mo\u017ce zosta\u0107 u\u017cyty przez jednego klienta.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Maksymalna liczba produkt\u00f3w w koszyku dla kt\u00f3rych mo\u017cna u\u017cy\u0107 kuponu.", "type": "integer", "required": false }, "free_shipping": { "default": false, "description": "Je\u015bli \"true\" i darmowa wysy\u0142ka wymaga u\u017cycia kuponu, ten kupon w\u0142\u0105czy darmow\u0105 wysy\u0142k\u0119.", "type": "boolean", "required": false }, "product_categories": { "description": "Lista ID kategorii, dla kt\u00f3rych kupon mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Lista ID kategorii, dla kt\u00f3rych kupon nie mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "default": false, "description": "Je\u015bli \"true\", kupon nie b\u0119dzie stosowany do produkt\u00f3w, kt\u00f3re s\u0105 w promocji.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minimalna kwota zam\u00f3wienia, aby mo\u017cna by\u0142o u\u017cy\u0107 kupon.", "type": "string", "required": false }, "maximum_amount": { "description": "Maksymalna kwota zam\u00f3wienia, aby mo\u017cna by\u0142o u\u017cy\u0107 kupon.", "type": "string", "required": false }, "email_restrictions": { "description": "Lista adres\u00f3w e-mail pozwalaj\u0105cych na u\u017cycie kuponu.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do kupon\u00f3w z kodami pasuj\u0105cymi do podanego ci\u0105gu.", "type": "string", "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ogranicz wynik do zasob\u00f3w zmienionych po danej dacie zgodnej z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ogranicz odpowied\u017a do zasob\u00f3w zmienionych przed dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Czy bra\u0107 pod uwag\u0119 daty GMT publikacji lub modyfikacji podczas ograniczania odpowiedzi.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "code": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w z danym kodem.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "code": { "description": "Kod kuponu.", "type": "string", "required": true }, "amount": { "description": "Kwota zni\u017cki. Zawsze powinna by\u0107 warto\u015bci\u0105 numeryczn\u0105, nawet je\u015bli ustawiona jest warto\u015b\u0107 procentowa.", "type": "string", "required": false }, "status": { "description": "Status kuponu. Zawsze powinien by\u0107: szkic, obublikowany lub oczekuje na przegl\u0105d.", "type": "string", "required": false }, "discount_type": { "default": "fixed_cart", "description": "Determinuje typ rabatu, kt\u00f3ry zostanie zastosowany.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product", "sign_up_fee", "sign_up_fee_percent", "recurring_fee", "recurring_percent", "renewal_percent", "renewal_fee", "renewal_cart", "initial_cart" ], "required": false }, "description": { "description": "Opis kuponu.", "type": "string", "required": false }, "date_expires": { "description": "Data wyga\u015bni\u0119cia kuponu, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "Data wa\u017cno\u015bci kuponu (GMT).", "type": [ "null", "string" ], "required": false }, "individual_use": { "default": false, "description": "Je\u015bli \"true\", kupon mo\u017ce by\u0107 u\u017cyty tylko pojedynczo. Inne zastosowane kupony zostan\u0105 usuni\u0119te z koszyka.", "type": "boolean", "required": false }, "product_ids": { "description": "Lista ID produkt\u00f3w, dla kt\u00f3rych kupon mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "Lista ID produkt\u00f3w, dla kt\u00f3rych kupon nie mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Ile razy kupon mo\u017ce zosta\u0107 u\u017cyty.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Liczba, ile razy dany kupon mo\u017ce zosta\u0107 u\u017cyty przez jednego klienta.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Maksymalna liczba produkt\u00f3w w koszyku dla kt\u00f3rych mo\u017cna u\u017cy\u0107 kuponu.", "type": "integer", "required": false }, "free_shipping": { "default": false, "description": "Je\u015bli \"true\" i darmowa wysy\u0142ka wymaga u\u017cycia kuponu, ten kupon w\u0142\u0105czy darmow\u0105 wysy\u0142k\u0119.", "type": "boolean", "required": false }, "product_categories": { "description": "Lista ID kategorii, dla kt\u00f3rych kupon mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Lista ID kategorii, dla kt\u00f3rych kupon nie mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "default": false, "description": "Je\u015bli \"true\", kupon nie b\u0119dzie stosowany do produkt\u00f3w, kt\u00f3re s\u0105 w promocji.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minimalna kwota zam\u00f3wienia, aby mo\u017cna by\u0142o u\u017cy\u0107 kupon.", "type": "string", "required": false }, "maximum_amount": { "description": "Maksymalna kwota zam\u00f3wienia, aby mo\u017cna by\u0142o u\u017cy\u0107 kupon.", "type": "string", "required": false }, "email_restrictions": { "description": "Lista adres\u00f3w e-mail pozwalaj\u0105cych na u\u017cycie kuponu.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "code": { "description": "Kod kuponu.", "type": "string", "required": false }, "amount": { "description": "Kwota zni\u017cki. Zawsze powinna by\u0107 warto\u015bci\u0105 numeryczn\u0105, nawet je\u015bli ustawiona jest warto\u015b\u0107 procentowa.", "type": "string", "required": false }, "status": { "description": "Status kuponu. Zawsze powinien by\u0107: szkic, obublikowany lub oczekuje na przegl\u0105d.", "type": "string", "required": false }, "discount_type": { "description": "Determinuje typ rabatu, kt\u00f3ry zostanie zastosowany.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product", "sign_up_fee", "sign_up_fee_percent", "recurring_fee", "recurring_percent", "renewal_percent", "renewal_fee", "renewal_cart", "initial_cart" ], "required": false }, "description": { "description": "Opis kuponu.", "type": "string", "required": false }, "date_expires": { "description": "Data wyga\u015bni\u0119cia kuponu, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "Data wa\u017cno\u015bci kuponu (GMT).", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "Je\u015bli \"true\", kupon mo\u017ce by\u0107 u\u017cyty tylko pojedynczo. Inne zastosowane kupony zostan\u0105 usuni\u0119te z koszyka.", "type": "boolean", "required": false }, "product_ids": { "description": "Lista ID produkt\u00f3w, dla kt\u00f3rych kupon mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "Lista ID produkt\u00f3w, dla kt\u00f3rych kupon nie mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Ile razy kupon mo\u017ce zosta\u0107 u\u017cyty.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Liczba, ile razy dany kupon mo\u017ce zosta\u0107 u\u017cyty przez jednego klienta.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Maksymalna liczba produkt\u00f3w w koszyku dla kt\u00f3rych mo\u017cna u\u017cy\u0107 kuponu.", "type": "integer", "required": false }, "free_shipping": { "description": "Je\u015bli \"true\" i darmowa wysy\u0142ka wymaga u\u017cycia kuponu, ten kupon w\u0142\u0105czy darmow\u0105 wysy\u0142k\u0119.", "type": "boolean", "required": false }, "product_categories": { "description": "Lista ID kategorii, dla kt\u00f3rych kupon mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Lista ID kategorii, dla kt\u00f3rych kupon nie mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "Je\u015bli \"true\", kupon nie b\u0119dzie stosowany do produkt\u00f3w, kt\u00f3re s\u0105 w promocji.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minimalna kwota zam\u00f3wienia, aby mo\u017cna by\u0142o u\u017cy\u0107 kupon.", "type": "string", "required": false }, "maximum_amount": { "description": "Maksymalna kwota zam\u00f3wienia, aby mo\u017cna by\u0142o u\u017cy\u0107 kupon.", "type": "string", "required": false }, "email_restrictions": { "description": "Lista adres\u00f3w e-mail pozwalaj\u0105cych na u\u017cycie kuponu.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "required": false } } }, { "methods": [ "GET" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "code": { "description": "Kod kuponu.", "type": "string", "required": false }, "amount": { "description": "Kwota zni\u017cki. Zawsze powinna by\u0107 warto\u015bci\u0105 numeryczn\u0105, nawet je\u015bli ustawiona jest warto\u015b\u0107 procentowa.", "type": "string", "required": false }, "status": { "description": "Status kuponu. Zawsze powinien by\u0107: szkic, obublikowany lub oczekuje na przegl\u0105d.", "type": "string", "required": false }, "discount_type": { "description": "Determinuje typ rabatu, kt\u00f3ry zostanie zastosowany.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product", "sign_up_fee", "sign_up_fee_percent", "recurring_fee", "recurring_percent", "renewal_percent", "renewal_fee", "renewal_cart", "initial_cart" ], "required": false }, "description": { "description": "Opis kuponu.", "type": "string", "required": false }, "date_expires": { "description": "Data wyga\u015bni\u0119cia kuponu, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "Data wa\u017cno\u015bci kuponu (GMT).", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "Je\u015bli \"true\", kupon mo\u017ce by\u0107 u\u017cyty tylko pojedynczo. Inne zastosowane kupony zostan\u0105 usuni\u0119te z koszyka.", "type": "boolean", "required": false }, "product_ids": { "description": "Lista ID produkt\u00f3w, dla kt\u00f3rych kupon mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "Lista ID produkt\u00f3w, dla kt\u00f3rych kupon nie mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Ile razy kupon mo\u017ce zosta\u0107 u\u017cyty.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Liczba, ile razy dany kupon mo\u017ce zosta\u0107 u\u017cyty przez jednego klienta.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Maksymalna liczba produkt\u00f3w w koszyku dla kt\u00f3rych mo\u017cna u\u017cy\u0107 kuponu.", "type": "integer", "required": false }, "free_shipping": { "description": "Je\u015bli \"true\" i darmowa wysy\u0142ka wymaga u\u017cycia kuponu, ten kupon w\u0142\u0105czy darmow\u0105 wysy\u0142k\u0119.", "type": "boolean", "required": false }, "product_categories": { "description": "Lista ID kategorii, dla kt\u00f3rych kupon mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Lista ID kategorii, dla kt\u00f3rych kupon nie mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "Je\u015bli \"true\", kupon nie b\u0119dzie stosowany do produkt\u00f3w, kt\u00f3re s\u0105 w promocji.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minimalna kwota zam\u00f3wienia, aby mo\u017cna by\u0142o u\u017cy\u0107 kupon.", "type": "string", "required": false }, "maximum_amount": { "description": "Maksymalna kwota zam\u00f3wienia, aby mo\u017cna by\u0142o u\u017cy\u0107 kupon.", "type": "string", "required": false }, "email_restrictions": { "description": "Lista adres\u00f3w e-mail pozwalaj\u0105cych na u\u017cycie kuponu.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "required": false } } } ] }, "\/wc-analytics\/coupons\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "code": { "description": "Kod kuponu.", "type": "string", "required": false }, "amount": { "description": "Kwota zni\u017cki. Zawsze powinna by\u0107 warto\u015bci\u0105 numeryczn\u0105, nawet je\u015bli ustawiona jest warto\u015b\u0107 procentowa.", "type": "string", "required": false }, "status": { "description": "Status kuponu. Zawsze powinien by\u0107: szkic, obublikowany lub oczekuje na przegl\u0105d.", "type": "string", "required": false }, "discount_type": { "description": "Determinuje typ rabatu, kt\u00f3ry zostanie zastosowany.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product", "sign_up_fee", "sign_up_fee_percent", "recurring_fee", "recurring_percent", "renewal_percent", "renewal_fee", "renewal_cart", "initial_cart" ], "required": false }, "description": { "description": "Opis kuponu.", "type": "string", "required": false }, "date_expires": { "description": "Data wyga\u015bni\u0119cia kuponu, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "Data wa\u017cno\u015bci kuponu (GMT).", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "Je\u015bli \"true\", kupon mo\u017ce by\u0107 u\u017cyty tylko pojedynczo. Inne zastosowane kupony zostan\u0105 usuni\u0119te z koszyka.", "type": "boolean", "required": false }, "product_ids": { "description": "Lista ID produkt\u00f3w, dla kt\u00f3rych kupon mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "Lista ID produkt\u00f3w, dla kt\u00f3rych kupon nie mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Ile razy kupon mo\u017ce zosta\u0107 u\u017cyty.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Liczba, ile razy dany kupon mo\u017ce zosta\u0107 u\u017cyty przez jednego klienta.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Maksymalna liczba produkt\u00f3w w koszyku dla kt\u00f3rych mo\u017cna u\u017cy\u0107 kuponu.", "type": "integer", "required": false }, "free_shipping": { "description": "Je\u015bli \"true\" i darmowa wysy\u0142ka wymaga u\u017cycia kuponu, ten kupon w\u0142\u0105czy darmow\u0105 wysy\u0142k\u0119.", "type": "boolean", "required": false }, "product_categories": { "description": "Lista ID kategorii, dla kt\u00f3rych kupon mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Lista ID kategorii, dla kt\u00f3rych kupon nie mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "Je\u015bli \"true\", kupon nie b\u0119dzie stosowany do produkt\u00f3w, kt\u00f3re s\u0105 w promocji.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minimalna kwota zam\u00f3wienia, aby mo\u017cna by\u0142o u\u017cy\u0107 kupon.", "type": "string", "required": false }, "maximum_amount": { "description": "Maksymalna kwota zam\u00f3wienia, aby mo\u017cna by\u0142o u\u017cy\u0107 kupon.", "type": "string", "required": false }, "email_restrictions": { "description": "Lista adres\u00f3w e-mail pozwalaj\u0105cych na u\u017cycie kuponu.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "code": { "description": "Kod kuponu.", "type": "string", "required": false }, "amount": { "description": "Kwota zni\u017cki. Zawsze powinna by\u0107 warto\u015bci\u0105 numeryczn\u0105, nawet je\u015bli ustawiona jest warto\u015b\u0107 procentowa.", "type": "string", "required": false }, "status": { "description": "Status kuponu. Zawsze powinien by\u0107: szkic, obublikowany lub oczekuje na przegl\u0105d.", "type": "string", "required": false }, "discount_type": { "description": "Determinuje typ rabatu, kt\u00f3ry zostanie zastosowany.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product", "sign_up_fee", "sign_up_fee_percent", "recurring_fee", "recurring_percent", "renewal_percent", "renewal_fee", "renewal_cart", "initial_cart" ], "required": false }, "description": { "description": "Opis kuponu.", "type": "string", "required": false }, "date_expires": { "description": "Data wyga\u015bni\u0119cia kuponu, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "Data wa\u017cno\u015bci kuponu (GMT).", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "Je\u015bli \"true\", kupon mo\u017ce by\u0107 u\u017cyty tylko pojedynczo. Inne zastosowane kupony zostan\u0105 usuni\u0119te z koszyka.", "type": "boolean", "required": false }, "product_ids": { "description": "Lista ID produkt\u00f3w, dla kt\u00f3rych kupon mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "Lista ID produkt\u00f3w, dla kt\u00f3rych kupon nie mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Ile razy kupon mo\u017ce zosta\u0107 u\u017cyty.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Liczba, ile razy dany kupon mo\u017ce zosta\u0107 u\u017cyty przez jednego klienta.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Maksymalna liczba produkt\u00f3w w koszyku dla kt\u00f3rych mo\u017cna u\u017cy\u0107 kuponu.", "type": "integer", "required": false }, "free_shipping": { "description": "Je\u015bli \"true\" i darmowa wysy\u0142ka wymaga u\u017cycia kuponu, ten kupon w\u0142\u0105czy darmow\u0105 wysy\u0142k\u0119.", "type": "boolean", "required": false }, "product_categories": { "description": "Lista ID kategorii, dla kt\u00f3rych kupon mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Lista ID kategorii, dla kt\u00f3rych kupon nie mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "Je\u015bli \"true\", kupon nie b\u0119dzie stosowany do produkt\u00f3w, kt\u00f3re s\u0105 w promocji.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minimalna kwota zam\u00f3wienia, aby mo\u017cna by\u0142o u\u017cy\u0107 kupon.", "type": "string", "required": false }, "maximum_amount": { "description": "Maksymalna kwota zam\u00f3wienia, aby mo\u017cna by\u0142o u\u017cy\u0107 kupon.", "type": "string", "required": false }, "email_restrictions": { "description": "Lista adres\u00f3w e-mail pozwalaj\u0105cych na u\u017cycie kuponu.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/wp-json\/wc-analytics\/data\/countries" } ] } }, "\/wc-analytics\/data\/countries\/(?P[\\w-]+)": { "namespace": "wc-analytics", "methods": [ "GET", "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "location": { "description": "Kod kraju ISO3166 alpha-2.", "type": "string", "required": false } } }, { "methods": [ "GET" ], "args": { "location": { "description": "Kod kraju ISO3166 alpha-2.", "type": "string", "required": false } } } ] }, "\/wc-analytics\/data\/download-ips": { "namespace": "wc-analytics", "methods": [ "GET", "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc-analytics\/data\/download-ips" } ] } }, "\/wc-analytics\/orders": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ogranicz wynik do zasob\u00f3w zmienionych po danej dacie zgodnej z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ogranicz odpowied\u017a do zasob\u00f3w zmienionych przed dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Czy bra\u0107 pod uwag\u0119 daty GMT publikacji lub modyfikacji podczas ograniczania odpowiedzi.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "parent": { "description": "Ogranicz zestaw wynik\u00f3w do tych z okre\u015blonych identyfikator\u00f3w nadrz\u0119dnych.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Ogranicz zestaw wynik\u00f3w do wszystkich element\u00f3w z wyj\u0105tkiem tych o okre\u015blonym identyfikatorze nadrz\u0119dnym.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "status": { "default": [ "any" ], "description": "Ogranicz wyniki do zam\u00f3wie\u0144 z okre\u015blonymi statusami.", "type": "array", "items": { "type": "string", "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ] }, "required": false }, "customer": { "description": "Ogranicz zestaw wynik\u00f3w do zam\u00f3wie\u0144 danego klienta.", "type": "integer", "required": false }, "product": { "description": "Ogranicz zestaw wynik\u00f3w do zam\u00f3wie\u0144 z danym produktem.", "type": "integer", "required": false }, "dp": { "default": 2, "description": "Liczba miejsc dziesi\u0119tnych u\u017cywanych w ka\u017cdym zasobie.", "type": "integer", "required": false }, "order_item_display_meta": { "default": false, "description": "Pokazuj wy\u0142\u0105cznie dane meta przeznaczone do wy\u015bwietlania dla zam\u00f3wie\u0144.", "type": "boolean", "required": false }, "include_meta": { "default": [], "description": "Ogranicz metadane do wybranych kluczy.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Upewnij si\u0119, \u017ce metadane wykluczaj\u0105 okre\u015blone klucze.", "type": "array", "items": { "type": "string" }, "required": false }, "number": { "description": "Ogranicz wyniki do zam\u00f3wie\u0144 pasuj\u0105cych do fragmentu numeru zam\u00f3wienia.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "parent_id": { "description": "ID zam\u00f3wienia nadrz\u0119dnego.", "type": "integer", "required": false }, "status": { "default": "pending", "description": "Status zam\u00f3wienia.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "default": "GBP", "description": "Waluta zam\u00f3wienia, w formacie ISO.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "default": 0, "description": "ID u\u017cytkownika, kt\u00f3ry jest w\u0142a\u015bcicielem zam\u00f3wienia. 0 dla go\u015bci.", "type": "integer", "required": false }, "customer_note": { "description": "Notatka pozostawiona przez klienta podczas zam\u00f3wienia.", "type": "string", "required": false }, "billing": { "description": "Adres rozliczeniowy.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Pierwsza linia adresu", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Druga linia adresu", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod kraju w formacie ISO 3166-1 alfa-2.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Adres e-mail.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numer telefonu.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Adres wysy\u0142ki.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Pierwsza linia adresu", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Druga linia adresu", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod kraju w formacie ISO 3166-1 alfa-2.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "ID metody p\u0142atno\u015bci.", "type": "string", "required": false }, "payment_method_title": { "description": "Tytu\u0142 metody p\u0142atno\u015bci.", "type": "string", "required": false }, "transaction_id": { "description": "Unikalny numer ID transakcji.", "type": "string", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Dane pozycji zam\u00f3wienia.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nazwa produktu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Nazwa produktu nadrz\u0119dnego, je\u015bli produkt jest wariantem.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "ID produktu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "ID wariantu, je\u015bli dotyczy.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Zam\u00f3wiona ilo\u015b\u0107.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Klasa podatkowa produktu.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Suma pozycji (przed rabatami).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Suma podatk\u00f3w pozycji (przed rabatami).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Suma cz\u0119\u015bciowa podatku.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Klucz danych meta do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Warto\u015b\u0107 danych meta do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "SKU produktu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Cena produktu.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "W\u0142a\u015bciwo\u015bci g\u0142\u00f3wnego obrazka produktu.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Dane wysy\u0142kowe pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nazwa metody wysy\u0142ki.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "ID metody wysy\u0142ki.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "ID instancji wysy\u0142ki.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Dane op\u0142at pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nazwa op\u0142aty.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Klasa podatkowa op\u0142aty.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Status podatku op\u0142aty.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Suma cz\u0119\u015bciowa podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Dane kupon\u00f3w pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Kod kuponu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "\u0141\u0105czny rabat.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "\u0141\u0105czny podatek rabatu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Typ rabatu.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Kwota rabatu okre\u015blona w kuponie (warto\u015b\u0107 bezwzgl\u0119dna lub procent, w zale\u017cno\u015bci od rodzaju rabatu).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Czy kupon zapewnia darmow\u0105 wysy\u0142k\u0119.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "default": false, "description": "Wybierz, czy zam\u00f3wienie jest zap\u0142acone. Status zam\u00f3wienia zostanie zmieniony na w trakcie realizacji i stan magazynowy zostanie zmniejszony.", "type": "boolean", "required": false }, "manual_update": { "default": false, "description": "Ustaw akcj\u0119 jako r\u0119czn\u0105, aby uwaga do zam\u00f3wienia zosta\u0142a zarejestrowana jako \"dodana przez u\u017cytkownika\".", "type": "boolean", "required": false } } }, { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ogranicz wynik do zasob\u00f3w zmienionych po danej dacie zgodnej z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ogranicz odpowied\u017a do zasob\u00f3w zmienionych przed dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Czy bra\u0107 pod uwag\u0119 daty GMT publikacji lub modyfikacji podczas ograniczania odpowiedzi.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "parent": { "description": "Ogranicz zestaw wynik\u00f3w do tych z okre\u015blonych identyfikator\u00f3w nadrz\u0119dnych.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Ogranicz zestaw wynik\u00f3w do wszystkich element\u00f3w z wyj\u0105tkiem tych o okre\u015blonym identyfikatorze nadrz\u0119dnym.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "status": { "default": [ "any" ], "description": "Ogranicz wyniki do zam\u00f3wie\u0144 z okre\u015blonymi statusami.", "type": "array", "items": { "type": "string", "enum": [ "any", "trash", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ] }, "required": false }, "customer": { "description": "Ogranicz zestaw wynik\u00f3w do zam\u00f3wie\u0144 danego klienta.", "type": "integer", "required": false }, "product": { "description": "Ogranicz zestaw wynik\u00f3w do zam\u00f3wie\u0144 z danym produktem.", "type": "integer", "required": false }, "dp": { "default": 2, "description": "Liczba miejsc dziesi\u0119tnych u\u017cywanych w ka\u017cdym zasobie.", "type": "integer", "required": false }, "order_item_display_meta": { "default": false, "description": "Pokazuj wy\u0142\u0105cznie dane meta przeznaczone do wy\u015bwietlania dla zam\u00f3wie\u0144.", "type": "boolean", "required": false }, "include_meta": { "default": [], "description": "Ogranicz metadane do wybranych kluczy.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Upewnij si\u0119, \u017ce metadane wykluczaj\u0105 okre\u015blone klucze.", "type": "array", "items": { "type": "string" }, "required": false }, "number": { "description": "Ogranicz wyniki do zam\u00f3wie\u0144 pasuj\u0105cych do fragmentu numeru zam\u00f3wienia.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "parent_id": { "description": "ID zam\u00f3wienia nadrz\u0119dnego.", "type": "integer", "required": false }, "status": { "default": "pending", "description": "Status zam\u00f3wienia.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "default": "GBP", "description": "Waluta zam\u00f3wienia, w formacie ISO.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "default": 0, "description": "ID u\u017cytkownika, kt\u00f3ry jest w\u0142a\u015bcicielem zam\u00f3wienia. 0 dla go\u015bci.", "type": "integer", "required": false }, "customer_note": { "description": "Notatka pozostawiona przez klienta podczas zam\u00f3wienia.", "type": "string", "required": false }, "billing": { "description": "Adres rozliczeniowy.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Pierwsza linia adresu", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Druga linia adresu", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod kraju w formacie ISO 3166-1 alfa-2.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Adres e-mail.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numer telefonu.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Adres wysy\u0142ki.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Pierwsza linia adresu", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Druga linia adresu", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod kraju w formacie ISO 3166-1 alfa-2.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "ID metody p\u0142atno\u015bci.", "type": "string", "required": false }, "payment_method_title": { "description": "Tytu\u0142 metody p\u0142atno\u015bci.", "type": "string", "required": false }, "transaction_id": { "description": "Unikalny numer ID transakcji.", "type": "string", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Dane pozycji zam\u00f3wienia.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nazwa produktu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Nazwa produktu nadrz\u0119dnego, je\u015bli produkt jest wariantem.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "ID produktu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "ID wariantu, je\u015bli dotyczy.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Zam\u00f3wiona ilo\u015b\u0107.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Klasa podatkowa produktu.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Suma pozycji (przed rabatami).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Suma podatk\u00f3w pozycji (przed rabatami).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Suma cz\u0119\u015bciowa podatku.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Klucz danych meta do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Warto\u015b\u0107 danych meta do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "SKU produktu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Cena produktu.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "W\u0142a\u015bciwo\u015bci g\u0142\u00f3wnego obrazka produktu.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Dane wysy\u0142kowe pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nazwa metody wysy\u0142ki.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "ID metody wysy\u0142ki.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "ID instancji wysy\u0142ki.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Dane op\u0142at pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nazwa op\u0142aty.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Klasa podatkowa op\u0142aty.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Status podatku op\u0142aty.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Suma cz\u0119\u015bciowa podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Dane kupon\u00f3w pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Kod kuponu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "\u0141\u0105czny rabat.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "\u0141\u0105czny podatek rabatu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Typ rabatu.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Kwota rabatu okre\u015blona w kuponie (warto\u015b\u0107 bezwzgl\u0119dna lub procent, w zale\u017cno\u015bci od rodzaju rabatu).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Czy kupon zapewnia darmow\u0105 wysy\u0142k\u0119.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "default": false, "description": "Wybierz, czy zam\u00f3wienie jest zap\u0142acone. Status zam\u00f3wienia zostanie zmieniony na w trakcie realizacji i stan magazynowy zostanie zmniejszony.", "type": "boolean", "required": false }, "manual_update": { "default": false, "description": "Ustaw akcj\u0119 jako r\u0119czn\u0105, aby uwaga do zam\u00f3wienia zosta\u0142a zarejestrowana jako \"dodana przez u\u017cytkownika\".", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "parent_id": { "description": "ID zam\u00f3wienia nadrz\u0119dnego.", "type": "integer", "required": false }, "status": { "description": "Status zam\u00f3wienia.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "description": "Waluta zam\u00f3wienia, w formacie ISO.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "description": "ID u\u017cytkownika, kt\u00f3ry jest w\u0142a\u015bcicielem zam\u00f3wienia. 0 dla go\u015bci.", "type": "integer", "required": false }, "customer_note": { "description": "Notatka pozostawiona przez klienta podczas zam\u00f3wienia.", "type": "string", "required": false }, "billing": { "description": "Adres rozliczeniowy.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Pierwsza linia adresu", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Druga linia adresu", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod kraju w formacie ISO 3166-1 alfa-2.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Adres e-mail.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numer telefonu.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Adres wysy\u0142ki.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Pierwsza linia adresu", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Druga linia adresu", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod kraju w formacie ISO 3166-1 alfa-2.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "ID metody p\u0142atno\u015bci.", "type": "string", "required": false }, "payment_method_title": { "description": "Tytu\u0142 metody p\u0142atno\u015bci.", "type": "string", "required": false }, "transaction_id": { "description": "Unikalny numer ID transakcji.", "type": "string", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Dane pozycji zam\u00f3wienia.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nazwa produktu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Nazwa produktu nadrz\u0119dnego, je\u015bli produkt jest wariantem.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "ID produktu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "ID wariantu, je\u015bli dotyczy.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Zam\u00f3wiona ilo\u015b\u0107.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Klasa podatkowa produktu.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Suma pozycji (przed rabatami).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Suma podatk\u00f3w pozycji (przed rabatami).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Suma cz\u0119\u015bciowa podatku.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Klucz danych meta do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Warto\u015b\u0107 danych meta do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "SKU produktu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Cena produktu.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "W\u0142a\u015bciwo\u015bci g\u0142\u00f3wnego obrazka produktu.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Dane wysy\u0142kowe pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nazwa metody wysy\u0142ki.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "ID metody wysy\u0142ki.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "ID instancji wysy\u0142ki.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Dane op\u0142at pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nazwa op\u0142aty.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Klasa podatkowa op\u0142aty.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Status podatku op\u0142aty.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Suma cz\u0119\u015bciowa podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Dane kupon\u00f3w pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Kod kuponu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "\u0141\u0105czny rabat.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "\u0141\u0105czny podatek rabatu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Typ rabatu.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Kwota rabatu okre\u015blona w kuponie (warto\u015b\u0107 bezwzgl\u0119dna lub procent, w zale\u017cno\u015bci od rodzaju rabatu).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Czy kupon zapewnia darmow\u0105 wysy\u0142k\u0119.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "description": "Wybierz, czy zam\u00f3wienie jest zap\u0142acone. Status zam\u00f3wienia zostanie zmieniony na w trakcie realizacji i stan magazynowy zostanie zmniejszony.", "type": "boolean", "required": false }, "manual_update": { "description": "Ustaw akcj\u0119 jako r\u0119czn\u0105, aby uwaga do zam\u00f3wienia zosta\u0142a zarejestrowana jako \"dodana przez u\u017cytkownika\".", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "required": false } } }, { "methods": [ "GET" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "parent_id": { "description": "ID zam\u00f3wienia nadrz\u0119dnego.", "type": "integer", "required": false }, "status": { "description": "Status zam\u00f3wienia.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "description": "Waluta zam\u00f3wienia, w formacie ISO.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "description": "ID u\u017cytkownika, kt\u00f3ry jest w\u0142a\u015bcicielem zam\u00f3wienia. 0 dla go\u015bci.", "type": "integer", "required": false }, "customer_note": { "description": "Notatka pozostawiona przez klienta podczas zam\u00f3wienia.", "type": "string", "required": false }, "billing": { "description": "Adres rozliczeniowy.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Pierwsza linia adresu", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Druga linia adresu", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod kraju w formacie ISO 3166-1 alfa-2.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Adres e-mail.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numer telefonu.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Adres wysy\u0142ki.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Pierwsza linia adresu", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Druga linia adresu", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod kraju w formacie ISO 3166-1 alfa-2.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "ID metody p\u0142atno\u015bci.", "type": "string", "required": false }, "payment_method_title": { "description": "Tytu\u0142 metody p\u0142atno\u015bci.", "type": "string", "required": false }, "transaction_id": { "description": "Unikalny numer ID transakcji.", "type": "string", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Dane pozycji zam\u00f3wienia.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nazwa produktu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Nazwa produktu nadrz\u0119dnego, je\u015bli produkt jest wariantem.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "ID produktu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "ID wariantu, je\u015bli dotyczy.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Zam\u00f3wiona ilo\u015b\u0107.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Klasa podatkowa produktu.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Suma pozycji (przed rabatami).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Suma podatk\u00f3w pozycji (przed rabatami).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Suma cz\u0119\u015bciowa podatku.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Klucz danych meta do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Warto\u015b\u0107 danych meta do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "SKU produktu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Cena produktu.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "W\u0142a\u015bciwo\u015bci g\u0142\u00f3wnego obrazka produktu.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Dane wysy\u0142kowe pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nazwa metody wysy\u0142ki.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "ID metody wysy\u0142ki.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "ID instancji wysy\u0142ki.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Dane op\u0142at pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nazwa op\u0142aty.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Klasa podatkowa op\u0142aty.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Status podatku op\u0142aty.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Suma cz\u0119\u015bciowa podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Dane kupon\u00f3w pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Kod kuponu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "\u0141\u0105czny rabat.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "\u0141\u0105czny podatek rabatu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Typ rabatu.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Kwota rabatu okre\u015blona w kuponie (warto\u015b\u0107 bezwzgl\u0119dna lub procent, w zale\u017cno\u015bci od rodzaju rabatu).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Czy kupon zapewnia darmow\u0105 wysy\u0142k\u0119.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "description": "Wybierz, czy zam\u00f3wienie jest zap\u0142acone. Status zam\u00f3wienia zostanie zmieniony na w trakcie realizacji i stan magazynowy zostanie zmniejszony.", "type": "boolean", "required": false }, "manual_update": { "description": "Ustaw akcj\u0119 jako r\u0119czn\u0105, aby uwaga do zam\u00f3wienia zosta\u0142a zarejestrowana jako \"dodana przez u\u017cytkownika\".", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "required": false } } } ] }, "\/wc-analytics\/orders\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "parent_id": { "description": "ID zam\u00f3wienia nadrz\u0119dnego.", "type": "integer", "required": false }, "status": { "description": "Status zam\u00f3wienia.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "description": "Waluta zam\u00f3wienia, w formacie ISO.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "description": "ID u\u017cytkownika, kt\u00f3ry jest w\u0142a\u015bcicielem zam\u00f3wienia. 0 dla go\u015bci.", "type": "integer", "required": false }, "customer_note": { "description": "Notatka pozostawiona przez klienta podczas zam\u00f3wienia.", "type": "string", "required": false }, "billing": { "description": "Adres rozliczeniowy.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Pierwsza linia adresu", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Druga linia adresu", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod kraju w formacie ISO 3166-1 alfa-2.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Adres e-mail.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numer telefonu.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Adres wysy\u0142ki.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Pierwsza linia adresu", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Druga linia adresu", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod kraju w formacie ISO 3166-1 alfa-2.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "ID metody p\u0142atno\u015bci.", "type": "string", "required": false }, "payment_method_title": { "description": "Tytu\u0142 metody p\u0142atno\u015bci.", "type": "string", "required": false }, "transaction_id": { "description": "Unikalny numer ID transakcji.", "type": "string", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Dane pozycji zam\u00f3wienia.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nazwa produktu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Nazwa produktu nadrz\u0119dnego, je\u015bli produkt jest wariantem.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "ID produktu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "ID wariantu, je\u015bli dotyczy.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Zam\u00f3wiona ilo\u015b\u0107.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Klasa podatkowa produktu.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Suma pozycji (przed rabatami).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Suma podatk\u00f3w pozycji (przed rabatami).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Suma cz\u0119\u015bciowa podatku.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Klucz danych meta do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Warto\u015b\u0107 danych meta do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "SKU produktu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Cena produktu.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "W\u0142a\u015bciwo\u015bci g\u0142\u00f3wnego obrazka produktu.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Dane wysy\u0142kowe pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nazwa metody wysy\u0142ki.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "ID metody wysy\u0142ki.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "ID instancji wysy\u0142ki.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Dane op\u0142at pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nazwa op\u0142aty.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Klasa podatkowa op\u0142aty.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Status podatku op\u0142aty.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Suma cz\u0119\u015bciowa podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Dane kupon\u00f3w pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Kod kuponu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "\u0141\u0105czny rabat.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "\u0141\u0105czny podatek rabatu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Typ rabatu.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Kwota rabatu okre\u015blona w kuponie (warto\u015b\u0107 bezwzgl\u0119dna lub procent, w zale\u017cno\u015bci od rodzaju rabatu).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Czy kupon zapewnia darmow\u0105 wysy\u0142k\u0119.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "description": "Wybierz, czy zam\u00f3wienie jest zap\u0142acone. Status zam\u00f3wienia zostanie zmieniony na w trakcie realizacji i stan magazynowy zostanie zmniejszony.", "type": "boolean", "required": false }, "manual_update": { "description": "Ustaw akcj\u0119 jako r\u0119czn\u0105, aby uwaga do zam\u00f3wienia zosta\u0142a zarejestrowana jako \"dodana przez u\u017cytkownika\".", "type": "boolean", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "parent_id": { "description": "ID zam\u00f3wienia nadrz\u0119dnego.", "type": "integer", "required": false }, "status": { "description": "Status zam\u00f3wienia.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "description": "Waluta zam\u00f3wienia, w formacie ISO.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "description": "ID u\u017cytkownika, kt\u00f3ry jest w\u0142a\u015bcicielem zam\u00f3wienia. 0 dla go\u015bci.", "type": "integer", "required": false }, "customer_note": { "description": "Notatka pozostawiona przez klienta podczas zam\u00f3wienia.", "type": "string", "required": false }, "billing": { "description": "Adres rozliczeniowy.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Pierwsza linia adresu", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Druga linia adresu", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod kraju w formacie ISO 3166-1 alfa-2.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Adres e-mail.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numer telefonu.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Adres wysy\u0142ki.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Pierwsza linia adresu", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Druga linia adresu", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod kraju w formacie ISO 3166-1 alfa-2.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "ID metody p\u0142atno\u015bci.", "type": "string", "required": false }, "payment_method_title": { "description": "Tytu\u0142 metody p\u0142atno\u015bci.", "type": "string", "required": false }, "transaction_id": { "description": "Unikalny numer ID transakcji.", "type": "string", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Dane pozycji zam\u00f3wienia.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nazwa produktu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Nazwa produktu nadrz\u0119dnego, je\u015bli produkt jest wariantem.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "ID produktu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "ID wariantu, je\u015bli dotyczy.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Zam\u00f3wiona ilo\u015b\u0107.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Klasa podatkowa produktu.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Suma pozycji (przed rabatami).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Suma podatk\u00f3w pozycji (przed rabatami).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Suma cz\u0119\u015bciowa podatku.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Klucz danych meta do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Warto\u015b\u0107 danych meta do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "SKU produktu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Cena produktu.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "W\u0142a\u015bciwo\u015bci g\u0142\u00f3wnego obrazka produktu.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Dane wysy\u0142kowe pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nazwa metody wysy\u0142ki.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "ID metody wysy\u0142ki.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "ID instancji wysy\u0142ki.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Dane op\u0142at pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nazwa op\u0142aty.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Klasa podatkowa op\u0142aty.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Status podatku op\u0142aty.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Suma cz\u0119\u015bciowa podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Dane kupon\u00f3w pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Kod kuponu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "\u0141\u0105czny rabat.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "\u0141\u0105czny podatek rabatu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Typ rabatu.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Kwota rabatu okre\u015blona w kuponie (warto\u015b\u0107 bezwzgl\u0119dna lub procent, w zale\u017cno\u015bci od rodzaju rabatu).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Czy kupon zapewnia darmow\u0105 wysy\u0142k\u0119.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "description": "Wybierz, czy zam\u00f3wienie jest zap\u0142acone. Status zam\u00f3wienia zostanie zmieniony na w trakcie realizacji i stan magazynowy zostanie zmniejszony.", "type": "boolean", "required": false }, "manual_update": { "description": "Ustaw akcj\u0119 jako r\u0119czn\u0105, aby uwaga do zam\u00f3wienia zosta\u0142a zarejestrowana jako \"dodana przez u\u017cytkownika\".", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc-analytics\/orders\/batch" } ] } }, "\/wc-analytics\/products": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Wyszukaj wg podobnej nazwy produktu lub SKU.", "type": "string", "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ogranicz wynik do zasob\u00f3w zmienionych po danej dacie zgodnej z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ogranicz odpowied\u017a do zasob\u00f3w zmienionych przed dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Czy bra\u0107 pod uwag\u0119 daty GMT publikacji lub modyfikacji podczas ograniczania odpowiedzi.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "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": "Ogranicz zestaw wynik\u00f3w do tych z okre\u015blonych identyfikator\u00f3w nadrz\u0119dnych.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Ogranicz zestaw wynik\u00f3w do wszystkich element\u00f3w z wyj\u0105tkiem tych o okre\u015blonym identyfikatorze nadrz\u0119dnym.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "brand": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w przypisanych do okre\u015blonego identyfikatora marki.", "type": "string", "required": false }, "slug": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z dan\u0105 nazw\u0105 skr\u00f3con\u0105 (slug).", "type": "string", "required": false }, "status": { "default": "any", "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z danym statusem.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w danego typu.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription" ], "required": false }, "sku": { "description": "Ogranicz wyniki do produkt\u00f3w z wybranymi SKU. U\u017cyj przecink\u00f3w, aby rozdzieli\u0107 dane.", "type": "string", "required": false }, "featured": { "description": "Ogranicz wyniki do wyr\u00f3\u017cnionych produkt\u00f3w.", "type": "boolean", "required": false }, "category": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w w danej kategorii.", "type": "string", "required": false }, "tag": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z danym tagiem.", "type": "string", "required": false }, "shipping_class": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z dan\u0105 klas\u0105 wysy\u0142kow\u0105.", "type": "string", "required": false }, "attribute": { "description": "Ogranicz wyniki do produkt\u00f3w z wybranych atrybutem. U\u017cyj nazwy taksonomii lub bezpo\u015bredniego odno\u015bnika atrybutu.", "type": "string", "required": false }, "attribute_term": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z danym atrybutem (atrybut musi by\u0107 przypisany).", "type": "string", "required": false }, "on_sale": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w w promocji.", "type": "boolean", "required": false }, "min_price": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z minimaln\u0105 cen\u0105.", "type": "string", "required": false }, "max_price": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z maksymaln\u0105 cen\u0105.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Ogranicz metadane do wybranych kluczy.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Upewnij si\u0119, \u017ce metadane wykluczaj\u0105 okre\u015blone klucze.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Ogranicz wyniki do produkt\u00f3w z okre\u015blonym stanem magazynowym.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "search_sku": { "description": "Ogranicz wyniki do SKU cz\u0119\u015bciowo pasuj\u0105cych do frazy.", "type": "string", "required": false }, "include_status": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w o dowolnym statusie.", "type": "array", "items": { "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "exclude_status": { "description": "Wyklucz produkty o dowolnym statusie z zestawu wynik\u00f3w.", "type": "array", "items": { "type": "string", "enum": [ "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "include_types": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w dowolnego rodzaju.", "type": "array", "items": { "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription" ] }, "required": false }, "exclude_types": { "description": "Wyklucz produkty z dowolnym rodzajem z zestawu wynik\u00f3w.", "type": "array", "items": { "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription" ] }, "required": false }, "downloadable": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w do pobrania.", "type": "boolean", "required": false }, "virtual": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w wirtualnych.", "type": "boolean", "required": false }, "low_in_stock": { "description": "Ogranicz wyniki do produkt\u00f3w, kt\u00f3re maj\u0105 niski stan magazynowy, lub brak ich w magazynie. (Przestarza\u0142e)", "type": "boolean", "default": false, "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Nazwa produktu.", "type": "string", "required": false }, "slug": { "description": "Uproszczona nazwa produktu.", "type": "string", "required": false }, "date_created": { "description": "Data dodania produktu zosta\u0142a utworzona w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Data utworzenia produktu (GMT).", "type": [ "null", "string" ], "required": false }, "type": { "default": "simple", "description": "Typ produktu.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription" ], "required": false }, "status": { "default": "publish", "description": "Status produktu (status publikacji).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "default": false, "description": "Produkt wyr\u00f3\u017cniony.", "type": "boolean", "required": false }, "catalog_visibility": { "default": "visible", "description": "Widoczno\u015b\u0107 w sklepie.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Opis produktu.", "type": "string", "required": false }, "short_description": { "description": "Kr\u00f3tki opis produktu.", "type": "string", "required": false }, "sku": { "description": "Jednostka magazynowa (SKU).", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN lub ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Cena produktu.", "type": "string", "required": false }, "sale_price": { "description": "Cena produktu po przecenie.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data rozpocz\u0119cia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Data rozpocz\u0119cia promocji (GMT).", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "virtual": { "default": false, "description": "Czy produkt jest wirtualny.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Je\u015bli produkt jest do pobrania.", "type": "boolean", "required": false }, "downloads": { "description": "Lista plik\u00f3w do pobrania.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer", "required": false }, "external_url": { "description": "Zewn\u0119trzny URL produktu. Tylko dla produkt\u00f3w zewn\u0119trznych.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Tekst przycisku produktu zewn\u0119trznego. Tylko dla produkt\u00f3w zewn\u0119trznych.", "type": "string", "required": false }, "tax_status": { "default": "taxable", "description": "Status podatku.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Klasa podatkowa.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Zarz\u0105dzanie stanem magazynowym na poziomie produktu.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stan magazynowy.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Kontroluje stan magazynowy produktu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Niski stan magazynowy dla tego produktu.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "default": false, "description": "Pozw\u00f3l na zakup tylko jednej sztuki produktu w zam\u00f3wieniu.", "type": "boolean", "required": false }, "weight": { "description": "Waga produktu (kg).", "type": "string", "required": false }, "dimensions": { "description": "Rozmiary produktu.", "type": "object", "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "reviews_allowed": { "default": true, "description": "Pozwalaj na opinie.", "type": "boolean", "required": false }, "post_password": { "description": "Has\u0142o do wpisu.", "type": "string", "required": false }, "upsell_ids": { "description": "Lista ID produkt\u00f3w up-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Lista ID produkt\u00f3w cross-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "ID nadrz\u0119dnego produktu.", "type": "integer", "required": false }, "purchase_note": { "description": "Opcjonalna notatka wysy\u0142ana do klienta po zakupie.", "type": "string", "required": false }, "categories": { "description": "Lista kategorii.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID kategorii.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa kategorii.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Uproszczona nazwa kategorii.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Lista tag\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID tagu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa tagu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Uproszczona nazwa tagu.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Lista obrazk\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Lista atrybut\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Pozycja atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Ustaw jesli atrybut ma by\u0107 widoczny w \"Dodtkowe informacje\" na stronie produktu.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Ustaw je\u015bli atrybut mo\u017ce by\u0107 u\u017cywany jako wariant.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Lista dostepnych warto\u015bci atrybutu.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Domy\u015blne atrybuty wariantu.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, u\u017cywana dla w\u0142asnego sortowania produkt\u00f3w.", "type": "integer", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Wyszukaj wg podobnej nazwy produktu lub SKU.", "type": "string", "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ogranicz wynik do zasob\u00f3w zmienionych po danej dacie zgodnej z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ogranicz odpowied\u017a do zasob\u00f3w zmienionych przed dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Czy bra\u0107 pod uwag\u0119 daty GMT publikacji lub modyfikacji podczas ograniczania odpowiedzi.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "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": "Ogranicz zestaw wynik\u00f3w do tych z okre\u015blonych identyfikator\u00f3w nadrz\u0119dnych.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Ogranicz zestaw wynik\u00f3w do wszystkich element\u00f3w z wyj\u0105tkiem tych o okre\u015blonym identyfikatorze nadrz\u0119dnym.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "brand": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w przypisanych do okre\u015blonego identyfikatora marki.", "type": "string", "required": false }, "slug": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z dan\u0105 nazw\u0105 skr\u00f3con\u0105 (slug).", "type": "string", "required": false }, "status": { "default": "any", "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z danym statusem.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w danego typu.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription" ], "required": false }, "sku": { "description": "Ogranicz wyniki do produkt\u00f3w z wybranymi SKU. U\u017cyj przecink\u00f3w, aby rozdzieli\u0107 dane.", "type": "string", "required": false }, "featured": { "description": "Ogranicz wyniki do wyr\u00f3\u017cnionych produkt\u00f3w.", "type": "boolean", "required": false }, "category": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w w danej kategorii.", "type": "string", "required": false }, "tag": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z danym tagiem.", "type": "string", "required": false }, "shipping_class": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z dan\u0105 klas\u0105 wysy\u0142kow\u0105.", "type": "string", "required": false }, "attribute": { "description": "Ogranicz wyniki do produkt\u00f3w z wybranych atrybutem. U\u017cyj nazwy taksonomii lub bezpo\u015bredniego odno\u015bnika atrybutu.", "type": "string", "required": false }, "attribute_term": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z danym atrybutem (atrybut musi by\u0107 przypisany).", "type": "string", "required": false }, "on_sale": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w w promocji.", "type": "boolean", "required": false }, "min_price": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z minimaln\u0105 cen\u0105.", "type": "string", "required": false }, "max_price": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z maksymaln\u0105 cen\u0105.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Ogranicz metadane do wybranych kluczy.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Upewnij si\u0119, \u017ce metadane wykluczaj\u0105 okre\u015blone klucze.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Ogranicz wyniki do produkt\u00f3w z okre\u015blonym stanem magazynowym.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "search_sku": { "description": "Ogranicz wyniki do SKU cz\u0119\u015bciowo pasuj\u0105cych do frazy.", "type": "string", "required": false }, "include_status": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w o dowolnym statusie.", "type": "array", "items": { "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "exclude_status": { "description": "Wyklucz produkty o dowolnym statusie z zestawu wynik\u00f3w.", "type": "array", "items": { "type": "string", "enum": [ "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "include_types": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w dowolnego rodzaju.", "type": "array", "items": { "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription" ] }, "required": false }, "exclude_types": { "description": "Wyklucz produkty z dowolnym rodzajem z zestawu wynik\u00f3w.", "type": "array", "items": { "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription" ] }, "required": false }, "downloadable": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w do pobrania.", "type": "boolean", "required": false }, "virtual": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w wirtualnych.", "type": "boolean", "required": false }, "low_in_stock": { "description": "Ogranicz wyniki do produkt\u00f3w, kt\u00f3re maj\u0105 niski stan magazynowy, lub brak ich w magazynie. (Przestarza\u0142e)", "type": "boolean", "default": false, "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Nazwa produktu.", "type": "string", "required": false }, "slug": { "description": "Uproszczona nazwa produktu.", "type": "string", "required": false }, "date_created": { "description": "Data dodania produktu zosta\u0142a utworzona w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Data utworzenia produktu (GMT).", "type": [ "null", "string" ], "required": false }, "type": { "default": "simple", "description": "Typ produktu.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription" ], "required": false }, "status": { "default": "publish", "description": "Status produktu (status publikacji).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "default": false, "description": "Produkt wyr\u00f3\u017cniony.", "type": "boolean", "required": false }, "catalog_visibility": { "default": "visible", "description": "Widoczno\u015b\u0107 w sklepie.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Opis produktu.", "type": "string", "required": false }, "short_description": { "description": "Kr\u00f3tki opis produktu.", "type": "string", "required": false }, "sku": { "description": "Jednostka magazynowa (SKU).", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN lub ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Cena produktu.", "type": "string", "required": false }, "sale_price": { "description": "Cena produktu po przecenie.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data rozpocz\u0119cia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Data rozpocz\u0119cia promocji (GMT).", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "virtual": { "default": false, "description": "Czy produkt jest wirtualny.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Je\u015bli produkt jest do pobrania.", "type": "boolean", "required": false }, "downloads": { "description": "Lista plik\u00f3w do pobrania.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer", "required": false }, "external_url": { "description": "Zewn\u0119trzny URL produktu. Tylko dla produkt\u00f3w zewn\u0119trznych.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Tekst przycisku produktu zewn\u0119trznego. Tylko dla produkt\u00f3w zewn\u0119trznych.", "type": "string", "required": false }, "tax_status": { "default": "taxable", "description": "Status podatku.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Klasa podatkowa.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Zarz\u0105dzanie stanem magazynowym na poziomie produktu.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stan magazynowy.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Kontroluje stan magazynowy produktu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Niski stan magazynowy dla tego produktu.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "default": false, "description": "Pozw\u00f3l na zakup tylko jednej sztuki produktu w zam\u00f3wieniu.", "type": "boolean", "required": false }, "weight": { "description": "Waga produktu (kg).", "type": "string", "required": false }, "dimensions": { "description": "Rozmiary produktu.", "type": "object", "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "reviews_allowed": { "default": true, "description": "Pozwalaj na opinie.", "type": "boolean", "required": false }, "post_password": { "description": "Has\u0142o do wpisu.", "type": "string", "required": false }, "upsell_ids": { "description": "Lista ID produkt\u00f3w up-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Lista ID produkt\u00f3w cross-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "ID nadrz\u0119dnego produktu.", "type": "integer", "required": false }, "purchase_note": { "description": "Opcjonalna notatka wysy\u0142ana do klienta po zakupie.", "type": "string", "required": false }, "categories": { "description": "Lista kategorii.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID kategorii.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa kategorii.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Uproszczona nazwa kategorii.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Lista tag\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID tagu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa tagu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Uproszczona nazwa tagu.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Lista obrazk\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Lista atrybut\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Pozycja atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Ustaw jesli atrybut ma by\u0107 widoczny w \"Dodtkowe informacje\" na stronie produktu.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Ustaw je\u015bli atrybut mo\u017ce by\u0107 u\u017cywany jako wariant.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Lista dostepnych warto\u015bci atrybutu.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Domy\u015blne atrybuty wariantu.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, u\u017cywana dla w\u0142asnego sortowania produkt\u00f3w.", "type": "integer", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "name": { "description": "Nazwa produktu.", "type": "string", "required": false }, "slug": { "description": "Uproszczona nazwa produktu.", "type": "string", "required": false }, "date_created": { "description": "Data dodania produktu zosta\u0142a utworzona w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Data utworzenia produktu (GMT).", "type": [ "null", "string" ], "required": false }, "type": { "description": "Typ produktu.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription" ], "required": false }, "status": { "description": "Status produktu (status publikacji).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "description": "Produkt wyr\u00f3\u017cniony.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Widoczno\u015b\u0107 w sklepie.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Opis produktu.", "type": "string", "required": false }, "short_description": { "description": "Kr\u00f3tki opis produktu.", "type": "string", "required": false }, "sku": { "description": "Jednostka magazynowa (SKU).", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN lub ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Cena produktu.", "type": "string", "required": false }, "sale_price": { "description": "Cena produktu po przecenie.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data rozpocz\u0119cia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Data rozpocz\u0119cia promocji (GMT).", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "Czy produkt jest wirtualny.", "type": "boolean", "required": false }, "downloadable": { "description": "Je\u015bli produkt jest do pobrania.", "type": "boolean", "required": false }, "downloads": { "description": "Lista plik\u00f3w do pobrania.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer", "required": false }, "download_expiry": { "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer", "required": false }, "external_url": { "description": "Zewn\u0119trzny URL produktu. Tylko dla produkt\u00f3w zewn\u0119trznych.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Tekst przycisku produktu zewn\u0119trznego. Tylko dla produkt\u00f3w zewn\u0119trznych.", "type": "string", "required": false }, "tax_status": { "description": "Status podatku.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Klasa podatkowa.", "type": "string", "required": false }, "manage_stock": { "description": "Zarz\u0105dzanie stanem magazynowym na poziomie produktu.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stan magazynowy.", "type": "integer", "required": false }, "stock_status": { "description": "Kontroluje stan magazynowy produktu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Niski stan magazynowy dla tego produktu.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "description": "Pozw\u00f3l na zakup tylko jednej sztuki produktu w zam\u00f3wieniu.", "type": "boolean", "required": false }, "weight": { "description": "Waga produktu (kg).", "type": "string", "required": false }, "dimensions": { "description": "Rozmiary produktu.", "type": "object", "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "reviews_allowed": { "description": "Pozwalaj na opinie.", "type": "boolean", "required": false }, "post_password": { "description": "Has\u0142o do wpisu.", "type": "string", "required": false }, "upsell_ids": { "description": "Lista ID produkt\u00f3w up-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Lista ID produkt\u00f3w cross-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "ID nadrz\u0119dnego produktu.", "type": "integer", "required": false }, "purchase_note": { "description": "Opcjonalna notatka wysy\u0142ana do klienta po zakupie.", "type": "string", "required": false }, "categories": { "description": "Lista kategorii.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID kategorii.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa kategorii.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Uproszczona nazwa kategorii.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Lista tag\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID tagu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa tagu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Uproszczona nazwa tagu.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Lista obrazk\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Lista atrybut\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Pozycja atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Ustaw jesli atrybut ma by\u0107 widoczny w \"Dodtkowe informacje\" na stronie produktu.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Ustaw je\u015bli atrybut mo\u017ce by\u0107 u\u017cywany jako wariant.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Lista dostepnych warto\u015bci atrybutu.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Domy\u015blne atrybuty wariantu.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, u\u017cywana dla w\u0142asnego sortowania produkt\u00f3w.", "type": "integer", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": false, "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "type": "boolean", "required": false } } }, { "methods": [ "GET" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "name": { "description": "Nazwa produktu.", "type": "string", "required": false }, "slug": { "description": "Uproszczona nazwa produktu.", "type": "string", "required": false }, "date_created": { "description": "Data dodania produktu zosta\u0142a utworzona w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Data utworzenia produktu (GMT).", "type": [ "null", "string" ], "required": false }, "type": { "description": "Typ produktu.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription" ], "required": false }, "status": { "description": "Status produktu (status publikacji).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "description": "Produkt wyr\u00f3\u017cniony.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Widoczno\u015b\u0107 w sklepie.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Opis produktu.", "type": "string", "required": false }, "short_description": { "description": "Kr\u00f3tki opis produktu.", "type": "string", "required": false }, "sku": { "description": "Jednostka magazynowa (SKU).", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN lub ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Cena produktu.", "type": "string", "required": false }, "sale_price": { "description": "Cena produktu po przecenie.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data rozpocz\u0119cia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Data rozpocz\u0119cia promocji (GMT).", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "Czy produkt jest wirtualny.", "type": "boolean", "required": false }, "downloadable": { "description": "Je\u015bli produkt jest do pobrania.", "type": "boolean", "required": false }, "downloads": { "description": "Lista plik\u00f3w do pobrania.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer", "required": false }, "download_expiry": { "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer", "required": false }, "external_url": { "description": "Zewn\u0119trzny URL produktu. Tylko dla produkt\u00f3w zewn\u0119trznych.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Tekst przycisku produktu zewn\u0119trznego. Tylko dla produkt\u00f3w zewn\u0119trznych.", "type": "string", "required": false }, "tax_status": { "description": "Status podatku.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Klasa podatkowa.", "type": "string", "required": false }, "manage_stock": { "description": "Zarz\u0105dzanie stanem magazynowym na poziomie produktu.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stan magazynowy.", "type": "integer", "required": false }, "stock_status": { "description": "Kontroluje stan magazynowy produktu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Niski stan magazynowy dla tego produktu.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "description": "Pozw\u00f3l na zakup tylko jednej sztuki produktu w zam\u00f3wieniu.", "type": "boolean", "required": false }, "weight": { "description": "Waga produktu (kg).", "type": "string", "required": false }, "dimensions": { "description": "Rozmiary produktu.", "type": "object", "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "reviews_allowed": { "description": "Pozwalaj na opinie.", "type": "boolean", "required": false }, "post_password": { "description": "Has\u0142o do wpisu.", "type": "string", "required": false }, "upsell_ids": { "description": "Lista ID produkt\u00f3w up-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Lista ID produkt\u00f3w cross-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "ID nadrz\u0119dnego produktu.", "type": "integer", "required": false }, "purchase_note": { "description": "Opcjonalna notatka wysy\u0142ana do klienta po zakupie.", "type": "string", "required": false }, "categories": { "description": "Lista kategorii.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID kategorii.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa kategorii.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Uproszczona nazwa kategorii.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Lista tag\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID tagu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa tagu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Uproszczona nazwa tagu.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Lista obrazk\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Lista atrybut\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Pozycja atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Ustaw jesli atrybut ma by\u0107 widoczny w \"Dodtkowe informacje\" na stronie produktu.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Ustaw je\u015bli atrybut mo\u017ce by\u0107 u\u017cywany jako wariant.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Lista dostepnych warto\u015bci atrybutu.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Domy\u015blne atrybuty wariantu.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, u\u017cywana dla w\u0142asnego sortowania produkt\u00f3w.", "type": "integer", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": false, "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "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": "Nazwa produktu.", "type": "string", "required": false }, "slug": { "description": "Uproszczona nazwa produktu.", "type": "string", "required": false }, "date_created": { "description": "Data dodania produktu zosta\u0142a utworzona w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Data utworzenia produktu (GMT).", "type": [ "null", "string" ], "required": false }, "type": { "description": "Typ produktu.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription" ], "required": false }, "status": { "description": "Status produktu (status publikacji).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "description": "Produkt wyr\u00f3\u017cniony.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Widoczno\u015b\u0107 w sklepie.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Opis produktu.", "type": "string", "required": false }, "short_description": { "description": "Kr\u00f3tki opis produktu.", "type": "string", "required": false }, "sku": { "description": "Jednostka magazynowa (SKU).", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN lub ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Cena produktu.", "type": "string", "required": false }, "sale_price": { "description": "Cena produktu po przecenie.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data rozpocz\u0119cia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Data rozpocz\u0119cia promocji (GMT).", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "Czy produkt jest wirtualny.", "type": "boolean", "required": false }, "downloadable": { "description": "Je\u015bli produkt jest do pobrania.", "type": "boolean", "required": false }, "downloads": { "description": "Lista plik\u00f3w do pobrania.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer", "required": false }, "download_expiry": { "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer", "required": false }, "external_url": { "description": "Zewn\u0119trzny URL produktu. Tylko dla produkt\u00f3w zewn\u0119trznych.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Tekst przycisku produktu zewn\u0119trznego. Tylko dla produkt\u00f3w zewn\u0119trznych.", "type": "string", "required": false }, "tax_status": { "description": "Status podatku.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Klasa podatkowa.", "type": "string", "required": false }, "manage_stock": { "description": "Zarz\u0105dzanie stanem magazynowym na poziomie produktu.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stan magazynowy.", "type": "integer", "required": false }, "stock_status": { "description": "Kontroluje stan magazynowy produktu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Niski stan magazynowy dla tego produktu.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "description": "Pozw\u00f3l na zakup tylko jednej sztuki produktu w zam\u00f3wieniu.", "type": "boolean", "required": false }, "weight": { "description": "Waga produktu (kg).", "type": "string", "required": false }, "dimensions": { "description": "Rozmiary produktu.", "type": "object", "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "reviews_allowed": { "description": "Pozwalaj na opinie.", "type": "boolean", "required": false }, "post_password": { "description": "Has\u0142o do wpisu.", "type": "string", "required": false }, "upsell_ids": { "description": "Lista ID produkt\u00f3w up-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Lista ID produkt\u00f3w cross-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "ID nadrz\u0119dnego produktu.", "type": "integer", "required": false }, "purchase_note": { "description": "Opcjonalna notatka wysy\u0142ana do klienta po zakupie.", "type": "string", "required": false }, "categories": { "description": "Lista kategorii.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID kategorii.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa kategorii.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Uproszczona nazwa kategorii.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Lista tag\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID tagu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa tagu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Uproszczona nazwa tagu.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Lista obrazk\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Lista atrybut\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Pozycja atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Ustaw jesli atrybut ma by\u0107 widoczny w \"Dodtkowe informacje\" na stronie produktu.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Ustaw je\u015bli atrybut mo\u017ce by\u0107 u\u017cywany jako wariant.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Lista dostepnych warto\u015bci atrybutu.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Domy\u015blne atrybuty wariantu.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, u\u017cywana dla w\u0142asnego sortowania produkt\u00f3w.", "type": "integer", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nazwa produktu.", "type": "string", "required": false }, "slug": { "description": "Uproszczona nazwa produktu.", "type": "string", "required": false }, "date_created": { "description": "Data dodania produktu zosta\u0142a utworzona w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Data utworzenia produktu (GMT).", "type": [ "null", "string" ], "required": false }, "type": { "description": "Typ produktu.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription" ], "required": false }, "status": { "description": "Status produktu (status publikacji).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "description": "Produkt wyr\u00f3\u017cniony.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Widoczno\u015b\u0107 w sklepie.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Opis produktu.", "type": "string", "required": false }, "short_description": { "description": "Kr\u00f3tki opis produktu.", "type": "string", "required": false }, "sku": { "description": "Jednostka magazynowa (SKU).", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN lub ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Cena produktu.", "type": "string", "required": false }, "sale_price": { "description": "Cena produktu po przecenie.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data rozpocz\u0119cia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Data rozpocz\u0119cia promocji (GMT).", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "Czy produkt jest wirtualny.", "type": "boolean", "required": false }, "downloadable": { "description": "Je\u015bli produkt jest do pobrania.", "type": "boolean", "required": false }, "downloads": { "description": "Lista plik\u00f3w do pobrania.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer", "required": false }, "download_expiry": { "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer", "required": false }, "external_url": { "description": "Zewn\u0119trzny URL produktu. Tylko dla produkt\u00f3w zewn\u0119trznych.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Tekst przycisku produktu zewn\u0119trznego. Tylko dla produkt\u00f3w zewn\u0119trznych.", "type": "string", "required": false }, "tax_status": { "description": "Status podatku.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Klasa podatkowa.", "type": "string", "required": false }, "manage_stock": { "description": "Zarz\u0105dzanie stanem magazynowym na poziomie produktu.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stan magazynowy.", "type": "integer", "required": false }, "stock_status": { "description": "Kontroluje stan magazynowy produktu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Niski stan magazynowy dla tego produktu.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "description": "Pozw\u00f3l na zakup tylko jednej sztuki produktu w zam\u00f3wieniu.", "type": "boolean", "required": false }, "weight": { "description": "Waga produktu (kg).", "type": "string", "required": false }, "dimensions": { "description": "Rozmiary produktu.", "type": "object", "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "reviews_allowed": { "description": "Pozwalaj na opinie.", "type": "boolean", "required": false }, "post_password": { "description": "Has\u0142o do wpisu.", "type": "string", "required": false }, "upsell_ids": { "description": "Lista ID produkt\u00f3w up-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Lista ID produkt\u00f3w cross-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "ID nadrz\u0119dnego produktu.", "type": "integer", "required": false }, "purchase_note": { "description": "Opcjonalna notatka wysy\u0142ana do klienta po zakupie.", "type": "string", "required": false }, "categories": { "description": "Lista kategorii.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID kategorii.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa kategorii.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Uproszczona nazwa kategorii.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Lista tag\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID tagu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa tagu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Uproszczona nazwa tagu.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Lista obrazk\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Lista atrybut\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Pozycja atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Ustaw jesli atrybut ma by\u0107 widoczny w \"Dodtkowe informacje\" na stronie produktu.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Ustaw je\u015bli atrybut mo\u017ce by\u0107 u\u017cywany jako wariant.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Lista dostepnych warto\u015bci atrybutu.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Domy\u015blne atrybuty wariantu.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, u\u017cywana dla w\u0142asnego sortowania produkt\u00f3w.", "type": "integer", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc-analytics\/products\/batch" } ] } }, "\/wc-analytics\/products\/suggested-products": { "namespace": "wc-analytics", "methods": [ "GET", "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ogranicz wynik do zasob\u00f3w zmienionych po danej dacie zgodnej z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ogranicz odpowied\u017a do zasob\u00f3w zmienionych przed dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Czy bra\u0107 pod uwag\u0119 daty GMT publikacji lub modyfikacji podczas ograniczania odpowiedzi.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "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": "Ogranicz zestaw wynik\u00f3w do tych z okre\u015blonych identyfikator\u00f3w nadrz\u0119dnych.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Ogranicz zestaw wynik\u00f3w do wszystkich element\u00f3w z wyj\u0105tkiem tych o okre\u015blonym identyfikatorze nadrz\u0119dnym.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "brand": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w przypisanych do okre\u015blonego identyfikatora marki.", "type": "string", "required": false }, "slug": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z dan\u0105 nazw\u0105 skr\u00f3con\u0105 (slug).", "type": "string", "required": false }, "status": { "default": "any", "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z danym statusem.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w danego typu.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription" ], "required": false }, "sku": { "description": "Ogranicz wyniki do produkt\u00f3w z wybranymi SKU. U\u017cyj przecink\u00f3w, aby rozdzieli\u0107 dane.", "type": "string", "required": false }, "featured": { "description": "Ogranicz wyniki do wyr\u00f3\u017cnionych produkt\u00f3w.", "type": "boolean", "required": false }, "category": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w w danej kategorii.", "type": "string", "required": false }, "tag": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z danym tagiem.", "type": "string", "required": false }, "shipping_class": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z dan\u0105 klas\u0105 wysy\u0142kow\u0105.", "type": "string", "required": false }, "attribute": { "description": "Ogranicz wyniki do produkt\u00f3w z wybranych atrybutem. U\u017cyj nazwy taksonomii lub bezpo\u015bredniego odno\u015bnika atrybutu.", "type": "string", "required": false }, "attribute_term": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z danym atrybutem (atrybut musi by\u0107 przypisany).", "type": "string", "required": false }, "in_stock": { "description": "Ogranicz wyniki do produkt\u00f3w na stanie magazynowym lub niedost\u0119pnych.", "type": "boolean", "required": false }, "on_sale": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w w promocji.", "type": "boolean", "required": false }, "min_price": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z minimaln\u0105 cen\u0105.", "type": "string", "required": false }, "max_price": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z maksymaln\u0105 cen\u0105.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Ogranicz metadane do wybranych kluczy.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Upewnij si\u0119, \u017ce metadane wykluczaj\u0105 okre\u015blone klucze.", "type": "array", "items": { "type": "string" }, "required": false }, "categories": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonych identyfikator\u00f3w kategorii produkt\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "tags": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonych identyfikator\u00f3w tag\u00f3w produkt\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "limit": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonej liczby sugerowanych produkt\u00f3w.", "type": "integer", "default": 5, "required": false } } }, { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ogranicz wynik do zasob\u00f3w zmienionych po danej dacie zgodnej z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ogranicz odpowied\u017a do zasob\u00f3w zmienionych przed dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Czy bra\u0107 pod uwag\u0119 daty GMT publikacji lub modyfikacji podczas ograniczania odpowiedzi.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "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": "Ogranicz zestaw wynik\u00f3w do tych z okre\u015blonych identyfikator\u00f3w nadrz\u0119dnych.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Ogranicz zestaw wynik\u00f3w do wszystkich element\u00f3w z wyj\u0105tkiem tych o okre\u015blonym identyfikatorze nadrz\u0119dnym.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "brand": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w przypisanych do okre\u015blonego identyfikatora marki.", "type": "string", "required": false }, "slug": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z dan\u0105 nazw\u0105 skr\u00f3con\u0105 (slug).", "type": "string", "required": false }, "status": { "default": "any", "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z danym statusem.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w danego typu.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription" ], "required": false }, "sku": { "description": "Ogranicz wyniki do produkt\u00f3w z wybranymi SKU. U\u017cyj przecink\u00f3w, aby rozdzieli\u0107 dane.", "type": "string", "required": false }, "featured": { "description": "Ogranicz wyniki do wyr\u00f3\u017cnionych produkt\u00f3w.", "type": "boolean", "required": false }, "category": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w w danej kategorii.", "type": "string", "required": false }, "tag": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z danym tagiem.", "type": "string", "required": false }, "shipping_class": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z dan\u0105 klas\u0105 wysy\u0142kow\u0105.", "type": "string", "required": false }, "attribute": { "description": "Ogranicz wyniki do produkt\u00f3w z wybranych atrybutem. U\u017cyj nazwy taksonomii lub bezpo\u015bredniego odno\u015bnika atrybutu.", "type": "string", "required": false }, "attribute_term": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z danym atrybutem (atrybut musi by\u0107 przypisany).", "type": "string", "required": false }, "in_stock": { "description": "Ogranicz wyniki do produkt\u00f3w na stanie magazynowym lub niedost\u0119pnych.", "type": "boolean", "required": false }, "on_sale": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w w promocji.", "type": "boolean", "required": false }, "min_price": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z minimaln\u0105 cen\u0105.", "type": "string", "required": false }, "max_price": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z maksymaln\u0105 cen\u0105.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Ogranicz metadane do wybranych kluczy.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Upewnij si\u0119, \u017ce metadane wykluczaj\u0105 okre\u015blone klucze.", "type": "array", "items": { "type": "string" }, "required": false }, "categories": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonych identyfikator\u00f3w kategorii produkt\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "tags": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonych identyfikator\u00f3w tag\u00f3w produkt\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "limit": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonej liczby sugerowanych produkt\u00f3w.", "type": "integer", "default": 5, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "name": { "description": "Nazwa produktu.", "type": "string", "required": false }, "slug": { "description": "Uproszczona nazwa produktu.", "type": "string", "required": false }, "date_created": { "description": "Data dodania produktu zosta\u0142a utworzona w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Data utworzenia produktu (GMT).", "type": [ "null", "string" ], "required": false }, "type": { "description": "Typ produktu.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription" ], "required": false }, "status": { "description": "Status produktu (status publikacji).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "description": "Produkt wyr\u00f3\u017cniony.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Widoczno\u015b\u0107 w sklepie.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Opis produktu.", "type": "string", "required": false }, "short_description": { "description": "Kr\u00f3tki opis produktu.", "type": "string", "required": false }, "sku": { "description": "Jednostka magazynowa (SKU).", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN lub ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Cena produktu.", "type": "string", "required": false }, "sale_price": { "description": "Cena produktu po przecenie.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data rozpocz\u0119cia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Data rozpocz\u0119cia promocji (GMT).", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "Czy produkt jest wirtualny.", "type": "boolean", "required": false }, "downloadable": { "description": "Je\u015bli produkt jest do pobrania.", "type": "boolean", "required": false }, "downloads": { "description": "Lista plik\u00f3w do pobrania.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer", "required": false }, "download_expiry": { "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer", "required": false }, "external_url": { "description": "Zewn\u0119trzny URL produktu. Tylko dla produkt\u00f3w zewn\u0119trznych.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Tekst przycisku produktu zewn\u0119trznego. Tylko dla produkt\u00f3w zewn\u0119trznych.", "type": "string", "required": false }, "tax_status": { "description": "Status podatku.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Klasa podatkowa.", "type": "string", "required": false }, "manage_stock": { "description": "Zarz\u0105dzanie stanem magazynowym na poziomie produktu.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stan magazynowy.", "type": "integer", "required": false }, "stock_status": { "description": "Kontroluje stan magazynowy produktu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Niski stan magazynowy dla tego produktu.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "description": "Pozw\u00f3l na zakup tylko jednej sztuki produktu w zam\u00f3wieniu.", "type": "boolean", "required": false }, "weight": { "description": "Waga produktu (kg).", "type": "string", "required": false }, "dimensions": { "description": "Rozmiary produktu.", "type": "object", "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "reviews_allowed": { "description": "Pozwalaj na opinie.", "type": "boolean", "required": false }, "post_password": { "description": "Has\u0142o do wpisu.", "type": "string", "required": false }, "upsell_ids": { "description": "Lista ID produkt\u00f3w up-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Lista ID produkt\u00f3w cross-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "ID nadrz\u0119dnego produktu.", "type": "integer", "required": false }, "purchase_note": { "description": "Opcjonalna notatka wysy\u0142ana do klienta po zakupie.", "type": "string", "required": false }, "categories": { "description": "Lista kategorii.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID kategorii.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa kategorii.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Uproszczona nazwa kategorii.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Lista tag\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID tagu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa tagu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Uproszczona nazwa tagu.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Lista obrazk\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Lista atrybut\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Pozycja atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Ustaw jesli atrybut ma by\u0107 widoczny w \"Dodtkowe informacje\" na stronie produktu.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Ustaw je\u015bli atrybut mo\u017ce by\u0107 u\u017cywany jako wariant.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Lista dostepnych warto\u015bci atrybutu.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Domy\u015blne atrybuty wariantu.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, u\u017cywana dla w\u0142asnego sortowania produkt\u00f3w.", "type": "integer", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "POST" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "name": { "description": "Nazwa produktu.", "type": "string", "required": false }, "slug": { "description": "Uproszczona nazwa produktu.", "type": "string", "required": false }, "date_created": { "description": "Data dodania produktu zosta\u0142a utworzona w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Data utworzenia produktu (GMT).", "type": [ "null", "string" ], "required": false }, "type": { "description": "Typ produktu.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription" ], "required": false }, "status": { "description": "Status produktu (status publikacji).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "description": "Produkt wyr\u00f3\u017cniony.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Widoczno\u015b\u0107 w sklepie.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Opis produktu.", "type": "string", "required": false }, "short_description": { "description": "Kr\u00f3tki opis produktu.", "type": "string", "required": false }, "sku": { "description": "Jednostka magazynowa (SKU).", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN lub ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Cena produktu.", "type": "string", "required": false }, "sale_price": { "description": "Cena produktu po przecenie.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data rozpocz\u0119cia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Data rozpocz\u0119cia promocji (GMT).", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "Czy produkt jest wirtualny.", "type": "boolean", "required": false }, "downloadable": { "description": "Je\u015bli produkt jest do pobrania.", "type": "boolean", "required": false }, "downloads": { "description": "Lista plik\u00f3w do pobrania.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer", "required": false }, "download_expiry": { "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer", "required": false }, "external_url": { "description": "Zewn\u0119trzny URL produktu. Tylko dla produkt\u00f3w zewn\u0119trznych.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Tekst przycisku produktu zewn\u0119trznego. Tylko dla produkt\u00f3w zewn\u0119trznych.", "type": "string", "required": false }, "tax_status": { "description": "Status podatku.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Klasa podatkowa.", "type": "string", "required": false }, "manage_stock": { "description": "Zarz\u0105dzanie stanem magazynowym na poziomie produktu.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stan magazynowy.", "type": "integer", "required": false }, "stock_status": { "description": "Kontroluje stan magazynowy produktu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Niski stan magazynowy dla tego produktu.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "description": "Pozw\u00f3l na zakup tylko jednej sztuki produktu w zam\u00f3wieniu.", "type": "boolean", "required": false }, "weight": { "description": "Waga produktu (kg).", "type": "string", "required": false }, "dimensions": { "description": "Rozmiary produktu.", "type": "object", "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "reviews_allowed": { "description": "Pozwalaj na opinie.", "type": "boolean", "required": false }, "post_password": { "description": "Has\u0142o do wpisu.", "type": "string", "required": false }, "upsell_ids": { "description": "Lista ID produkt\u00f3w up-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Lista ID produkt\u00f3w cross-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "ID nadrz\u0119dnego produktu.", "type": "integer", "required": false }, "purchase_note": { "description": "Opcjonalna notatka wysy\u0142ana do klienta po zakupie.", "type": "string", "required": false }, "categories": { "description": "Lista kategorii.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID kategorii.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa kategorii.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Uproszczona nazwa kategorii.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Lista tag\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID tagu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa tagu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Uproszczona nazwa tagu.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Lista obrazk\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Lista atrybut\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Pozycja atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Ustaw jesli atrybut ma by\u0107 widoczny w \"Dodtkowe informacje\" na stronie produktu.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Ustaw je\u015bli atrybut mo\u017ce by\u0107 u\u017cywany jako wariant.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Lista dostepnych warto\u015bci atrybutu.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Domy\u015blne atrybuty wariantu.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, u\u017cywana dla w\u0142asnego sortowania produkt\u00f3w.", "type": "integer", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ] }, "\/wc-analytics\/products\/attributes": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "search": { "description": "Wyszukaj wg podobnej nazwy atrybutu.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Nazwa dla zasobu.", "type": "string", "required": true }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "type": { "default": "select", "description": "Typ atrybutu.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "default": "menu_order", "description": "Domy\u015blne sortowanie.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "default": false, "description": "W\u0142\u0105cz\/wy\u0142\u0105cz archiwa atrybut\u00f3w.", "type": "boolean", "required": false } } }, { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "search": { "description": "Wyszukaj wg podobnej nazwy atrybutu.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Nazwa dla zasobu.", "type": "string", "required": true }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "type": { "default": "select", "description": "Typ atrybutu.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "default": "menu_order", "description": "Domy\u015blne sortowanie.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "default": false, "description": "W\u0142\u0105cz\/wy\u0142\u0105cz archiwa atrybut\u00f3w.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "name": { "description": "Nazwa atrybutu.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "type": { "description": "Typ atrybutu.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Domy\u015blne sortowanie.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "W\u0142\u0105cz\/wy\u0142\u0105cz archiwa atrybut\u00f3w.", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c zas\u00f3b nie obs\u0142uguje wyrzucania do kosza.", "required": false } } }, { "methods": [ "GET" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "name": { "description": "Nazwa atrybutu.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "type": { "description": "Typ atrybutu.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Domy\u015blne sortowanie.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "W\u0142\u0105cz\/wy\u0142\u0105cz archiwa atrybut\u00f3w.", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c zas\u00f3b nie obs\u0142uguje wyrzucania do kosza.", "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": "Nazwa atrybutu.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "type": { "description": "Typ atrybutu.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Domy\u015blne sortowanie.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "W\u0142\u0105cz\/wy\u0142\u0105cz archiwa atrybut\u00f3w.", "type": "boolean", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nazwa atrybutu.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "type": { "description": "Typ atrybutu.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Domy\u015blne sortowanie.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "W\u0142\u0105cz\/wy\u0142\u0105cz archiwa atrybut\u00f3w.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Uproszczona nazwa identyfikatora zasobu.", "type": "string", "required": false } } }, { "methods": [ "GET" ], "args": { "slug": { "description": "Uproszczona nazwa identyfikatora zasobu.", "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": "Unikalny identyfikator atrybutu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji. Dotyczy tylko taksonomii hierarchicznych.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj wed\u0142ug atrybutu zasobu.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Czy ukry\u0107 zasoby nieprzypisane do \u017cadnego produktu.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danego elementu nadrz\u0119dnego. Dotyczy tylko taksonomii hierarchicznych.", "type": "integer", "required": false }, "product": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danego produktu.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danej nazwy skr\u00f3conej (slug).", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "attribute_id": { "description": "Unikalny identyfikator atrybutu.", "type": "integer", "required": false }, "name": { "type": "string", "description": "Nazwa dla zasobu.", "required": true }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, kt\u00f3ra s\u0142u\u017cy do sortowania zasobu.", "type": "integer", "required": false } } }, { "methods": [ "GET" ], "args": { "attribute_id": { "description": "Unikalny identyfikator atrybutu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji. Dotyczy tylko taksonomii hierarchicznych.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj wed\u0142ug atrybutu zasobu.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Czy ukry\u0107 zasoby nieprzypisane do \u017cadnego produktu.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danego elementu nadrz\u0119dnego. Dotyczy tylko taksonomii hierarchicznych.", "type": "integer", "required": false }, "product": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danego produktu.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danej nazwy skr\u00f3conej (slug).", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "attribute_id": { "description": "Unikalny identyfikator atrybutu.", "type": "integer", "required": false }, "name": { "type": "string", "description": "Nazwa dla zasobu.", "required": true }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, kt\u00f3ra s\u0142u\u017cy do sortowania zasobu.", "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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "attribute_id": { "description": "Unikalny identyfikator atrybutu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "attribute_id": { "description": "Unikalny identyfikator atrybutu.", "type": "integer", "required": false }, "name": { "description": "Nazwa taksonomii.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, kt\u00f3ra s\u0142u\u017cy do sortowania zasobu.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "attribute_id": { "description": "Unikalny identyfikator atrybutu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c zas\u00f3b nie obs\u0142uguje wyrzucania do kosza.", "required": false } } }, { "methods": [ "GET" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "attribute_id": { "description": "Unikalny identyfikator atrybutu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "attribute_id": { "description": "Unikalny identyfikator atrybutu.", "type": "integer", "required": false }, "name": { "description": "Nazwa taksonomii.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, kt\u00f3ra s\u0142u\u017cy do sortowania zasobu.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "attribute_id": { "description": "Unikalny identyfikator atrybutu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c zas\u00f3b nie obs\u0142uguje wyrzucania do kosza.", "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": "Unikalny identyfikator atrybutu.", "type": "integer", "required": false }, "name": { "description": "Nazwa taksonomii.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, kt\u00f3ra s\u0142u\u017cy do sortowania zasobu.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "attribute_id": { "description": "Unikalny identyfikator atrybutu.", "type": "integer", "required": false }, "name": { "description": "Nazwa taksonomii.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, kt\u00f3ra s\u0142u\u017cy do sortowania zasobu.", "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": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danej nazwy skr\u00f3conej (slug).", "type": "string", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji. Dotyczy tylko taksonomii hierarchicznych.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj wed\u0142ug atrybutu zasobu.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Czy ukry\u0107 zasoby nieprzypisane do \u017cadnego produktu.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danego elementu nadrz\u0119dnego. Dotyczy tylko taksonomii hierarchicznych.", "type": "integer", "required": false }, "product": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danego produktu.", "type": "integer", "default": null, "required": false } } }, { "methods": [ "GET" ], "args": { "slug": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danej nazwy skr\u00f3conej (slug).", "type": "string", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji. Dotyczy tylko taksonomii hierarchicznych.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj wed\u0142ug atrybutu zasobu.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Czy ukry\u0107 zasoby nieprzypisane do \u017cadnego produktu.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danego elementu nadrz\u0119dnego. Dotyczy tylko taksonomii hierarchicznych.", "type": "integer", "required": false }, "product": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danego produktu.", "type": "integer", "default": null, "required": false } } } ] }, "\/wc-analytics\/products\/categories": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji. Dotyczy tylko taksonomii hierarchicznych.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj wed\u0142ug atrybutu zasobu.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Czy ukry\u0107 zasoby nieprzypisane do \u017cadnego produktu.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danego elementu nadrz\u0119dnego. Dotyczy tylko taksonomii hierarchicznych.", "type": "integer", "required": false }, "product": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danego produktu.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danej nazwy skr\u00f3conej (slug).", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Nazwa dla zasobu.", "required": true }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "parent": { "description": "Id rodzica zasobu.", "type": "integer", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false }, "display": { "default": "default", "description": "Typ wy\u015bwietlania kategorii.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Dane obrazka.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, kt\u00f3ra s\u0142u\u017cy do sortowania zasobu.", "type": "integer", "required": false } } }, { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji. Dotyczy tylko taksonomii hierarchicznych.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj wed\u0142ug atrybutu zasobu.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Czy ukry\u0107 zasoby nieprzypisane do \u017cadnego produktu.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danego elementu nadrz\u0119dnego. Dotyczy tylko taksonomii hierarchicznych.", "type": "integer", "required": false }, "product": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danego produktu.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danej nazwy skr\u00f3conej (slug).", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Nazwa dla zasobu.", "required": true }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "parent": { "description": "Id rodzica zasobu.", "type": "integer", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false }, "display": { "default": "default", "description": "Typ wy\u015bwietlania kategorii.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Dane obrazka.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, kt\u00f3ra s\u0142u\u017cy do sortowania zasobu.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "name": { "description": "Nazwa kategorii.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "parent": { "description": "Id rodzica zasobu.", "type": "integer", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false }, "display": { "description": "Typ wy\u015bwietlania kategorii.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Dane obrazka.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, kt\u00f3ra s\u0142u\u017cy do sortowania zasobu.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c zas\u00f3b nie obs\u0142uguje wyrzucania do kosza.", "required": false } } }, { "methods": [ "GET" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "name": { "description": "Nazwa kategorii.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "parent": { "description": "Id rodzica zasobu.", "type": "integer", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false }, "display": { "description": "Typ wy\u015bwietlania kategorii.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Dane obrazka.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, kt\u00f3ra s\u0142u\u017cy do sortowania zasobu.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c zas\u00f3b nie obs\u0142uguje wyrzucania do kosza.", "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": "Nazwa kategorii.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "parent": { "description": "Id rodzica zasobu.", "type": "integer", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false }, "display": { "description": "Typ wy\u015bwietlania kategorii.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Dane obrazka.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, kt\u00f3ra s\u0142u\u017cy do sortowania zasobu.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nazwa kategorii.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "parent": { "description": "Id rodzica zasobu.", "type": "integer", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false }, "display": { "description": "Typ wy\u015bwietlania kategorii.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Dane obrazka.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, kt\u00f3ra s\u0142u\u017cy do sortowania zasobu.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Wyszukaj wg podobnej nazwy produktu, SKU lub warto\u015bci atrybutu.", "type": "string", "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ogranicz wynik do zasob\u00f3w zmienionych po danej dacie zgodnej z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ogranicz odpowied\u017a do zasob\u00f3w zmienionych przed dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Czy bra\u0107 pod uwag\u0119 daty GMT publikacji lub modyfikacji podczas ograniczania odpowiedzi.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "menu_order" ], "required": false }, "parent": { "description": "Ogranicz zestaw wynik\u00f3w do tych z okre\u015blonych identyfikator\u00f3w nadrz\u0119dnych.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Ogranicz zestaw wynik\u00f3w do wszystkich element\u00f3w z wyj\u0105tkiem tych o okre\u015blonym identyfikatorze nadrz\u0119dnym.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z dan\u0105 nazw\u0105 skr\u00f3con\u0105 (slug).", "type": "string", "required": false }, "status": { "default": "any", "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z danym statusem.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "sku": { "description": "Ogranicz wyniki do produkt\u00f3w z wybranymi SKU. U\u017cyj przecink\u00f3w, aby rozdzieli\u0107 dane.", "type": "string", "required": false }, "on_sale": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w w promocji.", "type": "boolean", "required": false }, "min_price": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z minimaln\u0105 cen\u0105.", "type": "string", "required": false }, "max_price": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z maksymaln\u0105 cen\u0105.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Ogranicz metadane do wybranych kluczy.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Upewnij si\u0119, \u017ce metadane wykluczaj\u0105 okre\u015blone klucze.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Ogranicz wyniki do produkt\u00f3w z okre\u015blonym stanem magazynowym.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "has_price": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z cen\u0105 lub bez.", "type": "boolean", "required": false }, "attributes": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z okre\u015blonymi atrybutami.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "type": "string", "description": "Bezpo\u015bredni odno\u015bnik atrybutu." }, "term": { "type": "string", "description": "Termin atrybutu." }, "terms": { "type": "array", "description": "Okre\u015blenia atrybut\u00f3w." } } }, "required": false }, "virtual": { "description": "Ogranicz zestaw wynik\u00f3w do wariant\u00f3w wirtualnych produkt\u00f3w.", "type": "boolean", "required": false }, "downloadable": { "description": "Ogranicz zestaw wynik\u00f3w do wariant\u00f3w produkt\u00f3w do pobrania.", "type": "boolean", "required": false }, "include_status": { "description": "Ogranicz zestaw wynik\u00f3w do wariant\u00f3w produkt\u00f3w o dowolnym statusie.", "type": "array", "items": { "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "exclude_status": { "description": "Wyklucz z zestawu wynik\u00f3w warianty produkt\u00f3w o dowolnym statusie.", "type": "array", "items": { "type": "string", "enum": [ "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "type": { "default": "variation", "description": "Typ produktu.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Opis wariantu.", "type": "string", "required": false }, "sku": { "description": "Jednostka magazynowa (SKU).", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN lub ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Cena wariantu.", "type": "string", "required": false }, "sale_price": { "description": "Cena promocyjna wariantu.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data rozpocz\u0119cia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Data rozpocz\u0119cia promocji (GMT).", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "status": { "default": "publish", "description": "Status wariantu.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "default": false, "description": "Je\u015bli wariant jest wirtualny.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Je\u015bli wariant jest do pobrania.", "type": "boolean", "required": false }, "downloads": { "description": "Lista plik\u00f3w do pobrania.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "Status podatku.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Klasa podatkowa.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Zarz\u0105dzanie stanem magazynowym na poziomie wariantu.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stan magazynowy.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Kontroluje stan magazynowy produktu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Niski stan magazynowy dla tego wariantu.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Waga wariantu (kg).", "type": "string", "required": false }, "dimensions": { "description": "Wymiary wariantu.", "type": "object", "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "image": { "description": "Dane obrazka wariantu.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista atrybut\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, u\u017cywana dla w\u0142asnego sortowania produkt\u00f3w.", "type": "integer", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Nazwa produkty nadrz\u0119dnego.", "type": "string", "required": false }, "parent_id": { "description": "ID nadrz\u0119dnego produktu.", "type": "integer", "required": false } } }, { "methods": [ "GET" ], "args": { "product_id": { "description": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Wyszukaj wg podobnej nazwy produktu, SKU lub warto\u015bci atrybutu.", "type": "string", "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ogranicz wynik do zasob\u00f3w zmienionych po danej dacie zgodnej z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ogranicz odpowied\u017a do zasob\u00f3w zmienionych przed dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Czy bra\u0107 pod uwag\u0119 daty GMT publikacji lub modyfikacji podczas ograniczania odpowiedzi.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "menu_order" ], "required": false }, "parent": { "description": "Ogranicz zestaw wynik\u00f3w do tych z okre\u015blonych identyfikator\u00f3w nadrz\u0119dnych.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Ogranicz zestaw wynik\u00f3w do wszystkich element\u00f3w z wyj\u0105tkiem tych o okre\u015blonym identyfikatorze nadrz\u0119dnym.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z dan\u0105 nazw\u0105 skr\u00f3con\u0105 (slug).", "type": "string", "required": false }, "status": { "default": "any", "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z danym statusem.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "sku": { "description": "Ogranicz wyniki do produkt\u00f3w z wybranymi SKU. U\u017cyj przecink\u00f3w, aby rozdzieli\u0107 dane.", "type": "string", "required": false }, "on_sale": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w w promocji.", "type": "boolean", "required": false }, "min_price": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z minimaln\u0105 cen\u0105.", "type": "string", "required": false }, "max_price": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z maksymaln\u0105 cen\u0105.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Ogranicz metadane do wybranych kluczy.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Upewnij si\u0119, \u017ce metadane wykluczaj\u0105 okre\u015blone klucze.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Ogranicz wyniki do produkt\u00f3w z okre\u015blonym stanem magazynowym.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "has_price": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z cen\u0105 lub bez.", "type": "boolean", "required": false }, "attributes": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z okre\u015blonymi atrybutami.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "type": "string", "description": "Bezpo\u015bredni odno\u015bnik atrybutu." }, "term": { "type": "string", "description": "Termin atrybutu." }, "terms": { "type": "array", "description": "Okre\u015blenia atrybut\u00f3w." } } }, "required": false }, "virtual": { "description": "Ogranicz zestaw wynik\u00f3w do wariant\u00f3w wirtualnych produkt\u00f3w.", "type": "boolean", "required": false }, "downloadable": { "description": "Ogranicz zestaw wynik\u00f3w do wariant\u00f3w produkt\u00f3w do pobrania.", "type": "boolean", "required": false }, "include_status": { "description": "Ogranicz zestaw wynik\u00f3w do wariant\u00f3w produkt\u00f3w o dowolnym statusie.", "type": "array", "items": { "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "exclude_status": { "description": "Wyklucz z zestawu wynik\u00f3w warianty produkt\u00f3w o dowolnym statusie.", "type": "array", "items": { "type": "string", "enum": [ "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "type": { "default": "variation", "description": "Typ produktu.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Opis wariantu.", "type": "string", "required": false }, "sku": { "description": "Jednostka magazynowa (SKU).", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN lub ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Cena wariantu.", "type": "string", "required": false }, "sale_price": { "description": "Cena promocyjna wariantu.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data rozpocz\u0119cia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Data rozpocz\u0119cia promocji (GMT).", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "status": { "default": "publish", "description": "Status wariantu.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "default": false, "description": "Je\u015bli wariant jest wirtualny.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Je\u015bli wariant jest do pobrania.", "type": "boolean", "required": false }, "downloads": { "description": "Lista plik\u00f3w do pobrania.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "Status podatku.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Klasa podatkowa.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Zarz\u0105dzanie stanem magazynowym na poziomie wariantu.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stan magazynowy.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Kontroluje stan magazynowy produktu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Niski stan magazynowy dla tego wariantu.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Waga wariantu (kg).", "type": "string", "required": false }, "dimensions": { "description": "Wymiary wariantu.", "type": "object", "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "image": { "description": "Dane obrazka wariantu.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista atrybut\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, u\u017cywana dla w\u0142asnego sortowania produkt\u00f3w.", "type": "integer", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Nazwa produkty nadrz\u0119dnego.", "type": "string", "required": false }, "parent_id": { "description": "ID nadrz\u0119dnego produktu.", "type": "integer", "required": false } } }, { "methods": [ "GET" ], "args": { "product_id": { "description": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Wyszukaj wg podobnej nazwy produktu, SKU lub warto\u015bci atrybutu.", "type": "string", "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ogranicz wynik do zasob\u00f3w zmienionych po danej dacie zgodnej z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ogranicz odpowied\u017a do zasob\u00f3w zmienionych przed dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Czy bra\u0107 pod uwag\u0119 daty GMT publikacji lub modyfikacji podczas ograniczania odpowiedzi.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "menu_order" ], "required": false }, "parent": { "description": "Ogranicz zestaw wynik\u00f3w do tych z okre\u015blonych identyfikator\u00f3w nadrz\u0119dnych.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Ogranicz zestaw wynik\u00f3w do wszystkich element\u00f3w z wyj\u0105tkiem tych o okre\u015blonym identyfikatorze nadrz\u0119dnym.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z dan\u0105 nazw\u0105 skr\u00f3con\u0105 (slug).", "type": "string", "required": false }, "status": { "default": "any", "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z danym statusem.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "sku": { "description": "Ogranicz wyniki do produkt\u00f3w z wybranymi SKU. U\u017cyj przecink\u00f3w, aby rozdzieli\u0107 dane.", "type": "string", "required": false }, "on_sale": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w w promocji.", "type": "boolean", "required": false }, "min_price": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z minimaln\u0105 cen\u0105.", "type": "string", "required": false }, "max_price": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z maksymaln\u0105 cen\u0105.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Ogranicz metadane do wybranych kluczy.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Upewnij si\u0119, \u017ce metadane wykluczaj\u0105 okre\u015blone klucze.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Ogranicz wyniki do produkt\u00f3w z okre\u015blonym stanem magazynowym.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "has_price": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z cen\u0105 lub bez.", "type": "boolean", "required": false }, "attributes": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z okre\u015blonymi atrybutami.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "type": "string", "description": "Bezpo\u015bredni odno\u015bnik atrybutu." }, "term": { "type": "string", "description": "Termin atrybutu." }, "terms": { "type": "array", "description": "Okre\u015blenia atrybut\u00f3w." } } }, "required": false }, "virtual": { "description": "Ogranicz zestaw wynik\u00f3w do wariant\u00f3w wirtualnych produkt\u00f3w.", "type": "boolean", "required": false }, "downloadable": { "description": "Ogranicz zestaw wynik\u00f3w do wariant\u00f3w produkt\u00f3w do pobrania.", "type": "boolean", "required": false }, "include_status": { "description": "Ogranicz zestaw wynik\u00f3w do wariant\u00f3w produkt\u00f3w o dowolnym statusie.", "type": "array", "items": { "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "exclude_status": { "description": "Wyklucz z zestawu wynik\u00f3w warianty produkt\u00f3w o dowolnym statusie.", "type": "array", "items": { "type": "string", "enum": [ "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "type": { "default": "variation", "description": "Typ produktu.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Opis wariantu.", "type": "string", "required": false }, "sku": { "description": "Jednostka magazynowa (SKU).", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN lub ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Cena wariantu.", "type": "string", "required": false }, "sale_price": { "description": "Cena promocyjna wariantu.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data rozpocz\u0119cia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Data rozpocz\u0119cia promocji (GMT).", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "status": { "default": "publish", "description": "Status wariantu.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "default": false, "description": "Je\u015bli wariant jest wirtualny.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Je\u015bli wariant jest do pobrania.", "type": "boolean", "required": false }, "downloads": { "description": "Lista plik\u00f3w do pobrania.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "Status podatku.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Klasa podatkowa.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Zarz\u0105dzanie stanem magazynowym na poziomie wariantu.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stan magazynowy.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Kontroluje stan magazynowy produktu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Niski stan magazynowy dla tego wariantu.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Waga wariantu (kg).", "type": "string", "required": false }, "dimensions": { "description": "Wymiary wariantu.", "type": "object", "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "image": { "description": "Dane obrazka wariantu.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista atrybut\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, u\u017cywana dla w\u0142asnego sortowania produkt\u00f3w.", "type": "integer", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Nazwa produkty nadrz\u0119dnego.", "type": "string", "required": false }, "parent_id": { "description": "ID nadrz\u0119dnego produktu.", "type": "integer", "required": false } } }, { "methods": [ "GET" ], "args": { "product_id": { "description": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Wyszukaj wg podobnej nazwy produktu, SKU lub warto\u015bci atrybutu.", "type": "string", "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ogranicz wynik do zasob\u00f3w zmienionych po danej dacie zgodnej z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ogranicz odpowied\u017a do zasob\u00f3w zmienionych przed dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Czy bra\u0107 pod uwag\u0119 daty GMT publikacji lub modyfikacji podczas ograniczania odpowiedzi.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "menu_order" ], "required": false }, "parent": { "description": "Ogranicz zestaw wynik\u00f3w do tych z okre\u015blonych identyfikator\u00f3w nadrz\u0119dnych.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Ogranicz zestaw wynik\u00f3w do wszystkich element\u00f3w z wyj\u0105tkiem tych o okre\u015blonym identyfikatorze nadrz\u0119dnym.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z dan\u0105 nazw\u0105 skr\u00f3con\u0105 (slug).", "type": "string", "required": false }, "status": { "default": "any", "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z danym statusem.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "sku": { "description": "Ogranicz wyniki do produkt\u00f3w z wybranymi SKU. U\u017cyj przecink\u00f3w, aby rozdzieli\u0107 dane.", "type": "string", "required": false }, "on_sale": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w w promocji.", "type": "boolean", "required": false }, "min_price": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z minimaln\u0105 cen\u0105.", "type": "string", "required": false }, "max_price": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z maksymaln\u0105 cen\u0105.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Ogranicz metadane do wybranych kluczy.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Upewnij si\u0119, \u017ce metadane wykluczaj\u0105 okre\u015blone klucze.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Ogranicz wyniki do produkt\u00f3w z okre\u015blonym stanem magazynowym.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "has_price": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z cen\u0105 lub bez.", "type": "boolean", "required": false }, "attributes": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z okre\u015blonymi atrybutami.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "type": "string", "description": "Bezpo\u015bredni odno\u015bnik atrybutu." }, "term": { "type": "string", "description": "Termin atrybutu." }, "terms": { "type": "array", "description": "Okre\u015blenia atrybut\u00f3w." } } }, "required": false }, "virtual": { "description": "Ogranicz zestaw wynik\u00f3w do wariant\u00f3w wirtualnych produkt\u00f3w.", "type": "boolean", "required": false }, "downloadable": { "description": "Ogranicz zestaw wynik\u00f3w do wariant\u00f3w produkt\u00f3w do pobrania.", "type": "boolean", "required": false }, "include_status": { "description": "Ogranicz zestaw wynik\u00f3w do wariant\u00f3w produkt\u00f3w o dowolnym statusie.", "type": "array", "items": { "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "exclude_status": { "description": "Wyklucz z zestawu wynik\u00f3w warianty produkt\u00f3w o dowolnym statusie.", "type": "array", "items": { "type": "string", "enum": [ "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "type": { "default": "variation", "description": "Typ produktu.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Opis wariantu.", "type": "string", "required": false }, "sku": { "description": "Jednostka magazynowa (SKU).", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN lub ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Cena wariantu.", "type": "string", "required": false }, "sale_price": { "description": "Cena promocyjna wariantu.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data rozpocz\u0119cia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Data rozpocz\u0119cia promocji (GMT).", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "status": { "default": "publish", "description": "Status wariantu.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "default": false, "description": "Je\u015bli wariant jest wirtualny.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Je\u015bli wariant jest do pobrania.", "type": "boolean", "required": false }, "downloads": { "description": "Lista plik\u00f3w do pobrania.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "Status podatku.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Klasa podatkowa.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Zarz\u0105dzanie stanem magazynowym na poziomie wariantu.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stan magazynowy.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Kontroluje stan magazynowy produktu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Niski stan magazynowy dla tego wariantu.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Waga wariantu (kg).", "type": "string", "required": false }, "dimensions": { "description": "Wymiary wariantu.", "type": "object", "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "image": { "description": "Dane obrazka wariantu.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista atrybut\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, u\u017cywana dla w\u0142asnego sortowania produkt\u00f3w.", "type": "integer", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Nazwa produkty nadrz\u0119dnego.", "type": "string", "required": false }, "parent_id": { "description": "ID nadrz\u0119dnego produktu.", "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": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "id": { "description": "Unikalny identyfikator wariantu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "id": { "description": "Unikalny identyfikator wariantu.", "type": "integer", "required": false }, "type": { "description": "Typ produktu.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Opis wariantu.", "type": "string", "required": false }, "sku": { "description": "Jednostka magazynowa (SKU).", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN lub ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Cena wariantu.", "type": "string", "required": false }, "sale_price": { "description": "Cena promocyjna wariantu.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data rozpocz\u0119cia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Data rozpocz\u0119cia promocji (GMT).", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "status": { "description": "Status wariantu.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "description": "Je\u015bli wariant jest wirtualny.", "type": "boolean", "required": false }, "downloadable": { "description": "Je\u015bli wariant jest do pobrania.", "type": "boolean", "required": false }, "downloads": { "description": "Lista plik\u00f3w do pobrania.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer", "required": false }, "download_expiry": { "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer", "required": false }, "tax_status": { "description": "Status podatku.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Klasa podatkowa.", "type": "string", "required": false }, "manage_stock": { "description": "Zarz\u0105dzanie stanem magazynowym na poziomie wariantu.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stan magazynowy.", "type": "integer", "required": false }, "stock_status": { "description": "Kontroluje stan magazynowy produktu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Niski stan magazynowy dla tego wariantu.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Waga wariantu (kg).", "type": "string", "required": false }, "dimensions": { "description": "Wymiary wariantu.", "type": "object", "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "image": { "description": "Dane obrazka wariantu.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista atrybut\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, u\u017cywana dla w\u0142asnego sortowania produkt\u00f3w.", "type": "integer", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Nazwa produkty nadrz\u0119dnego.", "type": "string", "required": false }, "parent_id": { "description": "ID nadrz\u0119dnego produktu.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "description": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "id": { "description": "Unikalny identyfikator wariantu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "required": false } } }, { "methods": [ "GET" ], "args": { "product_id": { "description": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "id": { "description": "Unikalny identyfikator wariantu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "id": { "description": "Unikalny identyfikator wariantu.", "type": "integer", "required": false }, "type": { "description": "Typ produktu.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Opis wariantu.", "type": "string", "required": false }, "sku": { "description": "Jednostka magazynowa (SKU).", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN lub ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Cena wariantu.", "type": "string", "required": false }, "sale_price": { "description": "Cena promocyjna wariantu.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data rozpocz\u0119cia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Data rozpocz\u0119cia promocji (GMT).", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "status": { "description": "Status wariantu.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "description": "Je\u015bli wariant jest wirtualny.", "type": "boolean", "required": false }, "downloadable": { "description": "Je\u015bli wariant jest do pobrania.", "type": "boolean", "required": false }, "downloads": { "description": "Lista plik\u00f3w do pobrania.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer", "required": false }, "download_expiry": { "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer", "required": false }, "tax_status": { "description": "Status podatku.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Klasa podatkowa.", "type": "string", "required": false }, "manage_stock": { "description": "Zarz\u0105dzanie stanem magazynowym na poziomie wariantu.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stan magazynowy.", "type": "integer", "required": false }, "stock_status": { "description": "Kontroluje stan magazynowy produktu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Niski stan magazynowy dla tego wariantu.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Waga wariantu (kg).", "type": "string", "required": false }, "dimensions": { "description": "Wymiary wariantu.", "type": "object", "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "image": { "description": "Dane obrazka wariantu.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista atrybut\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, u\u017cywana dla w\u0142asnego sortowania produkt\u00f3w.", "type": "integer", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Nazwa produkty nadrz\u0119dnego.", "type": "string", "required": false }, "parent_id": { "description": "ID nadrz\u0119dnego produktu.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "description": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "id": { "description": "Unikalny identyfikator wariantu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "required": false } } }, { "methods": [ "GET" ], "args": { "product_id": { "description": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "id": { "description": "Unikalny identyfikator wariantu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "id": { "description": "Unikalny identyfikator wariantu.", "type": "integer", "required": false }, "type": { "description": "Typ produktu.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Opis wariantu.", "type": "string", "required": false }, "sku": { "description": "Jednostka magazynowa (SKU).", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN lub ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Cena wariantu.", "type": "string", "required": false }, "sale_price": { "description": "Cena promocyjna wariantu.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data rozpocz\u0119cia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Data rozpocz\u0119cia promocji (GMT).", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "status": { "description": "Status wariantu.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "description": "Je\u015bli wariant jest wirtualny.", "type": "boolean", "required": false }, "downloadable": { "description": "Je\u015bli wariant jest do pobrania.", "type": "boolean", "required": false }, "downloads": { "description": "Lista plik\u00f3w do pobrania.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer", "required": false }, "download_expiry": { "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer", "required": false }, "tax_status": { "description": "Status podatku.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Klasa podatkowa.", "type": "string", "required": false }, "manage_stock": { "description": "Zarz\u0105dzanie stanem magazynowym na poziomie wariantu.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stan magazynowy.", "type": "integer", "required": false }, "stock_status": { "description": "Kontroluje stan magazynowy produktu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Niski stan magazynowy dla tego wariantu.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Waga wariantu (kg).", "type": "string", "required": false }, "dimensions": { "description": "Wymiary wariantu.", "type": "object", "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "image": { "description": "Dane obrazka wariantu.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista atrybut\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, u\u017cywana dla w\u0142asnego sortowania produkt\u00f3w.", "type": "integer", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Nazwa produkty nadrz\u0119dnego.", "type": "string", "required": false }, "parent_id": { "description": "ID nadrz\u0119dnego produktu.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "description": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "id": { "description": "Unikalny identyfikator wariantu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "required": false } } }, { "methods": [ "GET" ], "args": { "product_id": { "description": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "id": { "description": "Unikalny identyfikator wariantu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "id": { "description": "Unikalny identyfikator wariantu.", "type": "integer", "required": false }, "type": { "description": "Typ produktu.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Opis wariantu.", "type": "string", "required": false }, "sku": { "description": "Jednostka magazynowa (SKU).", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN lub ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Cena wariantu.", "type": "string", "required": false }, "sale_price": { "description": "Cena promocyjna wariantu.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data rozpocz\u0119cia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Data rozpocz\u0119cia promocji (GMT).", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "status": { "description": "Status wariantu.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "description": "Je\u015bli wariant jest wirtualny.", "type": "boolean", "required": false }, "downloadable": { "description": "Je\u015bli wariant jest do pobrania.", "type": "boolean", "required": false }, "downloads": { "description": "Lista plik\u00f3w do pobrania.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer", "required": false }, "download_expiry": { "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer", "required": false }, "tax_status": { "description": "Status podatku.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Klasa podatkowa.", "type": "string", "required": false }, "manage_stock": { "description": "Zarz\u0105dzanie stanem magazynowym na poziomie wariantu.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stan magazynowy.", "type": "integer", "required": false }, "stock_status": { "description": "Kontroluje stan magazynowy produktu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Niski stan magazynowy dla tego wariantu.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Waga wariantu (kg).", "type": "string", "required": false }, "dimensions": { "description": "Wymiary wariantu.", "type": "object", "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "image": { "description": "Dane obrazka wariantu.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista atrybut\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, u\u017cywana dla w\u0142asnego sortowania produkt\u00f3w.", "type": "integer", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Nazwa produkty nadrz\u0119dnego.", "type": "string", "required": false }, "parent_id": { "description": "ID nadrz\u0119dnego produktu.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "description": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "id": { "description": "Unikalny identyfikator wariantu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "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": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "type": { "description": "Typ produktu.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Opis wariantu.", "type": "string", "required": false }, "sku": { "description": "Jednostka magazynowa (SKU).", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN lub ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Cena wariantu.", "type": "string", "required": false }, "sale_price": { "description": "Cena promocyjna wariantu.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data rozpocz\u0119cia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Data rozpocz\u0119cia promocji (GMT).", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "status": { "description": "Status wariantu.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "description": "Je\u015bli wariant jest wirtualny.", "type": "boolean", "required": false }, "downloadable": { "description": "Je\u015bli wariant jest do pobrania.", "type": "boolean", "required": false }, "downloads": { "description": "Lista plik\u00f3w do pobrania.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer", "required": false }, "download_expiry": { "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer", "required": false }, "tax_status": { "description": "Status podatku.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Klasa podatkowa.", "type": "string", "required": false }, "manage_stock": { "description": "Zarz\u0105dzanie stanem magazynowym na poziomie wariantu.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stan magazynowy.", "type": "integer", "required": false }, "stock_status": { "description": "Kontroluje stan magazynowy produktu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Niski stan magazynowy dla tego wariantu.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Waga wariantu (kg).", "type": "string", "required": false }, "dimensions": { "description": "Wymiary wariantu.", "type": "object", "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "image": { "description": "Dane obrazka wariantu.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista atrybut\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, u\u017cywana dla w\u0142asnego sortowania produkt\u00f3w.", "type": "integer", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Nazwa produkty nadrz\u0119dnego.", "type": "string", "required": false }, "parent_id": { "description": "ID nadrz\u0119dnego produktu.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "type": { "description": "Typ produktu.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Opis wariantu.", "type": "string", "required": false }, "sku": { "description": "Jednostka magazynowa (SKU).", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN lub ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Cena wariantu.", "type": "string", "required": false }, "sale_price": { "description": "Cena promocyjna wariantu.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data rozpocz\u0119cia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Data rozpocz\u0119cia promocji (GMT).", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "status": { "description": "Status wariantu.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "description": "Je\u015bli wariant jest wirtualny.", "type": "boolean", "required": false }, "downloadable": { "description": "Je\u015bli wariant jest do pobrania.", "type": "boolean", "required": false }, "downloads": { "description": "Lista plik\u00f3w do pobrania.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer", "required": false }, "download_expiry": { "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer", "required": false }, "tax_status": { "description": "Status podatku.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Klasa podatkowa.", "type": "string", "required": false }, "manage_stock": { "description": "Zarz\u0105dzanie stanem magazynowym na poziomie wariantu.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stan magazynowy.", "type": "integer", "required": false }, "stock_status": { "description": "Kontroluje stan magazynowy produktu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Niski stan magazynowy dla tego wariantu.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Waga wariantu (kg).", "type": "string", "required": false }, "dimensions": { "description": "Wymiary wariantu.", "type": "object", "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "image": { "description": "Dane obrazka wariantu.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista atrybut\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, u\u017cywana dla w\u0142asnego sortowania produkt\u00f3w.", "type": "integer", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Nazwa produkty nadrz\u0119dnego.", "type": "string", "required": false }, "parent_id": { "description": "ID nadrz\u0119dnego produktu.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "type": { "description": "Typ produktu.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Opis wariantu.", "type": "string", "required": false }, "sku": { "description": "Jednostka magazynowa (SKU).", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN lub ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Cena wariantu.", "type": "string", "required": false }, "sale_price": { "description": "Cena promocyjna wariantu.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data rozpocz\u0119cia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Data rozpocz\u0119cia promocji (GMT).", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "status": { "description": "Status wariantu.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "description": "Je\u015bli wariant jest wirtualny.", "type": "boolean", "required": false }, "downloadable": { "description": "Je\u015bli wariant jest do pobrania.", "type": "boolean", "required": false }, "downloads": { "description": "Lista plik\u00f3w do pobrania.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer", "required": false }, "download_expiry": { "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer", "required": false }, "tax_status": { "description": "Status podatku.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Klasa podatkowa.", "type": "string", "required": false }, "manage_stock": { "description": "Zarz\u0105dzanie stanem magazynowym na poziomie wariantu.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stan magazynowy.", "type": "integer", "required": false }, "stock_status": { "description": "Kontroluje stan magazynowy produktu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Niski stan magazynowy dla tego wariantu.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Waga wariantu (kg).", "type": "string", "required": false }, "dimensions": { "description": "Wymiary wariantu.", "type": "object", "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "image": { "description": "Dane obrazka wariantu.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista atrybut\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, u\u017cywana dla w\u0142asnego sortowania produkt\u00f3w.", "type": "integer", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Nazwa produkty nadrz\u0119dnego.", "type": "string", "required": false }, "parent_id": { "description": "ID nadrz\u0119dnego produktu.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "type": { "description": "Typ produktu.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Opis wariantu.", "type": "string", "required": false }, "sku": { "description": "Jednostka magazynowa (SKU).", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN lub ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Cena wariantu.", "type": "string", "required": false }, "sale_price": { "description": "Cena promocyjna wariantu.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data rozpocz\u0119cia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Data rozpocz\u0119cia promocji (GMT).", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "status": { "description": "Status wariantu.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "description": "Je\u015bli wariant jest wirtualny.", "type": "boolean", "required": false }, "downloadable": { "description": "Je\u015bli wariant jest do pobrania.", "type": "boolean", "required": false }, "downloads": { "description": "Lista plik\u00f3w do pobrania.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer", "required": false }, "download_expiry": { "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer", "required": false }, "tax_status": { "description": "Status podatku.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Klasa podatkowa.", "type": "string", "required": false }, "manage_stock": { "description": "Zarz\u0105dzanie stanem magazynowym na poziomie wariantu.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stan magazynowy.", "type": "integer", "required": false }, "stock_status": { "description": "Kontroluje stan magazynowy produktu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Niski stan magazynowy dla tego wariantu.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Waga wariantu (kg).", "type": "string", "required": false }, "dimensions": { "description": "Wymiary wariantu.", "type": "object", "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "image": { "description": "Dane obrazka wariantu.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista atrybut\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, u\u017cywana dla w\u0142asnego sortowania produkt\u00f3w.", "type": "integer", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Nazwa produkty nadrz\u0119dnego.", "type": "string", "required": false }, "parent_id": { "description": "ID nadrz\u0119dnego produktu.", "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": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "delete": { "description": "Usuwa nieu\u017cywane odmiany.", "type": "boolean", "required": false }, "default_values": { "description": "Warto\u015bci domy\u015blne dla generowanych odmian.", "type": "object", "properties": { "type": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Typ produktu.", "type": "string", "enum": [ "variation" ] }, "description": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Opis wariantu.", "type": "string" }, "sku": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Jednostka magazynowa (SKU).", "type": "string" }, "global_unique_id": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "GTIN, UPC, EAN lub ISBN.", "type": "string" }, "regular_price": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Cena wariantu.", "type": "string" }, "sale_price": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Cena promocyjna wariantu.", "type": "string" }, "date_on_sale_from": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Data rozpocz\u0119cia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ] }, "date_on_sale_from_gmt": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Data rozpocz\u0119cia promocji (GMT).", "type": [ "null", "string" ] }, "date_on_sale_to": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ] }, "date_on_sale_to_gmt": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ] }, "status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Status wariantu.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ] }, "virtual": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Je\u015bli wariant jest wirtualny.", "type": "boolean" }, "downloadable": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Je\u015bli wariant jest do pobrania.", "type": "boolean" }, "downloads": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Lista plik\u00f3w do pobrania.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer" }, "download_expiry": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer" }, "tax_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Status podatku.", "type": "string", "enum": [ "taxable", "shipping", "none" ] }, "tax_class": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Klasa podatkowa.", "type": "string" }, "manage_stock": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Zarz\u0105dzanie stanem magazynowym na poziomie wariantu.", "type": "boolean" }, "stock_quantity": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Stan magazynowy.", "type": "integer" }, "stock_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Kontroluje stan magazynowy produktu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ] }, "backorders": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "enum": [ "no", "notify", "yes" ] }, "low_stock_amount": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Niski stan magazynowy dla tego wariantu.", "type": [ "integer", "null" ] }, "weight": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Waga wariantu (kg).", "type": "string" }, "dimensions": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Wymiary wariantu.", "type": "object", "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] } } }, "shipping_class": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string" }, "image": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Dane obrazka wariantu.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } } }, "attributes": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Lista atrybut\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } } }, "menu_order": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Kolejno\u015b\u0107, u\u017cywana dla w\u0142asnego sortowania produkt\u00f3w.", "type": "integer" }, "meta_data": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } }, "name": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Nazwa produkty nadrz\u0119dnego.", "type": "string" }, "parent_id": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "ID nadrz\u0119dnego produktu.", "type": "integer" } }, "required": false }, "type": { "default": "variation", "description": "Typ produktu.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Opis wariantu.", "type": "string", "required": false }, "sku": { "description": "Jednostka magazynowa (SKU).", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN lub ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Cena wariantu.", "type": "string", "required": false }, "sale_price": { "description": "Cena promocyjna wariantu.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data rozpocz\u0119cia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Data rozpocz\u0119cia promocji (GMT).", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "status": { "default": "publish", "description": "Status wariantu.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "default": false, "description": "Je\u015bli wariant jest wirtualny.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Je\u015bli wariant jest do pobrania.", "type": "boolean", "required": false }, "downloads": { "description": "Lista plik\u00f3w do pobrania.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "Status podatku.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Klasa podatkowa.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Zarz\u0105dzanie stanem magazynowym na poziomie wariantu.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stan magazynowy.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Kontroluje stan magazynowy produktu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Niski stan magazynowy dla tego wariantu.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Waga wariantu (kg).", "type": "string", "required": false }, "dimensions": { "description": "Wymiary wariantu.", "type": "object", "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "image": { "description": "Dane obrazka wariantu.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista atrybut\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, u\u017cywana dla w\u0142asnego sortowania produkt\u00f3w.", "type": "integer", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Nazwa produkty nadrz\u0119dnego.", "type": "string", "required": false }, "parent_id": { "description": "ID nadrz\u0119dnego produktu.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "delete": { "description": "Usuwa nieu\u017cywane odmiany.", "type": "boolean", "required": false }, "default_values": { "description": "Warto\u015bci domy\u015blne dla generowanych odmian.", "type": "object", "properties": { "type": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Typ produktu.", "type": "string", "enum": [ "variation" ] }, "description": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Opis wariantu.", "type": "string" }, "sku": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Jednostka magazynowa (SKU).", "type": "string" }, "global_unique_id": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "GTIN, UPC, EAN lub ISBN.", "type": "string" }, "regular_price": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Cena wariantu.", "type": "string" }, "sale_price": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Cena promocyjna wariantu.", "type": "string" }, "date_on_sale_from": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Data rozpocz\u0119cia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ] }, "date_on_sale_from_gmt": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Data rozpocz\u0119cia promocji (GMT).", "type": [ "null", "string" ] }, "date_on_sale_to": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ] }, "date_on_sale_to_gmt": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ] }, "status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Status wariantu.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ] }, "virtual": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Je\u015bli wariant jest wirtualny.", "type": "boolean" }, "downloadable": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Je\u015bli wariant jest do pobrania.", "type": "boolean" }, "downloads": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Lista plik\u00f3w do pobrania.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer" }, "download_expiry": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer" }, "tax_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Status podatku.", "type": "string", "enum": [ "taxable", "shipping", "none" ] }, "tax_class": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Klasa podatkowa.", "type": "string" }, "manage_stock": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Zarz\u0105dzanie stanem magazynowym na poziomie wariantu.", "type": "boolean" }, "stock_quantity": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Stan magazynowy.", "type": "integer" }, "stock_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Kontroluje stan magazynowy produktu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ] }, "backorders": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "enum": [ "no", "notify", "yes" ] }, "low_stock_amount": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Niski stan magazynowy dla tego wariantu.", "type": [ "integer", "null" ] }, "weight": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Waga wariantu (kg).", "type": "string" }, "dimensions": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Wymiary wariantu.", "type": "object", "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] } } }, "shipping_class": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string" }, "image": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Dane obrazka wariantu.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } } }, "attributes": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Lista atrybut\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } } }, "menu_order": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Kolejno\u015b\u0107, u\u017cywana dla w\u0142asnego sortowania produkt\u00f3w.", "type": "integer" }, "meta_data": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } }, "name": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Nazwa produkty nadrz\u0119dnego.", "type": "string" }, "parent_id": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "ID nadrz\u0119dnego produktu.", "type": "integer" } }, "required": false }, "type": { "default": "variation", "description": "Typ produktu.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Opis wariantu.", "type": "string", "required": false }, "sku": { "description": "Jednostka magazynowa (SKU).", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN lub ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Cena wariantu.", "type": "string", "required": false }, "sale_price": { "description": "Cena promocyjna wariantu.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data rozpocz\u0119cia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Data rozpocz\u0119cia promocji (GMT).", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "status": { "default": "publish", "description": "Status wariantu.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "default": false, "description": "Je\u015bli wariant jest wirtualny.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Je\u015bli wariant jest do pobrania.", "type": "boolean", "required": false }, "downloads": { "description": "Lista plik\u00f3w do pobrania.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "Status podatku.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Klasa podatkowa.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Zarz\u0105dzanie stanem magazynowym na poziomie wariantu.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stan magazynowy.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Kontroluje stan magazynowy produktu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Niski stan magazynowy dla tego wariantu.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Waga wariantu (kg).", "type": "string", "required": false }, "dimensions": { "description": "Wymiary wariantu.", "type": "object", "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "image": { "description": "Dane obrazka wariantu.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista atrybut\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, u\u017cywana dla w\u0142asnego sortowania produkt\u00f3w.", "type": "integer", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Nazwa produkty nadrz\u0119dnego.", "type": "string", "required": false }, "parent_id": { "description": "ID nadrz\u0119dnego produktu.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "delete": { "description": "Usuwa nieu\u017cywane odmiany.", "type": "boolean", "required": false }, "default_values": { "description": "Warto\u015bci domy\u015blne dla generowanych odmian.", "type": "object", "properties": { "type": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Typ produktu.", "type": "string", "enum": [ "variation" ] }, "description": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Opis wariantu.", "type": "string" }, "sku": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Jednostka magazynowa (SKU).", "type": "string" }, "global_unique_id": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "GTIN, UPC, EAN lub ISBN.", "type": "string" }, "regular_price": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Cena wariantu.", "type": "string" }, "sale_price": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Cena promocyjna wariantu.", "type": "string" }, "date_on_sale_from": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Data rozpocz\u0119cia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ] }, "date_on_sale_from_gmt": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Data rozpocz\u0119cia promocji (GMT).", "type": [ "null", "string" ] }, "date_on_sale_to": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ] }, "date_on_sale_to_gmt": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ] }, "status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Status wariantu.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ] }, "virtual": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Je\u015bli wariant jest wirtualny.", "type": "boolean" }, "downloadable": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Je\u015bli wariant jest do pobrania.", "type": "boolean" }, "downloads": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Lista plik\u00f3w do pobrania.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer" }, "download_expiry": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer" }, "tax_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Status podatku.", "type": "string", "enum": [ "taxable", "shipping", "none" ] }, "tax_class": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Klasa podatkowa.", "type": "string" }, "manage_stock": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Zarz\u0105dzanie stanem magazynowym na poziomie wariantu.", "type": "boolean" }, "stock_quantity": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Stan magazynowy.", "type": "integer" }, "stock_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Kontroluje stan magazynowy produktu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ] }, "backorders": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "enum": [ "no", "notify", "yes" ] }, "low_stock_amount": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Niski stan magazynowy dla tego wariantu.", "type": [ "integer", "null" ] }, "weight": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Waga wariantu (kg).", "type": "string" }, "dimensions": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Wymiary wariantu.", "type": "object", "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] } } }, "shipping_class": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string" }, "image": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Dane obrazka wariantu.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } } }, "attributes": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Lista atrybut\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } } }, "menu_order": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Kolejno\u015b\u0107, u\u017cywana dla w\u0142asnego sortowania produkt\u00f3w.", "type": "integer" }, "meta_data": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } }, "name": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Nazwa produkty nadrz\u0119dnego.", "type": "string" }, "parent_id": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "ID nadrz\u0119dnego produktu.", "type": "integer" } }, "required": false }, "type": { "default": "variation", "description": "Typ produktu.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Opis wariantu.", "type": "string", "required": false }, "sku": { "description": "Jednostka magazynowa (SKU).", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN lub ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Cena wariantu.", "type": "string", "required": false }, "sale_price": { "description": "Cena promocyjna wariantu.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data rozpocz\u0119cia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Data rozpocz\u0119cia promocji (GMT).", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "status": { "default": "publish", "description": "Status wariantu.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "default": false, "description": "Je\u015bli wariant jest wirtualny.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Je\u015bli wariant jest do pobrania.", "type": "boolean", "required": false }, "downloads": { "description": "Lista plik\u00f3w do pobrania.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "Status podatku.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Klasa podatkowa.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Zarz\u0105dzanie stanem magazynowym na poziomie wariantu.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stan magazynowy.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Kontroluje stan magazynowy produktu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Niski stan magazynowy dla tego wariantu.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Waga wariantu (kg).", "type": "string", "required": false }, "dimensions": { "description": "Wymiary wariantu.", "type": "object", "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "image": { "description": "Dane obrazka wariantu.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista atrybut\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, u\u017cywana dla w\u0142asnego sortowania produkt\u00f3w.", "type": "integer", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Nazwa produkty nadrz\u0119dnego.", "type": "string", "required": false }, "parent_id": { "description": "ID nadrz\u0119dnego produktu.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "delete": { "description": "Usuwa nieu\u017cywane odmiany.", "type": "boolean", "required": false }, "default_values": { "description": "Warto\u015bci domy\u015blne dla generowanych odmian.", "type": "object", "properties": { "type": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Typ produktu.", "type": "string", "enum": [ "variation" ] }, "description": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Opis wariantu.", "type": "string" }, "sku": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Jednostka magazynowa (SKU).", "type": "string" }, "global_unique_id": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "GTIN, UPC, EAN lub ISBN.", "type": "string" }, "regular_price": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Cena wariantu.", "type": "string" }, "sale_price": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Cena promocyjna wariantu.", "type": "string" }, "date_on_sale_from": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Data rozpocz\u0119cia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ] }, "date_on_sale_from_gmt": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Data rozpocz\u0119cia promocji (GMT).", "type": [ "null", "string" ] }, "date_on_sale_to": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ] }, "date_on_sale_to_gmt": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ] }, "status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Status wariantu.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ] }, "virtual": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Je\u015bli wariant jest wirtualny.", "type": "boolean" }, "downloadable": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Je\u015bli wariant jest do pobrania.", "type": "boolean" }, "downloads": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Lista plik\u00f3w do pobrania.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer" }, "download_expiry": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer" }, "tax_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Status podatku.", "type": "string", "enum": [ "taxable", "shipping", "none" ] }, "tax_class": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Klasa podatkowa.", "type": "string" }, "manage_stock": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Zarz\u0105dzanie stanem magazynowym na poziomie wariantu.", "type": "boolean" }, "stock_quantity": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Stan magazynowy.", "type": "integer" }, "stock_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Kontroluje stan magazynowy produktu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ] }, "backorders": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "enum": [ "no", "notify", "yes" ] }, "low_stock_amount": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Niski stan magazynowy dla tego wariantu.", "type": [ "integer", "null" ] }, "weight": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Waga wariantu (kg).", "type": "string" }, "dimensions": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Wymiary wariantu.", "type": "object", "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] } } }, "shipping_class": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string" }, "image": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Dane obrazka wariantu.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } } }, "attributes": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Lista atrybut\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } } }, "menu_order": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Kolejno\u015b\u0107, u\u017cywana dla w\u0142asnego sortowania produkt\u00f3w.", "type": "integer" }, "meta_data": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } }, "name": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Nazwa produkty nadrz\u0119dnego.", "type": "string" }, "parent_id": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "ID nadrz\u0119dnego produktu.", "type": "integer" } }, "required": false }, "type": { "default": "variation", "description": "Typ produktu.", "type": "string", "enum": [ "variation" ], "required": false }, "description": { "description": "Opis wariantu.", "type": "string", "required": false }, "sku": { "description": "Jednostka magazynowa (SKU).", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN lub ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Cena wariantu.", "type": "string", "required": false }, "sale_price": { "description": "Cena promocyjna wariantu.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data rozpocz\u0119cia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Data rozpocz\u0119cia promocji (GMT).", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "status": { "default": "publish", "description": "Status wariantu.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "default": false, "description": "Je\u015bli wariant jest wirtualny.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Je\u015bli wariant jest do pobrania.", "type": "boolean", "required": false }, "downloads": { "description": "Lista plik\u00f3w do pobrania.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "Status podatku.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Klasa podatkowa.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Zarz\u0105dzanie stanem magazynowym na poziomie wariantu.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stan magazynowy.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Kontroluje stan magazynowy produktu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Niski stan magazynowy dla tego wariantu.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Waga wariantu (kg).", "type": "string", "required": false }, "dimensions": { "description": "Wymiary wariantu.", "type": "object", "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "image": { "description": "Dane obrazka wariantu.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista atrybut\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, u\u017cywana dla w\u0142asnego sortowania produkt\u00f3w.", "type": "integer", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "name": { "description": "Nazwa produkty nadrz\u0119dnego.", "type": "string", "required": false }, "parent_id": { "description": "ID nadrz\u0119dnego produktu.", "type": "integer", "required": false } } } ] }, "\/wc-analytics\/variations": { "namespace": "wc-analytics", "methods": [ "GET", "GET", "GET", "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Wyszukaj wg podobnej nazwy produktu, SKU lub warto\u015bci atrybutu.", "type": "string", "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ogranicz wynik do zasob\u00f3w zmienionych po danej dacie zgodnej z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ogranicz odpowied\u017a do zasob\u00f3w zmienionych przed dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Czy bra\u0107 pod uwag\u0119 daty GMT publikacji lub modyfikacji podczas ograniczania odpowiedzi.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "menu_order" ], "required": false }, "parent": { "description": "Ogranicz zestaw wynik\u00f3w do tych z okre\u015blonych identyfikator\u00f3w nadrz\u0119dnych.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Ogranicz zestaw wynik\u00f3w do wszystkich element\u00f3w z wyj\u0105tkiem tych o okre\u015blonym identyfikatorze nadrz\u0119dnym.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z dan\u0105 nazw\u0105 skr\u00f3con\u0105 (slug).", "type": "string", "required": false }, "status": { "default": "any", "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z danym statusem.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "sku": { "description": "Ogranicz wyniki do produkt\u00f3w z wybranymi SKU. U\u017cyj przecink\u00f3w, aby rozdzieli\u0107 dane.", "type": "string", "required": false }, "on_sale": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w w promocji.", "type": "boolean", "required": false }, "min_price": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z minimaln\u0105 cen\u0105.", "type": "string", "required": false }, "max_price": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z maksymaln\u0105 cen\u0105.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Ogranicz metadane do wybranych kluczy.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Upewnij si\u0119, \u017ce metadane wykluczaj\u0105 okre\u015blone klucze.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Ogranicz wyniki do produkt\u00f3w z okre\u015blonym stanem magazynowym.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "has_price": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z cen\u0105 lub bez.", "type": "boolean", "required": false }, "attributes": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z okre\u015blonymi atrybutami.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "type": "string", "description": "Bezpo\u015bredni odno\u015bnik atrybutu." }, "term": { "type": "string", "description": "Termin atrybutu." }, "terms": { "type": "array", "description": "Okre\u015blenia atrybut\u00f3w." } } }, "required": false }, "virtual": { "description": "Ogranicz zestaw wynik\u00f3w do wariant\u00f3w wirtualnych produkt\u00f3w.", "type": "boolean", "required": false }, "downloadable": { "description": "Ogranicz zestaw wynik\u00f3w do wariant\u00f3w produkt\u00f3w do pobrania.", "type": "boolean", "required": false }, "include_status": { "description": "Ogranicz zestaw wynik\u00f3w do wariant\u00f3w produkt\u00f3w o dowolnym statusie.", "type": "array", "items": { "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "exclude_status": { "description": "Wyklucz z zestawu wynik\u00f3w warianty produkt\u00f3w o dowolnym statusie.", "type": "array", "items": { "type": "string", "enum": [ "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false } } }, { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Wyszukaj wg podobnej nazwy produktu, SKU lub warto\u015bci atrybutu.", "type": "string", "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ogranicz wynik do zasob\u00f3w zmienionych po danej dacie zgodnej z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ogranicz odpowied\u017a do zasob\u00f3w zmienionych przed dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Czy bra\u0107 pod uwag\u0119 daty GMT publikacji lub modyfikacji podczas ograniczania odpowiedzi.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "menu_order" ], "required": false }, "parent": { "description": "Ogranicz zestaw wynik\u00f3w do tych z okre\u015blonych identyfikator\u00f3w nadrz\u0119dnych.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Ogranicz zestaw wynik\u00f3w do wszystkich element\u00f3w z wyj\u0105tkiem tych o okre\u015blonym identyfikatorze nadrz\u0119dnym.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z dan\u0105 nazw\u0105 skr\u00f3con\u0105 (slug).", "type": "string", "required": false }, "status": { "default": "any", "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z danym statusem.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "sku": { "description": "Ogranicz wyniki do produkt\u00f3w z wybranymi SKU. U\u017cyj przecink\u00f3w, aby rozdzieli\u0107 dane.", "type": "string", "required": false }, "on_sale": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w w promocji.", "type": "boolean", "required": false }, "min_price": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z minimaln\u0105 cen\u0105.", "type": "string", "required": false }, "max_price": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z maksymaln\u0105 cen\u0105.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Ogranicz metadane do wybranych kluczy.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Upewnij si\u0119, \u017ce metadane wykluczaj\u0105 okre\u015blone klucze.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Ogranicz wyniki do produkt\u00f3w z okre\u015blonym stanem magazynowym.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "has_price": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z cen\u0105 lub bez.", "type": "boolean", "required": false }, "attributes": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z okre\u015blonymi atrybutami.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "type": "string", "description": "Bezpo\u015bredni odno\u015bnik atrybutu." }, "term": { "type": "string", "description": "Termin atrybutu." }, "terms": { "type": "array", "description": "Okre\u015blenia atrybut\u00f3w." } } }, "required": false }, "virtual": { "description": "Ogranicz zestaw wynik\u00f3w do wariant\u00f3w wirtualnych produkt\u00f3w.", "type": "boolean", "required": false }, "downloadable": { "description": "Ogranicz zestaw wynik\u00f3w do wariant\u00f3w produkt\u00f3w do pobrania.", "type": "boolean", "required": false }, "include_status": { "description": "Ogranicz zestaw wynik\u00f3w do wariant\u00f3w produkt\u00f3w o dowolnym statusie.", "type": "array", "items": { "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "exclude_status": { "description": "Wyklucz z zestawu wynik\u00f3w warianty produkt\u00f3w o dowolnym statusie.", "type": "array", "items": { "type": "string", "enum": [ "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false } } }, { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Wyszukaj wg podobnej nazwy produktu, SKU lub warto\u015bci atrybutu.", "type": "string", "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ogranicz wynik do zasob\u00f3w zmienionych po danej dacie zgodnej z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ogranicz odpowied\u017a do zasob\u00f3w zmienionych przed dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Czy bra\u0107 pod uwag\u0119 daty GMT publikacji lub modyfikacji podczas ograniczania odpowiedzi.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "menu_order" ], "required": false }, "parent": { "description": "Ogranicz zestaw wynik\u00f3w do tych z okre\u015blonych identyfikator\u00f3w nadrz\u0119dnych.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Ogranicz zestaw wynik\u00f3w do wszystkich element\u00f3w z wyj\u0105tkiem tych o okre\u015blonym identyfikatorze nadrz\u0119dnym.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z dan\u0105 nazw\u0105 skr\u00f3con\u0105 (slug).", "type": "string", "required": false }, "status": { "default": "any", "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z danym statusem.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "sku": { "description": "Ogranicz wyniki do produkt\u00f3w z wybranymi SKU. U\u017cyj przecink\u00f3w, aby rozdzieli\u0107 dane.", "type": "string", "required": false }, "on_sale": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w w promocji.", "type": "boolean", "required": false }, "min_price": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z minimaln\u0105 cen\u0105.", "type": "string", "required": false }, "max_price": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z maksymaln\u0105 cen\u0105.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Ogranicz metadane do wybranych kluczy.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Upewnij si\u0119, \u017ce metadane wykluczaj\u0105 okre\u015blone klucze.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Ogranicz wyniki do produkt\u00f3w z okre\u015blonym stanem magazynowym.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "has_price": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z cen\u0105 lub bez.", "type": "boolean", "required": false }, "attributes": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z okre\u015blonymi atrybutami.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "type": "string", "description": "Bezpo\u015bredni odno\u015bnik atrybutu." }, "term": { "type": "string", "description": "Termin atrybutu." }, "terms": { "type": "array", "description": "Okre\u015blenia atrybut\u00f3w." } } }, "required": false }, "virtual": { "description": "Ogranicz zestaw wynik\u00f3w do wariant\u00f3w wirtualnych produkt\u00f3w.", "type": "boolean", "required": false }, "downloadable": { "description": "Ogranicz zestaw wynik\u00f3w do wariant\u00f3w produkt\u00f3w do pobrania.", "type": "boolean", "required": false }, "include_status": { "description": "Ogranicz zestaw wynik\u00f3w do wariant\u00f3w produkt\u00f3w o dowolnym statusie.", "type": "array", "items": { "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "exclude_status": { "description": "Wyklucz z zestawu wynik\u00f3w warianty produkt\u00f3w o dowolnym statusie.", "type": "array", "items": { "type": "string", "enum": [ "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false } } }, { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Wyszukaj wg podobnej nazwy produktu, SKU lub warto\u015bci atrybutu.", "type": "string", "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ogranicz wynik do zasob\u00f3w zmienionych po danej dacie zgodnej z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ogranicz odpowied\u017a do zasob\u00f3w zmienionych przed dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Czy bra\u0107 pod uwag\u0119 daty GMT publikacji lub modyfikacji podczas ograniczania odpowiedzi.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "menu_order" ], "required": false }, "parent": { "description": "Ogranicz zestaw wynik\u00f3w do tych z okre\u015blonych identyfikator\u00f3w nadrz\u0119dnych.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Ogranicz zestaw wynik\u00f3w do wszystkich element\u00f3w z wyj\u0105tkiem tych o okre\u015blonym identyfikatorze nadrz\u0119dnym.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z dan\u0105 nazw\u0105 skr\u00f3con\u0105 (slug).", "type": "string", "required": false }, "status": { "default": "any", "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z danym statusem.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "sku": { "description": "Ogranicz wyniki do produkt\u00f3w z wybranymi SKU. U\u017cyj przecink\u00f3w, aby rozdzieli\u0107 dane.", "type": "string", "required": false }, "on_sale": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w w promocji.", "type": "boolean", "required": false }, "min_price": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z minimaln\u0105 cen\u0105.", "type": "string", "required": false }, "max_price": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z maksymaln\u0105 cen\u0105.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Ogranicz metadane do wybranych kluczy.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Upewnij si\u0119, \u017ce metadane wykluczaj\u0105 okre\u015blone klucze.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Ogranicz wyniki do produkt\u00f3w z okre\u015blonym stanem magazynowym.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "has_price": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z cen\u0105 lub bez.", "type": "boolean", "required": false }, "attributes": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z okre\u015blonymi atrybutami.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "type": "string", "description": "Bezpo\u015bredni odno\u015bnik atrybutu." }, "term": { "type": "string", "description": "Termin atrybutu." }, "terms": { "type": "array", "description": "Okre\u015blenia atrybut\u00f3w." } } }, "required": false }, "virtual": { "description": "Ogranicz zestaw wynik\u00f3w do wariant\u00f3w wirtualnych produkt\u00f3w.", "type": "boolean", "required": false }, "downloadable": { "description": "Ogranicz zestaw wynik\u00f3w do wariant\u00f3w produkt\u00f3w do pobrania.", "type": "boolean", "required": false }, "include_status": { "description": "Ogranicz zestaw wynik\u00f3w do wariant\u00f3w produkt\u00f3w o dowolnym statusie.", "type": "array", "items": { "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "exclude_status": { "description": "Wyklucz z zestawu wynik\u00f3w warianty produkt\u00f3w o dowolnym statusie.", "type": "array", "items": { "type": "string", "enum": [ "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc-analytics\/variations" } ] } }, "\/wc-analytics\/products\/reviews": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ogranicz wynik do opinii opublikowanych przed dan\u0105 dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz zbi\u00f3r wynik\u00f3w do wybranych ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date_gmt", "enum": [ "date", "date_gmt", "id", "include", "product" ], "required": false }, "reviewer": { "description": "Ogranicz wyniki do opinii przypisanych do konkretnych ID u\u017cytkownik\u00f3w.", "type": "array", "items": { "type": "integer" }, "required": false }, "reviewer_exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza opinie przypisane do konkretnych ID u\u017cytkownik\u00f3w.", "type": "array", "items": { "type": "integer" }, "required": false }, "reviewer_email": { "default": null, "description": "Ogranicz wyniki do danego adresu e-mail.", "format": "email", "type": "string", "required": false }, "product": { "default": [], "description": "Ogranicz wyniki do danego ID produktu.", "type": "array", "items": { "type": "integer" }, "required": false }, "status": { "default": "approved", "description": "Ogranicz wyniki do opinii z danym statusem.", "type": "string", "enum": [ "all", "hold", "approved", "spam", "trash" ], "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Unikalny identyfikator produktu.", "type": "integer", "required": true }, "product_name": { "description": "Nazwa produktu.", "type": "string", "required": false }, "status": { "default": "approved", "description": "Status opinii.", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "type": "string", "description": "Nazwa recenzenta.", "required": true }, "reviewer_email": { "type": "string", "description": "E-mail recenzenta.", "required": true }, "review": { "type": "string", "description": "Tre\u015b\u0107 opinii.", "required": true }, "rating": { "description": "Ocena w skali 0 do 5.", "type": "integer", "required": false } } }, { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ogranicz wynik do opinii opublikowanych przed dan\u0105 dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz zbi\u00f3r wynik\u00f3w do wybranych ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date_gmt", "enum": [ "date", "date_gmt", "id", "include", "product" ], "required": false }, "reviewer": { "description": "Ogranicz wyniki do opinii przypisanych do konkretnych ID u\u017cytkownik\u00f3w.", "type": "array", "items": { "type": "integer" }, "required": false }, "reviewer_exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza opinie przypisane do konkretnych ID u\u017cytkownik\u00f3w.", "type": "array", "items": { "type": "integer" }, "required": false }, "reviewer_email": { "default": null, "description": "Ogranicz wyniki do danego adresu e-mail.", "format": "email", "type": "string", "required": false }, "product": { "default": [], "description": "Ogranicz wyniki do danego ID produktu.", "type": "array", "items": { "type": "integer" }, "required": false }, "status": { "default": "approved", "description": "Ogranicz wyniki do opinii z danym statusem.", "type": "string", "enum": [ "all", "hold", "approved", "spam", "trash" ], "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Unikalny identyfikator produktu.", "type": "integer", "required": true }, "product_name": { "description": "Nazwa produktu.", "type": "string", "required": false }, "status": { "default": "approved", "description": "Status opinii.", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "type": "string", "description": "Nazwa recenzenta.", "required": true }, "reviewer_email": { "type": "string", "description": "E-mail recenzenta.", "required": true }, "review": { "type": "string", "description": "Tre\u015b\u0107 opinii.", "required": true }, "rating": { "description": "Ocena w skali 0 do 5.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "product_id": { "description": "Unikalny identyfikator produktu, do kt\u00f3rego nale\u017cy opinia.", "type": "integer", "required": false }, "product_name": { "description": "Nazwa produktu.", "type": "string", "required": false }, "status": { "description": "Status opinii.", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "description": "Imi\u0119 oceniaj\u0105cego.", "type": "string", "required": false }, "reviewer_email": { "description": "E-mail oceniaj\u0105cego.", "type": "string", "format": "email", "required": false }, "review": { "description": "Tre\u015b\u0107 opinii", "type": "string", "required": false }, "rating": { "description": "Ocena w skali 0 do 5.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "required": false } } }, { "methods": [ "GET" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "product_id": { "description": "Unikalny identyfikator produktu, do kt\u00f3rego nale\u017cy opinia.", "type": "integer", "required": false }, "product_name": { "description": "Nazwa produktu.", "type": "string", "required": false }, "status": { "description": "Status opinii.", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "description": "Imi\u0119 oceniaj\u0105cego.", "type": "string", "required": false }, "reviewer_email": { "description": "E-mail oceniaj\u0105cego.", "type": "string", "format": "email", "required": false }, "review": { "description": "Tre\u015b\u0107 opinii", "type": "string", "required": false }, "rating": { "description": "Ocena w skali 0 do 5.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "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": "Unikalny identyfikator produktu, do kt\u00f3rego nale\u017cy opinia.", "type": "integer", "required": false }, "product_name": { "description": "Nazwa produktu.", "type": "string", "required": false }, "status": { "description": "Status opinii.", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "description": "Imi\u0119 oceniaj\u0105cego.", "type": "string", "required": false }, "reviewer_email": { "description": "E-mail oceniaj\u0105cego.", "type": "string", "format": "email", "required": false }, "review": { "description": "Tre\u015b\u0107 opinii", "type": "string", "required": false }, "rating": { "description": "Ocena w skali 0 do 5.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Unikalny identyfikator produktu, do kt\u00f3rego nale\u017cy opinia.", "type": "integer", "required": false }, "product_name": { "description": "Nazwa produktu.", "type": "string", "required": false }, "status": { "description": "Status opinii.", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "description": "Imi\u0119 oceniaj\u0105cego.", "type": "string", "required": false }, "reviewer_email": { "description": "E-mail oceniaj\u0105cego.", "type": "string", "format": "email", "required": false }, "review": { "description": "Tre\u015b\u0107 opinii", "type": "string", "required": false }, "rating": { "description": "Ocena w skali 0 do 5.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "status": { "default": "publish", "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z danym statusem.", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false } } }, { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "status": { "default": "publish", "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z danym statusem.", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "status": { "default": "publish", "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z danym statusem.", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false } } }, { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "status": { "default": "publish", "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z danym statusem.", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc-analytics\/products\/count-low-in-stock" } ] } }, "\/wc-analytics\/settings\/(?P[\\w-]+)": { "namespace": "wc-analytics", "methods": [ "GET", "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "group": { "description": "ID grupy ustawie\u0144.", "type": "string", "required": false } } }, { "methods": [ "GET" ], "args": { "group": { "description": "ID grupy ustawie\u0144.", "type": "string", "required": false } } } ] }, "\/wc-analytics\/settings\/(?P[\\w-]+)\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "description": "ID grupy ustawie\u0144.", "type": "string", "required": false }, "value": { "description": "Warto\u015b\u0107 ustawienia.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "description": "ID grupy ustawie\u0144.", "type": "string", "required": false }, "value": { "description": "Warto\u015b\u0107 ustawienia.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false } } } ] }, "\/wc-analytics\/settings\/(?P[\\w-]+)\/(?P[\\w-]+)": { "namespace": "wc-analytics", "methods": [ "GET", "POST", "PUT", "PATCH", "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "group": { "description": "ID grupy ustawie\u0144.", "type": "string", "required": false }, "id": { "description": "Unikatowy identyfikator zasobu.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "description": "ID grupy ustawie\u0144.", "type": "string", "required": false }, "id": { "description": "Unikatowy identyfikator zasobu.", "type": "string", "required": false }, "value": { "description": "Warto\u015b\u0107 ustawienia.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false } } }, { "methods": [ "GET" ], "args": { "group": { "description": "ID grupy ustawie\u0144.", "type": "string", "required": false }, "id": { "description": "Unikatowy identyfikator zasobu.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "description": "ID grupy ustawie\u0144.", "type": "string", "required": false }, "id": { "description": "Unikatowy identyfikator zasobu.", "type": "string", "required": false }, "value": { "description": "Warto\u015b\u0107 ustawienia.", "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": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "order", "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "enum": [ "id", "order", "priority" ], "type": "string", "required": false }, "class": { "description": "Sortuj wed\u0142ug klasy podatkowej.", "enum": [ "standard", "reduced-rate", "zero-rate" ], "type": "string", "required": false }, "search": { "description": "Wyszukaj wed\u0142ug podobnego kodu podatku.", "type": "string", "required": false }, "include": { "description": "Ogranicz wyniki wyszukiwania do pozycji o przypisanym identyfikatorze stawek.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false } } }, { "methods": [ "POST" ], "args": { "country": { "description": "Kod ISO 3166 kraju.", "type": "string", "required": false }, "state": { "description": "Kod regionu.", "type": "string", "required": false }, "postcode": { "description": "Pole Kod pocztowy nie wspiera warto\u015bci wielokrotnych. Zosta\u0142o to uznane za przestarza\u0142\u0105 praktyk\u0119 w WooCommerce 5.3. Zamiast tego u\u017cyj pola 'postcodes'.", "type": "string", "required": false }, "city": { "description": "Pole Miasto nie wspiera warto\u015bci wielokrotnych. Zosta\u0142o to uznane za przestarza\u0142\u0105 praktyk\u0119 w WooCommerce 5.3. Zamiast tego u\u017cyj pola 'cities'.", "type": "string", "required": false }, "rate": { "description": "Stawka podatkowa.", "type": "string", "required": false }, "name": { "description": "Nazwa stawki podatku.", "type": "string", "required": false }, "priority": { "default": 1, "description": "Priorytet podatku.", "type": "integer", "required": false }, "compound": { "default": false, "description": "Czy to jest z\u0142o\u017cona stawka.", "type": "boolean", "required": false }, "shipping": { "default": true, "description": "Czy stawka jest stosowana do wysy\u0142ki.", "type": "boolean", "required": false }, "order": { "description": "Wskazuje kolejno\u015b\u0107, kt\u00f3ra pojawi si\u0119 w kwerendach.", "type": "integer", "required": false }, "class": { "default": "standard", "description": "Klasa podatkowa.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false }, "postcodes": { "description": "Lista kod\u00f3w pocztowych. Wprowadzone w WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false }, "cities": { "description": "Lista nazw miast. Wprowadzone w WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "order", "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "enum": [ "id", "order", "priority" ], "type": "string", "required": false }, "class": { "description": "Sortuj wed\u0142ug klasy podatkowej.", "enum": [ "standard", "reduced-rate", "zero-rate" ], "type": "string", "required": false }, "search": { "description": "Wyszukaj wed\u0142ug podobnego kodu podatku.", "type": "string", "required": false }, "include": { "description": "Ogranicz wyniki wyszukiwania do pozycji o przypisanym identyfikatorze stawek.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false } } }, { "methods": [ "POST" ], "args": { "country": { "description": "Kod ISO 3166 kraju.", "type": "string", "required": false }, "state": { "description": "Kod regionu.", "type": "string", "required": false }, "postcode": { "description": "Pole Kod pocztowy nie wspiera warto\u015bci wielokrotnych. Zosta\u0142o to uznane za przestarza\u0142\u0105 praktyk\u0119 w WooCommerce 5.3. Zamiast tego u\u017cyj pola 'postcodes'.", "type": "string", "required": false }, "city": { "description": "Pole Miasto nie wspiera warto\u015bci wielokrotnych. Zosta\u0142o to uznane za przestarza\u0142\u0105 praktyk\u0119 w WooCommerce 5.3. Zamiast tego u\u017cyj pola 'cities'.", "type": "string", "required": false }, "rate": { "description": "Stawka podatkowa.", "type": "string", "required": false }, "name": { "description": "Nazwa stawki podatku.", "type": "string", "required": false }, "priority": { "default": 1, "description": "Priorytet podatku.", "type": "integer", "required": false }, "compound": { "default": false, "description": "Czy to jest z\u0142o\u017cona stawka.", "type": "boolean", "required": false }, "shipping": { "default": true, "description": "Czy stawka jest stosowana do wysy\u0142ki.", "type": "boolean", "required": false }, "order": { "description": "Wskazuje kolejno\u015b\u0107, kt\u00f3ra pojawi si\u0119 w kwerendach.", "type": "integer", "required": false }, "class": { "default": "standard", "description": "Klasa podatkowa.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false }, "postcodes": { "description": "Lista kod\u00f3w pocztowych. Wprowadzone w WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false }, "cities": { "description": "Lista nazw miast. Wprowadzone w WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "country": { "description": "Kod ISO 3166 kraju.", "type": "string", "required": false }, "state": { "description": "Kod regionu.", "type": "string", "required": false }, "postcode": { "description": "Pole Kod pocztowy nie wspiera warto\u015bci wielokrotnych. Zosta\u0142o to uznane za przestarza\u0142\u0105 praktyk\u0119 w WooCommerce 5.3. Zamiast tego u\u017cyj pola 'postcodes'.", "type": "string", "required": false }, "city": { "description": "Pole Miasto nie wspiera warto\u015bci wielokrotnych. Zosta\u0142o to uznane za przestarza\u0142\u0105 praktyk\u0119 w WooCommerce 5.3. Zamiast tego u\u017cyj pola 'cities'.", "type": "string", "required": false }, "rate": { "description": "Stawka podatkowa.", "type": "string", "required": false }, "name": { "description": "Nazwa stawki podatku.", "type": "string", "required": false }, "priority": { "description": "Priorytet podatku.", "type": "integer", "required": false }, "compound": { "description": "Czy to jest z\u0142o\u017cona stawka.", "type": "boolean", "required": false }, "shipping": { "description": "Czy stawka jest stosowana do wysy\u0142ki.", "type": "boolean", "required": false }, "order": { "description": "Wskazuje kolejno\u015b\u0107, kt\u00f3ra pojawi si\u0119 w kwerendach.", "type": "integer", "required": false }, "class": { "description": "Klasa podatkowa.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false }, "postcodes": { "description": "Lista kod\u00f3w pocztowych. Wprowadzone w WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false }, "cities": { "description": "Lista nazw miast. Wprowadzone w WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c zas\u00f3b nie obs\u0142uguje wyrzucania do kosza.", "required": false } } }, { "methods": [ "GET" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "country": { "description": "Kod ISO 3166 kraju.", "type": "string", "required": false }, "state": { "description": "Kod regionu.", "type": "string", "required": false }, "postcode": { "description": "Pole Kod pocztowy nie wspiera warto\u015bci wielokrotnych. Zosta\u0142o to uznane za przestarza\u0142\u0105 praktyk\u0119 w WooCommerce 5.3. Zamiast tego u\u017cyj pola 'postcodes'.", "type": "string", "required": false }, "city": { "description": "Pole Miasto nie wspiera warto\u015bci wielokrotnych. Zosta\u0142o to uznane za przestarza\u0142\u0105 praktyk\u0119 w WooCommerce 5.3. Zamiast tego u\u017cyj pola 'cities'.", "type": "string", "required": false }, "rate": { "description": "Stawka podatkowa.", "type": "string", "required": false }, "name": { "description": "Nazwa stawki podatku.", "type": "string", "required": false }, "priority": { "description": "Priorytet podatku.", "type": "integer", "required": false }, "compound": { "description": "Czy to jest z\u0142o\u017cona stawka.", "type": "boolean", "required": false }, "shipping": { "description": "Czy stawka jest stosowana do wysy\u0142ki.", "type": "boolean", "required": false }, "order": { "description": "Wskazuje kolejno\u015b\u0107, kt\u00f3ra pojawi si\u0119 w kwerendach.", "type": "integer", "required": false }, "class": { "description": "Klasa podatkowa.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false }, "postcodes": { "description": "Lista kod\u00f3w pocztowych. Wprowadzone w WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false }, "cities": { "description": "Lista nazw miast. Wprowadzone w WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c zas\u00f3b nie obs\u0142uguje wyrzucania do kosza.", "required": false } } } ] }, "\/wc-analytics\/taxes\/batch": { "namespace": "wc-analytics", "methods": [ "POST", "PUT", "PATCH", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "country": { "description": "Kod ISO 3166 kraju.", "type": "string", "required": false }, "state": { "description": "Kod regionu.", "type": "string", "required": false }, "postcode": { "description": "Pole Kod pocztowy nie wspiera warto\u015bci wielokrotnych. Zosta\u0142o to uznane za przestarza\u0142\u0105 praktyk\u0119 w WooCommerce 5.3. Zamiast tego u\u017cyj pola 'postcodes'.", "type": "string", "required": false }, "city": { "description": "Pole Miasto nie wspiera warto\u015bci wielokrotnych. Zosta\u0142o to uznane za przestarza\u0142\u0105 praktyk\u0119 w WooCommerce 5.3. Zamiast tego u\u017cyj pola 'cities'.", "type": "string", "required": false }, "rate": { "description": "Stawka podatkowa.", "type": "string", "required": false }, "name": { "description": "Nazwa stawki podatku.", "type": "string", "required": false }, "priority": { "description": "Priorytet podatku.", "type": "integer", "required": false }, "compound": { "description": "Czy to jest z\u0142o\u017cona stawka.", "type": "boolean", "required": false }, "shipping": { "description": "Czy stawka jest stosowana do wysy\u0142ki.", "type": "boolean", "required": false }, "order": { "description": "Wskazuje kolejno\u015b\u0107, kt\u00f3ra pojawi si\u0119 w kwerendach.", "type": "integer", "required": false }, "class": { "description": "Klasa podatkowa.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false }, "postcodes": { "description": "Lista kod\u00f3w pocztowych. Wprowadzone w WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false }, "cities": { "description": "Lista nazw miast. Wprowadzone w WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "country": { "description": "Kod ISO 3166 kraju.", "type": "string", "required": false }, "state": { "description": "Kod regionu.", "type": "string", "required": false }, "postcode": { "description": "Pole Kod pocztowy nie wspiera warto\u015bci wielokrotnych. Zosta\u0142o to uznane za przestarza\u0142\u0105 praktyk\u0119 w WooCommerce 5.3. Zamiast tego u\u017cyj pola 'postcodes'.", "type": "string", "required": false }, "city": { "description": "Pole Miasto nie wspiera warto\u015bci wielokrotnych. Zosta\u0142o to uznane za przestarza\u0142\u0105 praktyk\u0119 w WooCommerce 5.3. Zamiast tego u\u017cyj pola 'cities'.", "type": "string", "required": false }, "rate": { "description": "Stawka podatkowa.", "type": "string", "required": false }, "name": { "description": "Nazwa stawki podatku.", "type": "string", "required": false }, "priority": { "description": "Priorytet podatku.", "type": "integer", "required": false }, "compound": { "description": "Czy to jest z\u0142o\u017cona stawka.", "type": "boolean", "required": false }, "shipping": { "description": "Czy stawka jest stosowana do wysy\u0142ki.", "type": "boolean", "required": false }, "order": { "description": "Wskazuje kolejno\u015b\u0107, kt\u00f3ra pojawi si\u0119 w kwerendach.", "type": "integer", "required": false }, "class": { "description": "Klasa podatkowa.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false }, "postcodes": { "description": "Lista kod\u00f3w pocztowych. Wprowadzone w WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false }, "cities": { "description": "Lista nazw miast. Wprowadzone w WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/wp-json\/wc\/store\/batch" } ] } }, "\/wc\/store\/cart": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Identyfikator produktu lub wariantu w koszyku.", "type": "integer", "required": false }, "quantity": { "description": "Ilo\u015b\u0107 tego produktu do dodania do koszyka.", "type": "integer", "required": false }, "variation": { "description": "Wybrane atrybuty (dla wariant\u00f3w).", "type": "array", "items": { "type": "object", "properties": { "attribute": { "description": "Nazwa atrybutu wariantu.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 atrybutu wariantu.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikalny identyfikator kuponu w koszyku.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "Unikalny kod kuponu.", "type": "string", "required": false }, "discount_type": { "description": "Typ rabatu kuponu (np. procentowy lub kwotowy rabat)", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikalny identyfikator kuponu w koszyku.", "type": "string", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "Unikalny identyfikator kuponu w koszyku.", "type": "string", "required": false } } } ] }, "\/wc\/store\/cart\/extensions": { "namespace": "wc\/store", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "namespace": { "description": "Nazwa rozszerzenia \u2013 zostanie u\u017cyta, aby upewni\u0107 si\u0119, \u017ce dane z \u017c\u0105dania s\u0105 przekierowane.", "type": "string", "required": false }, "data": { "description": "Dodatkowe dane do przekazania do rozszerzenia", "type": "object", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "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:\/\/nightscout.pro\/pl\/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": "Unikalny identyfikator pozycji w koszyku.", "type": "string", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "Unikalny identyfikator pozycji w koszyku.", "type": "string", "required": false }, "extensions": { "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "Unikalny identyfikator pozycji w koszyku.", "type": "string", "required": false } } } ] }, "\/wc\/store\/cart\/remove-coupon": { "namespace": "wc\/store", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "Unikalny identyfikator kuponu w koszyku.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikalny identyfikator (klucz) dla pozycji w koszyku.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Identyfikator wysy\u0142anej paczki. Pozostaw puste, aby zastosowa\u0107 do wszystkich paczek.", "type": [ "integer", "string", "null" ], "required": false }, "rate_id": { "description": "Wybrany identyfikator stawki dla paczki.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator (klucz) dla aktualizowanej pozycji w koszyku.", "type": "string", "required": false }, "quantity": { "description": "Nowa ilo\u015b\u0107 produktu w koszyku.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Adres rozliczeniowy.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Nazwisko", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Firma", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Adres", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Apartament, kawalerka itp.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Miejscowo\u015b\u0107", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "Kod stanu\/powiatu lub nazwa stanu, powiatu, prowincji lub okr\u0119gu.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Kod pocztowy", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Kod kraju\/regionu w formacie ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Numer telefonu", "type": "string", "context": [ "view", "edit" ], "required": true }, "email": { "description": "E-mail", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "shipping_address": { "description": "Adres wysy\u0142ki.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Nazwisko", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Firma", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Adres", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Apartament, kawalerka itp.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Miejscowo\u015b\u0107", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "Kod stanu\/powiatu lub nazwa stanu, powiatu, prowincji lub okr\u0119gu.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Kod pocztowy", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Kod kraju\/regionu w formacie ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Numer telefonu", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "payment_data": { "description": "Dane do przekazania przy przetwarzaniu p\u0142atno\u015bci do metody p\u0142atno\u015bci.", "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": { "type": [ "string", "boolean" ] } } }, "required": false }, "customer_password": { "description": "Has\u0142o klienta dla nowych kont, je\u015bli dotyczy.", "type": "string", "required": false }, "customer_note": { "description": "Uwaga dodana do zam\u00f3wienia przez klienta podczas dokonywania zakupu.", "type": "string", "required": false }, "billing_address": { "description": "Adres rozliczeniowy.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Nazwisko", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Firma", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Adres", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Apartament, kawalerka itp.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Miejscowo\u015b\u0107", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "Kod stanu\/powiatu lub nazwa stanu, powiatu, prowincji lub okr\u0119gu.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Kod pocztowy", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Kod kraju\/regionu w formacie ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Numer telefonu", "type": "string", "context": [ "view", "edit" ], "required": true }, "email": { "description": "E-mail", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": true }, "shipping_address": { "description": "Adres wysy\u0142ki.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Nazwisko", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Firma", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Adres", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Apartament, kawalerka itp.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Miejscowo\u015b\u0107", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "Kod stanu\/powiatu lub nazwa stanu, powiatu, prowincji lub okr\u0119gu.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Kod pocztowy", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Kod kraju\/regionu w formacie ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Numer telefonu", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "payment_method": { "description": "Identyfikator metody p\u0142atno\u015bci u\u017cywanej do dokonania zap\u0142aty.", "type": "string", "enum": [ "bacs", "cheque", "cod", "stripe", "square_credit_card", "square_cash_app_pay", "gift_cards_pay" ], "required": false }, "create_account": { "description": "Okre\u015bla, czy tworzy\u0107 nowe konta u\u017cytkownikom w procesie przetwarzania zam\u00f3wienia.", "type": "boolean", "required": false }, "additional_fields": { "description": "Dodatkowe pola do zapisania w zam\u00f3wieniu.", "type": "object", "properties": [], "required": false }, "extensions": { "type": "object", "properties": { "woocommerce\/order-attribution": { "description": "Dane rozszerzenia zapisywane przez woocommerce\/order-attribution", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "source_type": { "description": "Pole atrybucji zam\u00f3wienia: source_type", "type": [ "string", "null" ], "context": [] }, "referrer": { "description": "Pole atrybucji zam\u00f3wienia: referrer", "type": [ "string", "null" ], "context": [] }, "utm_campaign": { "description": "Pole atrybucji zam\u00f3wienia: utm_campaign", "type": [ "string", "null" ], "context": [] }, "utm_source": { "description": "Pole atrybucji zam\u00f3wienia: utm_source", "type": [ "string", "null" ], "context": [] }, "utm_medium": { "description": "Pole atrybucji zam\u00f3wienia: utm_medium", "type": [ "string", "null" ], "context": [] }, "utm_content": { "description": "Pole atrybucji zam\u00f3wienia: utm_content", "type": [ "string", "null" ], "context": [] }, "utm_id": { "description": "Pole atrybucji zam\u00f3wienia: utm_id", "type": [ "string", "null" ], "context": [] }, "utm_term": { "description": "Pole atrybucji zam\u00f3wienia: utm_term", "type": [ "string", "null" ], "context": [] }, "utm_source_platform": { "description": "Pole atrybucji zam\u00f3wienia: utm_source_platform", "type": [ "string", "null" ], "context": [] }, "utm_creative_format": { "description": "Pole atrybucji zam\u00f3wienia: utm_creative_format", "type": [ "string", "null" ], "context": [] }, "utm_marketing_tactic": { "description": "Pole atrybucji zam\u00f3wienia: utm_marketing_tactic", "type": [ "string", "null" ], "context": [] }, "session_entry": { "description": "Pole atrybucji zam\u00f3wienia: session_entry", "type": [ "string", "null" ], "context": [] }, "session_start_time": { "description": "Pole atrybucji zam\u00f3wienia: session_start_time", "type": [ "string", "null" ], "context": [] }, "session_pages": { "description": "Pole atrybucji zam\u00f3wienia: session_pages", "type": [ "string", "null" ], "context": [] }, "session_count": { "description": "Pole atrybucji zam\u00f3wienia: session_count", "type": [ "string", "null" ], "context": [] }, "user_agent": { "description": "Pole atrybucji zam\u00f3wienia: user_agent", "type": [ "string", "null" ], "context": [] } } } }, "default": { "woocommerce\/order-attribution": [] }, "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "additional_fields": { "description": "Dodatkowe pola do zapisania w zam\u00f3wieniu.", "type": "object", "properties": [], "required": false }, "payment_method": { "description": "Identyfikator metody p\u0142atno\u015bci u\u017cywanej do dokonania zap\u0142aty.", "type": "string", "enum": [ "bacs", "cheque", "cod", "stripe", "square_credit_card", "square_cash_app_pay", "gift_cards_pay" ], "required": false }, "order_notes": { "description": "Uwagi do zam\u00f3wienia.", "type": "string", "required": false }, "customer_note": { "description": "Uwaga dodana do zam\u00f3wienia przez klienta podczas dokonywania zakupu.", "type": "string", "required": false }, "billing_address": { "description": "Adres rozliczeniowy.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Nazwisko", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Firma", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Adres", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Apartament, kawalerka itp.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Miejscowo\u015b\u0107", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "Kod stanu\/powiatu lub nazwa stanu, powiatu, prowincji lub okr\u0119gu.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Kod pocztowy", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Kod kraju\/regionu w formacie ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Numer telefonu", "type": "string", "context": [ "view", "edit" ], "required": true }, "email": { "description": "E-mail", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "shipping_address": { "description": "Adres wysy\u0142ki.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Nazwisko", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Firma", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Adres", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Apartament, kawalerka itp.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Miejscowo\u015b\u0107", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "Kod stanu\/powiatu lub nazwa stanu, powiatu, prowincji lub okr\u0119gu.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Kod pocztowy", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Kod kraju\/regionu w formacie ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Numer telefonu", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "create_account": { "description": "Okre\u015bla, czy tworzy\u0107 nowe konta u\u017cytkownikom w procesie przetwarzania zam\u00f3wienia.", "type": "boolean", "required": false }, "extensions": { "type": "object", "properties": { "woocommerce\/order-attribution": { "description": "Dane rozszerzenia zapisywane przez woocommerce\/order-attribution", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "source_type": { "description": "Pole atrybucji zam\u00f3wienia: source_type", "type": [ "string", "null" ], "context": [] }, "referrer": { "description": "Pole atrybucji zam\u00f3wienia: referrer", "type": [ "string", "null" ], "context": [] }, "utm_campaign": { "description": "Pole atrybucji zam\u00f3wienia: utm_campaign", "type": [ "string", "null" ], "context": [] }, "utm_source": { "description": "Pole atrybucji zam\u00f3wienia: utm_source", "type": [ "string", "null" ], "context": [] }, "utm_medium": { "description": "Pole atrybucji zam\u00f3wienia: utm_medium", "type": [ "string", "null" ], "context": [] }, "utm_content": { "description": "Pole atrybucji zam\u00f3wienia: utm_content", "type": [ "string", "null" ], "context": [] }, "utm_id": { "description": "Pole atrybucji zam\u00f3wienia: utm_id", "type": [ "string", "null" ], "context": [] }, "utm_term": { "description": "Pole atrybucji zam\u00f3wienia: utm_term", "type": [ "string", "null" ], "context": [] }, "utm_source_platform": { "description": "Pole atrybucji zam\u00f3wienia: utm_source_platform", "type": [ "string", "null" ], "context": [] }, "utm_creative_format": { "description": "Pole atrybucji zam\u00f3wienia: utm_creative_format", "type": [ "string", "null" ], "context": [] }, "utm_marketing_tactic": { "description": "Pole atrybucji zam\u00f3wienia: utm_marketing_tactic", "type": [ "string", "null" ], "context": [] }, "session_entry": { "description": "Pole atrybucji zam\u00f3wienia: session_entry", "type": [ "string", "null" ], "context": [] }, "session_start_time": { "description": "Pole atrybucji zam\u00f3wienia: session_start_time", "type": [ "string", "null" ], "context": [] }, "session_pages": { "description": "Pole atrybucji zam\u00f3wienia: session_pages", "type": [ "string", "null" ], "context": [] }, "session_count": { "description": "Pole atrybucji zam\u00f3wienia: session_count", "type": [ "string", "null" ], "context": [] }, "user_agent": { "description": "Pole atrybucji zam\u00f3wienia: user_agent", "type": [ "string", "null" ], "context": [] } } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Dane do przekazania przy przetwarzaniu p\u0142atno\u015bci do metody p\u0142atno\u015bci.", "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": { "type": [ "string", "boolean" ] } } }, "required": false }, "customer_note": { "description": "Uwaga dodana do zam\u00f3wienia przez klienta podczas dokonywania zakupu.", "type": "string", "required": false }, "billing_address": { "description": "Adres rozliczeniowy.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Nazwisko", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Firma", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Adres", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Apartament, kawalerka itp.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Miejscowo\u015b\u0107", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "Kod stanu\/powiatu lub nazwa stanu, powiatu, prowincji lub okr\u0119gu.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Kod pocztowy", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Kod kraju\/regionu w formacie ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Numer telefonu", "type": "string", "context": [ "view", "edit" ], "required": true }, "email": { "description": "E-mail", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": true }, "shipping_address": { "description": "Adres wysy\u0142ki.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Nazwisko", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Firma", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Adres", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Apartament, kawalerka itp.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Miejscowo\u015b\u0107", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "Kod stanu\/powiatu lub nazwa stanu, powiatu, prowincji lub okr\u0119gu.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Kod pocztowy", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Kod kraju\/regionu w formacie ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Numer telefonu", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "payment_method": { "description": "Identyfikator metody p\u0142atno\u015bci u\u017cywanej do dokonania zap\u0142aty.", "type": "string", "enum": [ "bacs", "cheque", "cod", "stripe", "square_credit_card", "square_cash_app_pay", "gift_cards_pay" ], "required": false }, "additional_fields": { "description": "Dodatkowe pola do zapisania w zam\u00f3wieniu.", "type": "object", "properties": [], "required": false }, "extensions": { "type": "object", "properties": { "woocommerce\/order-attribution": { "description": "Dane rozszerzenia zapisywane przez woocommerce\/order-attribution", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "source_type": { "description": "Pole atrybucji zam\u00f3wienia: source_type", "type": [ "string", "null" ], "context": [] }, "referrer": { "description": "Pole atrybucji zam\u00f3wienia: referrer", "type": [ "string", "null" ], "context": [] }, "utm_campaign": { "description": "Pole atrybucji zam\u00f3wienia: utm_campaign", "type": [ "string", "null" ], "context": [] }, "utm_source": { "description": "Pole atrybucji zam\u00f3wienia: utm_source", "type": [ "string", "null" ], "context": [] }, "utm_medium": { "description": "Pole atrybucji zam\u00f3wienia: utm_medium", "type": [ "string", "null" ], "context": [] }, "utm_content": { "description": "Pole atrybucji zam\u00f3wienia: utm_content", "type": [ "string", "null" ], "context": [] }, "utm_id": { "description": "Pole atrybucji zam\u00f3wienia: utm_id", "type": [ "string", "null" ], "context": [] }, "utm_term": { "description": "Pole atrybucji zam\u00f3wienia: utm_term", "type": [ "string", "null" ], "context": [] }, "utm_source_platform": { "description": "Pole atrybucji zam\u00f3wienia: utm_source_platform", "type": [ "string", "null" ], "context": [] }, "utm_creative_format": { "description": "Pole atrybucji zam\u00f3wienia: utm_creative_format", "type": [ "string", "null" ], "context": [] }, "utm_marketing_tactic": { "description": "Pole atrybucji zam\u00f3wienia: utm_marketing_tactic", "type": [ "string", "null" ], "context": [] }, "session_entry": { "description": "Pole atrybucji zam\u00f3wienia: session_entry", "type": [ "string", "null" ], "context": [] }, "session_start_time": { "description": "Pole atrybucji zam\u00f3wienia: session_start_time", "type": [ "string", "null" ], "context": [] }, "session_pages": { "description": "Pole atrybucji zam\u00f3wienia: session_pages", "type": [ "string", "null" ], "context": [] }, "session_count": { "description": "Pole atrybucji zam\u00f3wienia: session_count", "type": [ "string", "null" ], "context": [] }, "user_agent": { "description": "Pole atrybucji zam\u00f3wienia: 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": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "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": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "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": "Unikalny identyfikator tego atrybutu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba artyku\u0142\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w wyniku. Domy\u015blnie bez limitu, je\u015bli pozostawiono puste.", "type": "integer", "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Sortuj rosn\u0105co lub malej\u0105co.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj po taksonomii.", "type": "string", "default": "name", "enum": [ "name", "slug", "count", "menu_order", "name_num", "id" ], "required": false }, "hide_empty": { "description": "Je\u015bli prawda, puste taksonomie nie zostan\u0105 zwr\u00f3cone.", "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": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba artyku\u0142\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w wyniku. Domy\u015blnie bez limitu, je\u015bli pozostawiono puste.", "type": "integer", "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Sortuj rosn\u0105co lub malej\u0105co.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj po taksonomii.", "type": "string", "default": "name", "enum": [ "name", "slug", "count" ], "required": false }, "hide_empty": { "description": "Je\u015bli prawda, puste taksonomie nie zostan\u0105 zwr\u00f3cone.", "type": "boolean", "default": true, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "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": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba artyku\u0142\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w wyniku. Domy\u015blnie bez limitu, je\u015bli pozostawiono puste.", "type": "integer", "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Sortuj rosn\u0105co lub malej\u0105co.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj po taksonomii.", "type": "string", "default": "name", "enum": [ "name", "slug", "count" ], "required": false }, "hide_empty": { "description": "Je\u015bli prawda, puste taksonomie nie zostan\u0105 zwr\u00f3cone.", "type": "boolean", "default": true, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "string", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "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": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba artyku\u0142\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w wyniku. Domy\u015blnie bez limitu, je\u015bli pozostawiono puste.", "type": "integer", "default": 10, "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "slug": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z okre\u015blonymi uproszczonymi nazwami. U\u017cyj przecink\u00f3w do oddzielenia.", "type": "string", "required": false }, "after": { "description": "Ogranicz wynik do zasob\u00f3w utworzonych po danej dacie zgodnej z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ogranicz odpowied\u017a do zasob\u00f3w utworzonych przed dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "date_column": { "description": "Podczas ograniczania odpowiedzi u\u017cycie \"po\" i \"przed\", wskazuje kolumn\u0119 z dat\u0105 do por\u00f3wnania.", "type": "string", "default": "date", "enum": [ "date", "date_gmt", "modified", "modified_gmt" ], "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "modified", "id", "include", "title", "slug", "price", "popularity", "rating", "menu_order", "comment_count" ], "required": false }, "parent": { "description": "Ogranicz zestaw wynik\u00f3w do tych z okre\u015blonych identyfikator\u00f3w nadrz\u0119dnych.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Ogranicz zestaw wynik\u00f3w do wszystkich element\u00f3w z wyj\u0105tkiem tych o okre\u015blonym identyfikatorze nadrz\u0119dnym.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "type": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w danego typu.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription", "variation" ], "required": false }, "sku": { "description": "Ogranicz wyniki do produkt\u00f3w z wybranymi SKU. U\u017cyj przecink\u00f3w, aby rozdzieli\u0107 dane.", "type": "string", "required": false }, "featured": { "description": "Ogranicz wyniki do wyr\u00f3\u017cnionych produkt\u00f3w.", "type": "boolean", "required": false }, "category": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w przypisanych do zestawu identyfikator\u00f3w kategorii lub uproszczonych nazw, oddzielonych przecinkami.", "type": "string", "required": false }, "category_operator": { "description": "Operator por\u00f3wnuje warto\u015bci kategorii produkt\u00f3w.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "brand": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w przypisanych do zestawu identyfikator\u00f3w marek lub uproszczonych nazw, oddzielonych przecinkami.", "type": "string", "required": false }, "brand_operator": { "description": "Operator, aby por\u00f3wna\u0107 taksonomi\u0119 marki produktu.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "tag": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w przypisanych do zestawu identyfikator\u00f3w tag\u00f3w lub uproszczonych nazw, oddzielonych przecinkami.", "type": "string", "required": false }, "tag_operator": { "description": "Operator do por\u00f3wnania tag\u00f3w produkt\u00f3w.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "on_sale": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w w promocji.", "type": "boolean", "required": false }, "min_price": { "description": "Ogranicz wynik do produkt\u00f3w na podstawie ceny minimalnej, podanej z wykorzystaniem najmniejszej jednostki waluty.", "type": "string", "required": false }, "max_price": { "description": "Ogranicz wynik do produkt\u00f3w w oparciu o cen\u0119 maksymaln\u0105, podan\u0105 przy u\u017cyciu najmniejszej jednostki waluty.", "type": "string", "required": false }, "stock_status": { "description": "Ogranicz wyniki do produkt\u00f3w z okre\u015blonym stanem magazynowym.", "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": "Ogranicz wyniki wyszukiwania do produkt\u00f3w z wybranymi, globalnymi atrybutami.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "description": "Nazwa taksonomii atrybutu.", "type": "string", "sanitize_callback": "wc_sanitize_taxonomy_name" }, "term_id": { "description": "Lista identyfikator\u00f3w taksonomii atrybutu.", "type": "array", "items": { "type": "integer" }, "sanitize_callback": "wp_parse_id_list" }, "slug": { "description": "Lista uproszczonych nazw atrybut\u00f3w. Pomijana przy podanym identyfikatorze taksonomii.", "type": "array", "items": { "type": "string" }, "sanitize_callback": "wp_parse_slug_list" }, "operator": { "description": "Operator por\u00f3wnuje warto\u015bci atrybut\u00f3w produkt\u00f3w.", "type": "string", "enum": [ "in", "not_in", "and" ] } } }, "default": [], "required": false }, "attribute_relation": { "description": "Logiczny zwi\u0105zek pomi\u0119dzy atrybutami podczas filtrowania wielu jednocze\u015bnie.", "type": "string", "enum": [ "in", "and" ], "default": "and", "required": false }, "catalog_visibility": { "description": "Okre\u015bla, czy pokazywane s\u0105 produkty ukryte lub widoczne tylko w katalogu.", "type": "string", "enum": [ "any", "visible", "catalog", "search", "hidden" ], "required": false }, "rating": { "description": "Zaw\u0119\u017a wyniki do produkt\u00f3w z okre\u015blon\u0105 \u015bredni\u0105 ocen.", "type": "array", "items": { "type": "integer", "enum": [ 1, 2, 3, 4, 5 ] }, "default": [], "required": false }, "calculate_price_range": { "description": "Je\u015bli prawdziwe, oblicza minimalne i maksymalne ceny produkt\u00f3w dla kolekcji.", "type": "boolean", "default": false, "required": false }, "calculate_stock_status_counts": { "description": "Je\u015bli prawda, oblicza stany magazynowe dla produkt\u00f3w w kolekcji.", "type": "boolean", "default": false, "required": false }, "calculate_attribute_counts": { "description": "Je\u015bli \u017c\u0105dane, oblicza wyst\u0105pienia taksonomii atrybutu dla produkt\u00f3w w kolekcji.", "type": "array", "items": { "type": "object", "properties": { "taxonomy": { "description": "Nazwa taksonomii.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "query_type": { "description": "Warunek filtra, kt\u00f3ry mo\u017ce mie\u0107 wp\u0142yw na obliczenia. Prawid\u0142owe warto\u015bci zawieraj\u0105 \"oraz\" i \"lub\".", "type": "string", "enum": [ "and", "or" ], "context": [ "view", "edit" ], "readonly": true } } }, "default": [], "required": false }, "calculate_rating_counts": { "description": "Je\u015bli prawda, oblicza liczb\u0119 ocen dla produkt\u00f3w w kolekcji.", "type": "boolean", "default": false, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba artyku\u0142\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w wyniku. Domy\u015blnie bez limitu, je\u015bli pozostawiono puste.", "type": "integer", "default": 10, "minimum": 0, "maximum": 100, "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "date_gmt", "id", "rating", "product" ], "required": false }, "category_id": { "description": "Ogranicz wyniki do opinii o produktach powi\u0105zanych z okre\u015blonych identyfikatorami kategorii.", "type": "string", "required": false }, "product_id": { "description": "Ogranicz wyniki do opinii o produktach powi\u0105zanych z okre\u015blonymi identyfikatorami produkt\u00f3w.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba artyku\u0142\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w wyniku. Domy\u015blnie bez limitu, je\u015bli pozostawiono puste.", "type": "integer", "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Sortuj rosn\u0105co lub malej\u0105co.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj po taksonomii.", "type": "string", "default": "name", "enum": [ "name", "slug", "count" ], "required": false }, "hide_empty": { "description": "Je\u015bli prawda, puste taksonomie nie zostan\u0105 zwr\u00f3cone.", "type": "boolean", "default": true, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/store\/products\/tags" } ] } }, "\/wc\/store\/products": { "namespace": "wc\/store", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba artyku\u0142\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w wyniku. Domy\u015blnie bez limitu, je\u015bli pozostawiono puste.", "type": "integer", "default": 10, "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "slug": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z okre\u015blonymi uproszczonymi nazwami. U\u017cyj przecink\u00f3w do oddzielenia.", "type": "string", "required": false }, "after": { "description": "Ogranicz wynik do zasob\u00f3w utworzonych po danej dacie zgodnej z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ogranicz odpowied\u017a do zasob\u00f3w utworzonych przed dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "date_column": { "description": "Podczas ograniczania odpowiedzi u\u017cycie \"po\" i \"przed\", wskazuje kolumn\u0119 z dat\u0105 do por\u00f3wnania.", "type": "string", "default": "date", "enum": [ "date", "date_gmt", "modified", "modified_gmt" ], "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "modified", "id", "include", "title", "slug", "price", "popularity", "rating", "menu_order", "comment_count" ], "required": false }, "parent": { "description": "Ogranicz zestaw wynik\u00f3w do tych z okre\u015blonych identyfikator\u00f3w nadrz\u0119dnych.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Ogranicz zestaw wynik\u00f3w do wszystkich element\u00f3w z wyj\u0105tkiem tych o okre\u015blonym identyfikatorze nadrz\u0119dnym.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "type": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w danego typu.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription", "variation" ], "required": false }, "sku": { "description": "Ogranicz wyniki do produkt\u00f3w z wybranymi SKU. U\u017cyj przecink\u00f3w, aby rozdzieli\u0107 dane.", "type": "string", "required": false }, "featured": { "description": "Ogranicz wyniki do wyr\u00f3\u017cnionych produkt\u00f3w.", "type": "boolean", "required": false }, "category": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w przypisanych do zestawu identyfikator\u00f3w kategorii lub uproszczonych nazw, oddzielonych przecinkami.", "type": "string", "required": false }, "category_operator": { "description": "Operator por\u00f3wnuje warto\u015bci kategorii produkt\u00f3w.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "brand": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w przypisanych do zestawu identyfikator\u00f3w marek lub uproszczonych nazw, oddzielonych przecinkami.", "type": "string", "required": false }, "brand_operator": { "description": "Operator, aby por\u00f3wna\u0107 taksonomi\u0119 marki produktu.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "tag": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w przypisanych do zestawu identyfikator\u00f3w tag\u00f3w lub uproszczonych nazw, oddzielonych przecinkami.", "type": "string", "required": false }, "tag_operator": { "description": "Operator do por\u00f3wnania tag\u00f3w produkt\u00f3w.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "on_sale": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w w promocji.", "type": "boolean", "required": false }, "min_price": { "description": "Ogranicz wynik do produkt\u00f3w na podstawie ceny minimalnej, podanej z wykorzystaniem najmniejszej jednostki waluty.", "type": "string", "required": false }, "max_price": { "description": "Ogranicz wynik do produkt\u00f3w w oparciu o cen\u0119 maksymaln\u0105, podan\u0105 przy u\u017cyciu najmniejszej jednostki waluty.", "type": "string", "required": false }, "stock_status": { "description": "Ogranicz wyniki do produkt\u00f3w z okre\u015blonym stanem magazynowym.", "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": "Ogranicz wyniki wyszukiwania do produkt\u00f3w z wybranymi, globalnymi atrybutami.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "description": "Nazwa taksonomii atrybutu.", "type": "string", "sanitize_callback": "wc_sanitize_taxonomy_name" }, "term_id": { "description": "Lista identyfikator\u00f3w taksonomii atrybutu.", "type": "array", "items": { "type": "integer" }, "sanitize_callback": "wp_parse_id_list" }, "slug": { "description": "Lista uproszczonych nazw atrybut\u00f3w. Pomijana przy podanym identyfikatorze taksonomii.", "type": "array", "items": { "type": "string" }, "sanitize_callback": "wp_parse_slug_list" }, "operator": { "description": "Operator por\u00f3wnuje warto\u015bci atrybut\u00f3w produkt\u00f3w.", "type": "string", "enum": [ "in", "not_in", "and" ] } } }, "default": [], "required": false }, "attribute_relation": { "description": "Logiczny zwi\u0105zek pomi\u0119dzy atrybutami podczas filtrowania wielu jednocze\u015bnie.", "type": "string", "enum": [ "in", "and" ], "default": "and", "required": false }, "catalog_visibility": { "description": "Okre\u015bla, czy pokazywane s\u0105 produkty ukryte lub widoczne tylko w katalogu.", "type": "string", "enum": [ "any", "visible", "catalog", "search", "hidden" ], "required": false }, "rating": { "description": "Zaw\u0119\u017a wyniki do produkt\u00f3w z okre\u015blon\u0105 \u015bredni\u0105 ocen.", "type": "array", "items": { "type": "integer", "enum": [ 1, 2, 3, 4, 5 ] }, "default": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "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": "S\u0142ug zasobu.", "type": "string", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Identyfikator produktu lub wariantu w koszyku.", "type": "integer", "required": false }, "quantity": { "description": "Ilo\u015b\u0107 tego produktu do dodania do koszyka.", "type": "integer", "required": false }, "variation": { "description": "Wybrane atrybuty (dla wariant\u00f3w).", "type": "array", "items": { "type": "object", "properties": { "attribute": { "description": "Nazwa atrybutu wariantu.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 atrybutu wariantu.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikalny identyfikator kuponu w koszyku.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "Unikalny kod kuponu.", "type": "string", "required": false }, "discount_type": { "description": "Typ rabatu kuponu (np. procentowy lub kwotowy rabat)", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikalny identyfikator kuponu w koszyku.", "type": "string", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "code": { "description": "Unikalny identyfikator kuponu w koszyku.", "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": "Nazwa rozszerzenia \u2013 zostanie u\u017cyta, aby upewni\u0107 si\u0119, \u017ce dane z \u017c\u0105dania s\u0105 przekierowane.", "type": "string", "required": false }, "data": { "description": "Dodatkowe dane do przekazania do rozszerzenia", "type": "object", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "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:\/\/nightscout.pro\/pl\/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": "Unikalny identyfikator pozycji w koszyku.", "type": "string", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "Unikalny identyfikator pozycji w koszyku.", "type": "string", "required": false }, "extensions": { "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "key": { "description": "Unikalny identyfikator pozycji w koszyku.", "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": "Unikalny identyfikator kuponu w koszyku.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikalny identyfikator (klucz) dla pozycji w koszyku.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Identyfikator wysy\u0142anej paczki. Pozostaw puste, aby zastosowa\u0107 do wszystkich paczek.", "type": [ "integer", "string", "null" ], "required": false }, "rate_id": { "description": "Wybrany identyfikator stawki dla paczki.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator (klucz) dla aktualizowanej pozycji w koszyku.", "type": "string", "required": false }, "quantity": { "description": "Nowa ilo\u015b\u0107 produktu w koszyku.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Adres rozliczeniowy.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Nazwisko", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Firma", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Adres", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Apartament, kawalerka itp.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Miejscowo\u015b\u0107", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "Kod stanu\/powiatu lub nazwa stanu, powiatu, prowincji lub okr\u0119gu.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Kod pocztowy", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Kod kraju\/regionu w formacie ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Numer telefonu", "type": "string", "context": [ "view", "edit" ], "required": true }, "email": { "description": "E-mail", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "shipping_address": { "description": "Adres wysy\u0142ki.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Nazwisko", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Firma", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Adres", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Apartament, kawalerka itp.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Miejscowo\u015b\u0107", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "Kod stanu\/powiatu lub nazwa stanu, powiatu, prowincji lub okr\u0119gu.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Kod pocztowy", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Kod kraju\/regionu w formacie ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Numer telefonu", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "payment_data": { "description": "Dane do przekazania przy przetwarzaniu p\u0142atno\u015bci do metody p\u0142atno\u015bci.", "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": { "type": [ "string", "boolean" ] } } }, "required": false }, "customer_password": { "description": "Has\u0142o klienta dla nowych kont, je\u015bli dotyczy.", "type": "string", "required": false }, "customer_note": { "description": "Uwaga dodana do zam\u00f3wienia przez klienta podczas dokonywania zakupu.", "type": "string", "required": false }, "billing_address": { "description": "Adres rozliczeniowy.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Nazwisko", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Firma", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Adres", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Apartament, kawalerka itp.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Miejscowo\u015b\u0107", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "Kod stanu\/powiatu lub nazwa stanu, powiatu, prowincji lub okr\u0119gu.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Kod pocztowy", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Kod kraju\/regionu w formacie ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Numer telefonu", "type": "string", "context": [ "view", "edit" ], "required": true }, "email": { "description": "E-mail", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": true }, "shipping_address": { "description": "Adres wysy\u0142ki.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Nazwisko", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Firma", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Adres", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Apartament, kawalerka itp.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Miejscowo\u015b\u0107", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "Kod stanu\/powiatu lub nazwa stanu, powiatu, prowincji lub okr\u0119gu.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Kod pocztowy", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Kod kraju\/regionu w formacie ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Numer telefonu", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "payment_method": { "description": "Identyfikator metody p\u0142atno\u015bci u\u017cywanej do dokonania zap\u0142aty.", "type": "string", "enum": [ "bacs", "cheque", "cod", "stripe", "square_credit_card", "square_cash_app_pay", "gift_cards_pay" ], "required": false }, "create_account": { "description": "Okre\u015bla, czy tworzy\u0107 nowe konta u\u017cytkownikom w procesie przetwarzania zam\u00f3wienia.", "type": "boolean", "required": false }, "additional_fields": { "description": "Dodatkowe pola do zapisania w zam\u00f3wieniu.", "type": "object", "properties": [], "required": false }, "extensions": { "type": "object", "properties": { "woocommerce\/order-attribution": { "description": "Dane rozszerzenia zapisywane przez woocommerce\/order-attribution", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "source_type": { "description": "Pole atrybucji zam\u00f3wienia: source_type", "type": [ "string", "null" ], "context": [] }, "referrer": { "description": "Pole atrybucji zam\u00f3wienia: referrer", "type": [ "string", "null" ], "context": [] }, "utm_campaign": { "description": "Pole atrybucji zam\u00f3wienia: utm_campaign", "type": [ "string", "null" ], "context": [] }, "utm_source": { "description": "Pole atrybucji zam\u00f3wienia: utm_source", "type": [ "string", "null" ], "context": [] }, "utm_medium": { "description": "Pole atrybucji zam\u00f3wienia: utm_medium", "type": [ "string", "null" ], "context": [] }, "utm_content": { "description": "Pole atrybucji zam\u00f3wienia: utm_content", "type": [ "string", "null" ], "context": [] }, "utm_id": { "description": "Pole atrybucji zam\u00f3wienia: utm_id", "type": [ "string", "null" ], "context": [] }, "utm_term": { "description": "Pole atrybucji zam\u00f3wienia: utm_term", "type": [ "string", "null" ], "context": [] }, "utm_source_platform": { "description": "Pole atrybucji zam\u00f3wienia: utm_source_platform", "type": [ "string", "null" ], "context": [] }, "utm_creative_format": { "description": "Pole atrybucji zam\u00f3wienia: utm_creative_format", "type": [ "string", "null" ], "context": [] }, "utm_marketing_tactic": { "description": "Pole atrybucji zam\u00f3wienia: utm_marketing_tactic", "type": [ "string", "null" ], "context": [] }, "session_entry": { "description": "Pole atrybucji zam\u00f3wienia: session_entry", "type": [ "string", "null" ], "context": [] }, "session_start_time": { "description": "Pole atrybucji zam\u00f3wienia: session_start_time", "type": [ "string", "null" ], "context": [] }, "session_pages": { "description": "Pole atrybucji zam\u00f3wienia: session_pages", "type": [ "string", "null" ], "context": [] }, "session_count": { "description": "Pole atrybucji zam\u00f3wienia: session_count", "type": [ "string", "null" ], "context": [] }, "user_agent": { "description": "Pole atrybucji zam\u00f3wienia: user_agent", "type": [ "string", "null" ], "context": [] } } } }, "default": { "woocommerce\/order-attribution": [] }, "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "additional_fields": { "description": "Dodatkowe pola do zapisania w zam\u00f3wieniu.", "type": "object", "properties": [], "required": false }, "payment_method": { "description": "Identyfikator metody p\u0142atno\u015bci u\u017cywanej do dokonania zap\u0142aty.", "type": "string", "enum": [ "bacs", "cheque", "cod", "stripe", "square_credit_card", "square_cash_app_pay", "gift_cards_pay" ], "required": false }, "order_notes": { "description": "Uwagi do zam\u00f3wienia.", "type": "string", "required": false }, "customer_note": { "description": "Uwaga dodana do zam\u00f3wienia przez klienta podczas dokonywania zakupu.", "type": "string", "required": false }, "billing_address": { "description": "Adres rozliczeniowy.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Nazwisko", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Firma", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Adres", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Apartament, kawalerka itp.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Miejscowo\u015b\u0107", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "Kod stanu\/powiatu lub nazwa stanu, powiatu, prowincji lub okr\u0119gu.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Kod pocztowy", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Kod kraju\/regionu w formacie ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Numer telefonu", "type": "string", "context": [ "view", "edit" ], "required": true }, "email": { "description": "E-mail", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "shipping_address": { "description": "Adres wysy\u0142ki.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Nazwisko", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Firma", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Adres", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Apartament, kawalerka itp.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Miejscowo\u015b\u0107", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "Kod stanu\/powiatu lub nazwa stanu, powiatu, prowincji lub okr\u0119gu.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Kod pocztowy", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Kod kraju\/regionu w formacie ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Numer telefonu", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "create_account": { "description": "Okre\u015bla, czy tworzy\u0107 nowe konta u\u017cytkownikom w procesie przetwarzania zam\u00f3wienia.", "type": "boolean", "required": false }, "extensions": { "type": "object", "properties": { "woocommerce\/order-attribution": { "description": "Dane rozszerzenia zapisywane przez woocommerce\/order-attribution", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "source_type": { "description": "Pole atrybucji zam\u00f3wienia: source_type", "type": [ "string", "null" ], "context": [] }, "referrer": { "description": "Pole atrybucji zam\u00f3wienia: referrer", "type": [ "string", "null" ], "context": [] }, "utm_campaign": { "description": "Pole atrybucji zam\u00f3wienia: utm_campaign", "type": [ "string", "null" ], "context": [] }, "utm_source": { "description": "Pole atrybucji zam\u00f3wienia: utm_source", "type": [ "string", "null" ], "context": [] }, "utm_medium": { "description": "Pole atrybucji zam\u00f3wienia: utm_medium", "type": [ "string", "null" ], "context": [] }, "utm_content": { "description": "Pole atrybucji zam\u00f3wienia: utm_content", "type": [ "string", "null" ], "context": [] }, "utm_id": { "description": "Pole atrybucji zam\u00f3wienia: utm_id", "type": [ "string", "null" ], "context": [] }, "utm_term": { "description": "Pole atrybucji zam\u00f3wienia: utm_term", "type": [ "string", "null" ], "context": [] }, "utm_source_platform": { "description": "Pole atrybucji zam\u00f3wienia: utm_source_platform", "type": [ "string", "null" ], "context": [] }, "utm_creative_format": { "description": "Pole atrybucji zam\u00f3wienia: utm_creative_format", "type": [ "string", "null" ], "context": [] }, "utm_marketing_tactic": { "description": "Pole atrybucji zam\u00f3wienia: utm_marketing_tactic", "type": [ "string", "null" ], "context": [] }, "session_entry": { "description": "Pole atrybucji zam\u00f3wienia: session_entry", "type": [ "string", "null" ], "context": [] }, "session_start_time": { "description": "Pole atrybucji zam\u00f3wienia: session_start_time", "type": [ "string", "null" ], "context": [] }, "session_pages": { "description": "Pole atrybucji zam\u00f3wienia: session_pages", "type": [ "string", "null" ], "context": [] }, "session_count": { "description": "Pole atrybucji zam\u00f3wienia: session_count", "type": [ "string", "null" ], "context": [] }, "user_agent": { "description": "Pole atrybucji zam\u00f3wienia: user_agent", "type": [ "string", "null" ], "context": [] } } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Dane do przekazania przy przetwarzaniu p\u0142atno\u015bci do metody p\u0142atno\u015bci.", "type": "array", "items": { "type": "object", "properties": { "key": { "type": "string" }, "value": { "type": [ "string", "boolean" ] } } }, "required": false }, "customer_note": { "description": "Uwaga dodana do zam\u00f3wienia przez klienta podczas dokonywania zakupu.", "type": "string", "required": false }, "billing_address": { "description": "Adres rozliczeniowy.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Nazwisko", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Firma", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Adres", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Apartament, kawalerka itp.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Miejscowo\u015b\u0107", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "Kod stanu\/powiatu lub nazwa stanu, powiatu, prowincji lub okr\u0119gu.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Kod pocztowy", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Kod kraju\/regionu w formacie ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Numer telefonu", "type": "string", "context": [ "view", "edit" ], "required": true }, "email": { "description": "E-mail", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": true }, "shipping_address": { "description": "Adres wysy\u0142ki.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119", "type": "string", "context": [ "view", "edit" ], "required": true }, "last_name": { "description": "Nazwisko", "type": "string", "context": [ "view", "edit" ], "required": true }, "company": { "description": "Firma", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_1": { "description": "Adres", "type": "string", "context": [ "view", "edit" ], "required": true }, "address_2": { "description": "Apartament, kawalerka itp.", "type": "string", "context": [ "view", "edit" ], "required": true }, "city": { "description": "Miejscowo\u015b\u0107", "type": "string", "context": [ "view", "edit" ], "required": true }, "state": { "description": "Kod stanu\/powiatu lub nazwa stanu, powiatu, prowincji lub okr\u0119gu.", "type": "string", "context": [ "view", "edit" ], "required": true }, "postcode": { "description": "Kod pocztowy", "type": "string", "context": [ "view", "edit" ], "required": true }, "country": { "description": "Kod kraju\/regionu w formacie ISO 3166-1 alpha-2.", "type": "string", "context": [ "view", "edit" ], "required": true }, "phone": { "description": "Numer telefonu", "type": "string", "context": [ "view", "edit" ], "required": true } }, "required": false }, "payment_method": { "description": "Identyfikator metody p\u0142atno\u015bci u\u017cywanej do dokonania zap\u0142aty.", "type": "string", "enum": [ "bacs", "cheque", "cod", "stripe", "square_credit_card", "square_cash_app_pay", "gift_cards_pay" ], "required": false }, "additional_fields": { "description": "Dodatkowe pola do zapisania w zam\u00f3wieniu.", "type": "object", "properties": [], "required": false }, "extensions": { "type": "object", "properties": { "woocommerce\/order-attribution": { "description": "Dane rozszerzenia zapisywane przez woocommerce\/order-attribution", "type": [ "object", "null" ], "context": [ "view", "edit" ], "properties": { "source_type": { "description": "Pole atrybucji zam\u00f3wienia: source_type", "type": [ "string", "null" ], "context": [] }, "referrer": { "description": "Pole atrybucji zam\u00f3wienia: referrer", "type": [ "string", "null" ], "context": [] }, "utm_campaign": { "description": "Pole atrybucji zam\u00f3wienia: utm_campaign", "type": [ "string", "null" ], "context": [] }, "utm_source": { "description": "Pole atrybucji zam\u00f3wienia: utm_source", "type": [ "string", "null" ], "context": [] }, "utm_medium": { "description": "Pole atrybucji zam\u00f3wienia: utm_medium", "type": [ "string", "null" ], "context": [] }, "utm_content": { "description": "Pole atrybucji zam\u00f3wienia: utm_content", "type": [ "string", "null" ], "context": [] }, "utm_id": { "description": "Pole atrybucji zam\u00f3wienia: utm_id", "type": [ "string", "null" ], "context": [] }, "utm_term": { "description": "Pole atrybucji zam\u00f3wienia: utm_term", "type": [ "string", "null" ], "context": [] }, "utm_source_platform": { "description": "Pole atrybucji zam\u00f3wienia: utm_source_platform", "type": [ "string", "null" ], "context": [] }, "utm_creative_format": { "description": "Pole atrybucji zam\u00f3wienia: utm_creative_format", "type": [ "string", "null" ], "context": [] }, "utm_marketing_tactic": { "description": "Pole atrybucji zam\u00f3wienia: utm_marketing_tactic", "type": [ "string", "null" ], "context": [] }, "session_entry": { "description": "Pole atrybucji zam\u00f3wienia: session_entry", "type": [ "string", "null" ], "context": [] }, "session_start_time": { "description": "Pole atrybucji zam\u00f3wienia: session_start_time", "type": [ "string", "null" ], "context": [] }, "session_pages": { "description": "Pole atrybucji zam\u00f3wienia: session_pages", "type": [ "string", "null" ], "context": [] }, "session_count": { "description": "Pole atrybucji zam\u00f3wienia: session_count", "type": [ "string", "null" ], "context": [] }, "user_agent": { "description": "Pole atrybucji zam\u00f3wienia: 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": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "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": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "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": "Unikalny identyfikator tego atrybutu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba artyku\u0142\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w wyniku. Domy\u015blnie bez limitu, je\u015bli pozostawiono puste.", "type": "integer", "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Sortuj rosn\u0105co lub malej\u0105co.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj po taksonomii.", "type": "string", "default": "name", "enum": [ "name", "slug", "count", "menu_order", "name_num", "id" ], "required": false }, "hide_empty": { "description": "Je\u015bli prawda, puste taksonomie nie zostan\u0105 zwr\u00f3cone.", "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": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba artyku\u0142\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w wyniku. Domy\u015blnie bez limitu, je\u015bli pozostawiono puste.", "type": "integer", "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Sortuj rosn\u0105co lub malej\u0105co.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj po taksonomii.", "type": "string", "default": "name", "enum": [ "name", "slug", "count" ], "required": false }, "hide_empty": { "description": "Je\u015bli prawda, puste taksonomie nie zostan\u0105 zwr\u00f3cone.", "type": "boolean", "default": true, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "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": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba artyku\u0142\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w wyniku. Domy\u015blnie bez limitu, je\u015bli pozostawiono puste.", "type": "integer", "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Sortuj rosn\u0105co lub malej\u0105co.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj po taksonomii.", "type": "string", "default": "name", "enum": [ "name", "slug", "count" ], "required": false }, "hide_empty": { "description": "Je\u015bli prawda, puste taksonomie nie zostan\u0105 zwr\u00f3cone.", "type": "boolean", "default": true, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "string", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "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": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba artyku\u0142\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w wyniku. Domy\u015blnie bez limitu, je\u015bli pozostawiono puste.", "type": "integer", "default": 10, "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "slug": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z okre\u015blonymi uproszczonymi nazwami. U\u017cyj przecink\u00f3w do oddzielenia.", "type": "string", "required": false }, "after": { "description": "Ogranicz wynik do zasob\u00f3w utworzonych po danej dacie zgodnej z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ogranicz odpowied\u017a do zasob\u00f3w utworzonych przed dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "date_column": { "description": "Podczas ograniczania odpowiedzi u\u017cycie \"po\" i \"przed\", wskazuje kolumn\u0119 z dat\u0105 do por\u00f3wnania.", "type": "string", "default": "date", "enum": [ "date", "date_gmt", "modified", "modified_gmt" ], "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "modified", "id", "include", "title", "slug", "price", "popularity", "rating", "menu_order", "comment_count" ], "required": false }, "parent": { "description": "Ogranicz zestaw wynik\u00f3w do tych z okre\u015blonych identyfikator\u00f3w nadrz\u0119dnych.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Ogranicz zestaw wynik\u00f3w do wszystkich element\u00f3w z wyj\u0105tkiem tych o okre\u015blonym identyfikatorze nadrz\u0119dnym.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "type": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w danego typu.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription", "variation" ], "required": false }, "sku": { "description": "Ogranicz wyniki do produkt\u00f3w z wybranymi SKU. U\u017cyj przecink\u00f3w, aby rozdzieli\u0107 dane.", "type": "string", "required": false }, "featured": { "description": "Ogranicz wyniki do wyr\u00f3\u017cnionych produkt\u00f3w.", "type": "boolean", "required": false }, "category": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w przypisanych do zestawu identyfikator\u00f3w kategorii lub uproszczonych nazw, oddzielonych przecinkami.", "type": "string", "required": false }, "category_operator": { "description": "Operator por\u00f3wnuje warto\u015bci kategorii produkt\u00f3w.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "brand": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w przypisanych do zestawu identyfikator\u00f3w marek lub uproszczonych nazw, oddzielonych przecinkami.", "type": "string", "required": false }, "brand_operator": { "description": "Operator, aby por\u00f3wna\u0107 taksonomi\u0119 marki produktu.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "tag": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w przypisanych do zestawu identyfikator\u00f3w tag\u00f3w lub uproszczonych nazw, oddzielonych przecinkami.", "type": "string", "required": false }, "tag_operator": { "description": "Operator do por\u00f3wnania tag\u00f3w produkt\u00f3w.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "on_sale": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w w promocji.", "type": "boolean", "required": false }, "min_price": { "description": "Ogranicz wynik do produkt\u00f3w na podstawie ceny minimalnej, podanej z wykorzystaniem najmniejszej jednostki waluty.", "type": "string", "required": false }, "max_price": { "description": "Ogranicz wynik do produkt\u00f3w w oparciu o cen\u0119 maksymaln\u0105, podan\u0105 przy u\u017cyciu najmniejszej jednostki waluty.", "type": "string", "required": false }, "stock_status": { "description": "Ogranicz wyniki do produkt\u00f3w z okre\u015blonym stanem magazynowym.", "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": "Ogranicz wyniki wyszukiwania do produkt\u00f3w z wybranymi, globalnymi atrybutami.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "description": "Nazwa taksonomii atrybutu.", "type": "string", "sanitize_callback": "wc_sanitize_taxonomy_name" }, "term_id": { "description": "Lista identyfikator\u00f3w taksonomii atrybutu.", "type": "array", "items": { "type": "integer" }, "sanitize_callback": "wp_parse_id_list" }, "slug": { "description": "Lista uproszczonych nazw atrybut\u00f3w. Pomijana przy podanym identyfikatorze taksonomii.", "type": "array", "items": { "type": "string" }, "sanitize_callback": "wp_parse_slug_list" }, "operator": { "description": "Operator por\u00f3wnuje warto\u015bci atrybut\u00f3w produkt\u00f3w.", "type": "string", "enum": [ "in", "not_in", "and" ] } } }, "default": [], "required": false }, "attribute_relation": { "description": "Logiczny zwi\u0105zek pomi\u0119dzy atrybutami podczas filtrowania wielu jednocze\u015bnie.", "type": "string", "enum": [ "in", "and" ], "default": "and", "required": false }, "catalog_visibility": { "description": "Okre\u015bla, czy pokazywane s\u0105 produkty ukryte lub widoczne tylko w katalogu.", "type": "string", "enum": [ "any", "visible", "catalog", "search", "hidden" ], "required": false }, "rating": { "description": "Zaw\u0119\u017a wyniki do produkt\u00f3w z okre\u015blon\u0105 \u015bredni\u0105 ocen.", "type": "array", "items": { "type": "integer", "enum": [ 1, 2, 3, 4, 5 ] }, "default": [], "required": false }, "calculate_price_range": { "description": "Je\u015bli prawdziwe, oblicza minimalne i maksymalne ceny produkt\u00f3w dla kolekcji.", "type": "boolean", "default": false, "required": false }, "calculate_stock_status_counts": { "description": "Je\u015bli prawda, oblicza stany magazynowe dla produkt\u00f3w w kolekcji.", "type": "boolean", "default": false, "required": false }, "calculate_attribute_counts": { "description": "Je\u015bli \u017c\u0105dane, oblicza wyst\u0105pienia taksonomii atrybutu dla produkt\u00f3w w kolekcji.", "type": "array", "items": { "type": "object", "properties": { "taxonomy": { "description": "Nazwa taksonomii.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "query_type": { "description": "Warunek filtra, kt\u00f3ry mo\u017ce mie\u0107 wp\u0142yw na obliczenia. Prawid\u0142owe warto\u015bci zawieraj\u0105 \"oraz\" i \"lub\".", "type": "string", "enum": [ "and", "or" ], "context": [ "view", "edit" ], "readonly": true } } }, "default": [], "required": false }, "calculate_rating_counts": { "description": "Je\u015bli prawda, oblicza liczb\u0119 ocen dla produkt\u00f3w w kolekcji.", "type": "boolean", "default": false, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba artyku\u0142\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w wyniku. Domy\u015blnie bez limitu, je\u015bli pozostawiono puste.", "type": "integer", "default": 10, "minimum": 0, "maximum": 100, "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "date_gmt", "id", "rating", "product" ], "required": false }, "category_id": { "description": "Ogranicz wyniki do opinii o produktach powi\u0105zanych z okre\u015blonych identyfikatorami kategorii.", "type": "string", "required": false }, "product_id": { "description": "Ogranicz wyniki do opinii o produktach powi\u0105zanych z okre\u015blonymi identyfikatorami produkt\u00f3w.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba artyku\u0142\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w wyniku. Domy\u015blnie bez limitu, je\u015bli pozostawiono puste.", "type": "integer", "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Sortuj rosn\u0105co lub malej\u0105co.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj po taksonomii.", "type": "string", "default": "name", "enum": [ "name", "slug", "count" ], "required": false }, "hide_empty": { "description": "Je\u015bli prawda, puste taksonomie nie zostan\u0105 zwr\u00f3cone.", "type": "boolean", "default": true, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba artyku\u0142\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w wyniku. Domy\u015blnie bez limitu, je\u015bli pozostawiono puste.", "type": "integer", "default": 10, "minimum": 0, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "slug": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z okre\u015blonymi uproszczonymi nazwami. U\u017cyj przecink\u00f3w do oddzielenia.", "type": "string", "required": false }, "after": { "description": "Ogranicz wynik do zasob\u00f3w utworzonych po danej dacie zgodnej z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ogranicz odpowied\u017a do zasob\u00f3w utworzonych przed dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "date_column": { "description": "Podczas ograniczania odpowiedzi u\u017cycie \"po\" i \"przed\", wskazuje kolumn\u0119 z dat\u0105 do por\u00f3wnania.", "type": "string", "default": "date", "enum": [ "date", "date_gmt", "modified", "modified_gmt" ], "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "modified", "id", "include", "title", "slug", "price", "popularity", "rating", "menu_order", "comment_count" ], "required": false }, "parent": { "description": "Ogranicz zestaw wynik\u00f3w do tych z okre\u015blonych identyfikator\u00f3w nadrz\u0119dnych.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Ogranicz zestaw wynik\u00f3w do wszystkich element\u00f3w z wyj\u0105tkiem tych o okre\u015blonym identyfikatorze nadrz\u0119dnym.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "type": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w danego typu.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription", "variation" ], "required": false }, "sku": { "description": "Ogranicz wyniki do produkt\u00f3w z wybranymi SKU. U\u017cyj przecink\u00f3w, aby rozdzieli\u0107 dane.", "type": "string", "required": false }, "featured": { "description": "Ogranicz wyniki do wyr\u00f3\u017cnionych produkt\u00f3w.", "type": "boolean", "required": false }, "category": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w przypisanych do zestawu identyfikator\u00f3w kategorii lub uproszczonych nazw, oddzielonych przecinkami.", "type": "string", "required": false }, "category_operator": { "description": "Operator por\u00f3wnuje warto\u015bci kategorii produkt\u00f3w.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "brand": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w przypisanych do zestawu identyfikator\u00f3w marek lub uproszczonych nazw, oddzielonych przecinkami.", "type": "string", "required": false }, "brand_operator": { "description": "Operator, aby por\u00f3wna\u0107 taksonomi\u0119 marki produktu.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "tag": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w przypisanych do zestawu identyfikator\u00f3w tag\u00f3w lub uproszczonych nazw, oddzielonych przecinkami.", "type": "string", "required": false }, "tag_operator": { "description": "Operator do por\u00f3wnania tag\u00f3w produkt\u00f3w.", "type": "string", "enum": [ "in", "not_in", "and" ], "default": "in", "required": false }, "on_sale": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w w promocji.", "type": "boolean", "required": false }, "min_price": { "description": "Ogranicz wynik do produkt\u00f3w na podstawie ceny minimalnej, podanej z wykorzystaniem najmniejszej jednostki waluty.", "type": "string", "required": false }, "max_price": { "description": "Ogranicz wynik do produkt\u00f3w w oparciu o cen\u0119 maksymaln\u0105, podan\u0105 przy u\u017cyciu najmniejszej jednostki waluty.", "type": "string", "required": false }, "stock_status": { "description": "Ogranicz wyniki do produkt\u00f3w z okre\u015blonym stanem magazynowym.", "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": "Ogranicz wyniki wyszukiwania do produkt\u00f3w z wybranymi, globalnymi atrybutami.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "description": "Nazwa taksonomii atrybutu.", "type": "string", "sanitize_callback": "wc_sanitize_taxonomy_name" }, "term_id": { "description": "Lista identyfikator\u00f3w taksonomii atrybutu.", "type": "array", "items": { "type": "integer" }, "sanitize_callback": "wp_parse_id_list" }, "slug": { "description": "Lista uproszczonych nazw atrybut\u00f3w. Pomijana przy podanym identyfikatorze taksonomii.", "type": "array", "items": { "type": "string" }, "sanitize_callback": "wp_parse_slug_list" }, "operator": { "description": "Operator por\u00f3wnuje warto\u015bci atrybut\u00f3w produkt\u00f3w.", "type": "string", "enum": [ "in", "not_in", "and" ] } } }, "default": [], "required": false }, "attribute_relation": { "description": "Logiczny zwi\u0105zek pomi\u0119dzy atrybutami podczas filtrowania wielu jednocze\u015bnie.", "type": "string", "enum": [ "in", "and" ], "default": "and", "required": false }, "catalog_visibility": { "description": "Okre\u015bla, czy pokazywane s\u0105 produkty ukryte lub widoczne tylko w katalogu.", "type": "string", "enum": [ "any", "visible", "catalog", "search", "hidden" ], "required": false }, "rating": { "description": "Zaw\u0119\u017a wyniki do produkt\u00f3w z okre\u015blon\u0105 \u015bredni\u0105 ocen.", "type": "array", "items": { "type": "integer", "enum": [ 1, 2, 3, 4, 5 ] }, "default": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "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": "S\u0142ug zasobu.", "type": "string", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "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:\/\/nightscout.pro\/pl\/wp-json\/wc\/private" } ] } }, "\/wc\/private\/ai\/products": { "namespace": "wc\/private", "methods": [ "POST", "DELETE" ], "endpoints": [ { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "business_description": { "description": "Opis dzia\u0142alno\u015bci danego sklepu.", "type": "string", "required": false }, "images": { "description": "Obrazki dla danego sklepu.", "type": "object", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/private\/ai\/products" } ] } }, "\/wc\/private\/patterns": { "namespace": "wc\/private", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/wp-json\/wp-rocket\/v1\/dynamic_lists\/update" } ] } }, "\/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:\/\/nightscout.pro\/pl\/wp-json\/wc\/v2" } ] } }, "\/wc\/v2\/products\/brands": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji. Dotyczy tylko taksonomii hierarchicznych.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj wed\u0142ug atrybutu zasobu.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Czy ukry\u0107 zasoby nieprzypisane do \u017cadnego produktu.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danego elementu nadrz\u0119dnego. Dotyczy tylko taksonomii hierarchicznych.", "type": "integer", "required": false }, "product": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danego produktu.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danej nazwy skr\u00f3conej (slug).", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Nazwa dla zasobu.", "required": true }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "parent": { "description": "Id rodzica zasobu.", "type": "integer", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false }, "display": { "default": "default", "description": "Typ wy\u015bwietlania kategorii.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Dane obrazka.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, kt\u00f3ra s\u0142u\u017cy do sortowania zasobu.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "name": { "description": "Nazwa kategorii.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "parent": { "description": "Id rodzica zasobu.", "type": "integer", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false }, "display": { "description": "Typ wy\u015bwietlania kategorii.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Dane obrazka.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, kt\u00f3ra s\u0142u\u017cy do sortowania zasobu.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c zas\u00f3b nie obs\u0142uguje wyrzucania do kosza.", "required": false } } } ] }, "\/wc\/v2\/products\/brands\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nazwa kategorii.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "parent": { "description": "Id rodzica zasobu.", "type": "integer", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false }, "display": { "description": "Typ wy\u015bwietlania kategorii.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Dane obrazka.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, kt\u00f3ra s\u0142u\u017cy do sortowania zasobu.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v2\/products\/brands\/batch" } ] } }, "\/wc\/v3\/products\/brands": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji. Dotyczy tylko taksonomii hierarchicznych.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj wed\u0142ug atrybutu zasobu.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Czy ukry\u0107 zasoby nieprzypisane do \u017cadnego produktu.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danego elementu nadrz\u0119dnego. Dotyczy tylko taksonomii hierarchicznych.", "type": "integer", "required": false }, "product": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danego produktu.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danej nazwy skr\u00f3conej (slug).", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Nazwa dla zasobu.", "required": true }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "parent": { "description": "Id rodzica zasobu.", "type": "integer", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false }, "display": { "default": "default", "description": "Typ wy\u015bwietlania kategorii.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Dane obrazka.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, kt\u00f3ra s\u0142u\u017cy do sortowania zasobu.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "name": { "description": "Nazwa kategorii.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "parent": { "description": "Id rodzica zasobu.", "type": "integer", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false }, "display": { "description": "Typ wy\u015bwietlania kategorii.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Dane obrazka.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, kt\u00f3ra s\u0142u\u017cy do sortowania zasobu.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c zas\u00f3b nie obs\u0142uguje wyrzucania do kosza.", "required": false } } } ] }, "\/wc\/v3\/products\/brands\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nazwa kategorii.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "parent": { "description": "Id rodzica zasobu.", "type": "integer", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false }, "display": { "description": "Typ wy\u015bwietlania kategorii.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Dane obrazka.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, kt\u00f3ra s\u0142u\u017cy do sortowania zasobu.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/products\/brands\/batch" } ] } }, "\/wc\/v3\/wc_square\/settings": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "enable_sandbox": { "description": "Application ID for the Sandbox Application.", "type": "string", "required": false }, "sandbox_application_id": { "description": "Access Token for the Sandbox Test Account.", "type": "string", "required": false }, "sandbox_token": { "description": "Square sandbox ID.", "type": "string", "required": false }, "debug_logging_enabled": { "description": "Log debug messages to the WooCommerce status log.", "type": "string", "required": false }, "sandbox_location_id": { "description": "Square location ID. (Sandbox)", "type": "string", "required": false }, "production_location_id": { "description": "Square location ID.", "type": "string", "required": false }, "system_of_record": { "description": "Choose where data will be updated for synced products.", "type": "string", "required": false }, "enable_inventory_sync": { "description": "Enable to fetch inventory changes from Square.", "type": "string", "required": false }, "override_product_images": { "description": "Enable to override Product images from Square.", "type": "string", "required": false }, "hide_missing_products": { "description": "Hide synced products when not found in Square.", "type": "string", "required": false }, "sync_interval": { "description": "Frequency for how regularly WooCommerce will sync products with Square.", "type": "string", "required": false }, "debug_mode": { "description": "Type of debug mode.", "type": "string", "required": false }, "enable_customer_decline_messages": { "description": "Enable detailed decline messages to the customer during checkout when possible, rather than a generic decline message.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/wc_square\/settings" } ] } }, "\/wc\/v3\/wc_square\/payment_settings": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "enabled": { "description": "Enable Square payment gateway.", "type": "string", "required": false }, "title": { "description": "Square payment gateway title.", "type": "string", "required": false }, "description": { "description": "Square payment gateway description.", "type": "string", "required": false }, "transaction_type": { "description": "The transaction type.", "type": "string", "required": false }, "charge_virtual_orders": { "description": "If the order contains exclusively virtual items, enable this to immediately charge, rather than authorize, the transaction.", "type": "string", "required": false }, "enable_paid_capture": { "description": "Automatically capture orders when they are changed to Processing or Completed.", "type": "string", "required": false }, "card_types": { "description": "Array of card type logos.", "type": "string", "required": false }, "tokenization": { "description": "Enable tokenization and allow customers to securely save their payment details for future checkout.", "type": "string", "required": false }, "enable_digital_wallets": { "description": "Allow customers to pay with Apple Pay or Google Pay from your Product, Cart and Checkout pages", "type": "string", "required": false }, "digital_wallets_button_type": { "description": "This setting only applies to the Apple Pay button. When Google Pay is available, the Google Pay button will always have the \"Buy with\" button text.", "type": "string", "required": false }, "digital_wallets_apple_pay_button_color": { "description": "Color of the Apple Pay button.", "type": "string", "required": false }, "digital_wallets_google_pay_button_color": { "description": "Color of the GPay button.", "type": "string", "required": false }, "digital_wallets_hide_button_options": { "description": "Array of digital wallet buttons to hide", "type": "array", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/wc_square\/payment_settings" } ] } }, "\/wc\/v3\/wc_square\/cash_app_settings": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "enabled": { "description": "Enable Square payment gateway.", "type": "string", "required": false }, "title": { "description": "Square payment gateway title.", "type": "string", "required": false }, "description": { "description": "Square payment gateway description.", "type": "string", "required": false }, "transaction_type": { "description": "The transaction type.", "type": "string", "required": false }, "charge_virtual_orders": { "description": "If the order contains exclusively virtual items, enable this to immediately charge, rather than authorize, the transaction.", "type": "string", "required": false }, "enable_paid_capture": { "description": "Automatically capture orders when they are changed to Processing or Completed.", "type": "string", "required": false }, "button_theme": { "description": "Button Theme.", "type": "string", "required": false }, "button_shape": { "description": "Button Shape.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/wc_square\/cash_app_settings" } ] } }, "\/wc\/v3\/wc_square\/gift_cards_settings": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "enabled": { "description": "Enable Square payment gateway.", "type": "string", "required": false }, "title": { "description": "Square payment gateway title.", "type": "string", "required": false }, "description": { "description": "Square payment gateway description.", "type": "string", "required": false }, "is_default_placeholder": { "description": "Indicates if a Gift card product should use the default placeholder provided by the plugin.", "type": "string", "required": false }, "placeholder_id": { "description": "ID of the placeholder media.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/wc_square\/gift_cards_settings" } ] } }, "\/jetpack-boost\/v1": { "namespace": "jetpack-boost\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "jetpack-boost\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack-boost\/v1" } ] } }, "\/jetpack-boost\/v1\/speed-scores": { "namespace": "jetpack-boost\/v1", "methods": [ "POST", "PUT", "PATCH", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack-boost\/v1\/speed-scores" } ] } }, "\/jetpack-boost\/v1\/speed-scores\/refresh": { "namespace": "jetpack-boost\/v1", "methods": [ "POST", "PUT", "PATCH", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack-boost\/v1\/speed-scores\/refresh" } ] } }, "\/jetpack-boost\/v1\/speed-scores-history": { "namespace": "jetpack-boost\/v1", "methods": [ "POST", "PUT", "PATCH", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "start": { "type": "number", "required": true }, "end": { "type": "number", "required": true } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "start": { "type": "number", "required": true }, "end": { "type": "number", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack-boost\/v1\/speed-scores-history" } ] } }, "\/my-jetpack\/v1": { "namespace": "my-jetpack\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "my-jetpack\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/my-jetpack\/v1" } ] } }, "\/my-jetpack\/v1\/site\/products": { "namespace": "my-jetpack\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "products": { "description": "Comma seperated list of product slugs that should be retrieved.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/my-jetpack\/v1\/site\/products" } ] } }, "\/my-jetpack\/v1\/site\/products\/install": { "namespace": "my-jetpack\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "products": { "description": "Array of Product slugs", "type": "array", "items": { "enum": [ "anti-spam", "backup", "boost", "crm", "creator", "extras", "jetpack-ai", "ai", "scan", "search", "social", "security", "protect", "videopress", "stats", "growth", "complete", "newsletter", "site-accelerator", "related-posts" ], "type": "string" }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/my-jetpack\/v1\/site\/products\/install" } ] } }, "\/my-jetpack\/v1\/site\/products\/activate": { "namespace": "my-jetpack\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "products": { "description": "Array of Product slugs", "type": "array", "items": { "enum": [ "anti-spam", "backup", "boost", "crm", "creator", "extras", "jetpack-ai", "ai", "scan", "search", "social", "security", "protect", "videopress", "stats", "growth", "complete", "newsletter", "site-accelerator", "related-posts" ], "type": "string" }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/my-jetpack\/v1\/site\/products\/activate" } ] } }, "\/my-jetpack\/v1\/site\/products\/deactivate": { "namespace": "my-jetpack\/v1", "methods": [ "DELETE" ], "endpoints": [ { "methods": [ "DELETE" ], "args": { "products": { "description": "Array of Product slugs", "type": "array", "items": { "enum": [ "anti-spam", "backup", "boost", "crm", "creator", "extras", "jetpack-ai", "ai", "scan", "search", "social", "security", "protect", "videopress", "stats", "growth", "complete", "newsletter", "site-accelerator", "related-posts" ], "type": "string" }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/my-jetpack\/v1\/site\/products\/deactivate" } ] } }, "\/my-jetpack\/v1\/site\/products-ownership": { "namespace": "my-jetpack\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/my-jetpack\/v1\/site\/products-ownership" } ] } }, "\/my-jetpack\/v1\/site\/purchases": { "namespace": "my-jetpack\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/my-jetpack\/v1\/site\/purchases" } ] } }, "\/my-jetpack\/v1\/chat\/availability": { "namespace": "my-jetpack\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/my-jetpack\/v1\/chat\/availability" } ] } }, "\/my-jetpack\/v1\/chat\/authentication": { "namespace": "my-jetpack\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "type": { "type": "string", "required": false }, "test_mode": { "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/my-jetpack\/v1\/chat\/authentication" } ] } }, "\/my-jetpack\/v1\/site\/recommendations\/evaluation": { "namespace": "my-jetpack\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/my-jetpack\/v1\/site\/recommendations\/evaluation" } ] } }, "\/my-jetpack\/v1\/site\/recommendations\/evaluation\/result": { "namespace": "my-jetpack\/v1", "methods": [ "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] }, { "methods": [ "DELETE" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/my-jetpack\/v1\/site\/recommendations\/evaluation\/result" } ] } }, "\/my-jetpack\/v1\/site\/backup\/undo-event": { "namespace": "my-jetpack\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/my-jetpack\/v1\/site\/backup\/undo-event" } ] } }, "\/my-jetpack\/v1\/site\/protect\/data": { "namespace": "my-jetpack\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/my-jetpack\/v1\/site\/protect\/data" } ] } }, "\/my-jetpack\/v1\/site\/videopress\/data": { "namespace": "my-jetpack\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/my-jetpack\/v1\/site\/videopress\/data" } ] } }, "\/my-jetpack\/v1\/site\/update-historically-active-modules": { "namespace": "my-jetpack\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/my-jetpack\/v1\/site\/update-historically-active-modules" } ] } }, "\/my-jetpack\/v1\/jetpack-manage\/data": { "namespace": "my-jetpack\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/my-jetpack\/v1\/jetpack-manage\/data" } ] } }, "\/my-jetpack\/v1\/red-bubble-notifications": { "namespace": "my-jetpack\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "dismissal_cookies": { "type": "array", "description": "Array of dismissal cookies to set for the red bubble notifications.", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/my-jetpack\/v1\/red-bubble-notifications" } ] } }, "\/my-jetpack\/v1\/site": { "namespace": "my-jetpack\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/my-jetpack\/v1\/site" } ] } }, "\/my-jetpack\/v1\/site\/dismiss-welcome-banner": { "namespace": "my-jetpack\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/my-jetpack\/v1\/site\/dismiss-welcome-banner" } ] } }, "\/jetpack\/v4\/explat": { "namespace": "jetpack\/v4\/explat", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "jetpack\/v4\/explat", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/explat" } ] } }, "\/jetpack\/v4\/explat\/assignments": { "namespace": "jetpack\/v4\/explat", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "experiment_name": { "type": "string", "required": false }, "anon_id": { "type": "string", "required": false }, "as_connected_user": { "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/explat\/assignments" } ] } }, "\/jetpack\/v4\/blaze-app": { "namespace": "jetpack\/v4\/blaze-app", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "jetpack\/v4\/blaze-app", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/blaze-app" } ] } }, "\/jetpack\/v4\/blaze-app\/sites\/213264320\/blaze\/posts(\\?.*)?": { "namespace": "jetpack\/v4\/blaze-app", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/blaze-app\/sites\/213264320\/blaze\/posts(\\?.*)?" } ] } }, "\/jetpack\/v4\/blaze-app\/sites\/213264320\/wordads\/dsp\/api\/v1\/wpcom\/sites\/213264320\/blaze\/posts(\\?.*)?": { "namespace": "jetpack\/v4\/blaze-app", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/blaze-app\/sites\/213264320\/wordads\/dsp\/api\/v1\/wpcom\/sites\/213264320\/blaze\/posts(\\?.*)?" } ] } }, "\/jetpack\/v4\/blaze-app\/sites\/213264320\/wordads\/dsp\/api\/v1\/wpcom\/checkout": { "namespace": "jetpack\/v4\/blaze-app", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/blaze-app\/sites\/213264320\/wordads\/dsp\/api\/v1\/wpcom\/checkout" } ] } }, "\/jetpack\/v4\/blaze-app\/sites\/213264320\/wordads\/dsp\/api\/v1\/credits(?P[a-zA-Z0-9-_\\\/]*)(\\?.*)?": { "namespace": "jetpack\/v4\/blaze-app", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/jetpack\/v4\/blaze-app\/sites\/213264320\/wordads\/dsp\/api\/v1\/wpcom\/sites\/213264320\/media(?P[a-zA-Z0-9-_\\\/]*)(\\?.*)?": { "namespace": "jetpack\/v4\/blaze-app", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/jetpack\/v4\/blaze-app\/sites\/213264320\/wordads\/dsp\/api\/v1\/wpcom\/sites\/213264320\/media": { "namespace": "jetpack\/v4\/blaze-app", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/blaze-app\/sites\/213264320\/wordads\/dsp\/api\/v1\/wpcom\/sites\/213264320\/media" } ] } }, "\/jetpack\/v4\/blaze-app\/sites\/213264320\/wordads\/dsp\/api\/v1\/wpcom\/media(?P[a-zA-Z0-9-_\\\/]*)(\\?.*)?": { "namespace": "jetpack\/v4\/blaze-app", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/jetpack\/v4\/blaze-app\/sites\/213264320\/wordads\/dsp\/api\/v1\/experiments(?P[a-zA-Z0-9-_\\\/]*)(\\?.*)?": { "namespace": "jetpack\/v4\/blaze-app", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/jetpack\/v4\/blaze-app\/sites\/213264320\/wordads\/dsp\/api\/(?Pv[0-9]+\\.?[0-9]*)\/campaigns(?P[a-zA-Z0-9-_\\\/]*)(\\?.*)?": { "namespace": "jetpack\/v4\/blaze-app", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/jetpack\/v4\/blaze-app\/sites\/213264320\/wordads\/dsp\/api\/(?Pv[0-9]+\\.?[0-9]*)\/campaigns(?P[a-zA-Z0-9-_\\\/]*)": { "namespace": "jetpack\/v4\/blaze-app", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/jetpack\/v4\/blaze-app\/sites\/213264320\/wordads\/dsp\/api\/v1\/sites\/213264320\/campaigns(?P[a-zA-Z0-9-_\\\/]*)(\\?.*)?": { "namespace": "jetpack\/v4\/blaze-app", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/jetpack\/v4\/blaze-app\/sites\/213264320\/wordads\/dsp\/api\/(?Pv[0-9]+\\.?[0-9]*)\/stats(?P[a-zA-Z0-9-_\\\/]*)(\\?.*)?": { "namespace": "jetpack\/v4\/blaze-app", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/jetpack\/v4\/blaze-app\/sites\/213264320\/wordads\/dsp\/api\/(?Pv[0-9]+\\.?[0-9]*)\/stats(?P[a-zA-Z0-9-_\\\/]*)": { "namespace": "jetpack\/v4\/blaze-app", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/jetpack\/v4\/blaze-app\/sites\/213264320\/wordads\/dsp\/api\/v1\/search(?P[a-zA-Z0-9-_\\\/]*)(\\?.*)?": { "namespace": "jetpack\/v4\/blaze-app", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/jetpack\/v4\/blaze-app\/sites\/213264320\/wordads\/dsp\/api\/v1\/user(?P[a-zA-Z0-9-_\\\/]*)(\\?.*)?": { "namespace": "jetpack\/v4\/blaze-app", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/jetpack\/v4\/blaze-app\/sites\/213264320\/wordads\/dsp\/api\/v1\/templates(?P[a-zA-Z0-9-_\\\/:]*)(\\?.*)?": { "namespace": "jetpack\/v4\/blaze-app", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/jetpack\/v4\/blaze-app\/sites\/213264320\/wordads\/dsp\/api\/v1\/subscriptions(?P[a-zA-Z0-9-_\\\/]*)(\\?.*)?": { "namespace": "jetpack\/v4\/blaze-app", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/jetpack\/v4\/blaze-app\/sites\/213264320\/wordads\/dsp\/api\/v1\/subscriptions(?P[a-zA-Z0-9-_\\\/]*)": { "namespace": "jetpack\/v4\/blaze-app", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/jetpack\/v4\/blaze-app\/sites\/213264320\/wordads\/dsp\/api\/v1\/payments(?P[a-zA-Z0-9-_\\\/]*)(\\?.*)?": { "namespace": "jetpack\/v4\/blaze-app", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/jetpack\/v4\/blaze-app\/sites\/213264320\/wordads\/dsp\/api\/v1\/payments(?P[a-zA-Z0-9-_\\\/]*)": { "namespace": "jetpack\/v4\/blaze-app", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/jetpack\/v4\/blaze-app\/sites\/213264320\/wordads\/dsp\/api\/v1\/smart(?P[a-zA-Z0-9-_\\\/]*)(\\?.*)?": { "namespace": "jetpack\/v4\/blaze-app", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/jetpack\/v4\/blaze-app\/sites\/213264320\/wordads\/dsp\/api\/v1\/smart(?P[a-zA-Z0-9-_\\\/]*)": { "namespace": "jetpack\/v4\/blaze-app", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ] }, "\/jetpack\/v4\/blaze-app\/sites\/213264320\/wordads\/dsp\/api\/v1\/locations(?P[a-zA-Z0-9-_\\\/]*)(\\?.*)?": { "namespace": "jetpack\/v4\/blaze-app", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/jetpack\/v4\/blaze-app\/sites\/213264320\/wordads\/dsp\/api\/v1\/woo(?P[a-zA-Z0-9-_\\\/]*)(\\?.*)?": { "namespace": "jetpack\/v4\/blaze-app", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/jetpack\/v4\/blaze-app\/sites\/213264320\/wordads\/dsp\/api\/v1\/image(?P[a-zA-Z0-9-_\\\/]*)(\\?.*)?": { "namespace": "jetpack\/v4\/blaze-app", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ] }, "\/jetpack\/v4\/blaze-app\/sites\/213264320\/wordads\/dsp\/api\/v1\/logs": { "namespace": "jetpack\/v4\/blaze-app", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/blaze-app\/sites\/213264320\/wordads\/dsp\/api\/v1\/logs" } ] } }, "\/jetpack\/v4\/blaze": { "namespace": "jetpack\/v4\/blaze", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "jetpack\/v4\/blaze", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/blaze" } ] } }, "\/jetpack\/v4\/blaze\/eligibility": { "namespace": "jetpack\/v4\/blaze", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/blaze\/eligibility" } ] } }, "\/jetpack\/v4\/blaze\/dashboard": { "namespace": "jetpack\/v4\/blaze", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/blaze\/dashboard" } ] } }, "\/jetpack\/v4\/feature\/custom-content-types": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/feature\/custom-content-types" } ] } }, "\/jetpack\/v4\/hints": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "hint": { "default": "", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/hints" } ] } }, "\/google-site-kit\/v1": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "google-site-kit\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/google-site-kit\/v1" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/setup-tag": { "namespace": "google-site-kit\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/google-site-kit\/v1\/core\/site\/data\/setup-tag" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/connection": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/google-site-kit\/v1\/core\/site\/data\/connection" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/authentication": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/google-site-kit\/v1\/core\/user\/data\/authentication" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/disconnect": { "namespace": "google-site-kit\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/google-site-kit\/v1\/core\/user\/data\/disconnect" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/get-token": { "namespace": "google-site-kit\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/google-site-kit\/v1\/core\/user\/data\/get-token" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/user-input-settings": { "namespace": "google-site-kit\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": { "data": { "type": "object", "description": "", "default": null, "properties": { "settings": { "type": "object", "required": true, "questions": { "purpose": { "type": "array", "items": { "type": "string" } }, "postFrequency": { "type": "array", "items": { "type": "string" } }, "goals": { "type": "array", "items": { "type": "string" } }, "includeConversionEvents": { "type": "array", "items": { "type": "string" } } } } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/google-site-kit\/v1\/core\/user\/data\/user-input-settings" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/audience-settings": { "namespace": "google-site-kit\/v1", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "data": { "type": "object", "description": "", "default": null, "properties": { "settings": { "type": "object", "required": true, "minProperties": 1, "additionalProperties": false, "properties": { "configuredAudiences": { "type": "array", "items": { "type": "string" } }, "isAudienceSegmentationWidgetHidden": { "type": "boolean" }, "didSetAudiences": { "type": "boolean" } } } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/google-site-kit\/v1\/core\/user\/data\/audience-settings" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/conversion-reporting-settings": { "namespace": "google-site-kit\/v1", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "data": { "type": "object", "description": "", "default": null, "properties": { "settings": { "type": "object", "required": true, "minProperties": 1, "additionalProperties": false, "properties": { "newEventsCalloutDismissedAt": { "type": "integer" }, "lostEventsCalloutDismissedAt": { "type": "integer" } } } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/google-site-kit\/v1\/core\/user\/data\/conversion-reporting-settings" } ] } }, "\/google-site-kit\/v1\/core\/modules\/data\/list": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/google-site-kit\/v1\/core\/modules\/data\/list" } ] } }, "\/google-site-kit\/v1\/core\/modules\/data\/activation": { "namespace": "google-site-kit\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "data": { "type": "object", "description": "", "default": null, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/google-site-kit\/v1\/core\/modules\/data\/activation" } ] } }, "\/google-site-kit\/v1\/core\/modules\/data\/info": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "type": "string", "description": "Identyfikator modu\u0142u.", "default": null, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/google-site-kit\/v1\/core\/modules\/data\/info" } ] } }, "\/google-site-kit\/v1\/core\/modules\/data\/check-access": { "namespace": "google-site-kit\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "slug": { "type": "string", "description": "Identyfikator modu\u0142u.", "default": null, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/google-site-kit\/v1\/core\/modules\/data\/check-access" } ] } }, "\/google-site-kit\/v1\/modules\/(?P[a-z0-9\\-]+)\/data\/notifications": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "type": "string", "description": "Identyfikator modu\u0142u.", "default": null, "required": false } } } ] }, "\/google-site-kit\/v1\/modules\/(?P[a-z0-9\\-]+)\/data\/settings": { "namespace": "google-site-kit\/v1", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "type": "string", "description": "Identyfikator modu\u0142u.", "default": null, "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "slug": { "type": "string", "description": "Identyfikator modu\u0142u.", "default": null, "required": false }, "data": { "type": "object", "description": "Opcje do ustawienia.", "default": null, "required": false } } } ] }, "\/google-site-kit\/v1\/modules\/(?P[a-z0-9\\-]+)\/data\/data-available": { "namespace": "google-site-kit\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "slug": { "type": "string", "description": "Identyfikator modu\u0142u.", "default": null, "required": false } } } ] }, "\/google-site-kit\/v1\/modules\/(?P[a-z0-9\\-]+)\/data\/(?P[a-z\\-]+)": { "namespace": "google-site-kit\/v1", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "type": "string", "description": "Identyfikator modu\u0142u.", "default": null, "required": false }, "datapoint": { "type": "string", "description": "Dane modu\u0142u wskazuj\u0105 adres.", "default": null, "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "slug": { "type": "string", "description": "Identyfikator modu\u0142u.", "default": null, "required": false }, "datapoint": { "type": "string", "description": "Dane modu\u0142u wskazuj\u0105 adres.", "default": null, "required": false }, "data": { "type": "object", "description": "Dane do ustawienia.", "default": null, "required": false } } } ] }, "\/google-site-kit\/v1\/core\/modules\/data\/recover-modules": { "namespace": "google-site-kit\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/google-site-kit\/v1\/core\/modules\/data\/recover-modules" } ] } }, "\/google-site-kit\/v1\/core\/modules\/data\/sharing-settings": { "namespace": "google-site-kit\/v1", "methods": [ "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "data": { "type": "object", "description": "", "default": null, "required": true } } }, { "methods": [ "DELETE" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/google-site-kit\/v1\/core\/modules\/data\/sharing-settings" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/dismissed-items": { "namespace": "google-site-kit\/v1", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "DELETE" ], "args": { "data": { "type": "object", "description": "", "default": null, "minProperties": 1, "additionalProperties": false, "properties": { "slugs": { "type": "array", "required": true, "items": { "type": "string" } } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/google-site-kit\/v1\/core\/user\/data\/dismissed-items" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/dismiss-item": { "namespace": "google-site-kit\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "data": { "type": "object", "description": "", "default": null, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/google-site-kit\/v1\/core\/user\/data\/dismiss-item" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/expirable-items": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/google-site-kit\/v1\/core\/user\/data\/expirable-items" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/set-expirable-item-timers": { "namespace": "google-site-kit\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "data": { "type": "array", "description": "", "default": null, "items": { "type": "object", "additionalProperties": false, "properties": { "slug": { "type": "string", "required": true }, "expiration": { "type": "integer", "required": true } } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/google-site-kit\/v1\/core\/user\/data\/set-expirable-item-timers" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/permissions": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/google-site-kit\/v1\/core\/user\/data\/permissions" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/nonces": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/google-site-kit\/v1\/core\/user\/data\/nonces" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/survey-trigger": { "namespace": "google-site-kit\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "data": { "type": "object", "description": "", "default": null, "properties": { "triggerID": { "type": "string", "required": true }, "ttl": { "type": "integer", "minimum": 0 } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/google-site-kit\/v1\/core\/user\/data\/survey-trigger" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/survey-event": { "namespace": "google-site-kit\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "data": { "type": "object", "description": "", "default": null, "properties": { "session": { "type": "object", "required": true, "properties": { "session_id": { "type": "string", "required": true }, "session_token": { "type": "string", "required": true } } }, "event": { "type": "object", "required": true, "properties": { "survey_shown": { "type": "object" }, "survey_closed": { "type": "object" }, "question_answered": { "type": "object" }, "completion_shown": { "type": "object" }, "follow_up_link_clicked": { "type": "object" } } } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/google-site-kit\/v1\/core\/user\/data\/survey-event" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/survey-timeouts": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/google-site-kit\/v1\/core\/user\/data\/survey-timeouts" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/survey": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/google-site-kit\/v1\/core\/user\/data\/survey" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/reset": { "namespace": "google-site-kit\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/google-site-kit\/v1\/core\/site\/data\/reset" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/reset-persistent": { "namespace": "google-site-kit\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/google-site-kit\/v1\/core\/site\/data\/reset-persistent" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/developer-plugin": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/google-site-kit\/v1\/core\/site\/data\/developer-plugin" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/tracking": { "namespace": "google-site-kit\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": { "data": { "type": "object", "description": "", "default": null, "properties": { "enabled": { "type": "boolean", "required": true } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/google-site-kit\/v1\/core\/user\/data\/tracking" } ] } }, "\/google-site-kit\/v1\/core\/search\/data\/entity-search": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "query": { "type": "string", "description": "Tre\u015b\u0107 tekstowa do wyszukania.", "default": null, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/google-site-kit\/v1\/core\/search\/data\/entity-search" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/admin-bar-settings": { "namespace": "google-site-kit\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": { "data": { "type": "object", "description": "", "default": null, "properties": { "enabled": { "type": "boolean", "required": false } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/google-site-kit\/v1\/core\/site\/data\/admin-bar-settings" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/notifications": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/google-site-kit\/v1\/core\/site\/data\/notifications" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/mark-notification": { "namespace": "google-site-kit\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "data": { "type": "object", "description": "", "default": null, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/google-site-kit\/v1\/core\/site\/data\/mark-notification" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/site-health-tag-placement-test": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/google-site-kit\/v1\/core\/site\/data\/site-health-tag-placement-test" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/health-checks": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/google-site-kit\/v1\/core\/site\/data\/health-checks" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/dismissed-tours": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/google-site-kit\/v1\/core\/user\/data\/dismissed-tours" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/dismiss-tour": { "namespace": "google-site-kit\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "data": { "type": "object", "description": "", "default": null, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/google-site-kit\/v1\/core\/user\/data\/dismiss-tour" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/key-metrics": { "namespace": "google-site-kit\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST" ], "args": { "data": { "type": "object", "description": "", "default": null, "properties": { "settings": { "type": "object", "required": true, "properties": { "isWidgetHidden": { "type": "boolean", "required": true }, "widgetSlugs": { "type": "array", "required": false, "maxItems": 8, "items": { "type": "string" } } } } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/google-site-kit\/v1\/core\/user\/data\/key-metrics" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/dismissed-prompts": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/google-site-kit\/v1\/core\/user\/data\/dismissed-prompts" } ] } }, "\/google-site-kit\/v1\/core\/user\/data\/dismiss-prompt": { "namespace": "google-site-kit\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "data": { "type": "object", "description": "", "default": null, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/google-site-kit\/v1\/core\/user\/data\/dismiss-prompt" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/consent-mode": { "namespace": "google-site-kit\/v1", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "data": { "type": "object", "description": "", "default": null, "properties": { "settings": { "type": "object", "required": true, "minProperties": 1, "additionalProperties": false, "properties": { "enabled": { "type": "boolean" }, "regions": { "type": "array", "items": { "type": "string" } } } } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/google-site-kit\/v1\/core\/site\/data\/consent-mode" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/consent-api-info": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/google-site-kit\/v1\/core\/site\/data\/consent-api-info" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/consent-api-activate": { "namespace": "google-site-kit\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/google-site-kit\/v1\/core\/site\/data\/consent-api-activate" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/ads-measurement-status": { "namespace": "google-site-kit\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/google-site-kit\/v1\/core\/site\/data\/ads-measurement-status" } ] } }, "\/google-site-kit\/v1\/core\/site\/data\/conversion-tracking": { "namespace": "google-site-kit\/v1", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": [] }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "data": { "type": "object", "description": "", "default": null, "properties": { "settings": { "type": "object", "required": true, "properties": { "enabled": { "type": "boolean", "required": true } } } }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/google-site-kit\/v1\/core\/site\/data\/conversion-tracking" } ] } }, "\/divi\/v1": { "namespace": "divi\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "namespace": { "default": "divi\/v1", "required": false }, "context": { "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/divi\/v1" } ] } }, "\/divi\/v1\/get_layout_content": { "namespace": "divi\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "required": false }, "nonce": { "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/divi\/v1\/get_layout_content" } ] } }, "\/divi\/v1\/block\/layout\/builder_edit_data": { "namespace": "divi\/v1", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "action": { "required": false }, "postId": { "required": false }, "blockId": { "required": false }, "layoutContent": { "required": false }, "nonce": { "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/divi\/v1\/block\/layout\/builder_edit_data" } ] } }, "\/wc\/v1\/coupons": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "filter": { "type": "object", "description": "U\u017cyj argument\u00f3w WP Query, aby zmodyfikowa\u0107 odpowied\u017a; prywatne kwerendy wymagaj\u0105 odpowiedniej autoryzacji.", "required": false }, "code": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w z danym kodem.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "code": { "description": "Kod kuponu.", "type": "string", "required": true }, "description": { "description": "Opis kuponu.", "type": "string", "required": false }, "discount_type": { "default": "fixed_cart", "description": "Determinuje typ rabatu, kt\u00f3ry zostanie zastosowany.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product", "sign_up_fee", "sign_up_fee_percent", "recurring_fee", "recurring_percent", "renewal_percent", "renewal_fee", "renewal_cart", "initial_cart" ], "required": false }, "amount": { "description": "Kwota zni\u017cki. Zawsze powinna by\u0107 warto\u015bci\u0105 numeryczn\u0105, nawet je\u015bli ustawiona jest warto\u015b\u0107 procentowa.", "type": "string", "required": false }, "expiry_date": { "description": "Data wyga\u015bni\u0119cia kupon\u00f3w wed\u0142ug czasu UTC.", "type": [ "null", "string" ], "required": false }, "individual_use": { "default": false, "description": "Je\u015bli \"true\", kupon mo\u017ce by\u0107 u\u017cyty tylko pojedynczo. Inne zastosowane kupony zostan\u0105 usuni\u0119te z koszyka.", "type": "boolean", "required": false }, "product_ids": { "description": "Lista ID produkt\u00f3w, dla kt\u00f3rych kupon mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_product_ids": { "description": "Lista ID produkt\u00f3w, dla kt\u00f3rych kupon nie mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Ile razy kupon mo\u017ce zosta\u0107 u\u017cyty.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Liczba, ile razy dany kupon mo\u017ce zosta\u0107 u\u017cyty przez jednego klienta.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Maksymalna liczba produkt\u00f3w w koszyku dla kt\u00f3rych mo\u017cna u\u017cy\u0107 kuponu.", "type": "integer", "required": false }, "free_shipping": { "default": false, "description": "Je\u015bli \"true\" i darmowa wysy\u0142ka wymaga u\u017cycia kuponu, ten kupon w\u0142\u0105czy darmow\u0105 wysy\u0142k\u0119.", "type": "boolean", "required": false }, "product_categories": { "description": "Lista ID kategorii, dla kt\u00f3rych kupon mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Lista ID kategorii, dla kt\u00f3rych kupon nie mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "default": false, "description": "Je\u015bli \"true\", kupon nie b\u0119dzie stosowany do produkt\u00f3w, kt\u00f3re s\u0105 w promocji.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minimalna kwota zam\u00f3wienia, aby mo\u017cna by\u0142o u\u017cy\u0107 kupon.", "type": "string", "required": false }, "maximum_amount": { "description": "Maksymalna kwota zam\u00f3wienia, aby mo\u017cna by\u0142o u\u017cy\u0107 kupon.", "type": "string", "required": false }, "email_restrictions": { "description": "Lista adres\u00f3w e-mail pozwalaj\u0105cych na u\u017cycie kuponu.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "code": { "description": "Kod kuponu.", "type": "string", "required": false }, "description": { "description": "Opis kuponu.", "type": "string", "required": false }, "discount_type": { "description": "Determinuje typ rabatu, kt\u00f3ry zostanie zastosowany.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product", "sign_up_fee", "sign_up_fee_percent", "recurring_fee", "recurring_percent", "renewal_percent", "renewal_fee", "renewal_cart", "initial_cart" ], "required": false }, "amount": { "description": "Kwota zni\u017cki. Zawsze powinna by\u0107 warto\u015bci\u0105 numeryczn\u0105, nawet je\u015bli ustawiona jest warto\u015b\u0107 procentowa.", "type": "string", "required": false }, "expiry_date": { "description": "Data wyga\u015bni\u0119cia kupon\u00f3w wed\u0142ug czasu UTC.", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "Je\u015bli \"true\", kupon mo\u017ce by\u0107 u\u017cyty tylko pojedynczo. Inne zastosowane kupony zostan\u0105 usuni\u0119te z koszyka.", "type": "boolean", "required": false }, "product_ids": { "description": "Lista ID produkt\u00f3w, dla kt\u00f3rych kupon mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_product_ids": { "description": "Lista ID produkt\u00f3w, dla kt\u00f3rych kupon nie mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Ile razy kupon mo\u017ce zosta\u0107 u\u017cyty.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Liczba, ile razy dany kupon mo\u017ce zosta\u0107 u\u017cyty przez jednego klienta.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Maksymalna liczba produkt\u00f3w w koszyku dla kt\u00f3rych mo\u017cna u\u017cy\u0107 kuponu.", "type": "integer", "required": false }, "free_shipping": { "description": "Je\u015bli \"true\" i darmowa wysy\u0142ka wymaga u\u017cycia kuponu, ten kupon w\u0142\u0105czy darmow\u0105 wysy\u0142k\u0119.", "type": "boolean", "required": false }, "product_categories": { "description": "Lista ID kategorii, dla kt\u00f3rych kupon mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Lista ID kategorii, dla kt\u00f3rych kupon nie mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "Je\u015bli \"true\", kupon nie b\u0119dzie stosowany do produkt\u00f3w, kt\u00f3re s\u0105 w promocji.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minimalna kwota zam\u00f3wienia, aby mo\u017cna by\u0142o u\u017cy\u0107 kupon.", "type": "string", "required": false }, "maximum_amount": { "description": "Maksymalna kwota zam\u00f3wienia, aby mo\u017cna by\u0142o u\u017cy\u0107 kupon.", "type": "string", "required": false }, "email_restrictions": { "description": "Lista adres\u00f3w e-mail pozwalaj\u0105cych na u\u017cycie kuponu.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "required": false } } } ] }, "\/wc\/v1\/coupons\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "code": { "description": "Kod kuponu.", "type": "string", "required": false }, "description": { "description": "Opis kuponu.", "type": "string", "required": false }, "discount_type": { "description": "Determinuje typ rabatu, kt\u00f3ry zostanie zastosowany.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product", "sign_up_fee", "sign_up_fee_percent", "recurring_fee", "recurring_percent", "renewal_percent", "renewal_fee", "renewal_cart", "initial_cart" ], "required": false }, "amount": { "description": "Kwota zni\u017cki. Zawsze powinna by\u0107 warto\u015bci\u0105 numeryczn\u0105, nawet je\u015bli ustawiona jest warto\u015b\u0107 procentowa.", "type": "string", "required": false }, "expiry_date": { "description": "Data wyga\u015bni\u0119cia kupon\u00f3w wed\u0142ug czasu UTC.", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "Je\u015bli \"true\", kupon mo\u017ce by\u0107 u\u017cyty tylko pojedynczo. Inne zastosowane kupony zostan\u0105 usuni\u0119te z koszyka.", "type": "boolean", "required": false }, "product_ids": { "description": "Lista ID produkt\u00f3w, dla kt\u00f3rych kupon mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_product_ids": { "description": "Lista ID produkt\u00f3w, dla kt\u00f3rych kupon nie mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Ile razy kupon mo\u017ce zosta\u0107 u\u017cyty.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Liczba, ile razy dany kupon mo\u017ce zosta\u0107 u\u017cyty przez jednego klienta.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Maksymalna liczba produkt\u00f3w w koszyku dla kt\u00f3rych mo\u017cna u\u017cy\u0107 kuponu.", "type": "integer", "required": false }, "free_shipping": { "description": "Je\u015bli \"true\" i darmowa wysy\u0142ka wymaga u\u017cycia kuponu, ten kupon w\u0142\u0105czy darmow\u0105 wysy\u0142k\u0119.", "type": "boolean", "required": false }, "product_categories": { "description": "Lista ID kategorii, dla kt\u00f3rych kupon mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Lista ID kategorii, dla kt\u00f3rych kupon nie mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "Je\u015bli \"true\", kupon nie b\u0119dzie stosowany do produkt\u00f3w, kt\u00f3re s\u0105 w promocji.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minimalna kwota zam\u00f3wienia, aby mo\u017cna by\u0142o u\u017cy\u0107 kupon.", "type": "string", "required": false }, "maximum_amount": { "description": "Maksymalna kwota zam\u00f3wienia, aby mo\u017cna by\u0142o u\u017cy\u0107 kupon.", "type": "string", "required": false }, "email_restrictions": { "description": "Lista adres\u00f3w e-mail pozwalaj\u0105cych na u\u017cycie kuponu.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v1\/coupons\/batch" } ] } }, "\/wc\/v1\/customers\/(?P[\\d]+)\/downloads": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "customer_id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ] }, "\/wc\/v1\/customers": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz zbi\u00f3r wynik\u00f3w do wybranych ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "name", "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "enum": [ "id", "include", "name", "registered_date" ], "type": "string", "required": false }, "email": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w z danym e-mailem.", "type": "string", "format": "email", "required": false }, "role": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w z dan\u0105 rol\u0105.", "type": "string", "default": "customer", "enum": [ "all", "administrator", "editor", "author", "contributor", "subscriber", "customer", "shop_manager" ], "required": false } } }, { "methods": [ "POST" ], "args": { "email": { "type": "string", "description": "E-mail nowego u\u017cytkownika.", "required": true }, "first_name": { "description": "Imi\u0119 klienta.", "type": "string", "required": false }, "last_name": { "description": "Nazwisko klienta.", "type": "string", "required": false }, "username": { "description": "Nazwa nowego u\u017cytkownika.", "type": "string", "required": false }, "password": { "description": "Has\u0142o nowego u\u017cytkownika.", "type": "string", "required": false }, "billing": { "description": "Lista danych rozliczeniowych.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adres linia 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adres linia 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod ISO kraju.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Adres e-mail.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numer telefonu.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Lista danych do wysy\u0142ki.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adres linia 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adres linia 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod ISO kraju.", "type": "string", "context": [ "view", "edit" ] } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "email": { "description": "Adres e-mail zamawiaj\u0105cego.", "type": "string", "format": "email", "required": false }, "first_name": { "description": "Imi\u0119 klienta.", "type": "string", "required": false }, "last_name": { "description": "Nazwisko klienta.", "type": "string", "required": false }, "username": { "description": "Login klienta.", "type": "string", "required": false }, "password": { "description": "Has\u0142o klienta.", "type": "string", "required": false }, "billing": { "description": "Lista danych rozliczeniowych.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adres linia 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adres linia 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod ISO kraju.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Adres e-mail.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numer telefonu.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Lista danych do wysy\u0142ki.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adres linia 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adres linia 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod ISO kraju.", "type": "string", "context": [ "view", "edit" ] } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c zas\u00f3b nie obs\u0142uguje wyrzucania do kosza.", "required": false }, "reassign": { "default": 0, "type": "integer", "description": "ID do przypisania wpis\u00f3w.", "required": false } } } ] }, "\/wc\/v1\/customers\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "email": { "description": "Adres e-mail zamawiaj\u0105cego.", "type": "string", "format": "email", "required": false }, "first_name": { "description": "Imi\u0119 klienta.", "type": "string", "required": false }, "last_name": { "description": "Nazwisko klienta.", "type": "string", "required": false }, "username": { "description": "Login klienta.", "type": "string", "required": false }, "password": { "description": "Has\u0142o klienta.", "type": "string", "required": false }, "billing": { "description": "Lista danych rozliczeniowych.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adres linia 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adres linia 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod ISO kraju.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Adres e-mail.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numer telefonu.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Lista danych do wysy\u0142ki.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adres linia 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adres linia 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod ISO kraju.", "type": "string", "context": [ "view", "edit" ] } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v1\/customers\/batch" } ] } }, "\/wc\/v1\/orders\/(?P[\\d]+)\/notes": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "ID zam\u00f3wienia.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "ID zam\u00f3wienia.", "type": "integer", "required": false }, "note": { "type": "string", "description": "Tre\u015b\u0107 notatki zam\u00f3wienia.", "required": true }, "customer_note": { "default": false, "description": "Pokazuje je\u015bli notatka jest tylko dla informacji lub tylko dla klienta (u\u017cytkownik zostanie powiadomiony).", "type": "boolean", "required": false } } } ] }, "\/wc\/v1\/orders\/(?P[\\d]+)\/notes\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "order_id": { "description": "ID zam\u00f3wienia.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "order_id": { "description": "ID zam\u00f3wienia.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c zas\u00f3b nie obs\u0142uguje wyrzucania do kosza.", "required": false } } } ] }, "\/wc\/v1\/orders\/(?P[\\d]+)\/refunds": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "ID zam\u00f3wienia.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "filter": { "type": "object", "description": "U\u017cyj argument\u00f3w WP Query, aby zmodyfikowa\u0107 odpowied\u017a; prywatne kwerendy wymagaj\u0105 odpowiedniej autoryzacji.", "required": false }, "status": { "default": "any", "description": "Ogranicz zestaw wynik\u00f3w do zam\u00f3wie\u0144 z danym statusem.", "type": "string", "enum": [ "any", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "customer": { "description": "Ogranicz zestaw wynik\u00f3w do zam\u00f3wie\u0144 danego klienta.", "type": "integer", "required": false }, "product": { "description": "Ogranicz zestaw wynik\u00f3w do zam\u00f3wie\u0144 z danym produktem.", "type": "integer", "required": false }, "dp": { "default": 2, "description": "Liczba miejsc dziesi\u0119tnych u\u017cywanych w ka\u017cdym zasobie.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "ID zam\u00f3wienia.", "type": "integer", "required": false }, "amount": { "description": "Kwota zwrotu.", "type": "string", "required": false }, "reason": { "description": "Pow\u00f3d zwrotu.", "type": "string", "required": false } } } ] }, "\/wc\/v1\/orders\/(?P[\\d]+)\/refunds\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "ID zam\u00f3wienia.", "type": "integer", "required": false }, "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "order_id": { "description": "ID zam\u00f3wienia.", "type": "integer", "required": false }, "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c zas\u00f3b nie obs\u0142uguje wyrzucania do kosza.", "required": false } } } ] }, "\/wc\/v1\/orders": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "filter": { "type": "object", "description": "U\u017cyj argument\u00f3w WP Query, aby zmodyfikowa\u0107 odpowied\u017a; prywatne kwerendy wymagaj\u0105 odpowiedniej autoryzacji.", "required": false }, "status": { "default": "any", "description": "Ogranicz zestaw wynik\u00f3w do zam\u00f3wie\u0144 z danym statusem.", "type": "string", "enum": [ "any", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "customer": { "description": "Ogranicz zestaw wynik\u00f3w do zam\u00f3wie\u0144 danego klienta.", "type": "integer", "required": false }, "product": { "description": "Ogranicz zestaw wynik\u00f3w do zam\u00f3wie\u0144 z danym produktem.", "type": "integer", "required": false }, "dp": { "default": 2, "description": "Liczba miejsc dziesi\u0119tnych u\u017cywanych w ka\u017cdym zasobie.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "parent_id": { "description": "ID zam\u00f3wienia nadrz\u0119dnego.", "type": "integer", "required": false }, "status": { "default": "pending", "description": "Status zam\u00f3wienia.", "type": "string", "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "default": "GBP", "description": "Waluta zam\u00f3wienia, w formacie ISO.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "default": 0, "description": "ID u\u017cytkownika, kt\u00f3ry jest w\u0142a\u015bcicielem zam\u00f3wienia. 0 dla go\u015bci.", "type": "integer", "required": false }, "billing": { "description": "Adres rozliczeniowy.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adres linia 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adres linia 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod kraju w formacie ISO 3166-1 alfa-2.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Adres e-mail.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numer telefonu.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Adres wysy\u0142ki.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adres linia 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adres linia 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod kraju w formacie ISO 3166-1 alfa-2.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "ID metody p\u0142atno\u015bci.", "type": "string", "required": false }, "payment_method_title": { "description": "Tytu\u0142 metody p\u0142atno\u015bci.", "type": "string", "required": false }, "set_paid": { "default": false, "description": "Wybierz, czy zam\u00f3wienie jest zap\u0142acone. Status zam\u00f3wienia zostanie zmieniony na w trakcie realizacji i stan magazynowy zostanie zmniejszony.", "type": "boolean", "required": false }, "transaction_id": { "description": "Unikalny numer ID transakcji.", "type": "string", "required": false }, "customer_note": { "description": "Notatka pozostawiona przez klienta podczas zam\u00f3wienia.", "type": "string", "required": false }, "line_items": { "description": "Dane pozycji zam\u00f3wienia.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nazwa produktu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "SKU produktu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "product_id": { "description": "ID produktu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "ID wariantu, je\u015bli dotyczy.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Zam\u00f3wiona ilo\u015b\u0107.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Klasa podatkowa produktu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Cena produktu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Suma pozycji (przed rabatami).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Suma podatk\u00f3w pozycji (przed rabatami).", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Suma cz\u0119\u015bciowa podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta": { "description": "Dane meta pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Etykieta danych meta.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "shipping_lines": { "description": "Dane wysy\u0142kowe pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nazwa metody wysy\u0142ki.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "ID metody wysy\u0142ki.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "fee_lines": { "description": "Dane op\u0142at pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nazwa op\u0142aty.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Klasa podatkowa op\u0142aty.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Status podatku op\u0142aty.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Suma cz\u0119\u015bciowa podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "coupon_lines": { "description": "Dane kupon\u00f3w pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Kod kuponu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "\u0141\u0105czny rabat.", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "\u0141\u0105czny podatek rabatu.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "parent_id": { "description": "ID zam\u00f3wienia nadrz\u0119dnego.", "type": "integer", "required": false }, "status": { "description": "Status zam\u00f3wienia.", "type": "string", "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "description": "Waluta zam\u00f3wienia, w formacie ISO.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "description": "ID u\u017cytkownika, kt\u00f3ry jest w\u0142a\u015bcicielem zam\u00f3wienia. 0 dla go\u015bci.", "type": "integer", "required": false }, "billing": { "description": "Adres rozliczeniowy.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adres linia 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adres linia 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod kraju w formacie ISO 3166-1 alfa-2.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Adres e-mail.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numer telefonu.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Adres wysy\u0142ki.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adres linia 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adres linia 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod kraju w formacie ISO 3166-1 alfa-2.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "ID metody p\u0142atno\u015bci.", "type": "string", "required": false }, "payment_method_title": { "description": "Tytu\u0142 metody p\u0142atno\u015bci.", "type": "string", "required": false }, "set_paid": { "description": "Wybierz, czy zam\u00f3wienie jest zap\u0142acone. Status zam\u00f3wienia zostanie zmieniony na w trakcie realizacji i stan magazynowy zostanie zmniejszony.", "type": "boolean", "required": false }, "transaction_id": { "description": "Unikalny numer ID transakcji.", "type": "string", "required": false }, "customer_note": { "description": "Notatka pozostawiona przez klienta podczas zam\u00f3wienia.", "type": "string", "required": false }, "line_items": { "description": "Dane pozycji zam\u00f3wienia.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nazwa produktu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "SKU produktu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "product_id": { "description": "ID produktu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "ID wariantu, je\u015bli dotyczy.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Zam\u00f3wiona ilo\u015b\u0107.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Klasa podatkowa produktu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Cena produktu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Suma pozycji (przed rabatami).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Suma podatk\u00f3w pozycji (przed rabatami).", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Suma cz\u0119\u015bciowa podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta": { "description": "Dane meta pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Etykieta danych meta.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "shipping_lines": { "description": "Dane wysy\u0142kowe pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nazwa metody wysy\u0142ki.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "ID metody wysy\u0142ki.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "fee_lines": { "description": "Dane op\u0142at pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nazwa op\u0142aty.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Klasa podatkowa op\u0142aty.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Status podatku op\u0142aty.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Suma cz\u0119\u015bciowa podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "coupon_lines": { "description": "Dane kupon\u00f3w pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Kod kuponu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "\u0141\u0105czny rabat.", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "\u0141\u0105czny podatek rabatu.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "required": false } } } ] }, "\/wc\/v1\/orders\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "parent_id": { "description": "ID zam\u00f3wienia nadrz\u0119dnego.", "type": "integer", "required": false }, "status": { "description": "Status zam\u00f3wienia.", "type": "string", "enum": [ "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "description": "Waluta zam\u00f3wienia, w formacie ISO.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "description": "ID u\u017cytkownika, kt\u00f3ry jest w\u0142a\u015bcicielem zam\u00f3wienia. 0 dla go\u015bci.", "type": "integer", "required": false }, "billing": { "description": "Adres rozliczeniowy.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adres linia 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adres linia 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod kraju w formacie ISO 3166-1 alfa-2.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Adres e-mail.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numer telefonu.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Adres wysy\u0142ki.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adres linia 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adres linia 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod kraju w formacie ISO 3166-1 alfa-2.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "ID metody p\u0142atno\u015bci.", "type": "string", "required": false }, "payment_method_title": { "description": "Tytu\u0142 metody p\u0142atno\u015bci.", "type": "string", "required": false }, "set_paid": { "description": "Wybierz, czy zam\u00f3wienie jest zap\u0142acone. Status zam\u00f3wienia zostanie zmieniony na w trakcie realizacji i stan magazynowy zostanie zmniejszony.", "type": "boolean", "required": false }, "transaction_id": { "description": "Unikalny numer ID transakcji.", "type": "string", "required": false }, "customer_note": { "description": "Notatka pozostawiona przez klienta podczas zam\u00f3wienia.", "type": "string", "required": false }, "line_items": { "description": "Dane pozycji zam\u00f3wienia.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nazwa produktu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "SKU produktu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "product_id": { "description": "ID produktu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "ID wariantu, je\u015bli dotyczy.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Zam\u00f3wiona ilo\u015b\u0107.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Klasa podatkowa produktu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Cena produktu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Suma pozycji (przed rabatami).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Suma podatk\u00f3w pozycji (przed rabatami).", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Suma cz\u0119\u015bciowa podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta": { "description": "Dane meta pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Etykieta danych meta.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "shipping_lines": { "description": "Dane wysy\u0142kowe pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nazwa metody wysy\u0142ki.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "ID metody wysy\u0142ki.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "fee_lines": { "description": "Dane op\u0142at pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nazwa op\u0142aty.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Klasa podatkowa op\u0142aty.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Status podatku op\u0142aty.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Suma cz\u0119\u015bciowa podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "coupon_lines": { "description": "Dane kupon\u00f3w pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Kod kuponu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "\u0141\u0105czny rabat.", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "\u0141\u0105czny podatek rabatu.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikalny identyfikator atrybutu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji. Dotyczy tylko taksonomii hierarchicznych.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj wed\u0142ug atrybutu zasobu.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Czy ukry\u0107 zasoby nieprzypisane do \u017cadnego produktu.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danego elementu nadrz\u0119dnego. Dotyczy tylko taksonomii hierarchicznych.", "type": "integer", "required": false }, "product": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danego produktu.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danej nazwy skr\u00f3conej (slug).", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "attribute_id": { "description": "Unikalny identyfikator atrybutu.", "type": "integer", "required": false }, "name": { "type": "string", "description": "Nazwa dla zasobu.", "required": true }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, kt\u00f3ra s\u0142u\u017cy do sortowania zasobu.", "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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "attribute_id": { "description": "Unikalny identyfikator atrybutu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "attribute_id": { "description": "Unikalny identyfikator atrybutu.", "type": "integer", "required": false }, "name": { "description": "Nazwa taksonomii.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, kt\u00f3ra s\u0142u\u017cy do sortowania zasobu.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "attribute_id": { "description": "Unikalny identyfikator atrybutu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c zas\u00f3b nie obs\u0142uguje wyrzucania do kosza.", "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": "Unikalny identyfikator atrybutu.", "type": "integer", "required": false }, "name": { "description": "Nazwa taksonomii.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, kt\u00f3ra s\u0142u\u017cy do sortowania zasobu.", "type": "integer", "required": false } } } ] }, "\/wc\/v1\/products\/attributes": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Nazwa dla zasobu.", "type": "string", "required": true }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "type": { "default": "select", "description": "Typ atrybutu.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "default": "menu_order", "description": "Domy\u015blne sortowanie.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "default": false, "description": "W\u0142\u0105cz\/wy\u0142\u0105cz archiwa atrybut\u00f3w.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "name": { "description": "Nazwa atrybutu.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "type": { "description": "Typ atrybutu.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Domy\u015blne sortowanie.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "W\u0142\u0105cz\/wy\u0142\u0105cz archiwa atrybut\u00f3w.", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c zas\u00f3b nie obs\u0142uguje wyrzucania do kosza.", "required": false } } } ] }, "\/wc\/v1\/products\/attributes\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nazwa atrybutu.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "type": { "description": "Typ atrybutu.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Domy\u015blne sortowanie.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "W\u0142\u0105cz\/wy\u0142\u0105cz archiwa atrybut\u00f3w.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v1\/products\/attributes\/batch" } ] } }, "\/wc\/v1\/products\/categories": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji. Dotyczy tylko taksonomii hierarchicznych.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj wed\u0142ug atrybutu zasobu.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Czy ukry\u0107 zasoby nieprzypisane do \u017cadnego produktu.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danego elementu nadrz\u0119dnego. Dotyczy tylko taksonomii hierarchicznych.", "type": "integer", "required": false }, "product": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danego produktu.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danej nazwy skr\u00f3conej (slug).", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Nazwa dla zasobu.", "required": true }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "parent": { "description": "Id rodzica zasobu.", "type": "integer", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false }, "display": { "default": "default", "description": "Typ wy\u015bwietlania kategorii.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Dane obrazka.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, kt\u00f3ra s\u0142u\u017cy do sortowania zasobu.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "name": { "description": "Nazwa kategorii.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "parent": { "description": "Id rodzica zasobu.", "type": "integer", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false }, "display": { "description": "Typ wy\u015bwietlania kategorii.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Dane obrazka.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, kt\u00f3ra s\u0142u\u017cy do sortowania zasobu.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c zas\u00f3b nie obs\u0142uguje wyrzucania do kosza.", "required": false } } } ] }, "\/wc\/v1\/products\/categories\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nazwa kategorii.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "parent": { "description": "Id rodzica zasobu.", "type": "integer", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false }, "display": { "description": "Typ wy\u015bwietlania kategorii.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Dane obrazka.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, kt\u00f3ra s\u0142u\u017cy do sortowania zasobu.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "id": { "description": "Unikalny identyfikator wariantu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "id": { "description": "Unikalny identyfikator wariantu.", "type": "integer", "required": false }, "review": { "type": "string", "description": "Tre\u015b\u0107 opinii.", "required": true }, "date_created": { "description": "Data dodania oceny zosta\u0142a utworzona w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "rating": { "description": "Ocena w skali 0 do 5.", "type": "integer", "required": false }, "name": { "type": "string", "description": "Nazwa recenzenta.", "required": true }, "email": { "type": "string", "description": "E-mail recenzenta.", "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": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "review": { "description": "Tre\u015b\u0107 opinii", "type": "string", "required": false }, "date_created": { "description": "Data dodania oceny zosta\u0142a utworzona w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "rating": { "description": "Ocena w skali 0 do 5.", "type": "integer", "required": false }, "name": { "description": "Imi\u0119 oceniaj\u0105cego.", "type": "string", "required": false }, "email": { "description": "E-mail oceniaj\u0105cego.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "description": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "required": false } } } ] }, "\/wc\/v1\/products\/shipping_classes": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji. Dotyczy tylko taksonomii hierarchicznych.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj wed\u0142ug atrybutu zasobu.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Czy ukry\u0107 zasoby nieprzypisane do \u017cadnego produktu.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danego elementu nadrz\u0119dnego. Dotyczy tylko taksonomii hierarchicznych.", "type": "integer", "required": false }, "product": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danego produktu.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danej nazwy skr\u00f3conej (slug).", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Nazwa dla zasobu.", "required": true }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "name": { "description": "Nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c zas\u00f3b nie obs\u0142uguje wyrzucania do kosza.", "required": false } } } ] }, "\/wc\/v1\/products\/shipping_classes\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v1\/products\/shipping_classes\/batch" } ] } }, "\/wc\/v1\/products\/tags": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji. Dotyczy tylko taksonomii hierarchicznych.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj wed\u0142ug atrybutu zasobu.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Czy ukry\u0107 zasoby nieprzypisane do \u017cadnego produktu.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danego elementu nadrz\u0119dnego. Dotyczy tylko taksonomii hierarchicznych.", "type": "integer", "required": false }, "product": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danego produktu.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danej nazwy skr\u00f3conej (slug).", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Nazwa dla zasobu.", "required": true }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "name": { "description": "Nazwa tagu.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c zas\u00f3b nie obs\u0142uguje wyrzucania do kosza.", "required": false } } } ] }, "\/wc\/v1\/products\/tags\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nazwa tagu.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v1\/products\/tags\/batch" } ] } }, "\/wc\/v1\/products": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "filter": { "type": "object", "description": "U\u017cyj argument\u00f3w WP Query, aby zmodyfikowa\u0107 odpowied\u017a; prywatne kwerendy wymagaj\u0105 odpowiedniej autoryzacji.", "required": false }, "slug": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z dan\u0105 nazw\u0105 skr\u00f3con\u0105 (slug).", "type": "string", "required": false }, "status": { "default": "any", "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z danym statusem.", "type": "string", "enum": [ "any", "future", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w danego typu.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription" ], "required": false }, "category": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w w danej kategorii.", "type": "string", "required": false }, "tag": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z danym tagiem.", "type": "string", "required": false }, "shipping_class": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z dan\u0105 klas\u0105 wysy\u0142kow\u0105.", "type": "string", "required": false }, "attribute": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z danym atrybutem.", "type": "string", "required": false }, "attribute_term": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z danym atrybutem (atrybut musi by\u0107 przypisany).", "type": "string", "required": false }, "sku": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z danym SKU.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Nazwa produktu.", "type": "string", "required": false }, "slug": { "description": "Uproszczona nazwa produktu.", "type": "string", "required": false }, "type": { "default": "simple", "description": "Typ produktu.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription" ], "required": false }, "status": { "default": "publish", "description": "Status produktu (status publikacji).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false }, "featured": { "default": false, "description": "Produkt wyr\u00f3\u017cniony.", "type": "boolean", "required": false }, "catalog_visibility": { "default": "visible", "description": "Widoczno\u015b\u0107 w sklepie.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Opis produktu.", "type": "string", "required": false }, "short_description": { "description": "Kr\u00f3tki opis produktu.", "type": "string", "required": false }, "sku": { "description": "Unikalny identyfikator.", "type": "string", "required": false }, "regular_price": { "description": "Cena produktu.", "type": "string", "required": false }, "sale_price": { "description": "Cena produktu po przecenie.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Pocz\u0105tkowa data przeceny.", "type": "string", "required": false }, "date_on_sale_to": { "description": "Data ko\u0144ca promocji.", "type": "string", "required": false }, "virtual": { "default": false, "description": "Czy produkt jest wirtualny.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Je\u015bli produkt jest do pobrania.", "type": "boolean", "required": false }, "downloads": { "description": "Lista plik\u00f3w do pobrania.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer", "required": false }, "download_type": { "default": "standard", "description": "Typ pobierania, kt\u00f3ry kontroluje schemat w sklepie.", "type": "string", "enum": [ "standard" ], "required": false }, "external_url": { "description": "Zewn\u0119trzny URL produktu. Tylko dla produkt\u00f3w zewn\u0119trznych.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Tekst przycisku produktu zewn\u0119trznego. Tylko dla produkt\u00f3w zewn\u0119trznych.", "type": "string", "required": false }, "tax_status": { "default": "taxable", "description": "Status podatku.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Klasa podatkowa.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Zarz\u0105dzanie stanem magazynowym na poziomie produktu.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stan magazynowy.", "type": "integer", "required": false }, "in_stock": { "default": true, "description": "Kontroluje czy produkt jest wy\u015bwietlany jako \"w magazynie\", czy \"brak w magazynie\".", "type": "boolean", "required": false }, "backorders": { "default": "no", "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "sold_individually": { "default": false, "description": "Pozw\u00f3l na zakup tylko jednej sztuki produktu w zam\u00f3wieniu.", "type": "boolean", "required": false }, "weight": { "description": "Waga produktu (kg).", "type": "string", "required": false }, "dimensions": { "description": "Rozmiary produktu.", "type": "object", "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "reviews_allowed": { "default": true, "description": "Pozwalaj na opinie.", "type": "boolean", "required": false }, "upsell_ids": { "description": "Lista ID produkt\u00f3w \"upsell\".", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Lista ID produkt\u00f3w cross-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "ID nadrz\u0119dnego produktu.", "type": "integer", "required": false }, "purchase_note": { "description": "Opcjonalna notatka wysy\u0142ana do klienta po zakupie.", "type": "string", "required": false }, "categories": { "description": "Lista kategorii.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID kategorii.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa kategorii.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Uproszczona nazwa kategorii.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Lista tag\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID tagu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa tagu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Uproszczona nazwa tagu.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Lista obrazk\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Pozycja obrazka. Zero oznacza zdj\u0119cie wyr\u00f3\u017cnione.", "type": "integer", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Lista atrybut\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Pozycja atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Ustaw jesli atrybut ma by\u0107 widoczny w \"Dodtkowe informacje\" na stronie produktu.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Ustaw je\u015bli atrybut mo\u017ce by\u0107 u\u017cywany jako wariant.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Lista dostepnych warto\u015bci atrybutu.", "type": "array", "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Domy\u015blne atrybuty wariantu.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "variations": { "description": "Lista wariant\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID wariantu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "date_created": { "description": "Data dodania wariantu zosta\u0142a utworzona w strefie czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji wariantu, z uwzgl\u0119dnieniem strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "permalink": { "description": "URL wariantu.", "type": "string", "format": "uri", "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "Unikalny identyfikator.", "type": "string", "context": [ "view", "edit" ] }, "price": { "description": "Obecna cena wariantu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "regular_price": { "description": "Cena wariantu.", "type": "string", "context": [ "view", "edit" ] }, "sale_price": { "description": "Cena promocyjna wariantu.", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_from": { "description": "Pocz\u0105tkowa data przeceny.", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_to": { "description": "Data ko\u0144ca promocji.", "type": "string", "context": [ "view", "edit" ] }, "on_sale": { "description": "Poka\u017c, je\u015bli wariant jest przeceniony.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "purchasable": { "description": "Pokazuje, czy wariant mo\u017ce zosta\u0107 zakupiony.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "visible": { "description": "Czy wariant jest widoczny.", "type": "boolean", "context": [ "view", "edit" ] }, "virtual": { "description": "Je\u015bli wariant jest wirtualny.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloadable": { "description": "Je\u015bli wariant jest do pobrania.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloads": { "description": "Lista plik\u00f3w do pobrania.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "download_expiry": { "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "tax_status": { "description": "Status podatku.", "type": "string", "default": "taxable", "enum": [ "taxable", "shipping", "none" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Klasa podatkowa.", "type": "string", "context": [ "view", "edit" ] }, "manage_stock": { "description": "Zarz\u0105dzanie stanem magazynowym na poziomie wariantu.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "stock_quantity": { "description": "Stan magazynowy.", "type": "integer", "context": [ "view", "edit" ] }, "in_stock": { "description": "Okre\u015bla, czy wariant jest wymieniony jako \"w magazynie\" czy \"brak w magazynie\".", "type": "boolean", "default": true, "context": [ "view", "edit" ] }, "backorders": { "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "default": "no", "enum": [ "no", "notify", "yes" ], "context": [ "view", "edit" ] }, "backorders_allowed": { "description": "Pokazuje, czy zam\u00f3wienia oczekuj\u0105ce s\u0105 dozwolone.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "backordered": { "description": "Pokazuje, czy wariant jest dost\u0119pny na zam\u00f3wienie.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "weight": { "description": "Waga wariantu (kg).", "type": "string", "context": [ "view", "edit" ] }, "dimensions": { "description": "Wymiary wariantu.", "type": "object", "context": [ "view", "edit" ], "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] } } }, "shipping_class": { "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string", "context": [ "view", "edit" ] }, "shipping_class_id": { "description": "ID klasy wysy\u0142kowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Dane obrazka wariantu.", "type": "object", "context": [ "view", "edit" ], "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Pozycja obrazka. Zero oznacza zdj\u0119cie wyr\u00f3\u017cnione.", "type": "integer", "context": [ "view", "edit" ] } } }, "attributes": { "description": "Lista atrybut\u00f3w.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } } } } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, u\u017cywana dla w\u0142asnego sortowania produkt\u00f3w.", "type": "integer", "required": false }, "jetpack_sharing_enabled": { "description": "Are sharing buttons enabled?", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "name": { "description": "Nazwa produktu.", "type": "string", "required": false }, "slug": { "description": "Uproszczona nazwa produktu.", "type": "string", "required": false }, "type": { "description": "Typ produktu.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription" ], "required": false }, "status": { "description": "Status produktu (status publikacji).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false }, "featured": { "description": "Produkt wyr\u00f3\u017cniony.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Widoczno\u015b\u0107 w sklepie.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Opis produktu.", "type": "string", "required": false }, "short_description": { "description": "Kr\u00f3tki opis produktu.", "type": "string", "required": false }, "sku": { "description": "Unikalny identyfikator.", "type": "string", "required": false }, "regular_price": { "description": "Cena produktu.", "type": "string", "required": false }, "sale_price": { "description": "Cena produktu po przecenie.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Pocz\u0105tkowa data przeceny.", "type": "string", "required": false }, "date_on_sale_to": { "description": "Data ko\u0144ca promocji.", "type": "string", "required": false }, "virtual": { "description": "Czy produkt jest wirtualny.", "type": "boolean", "required": false }, "downloadable": { "description": "Je\u015bli produkt jest do pobrania.", "type": "boolean", "required": false }, "downloads": { "description": "Lista plik\u00f3w do pobrania.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer", "required": false }, "download_expiry": { "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer", "required": false }, "download_type": { "description": "Typ pobierania, kt\u00f3ry kontroluje schemat w sklepie.", "type": "string", "enum": [ "standard" ], "required": false }, "external_url": { "description": "Zewn\u0119trzny URL produktu. Tylko dla produkt\u00f3w zewn\u0119trznych.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Tekst przycisku produktu zewn\u0119trznego. Tylko dla produkt\u00f3w zewn\u0119trznych.", "type": "string", "required": false }, "tax_status": { "description": "Status podatku.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Klasa podatkowa.", "type": "string", "required": false }, "manage_stock": { "description": "Zarz\u0105dzanie stanem magazynowym na poziomie produktu.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stan magazynowy.", "type": "integer", "required": false }, "in_stock": { "description": "Kontroluje czy produkt jest wy\u015bwietlany jako \"w magazynie\", czy \"brak w magazynie\".", "type": "boolean", "required": false }, "backorders": { "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "sold_individually": { "description": "Pozw\u00f3l na zakup tylko jednej sztuki produktu w zam\u00f3wieniu.", "type": "boolean", "required": false }, "weight": { "description": "Waga produktu (kg).", "type": "string", "required": false }, "dimensions": { "description": "Rozmiary produktu.", "type": "object", "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "reviews_allowed": { "description": "Pozwalaj na opinie.", "type": "boolean", "required": false }, "upsell_ids": { "description": "Lista ID produkt\u00f3w \"upsell\".", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Lista ID produkt\u00f3w cross-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "ID nadrz\u0119dnego produktu.", "type": "integer", "required": false }, "purchase_note": { "description": "Opcjonalna notatka wysy\u0142ana do klienta po zakupie.", "type": "string", "required": false }, "categories": { "description": "Lista kategorii.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID kategorii.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa kategorii.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Uproszczona nazwa kategorii.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Lista tag\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID tagu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa tagu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Uproszczona nazwa tagu.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Lista obrazk\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Pozycja obrazka. Zero oznacza zdj\u0119cie wyr\u00f3\u017cnione.", "type": "integer", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Lista atrybut\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Pozycja atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Ustaw jesli atrybut ma by\u0107 widoczny w \"Dodtkowe informacje\" na stronie produktu.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Ustaw je\u015bli atrybut mo\u017ce by\u0107 u\u017cywany jako wariant.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Lista dostepnych warto\u015bci atrybutu.", "type": "array", "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Domy\u015blne atrybuty wariantu.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "variations": { "description": "Lista wariant\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID wariantu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "date_created": { "description": "Data dodania wariantu zosta\u0142a utworzona w strefie czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji wariantu, z uwzgl\u0119dnieniem strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "permalink": { "description": "URL wariantu.", "type": "string", "format": "uri", "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "Unikalny identyfikator.", "type": "string", "context": [ "view", "edit" ] }, "price": { "description": "Obecna cena wariantu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "regular_price": { "description": "Cena wariantu.", "type": "string", "context": [ "view", "edit" ] }, "sale_price": { "description": "Cena promocyjna wariantu.", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_from": { "description": "Pocz\u0105tkowa data przeceny.", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_to": { "description": "Data ko\u0144ca promocji.", "type": "string", "context": [ "view", "edit" ] }, "on_sale": { "description": "Poka\u017c, je\u015bli wariant jest przeceniony.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "purchasable": { "description": "Pokazuje, czy wariant mo\u017ce zosta\u0107 zakupiony.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "visible": { "description": "Czy wariant jest widoczny.", "type": "boolean", "context": [ "view", "edit" ] }, "virtual": { "description": "Je\u015bli wariant jest wirtualny.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloadable": { "description": "Je\u015bli wariant jest do pobrania.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloads": { "description": "Lista plik\u00f3w do pobrania.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "download_expiry": { "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "tax_status": { "description": "Status podatku.", "type": "string", "default": "taxable", "enum": [ "taxable", "shipping", "none" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Klasa podatkowa.", "type": "string", "context": [ "view", "edit" ] }, "manage_stock": { "description": "Zarz\u0105dzanie stanem magazynowym na poziomie wariantu.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "stock_quantity": { "description": "Stan magazynowy.", "type": "integer", "context": [ "view", "edit" ] }, "in_stock": { "description": "Okre\u015bla, czy wariant jest wymieniony jako \"w magazynie\" czy \"brak w magazynie\".", "type": "boolean", "default": true, "context": [ "view", "edit" ] }, "backorders": { "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "default": "no", "enum": [ "no", "notify", "yes" ], "context": [ "view", "edit" ] }, "backorders_allowed": { "description": "Pokazuje, czy zam\u00f3wienia oczekuj\u0105ce s\u0105 dozwolone.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "backordered": { "description": "Pokazuje, czy wariant jest dost\u0119pny na zam\u00f3wienie.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "weight": { "description": "Waga wariantu (kg).", "type": "string", "context": [ "view", "edit" ] }, "dimensions": { "description": "Wymiary wariantu.", "type": "object", "context": [ "view", "edit" ], "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] } } }, "shipping_class": { "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string", "context": [ "view", "edit" ] }, "shipping_class_id": { "description": "ID klasy wysy\u0142kowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Dane obrazka wariantu.", "type": "object", "context": [ "view", "edit" ], "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Pozycja obrazka. Zero oznacza zdj\u0119cie wyr\u00f3\u017cnione.", "type": "integer", "context": [ "view", "edit" ] } } }, "attributes": { "description": "Lista atrybut\u00f3w.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } } } } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, u\u017cywana dla w\u0142asnego sortowania produkt\u00f3w.", "type": "integer", "required": false }, "jetpack_sharing_enabled": { "description": "Are sharing buttons enabled?", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": false, "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "type": "boolean", "required": false } } } ] }, "\/wc\/v1\/products\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nazwa produktu.", "type": "string", "required": false }, "slug": { "description": "Uproszczona nazwa produktu.", "type": "string", "required": false }, "type": { "description": "Typ produktu.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription" ], "required": false }, "status": { "description": "Status produktu (status publikacji).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false }, "featured": { "description": "Produkt wyr\u00f3\u017cniony.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Widoczno\u015b\u0107 w sklepie.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Opis produktu.", "type": "string", "required": false }, "short_description": { "description": "Kr\u00f3tki opis produktu.", "type": "string", "required": false }, "sku": { "description": "Unikalny identyfikator.", "type": "string", "required": false }, "regular_price": { "description": "Cena produktu.", "type": "string", "required": false }, "sale_price": { "description": "Cena produktu po przecenie.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Pocz\u0105tkowa data przeceny.", "type": "string", "required": false }, "date_on_sale_to": { "description": "Data ko\u0144ca promocji.", "type": "string", "required": false }, "virtual": { "description": "Czy produkt jest wirtualny.", "type": "boolean", "required": false }, "downloadable": { "description": "Je\u015bli produkt jest do pobrania.", "type": "boolean", "required": false }, "downloads": { "description": "Lista plik\u00f3w do pobrania.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer", "required": false }, "download_expiry": { "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer", "required": false }, "download_type": { "description": "Typ pobierania, kt\u00f3ry kontroluje schemat w sklepie.", "type": "string", "enum": [ "standard" ], "required": false }, "external_url": { "description": "Zewn\u0119trzny URL produktu. Tylko dla produkt\u00f3w zewn\u0119trznych.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Tekst przycisku produktu zewn\u0119trznego. Tylko dla produkt\u00f3w zewn\u0119trznych.", "type": "string", "required": false }, "tax_status": { "description": "Status podatku.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Klasa podatkowa.", "type": "string", "required": false }, "manage_stock": { "description": "Zarz\u0105dzanie stanem magazynowym na poziomie produktu.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stan magazynowy.", "type": "integer", "required": false }, "in_stock": { "description": "Kontroluje czy produkt jest wy\u015bwietlany jako \"w magazynie\", czy \"brak w magazynie\".", "type": "boolean", "required": false }, "backorders": { "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "sold_individually": { "description": "Pozw\u00f3l na zakup tylko jednej sztuki produktu w zam\u00f3wieniu.", "type": "boolean", "required": false }, "weight": { "description": "Waga produktu (kg).", "type": "string", "required": false }, "dimensions": { "description": "Rozmiary produktu.", "type": "object", "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "reviews_allowed": { "description": "Pozwalaj na opinie.", "type": "boolean", "required": false }, "upsell_ids": { "description": "Lista ID produkt\u00f3w \"upsell\".", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Lista ID produkt\u00f3w cross-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "ID nadrz\u0119dnego produktu.", "type": "integer", "required": false }, "purchase_note": { "description": "Opcjonalna notatka wysy\u0142ana do klienta po zakupie.", "type": "string", "required": false }, "categories": { "description": "Lista kategorii.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID kategorii.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa kategorii.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Uproszczona nazwa kategorii.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Lista tag\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID tagu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa tagu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Uproszczona nazwa tagu.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Lista obrazk\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Pozycja obrazka. Zero oznacza zdj\u0119cie wyr\u00f3\u017cnione.", "type": "integer", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Lista atrybut\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Pozycja atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Ustaw jesli atrybut ma by\u0107 widoczny w \"Dodtkowe informacje\" na stronie produktu.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Ustaw je\u015bli atrybut mo\u017ce by\u0107 u\u017cywany jako wariant.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Lista dostepnych warto\u015bci atrybutu.", "type": "array", "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Domy\u015blne atrybuty wariantu.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "variations": { "description": "Lista wariant\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID wariantu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "date_created": { "description": "Data dodania wariantu zosta\u0142a utworzona w strefie czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji wariantu, z uwzgl\u0119dnieniem strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "permalink": { "description": "URL wariantu.", "type": "string", "format": "uri", "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "Unikalny identyfikator.", "type": "string", "context": [ "view", "edit" ] }, "price": { "description": "Obecna cena wariantu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "regular_price": { "description": "Cena wariantu.", "type": "string", "context": [ "view", "edit" ] }, "sale_price": { "description": "Cena promocyjna wariantu.", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_from": { "description": "Pocz\u0105tkowa data przeceny.", "type": "string", "context": [ "view", "edit" ] }, "date_on_sale_to": { "description": "Data ko\u0144ca promocji.", "type": "string", "context": [ "view", "edit" ] }, "on_sale": { "description": "Poka\u017c, je\u015bli wariant jest przeceniony.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "purchasable": { "description": "Pokazuje, czy wariant mo\u017ce zosta\u0107 zakupiony.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "visible": { "description": "Czy wariant jest widoczny.", "type": "boolean", "context": [ "view", "edit" ] }, "virtual": { "description": "Je\u015bli wariant jest wirtualny.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloadable": { "description": "Je\u015bli wariant jest do pobrania.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "downloads": { "description": "Lista plik\u00f3w do pobrania.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "download_expiry": { "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer", "default": null, "context": [ "view", "edit" ] }, "tax_status": { "description": "Status podatku.", "type": "string", "default": "taxable", "enum": [ "taxable", "shipping", "none" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Klasa podatkowa.", "type": "string", "context": [ "view", "edit" ] }, "manage_stock": { "description": "Zarz\u0105dzanie stanem magazynowym na poziomie wariantu.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "stock_quantity": { "description": "Stan magazynowy.", "type": "integer", "context": [ "view", "edit" ] }, "in_stock": { "description": "Okre\u015bla, czy wariant jest wymieniony jako \"w magazynie\" czy \"brak w magazynie\".", "type": "boolean", "default": true, "context": [ "view", "edit" ] }, "backorders": { "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "default": "no", "enum": [ "no", "notify", "yes" ], "context": [ "view", "edit" ] }, "backorders_allowed": { "description": "Pokazuje, czy zam\u00f3wienia oczekuj\u0105ce s\u0105 dozwolone.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "backordered": { "description": "Pokazuje, czy wariant jest dost\u0119pny na zam\u00f3wienie.", "type": "boolean", "context": [ "view", "edit" ], "readonly": true }, "weight": { "description": "Waga wariantu (kg).", "type": "string", "context": [ "view", "edit" ] }, "dimensions": { "description": "Wymiary wariantu.", "type": "object", "context": [ "view", "edit" ], "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] } } }, "shipping_class": { "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string", "context": [ "view", "edit" ] }, "shipping_class_id": { "description": "ID klasy wysy\u0142kowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "Dane obrazka wariantu.", "type": "object", "context": [ "view", "edit" ], "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Pozycja obrazka. Zero oznacza zdj\u0119cie wyr\u00f3\u017cnione.", "type": "integer", "context": [ "view", "edit" ] } } }, "attributes": { "description": "Lista atrybut\u00f3w.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } } } } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, u\u017cywana dla w\u0142asnego sortowania produkt\u00f3w.", "type": "integer", "required": false }, "jetpack_sharing_enabled": { "description": "Are sharing buttons enabled?", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v1\/products\/batch" } ] } }, "\/wc\/v1\/reports\/sales": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "period": { "description": "Okres raportu.", "type": "string", "enum": [ "week", "month", "last_month", "year" ], "required": false }, "date_min": { "description": "Zwraca sprzeda\u017c dla konkretnej pocz\u0105tkowej daty. Data musi by\u0107 w formacie YYYY-MM-DD.", "type": "string", "format": "date", "required": false }, "date_max": { "description": "Zwraca sprzeda\u017c dla konkretnej ko\u0144cowej daty. Data musi by\u0107 w formacie YYYY-MM-DD.", "type": "string", "format": "date", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v1\/reports\/sales" } ] } }, "\/wc\/v1\/reports\/top_sellers": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "period": { "description": "Okres raportu.", "type": "string", "enum": [ "week", "month", "last_month", "year" ], "required": false }, "date_min": { "description": "Zwraca sprzeda\u017c dla konkretnej pocz\u0105tkowej daty. Data musi by\u0107 w formacie YYYY-MM-DD.", "type": "string", "format": "date", "required": false }, "date_max": { "description": "Zwraca sprzeda\u017c dla konkretnej ko\u0144cowej daty. Data musi by\u0107 w formacie YYYY-MM-DD.", "type": "string", "format": "date", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v1\/reports\/top_sellers" } ] } }, "\/wc\/v1\/reports": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v1\/reports" } ] } }, "\/wc\/v1\/taxes\/classes": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Nazwa klasy podatkowej.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikalny slug zasobu.", "type": "string", "required": false }, "force": { "default": false, "type": "boolean", "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c zas\u00f3b nie obs\u0142uguje wyrzucania do kosza.", "required": false } } } ] }, "\/wc\/v1\/taxes": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "order", "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "enum": [ "id", "order", "priority" ], "type": "string", "required": false }, "class": { "description": "Sortuj wed\u0142ug klasy podatkowej.", "enum": [ "standard", "reduced-rate", "zero-rate" ], "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "country": { "description": "Kod ISO 3166 kraju.", "type": "string", "required": false }, "state": { "description": "Kod regionu.", "type": "string", "required": false }, "postcode": { "description": "Kod pocztowy.", "type": "string", "required": false }, "city": { "description": "Miasto.", "type": "string", "required": false }, "rate": { "description": "Stawka podatkowa.", "type": "string", "required": false }, "name": { "description": "Nazwa stawki podatku.", "type": "string", "required": false }, "priority": { "default": 1, "description": "Priorytet podatku.", "type": "integer", "required": false }, "compound": { "default": false, "description": "Czy to jest z\u0142o\u017cona stawka.", "type": "boolean", "required": false }, "shipping": { "default": true, "description": "Czy stawka jest stosowana do wysy\u0142ki.", "type": "boolean", "required": false }, "order": { "description": "Wskazuje kolejno\u015b\u0107, kt\u00f3ra pojawi si\u0119 w kwerendach.", "type": "integer", "required": false }, "class": { "default": "standard", "description": "Klasa podatkowa.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "country": { "description": "Kod ISO 3166 kraju.", "type": "string", "required": false }, "state": { "description": "Kod regionu.", "type": "string", "required": false }, "postcode": { "description": "Kod pocztowy.", "type": "string", "required": false }, "city": { "description": "Miasto.", "type": "string", "required": false }, "rate": { "description": "Stawka podatkowa.", "type": "string", "required": false }, "name": { "description": "Nazwa stawki podatku.", "type": "string", "required": false }, "priority": { "description": "Priorytet podatku.", "type": "integer", "required": false }, "compound": { "description": "Czy to jest z\u0142o\u017cona stawka.", "type": "boolean", "required": false }, "shipping": { "description": "Czy stawka jest stosowana do wysy\u0142ki.", "type": "boolean", "required": false }, "order": { "description": "Wskazuje kolejno\u015b\u0107, kt\u00f3ra pojawi si\u0119 w kwerendach.", "type": "integer", "required": false }, "class": { "description": "Klasa podatkowa.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c zas\u00f3b nie obs\u0142uguje wyrzucania do kosza.", "required": false } } } ] }, "\/wc\/v1\/taxes\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "country": { "description": "Kod ISO 3166 kraju.", "type": "string", "required": false }, "state": { "description": "Kod regionu.", "type": "string", "required": false }, "postcode": { "description": "Kod pocztowy.", "type": "string", "required": false }, "city": { "description": "Miasto.", "type": "string", "required": false }, "rate": { "description": "Stawka podatkowa.", "type": "string", "required": false }, "name": { "description": "Nazwa stawki podatku.", "type": "string", "required": false }, "priority": { "description": "Priorytet podatku.", "type": "integer", "required": false }, "compound": { "description": "Czy to jest z\u0142o\u017cona stawka.", "type": "boolean", "required": false }, "shipping": { "description": "Czy stawka jest stosowana do wysy\u0142ki.", "type": "boolean", "required": false }, "order": { "description": "Wskazuje kolejno\u015b\u0107, kt\u00f3ra pojawi si\u0119 w kwerendach.", "type": "integer", "required": false }, "class": { "description": "Klasa podatkowa.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v1\/taxes\/batch" } ] } }, "\/wc\/v1\/webhooks": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "id", "title" ], "required": false }, "status": { "default": "all", "description": "Ogranicz zestaw wynik\u00f3w do webhook\u00f3w z danym statusem.", "type": "string", "enum": [ "all", "active", "paused", "disabled" ], "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Przyjazna nazwa dla webhooka.", "type": "string", "required": false }, "status": { "default": "active", "description": "Status webhook.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "type": "string", "description": "Temat webhook.", "required": true }, "secret": { "description": "Klucz prywatny u\u017cyty do wygenerowania hasha dostarczanego webhooka w nag\u0142\u00f3wkach \u017c\u0105dania. Je\u015bli klucz prywatny nie b\u0119dzie wpisany to zostanie u\u017cyty klucz prywatny aktualnego u\u017cytkownika.", "type": "string", "required": false }, "delivery_url": { "type": "string", "description": "URL dostawy webhooka.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "name": { "description": "Przyjazna nazwa dla webhooka.", "type": "string", "required": false }, "status": { "description": "Status webhook.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "description": "Temat webhook.", "type": "string", "required": false }, "secret": { "description": "Klucz prywatny u\u017cyty do wygenerowania hasha dostarczanego webhooka w nag\u0142\u00f3wkach \u017c\u0105dania. Je\u015bli klucz prywatny nie b\u0119dzie wpisany to zostanie u\u017cyty klucz prywatny aktualnego u\u017cytkownika.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c zas\u00f3b nie obs\u0142uguje wyrzucania do kosza.", "required": false } } } ] }, "\/wc\/v1\/webhooks\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Przyjazna nazwa dla webhooka.", "type": "string", "required": false }, "status": { "description": "Status webhook.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "description": "Temat webhook.", "type": "string", "required": false }, "secret": { "description": "Klucz prywatny u\u017cyty do wygenerowania hasha dostarczanego webhooka w nag\u0142\u00f3wkach \u017c\u0105dania. Je\u015bli klucz prywatny nie b\u0119dzie wpisany to zostanie u\u017cyty klucz prywatny aktualnego u\u017cytkownika.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v1\/webhooks\/batch" } ] } }, "\/wc\/v1\/webhooks\/(?P[\\d]+)\/deliveries": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "webhook_id": { "description": "Unikalny identyfikator webhooka.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "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": "Unikalny identyfikator webhooka.", "type": "integer", "required": false }, "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/v2\/coupons": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ogranicz wynik do zasob\u00f3w zmienionych po danej dacie zgodnej z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ogranicz odpowied\u017a do zasob\u00f3w zmienionych przed dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Czy bra\u0107 pod uwag\u0119 daty GMT publikacji lub modyfikacji podczas ograniczania odpowiedzi.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "code": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w z danym kodem.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "code": { "description": "Kod kuponu.", "type": "string", "required": true }, "amount": { "description": "Kwota zni\u017cki. Zawsze powinna by\u0107 warto\u015bci\u0105 numeryczn\u0105, nawet je\u015bli ustawiona jest warto\u015b\u0107 procentowa.", "type": "string", "required": false }, "status": { "description": "Status kuponu. Zawsze powinien by\u0107: szkic, obublikowany lub oczekuje na przegl\u0105d.", "type": "string", "required": false }, "discount_type": { "default": "fixed_cart", "description": "Determinuje typ rabatu, kt\u00f3ry zostanie zastosowany.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product", "sign_up_fee", "sign_up_fee_percent", "recurring_fee", "recurring_percent", "renewal_percent", "renewal_fee", "renewal_cart", "initial_cart" ], "required": false }, "description": { "description": "Opis kuponu.", "type": "string", "required": false }, "date_expires": { "description": "Data wyga\u015bni\u0119cia kuponu, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "Data wa\u017cno\u015bci kuponu (GMT).", "type": [ "null", "string" ], "required": false }, "individual_use": { "default": false, "description": "Je\u015bli \"true\", kupon mo\u017ce by\u0107 u\u017cyty tylko pojedynczo. Inne zastosowane kupony zostan\u0105 usuni\u0119te z koszyka.", "type": "boolean", "required": false }, "product_ids": { "description": "Lista ID produkt\u00f3w, dla kt\u00f3rych kupon mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "Lista ID produkt\u00f3w, dla kt\u00f3rych kupon nie mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Ile razy kupon mo\u017ce zosta\u0107 u\u017cyty.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Liczba, ile razy dany kupon mo\u017ce zosta\u0107 u\u017cyty przez jednego klienta.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Maksymalna liczba produkt\u00f3w w koszyku dla kt\u00f3rych mo\u017cna u\u017cy\u0107 kuponu.", "type": "integer", "required": false }, "free_shipping": { "default": false, "description": "Je\u015bli \"true\" i darmowa wysy\u0142ka wymaga u\u017cycia kuponu, ten kupon w\u0142\u0105czy darmow\u0105 wysy\u0142k\u0119.", "type": "boolean", "required": false }, "product_categories": { "description": "Lista ID kategorii, dla kt\u00f3rych kupon mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Lista ID kategorii, dla kt\u00f3rych kupon nie mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "default": false, "description": "Je\u015bli \"true\", kupon nie b\u0119dzie stosowany do produkt\u00f3w, kt\u00f3re s\u0105 w promocji.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minimalna kwota zam\u00f3wienia, aby mo\u017cna by\u0142o u\u017cy\u0107 kupon.", "type": "string", "required": false }, "maximum_amount": { "description": "Maksymalna kwota zam\u00f3wienia, aby mo\u017cna by\u0142o u\u017cy\u0107 kupon.", "type": "string", "required": false }, "email_restrictions": { "description": "Lista adres\u00f3w e-mail pozwalaj\u0105cych na u\u017cycie kuponu.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "code": { "description": "Kod kuponu.", "type": "string", "required": false }, "amount": { "description": "Kwota zni\u017cki. Zawsze powinna by\u0107 warto\u015bci\u0105 numeryczn\u0105, nawet je\u015bli ustawiona jest warto\u015b\u0107 procentowa.", "type": "string", "required": false }, "status": { "description": "Status kuponu. Zawsze powinien by\u0107: szkic, obublikowany lub oczekuje na przegl\u0105d.", "type": "string", "required": false }, "discount_type": { "description": "Determinuje typ rabatu, kt\u00f3ry zostanie zastosowany.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product", "sign_up_fee", "sign_up_fee_percent", "recurring_fee", "recurring_percent", "renewal_percent", "renewal_fee", "renewal_cart", "initial_cart" ], "required": false }, "description": { "description": "Opis kuponu.", "type": "string", "required": false }, "date_expires": { "description": "Data wyga\u015bni\u0119cia kuponu, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "Data wa\u017cno\u015bci kuponu (GMT).", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "Je\u015bli \"true\", kupon mo\u017ce by\u0107 u\u017cyty tylko pojedynczo. Inne zastosowane kupony zostan\u0105 usuni\u0119te z koszyka.", "type": "boolean", "required": false }, "product_ids": { "description": "Lista ID produkt\u00f3w, dla kt\u00f3rych kupon mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "Lista ID produkt\u00f3w, dla kt\u00f3rych kupon nie mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Ile razy kupon mo\u017ce zosta\u0107 u\u017cyty.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Liczba, ile razy dany kupon mo\u017ce zosta\u0107 u\u017cyty przez jednego klienta.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Maksymalna liczba produkt\u00f3w w koszyku dla kt\u00f3rych mo\u017cna u\u017cy\u0107 kuponu.", "type": "integer", "required": false }, "free_shipping": { "description": "Je\u015bli \"true\" i darmowa wysy\u0142ka wymaga u\u017cycia kuponu, ten kupon w\u0142\u0105czy darmow\u0105 wysy\u0142k\u0119.", "type": "boolean", "required": false }, "product_categories": { "description": "Lista ID kategorii, dla kt\u00f3rych kupon mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Lista ID kategorii, dla kt\u00f3rych kupon nie mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "Je\u015bli \"true\", kupon nie b\u0119dzie stosowany do produkt\u00f3w, kt\u00f3re s\u0105 w promocji.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minimalna kwota zam\u00f3wienia, aby mo\u017cna by\u0142o u\u017cy\u0107 kupon.", "type": "string", "required": false }, "maximum_amount": { "description": "Maksymalna kwota zam\u00f3wienia, aby mo\u017cna by\u0142o u\u017cy\u0107 kupon.", "type": "string", "required": false }, "email_restrictions": { "description": "Lista adres\u00f3w e-mail pozwalaj\u0105cych na u\u017cycie kuponu.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "required": false } } } ] }, "\/wc\/v2\/coupons\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "code": { "description": "Kod kuponu.", "type": "string", "required": false }, "amount": { "description": "Kwota zni\u017cki. Zawsze powinna by\u0107 warto\u015bci\u0105 numeryczn\u0105, nawet je\u015bli ustawiona jest warto\u015b\u0107 procentowa.", "type": "string", "required": false }, "status": { "description": "Status kuponu. Zawsze powinien by\u0107: szkic, obublikowany lub oczekuje na przegl\u0105d.", "type": "string", "required": false }, "discount_type": { "description": "Determinuje typ rabatu, kt\u00f3ry zostanie zastosowany.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product", "sign_up_fee", "sign_up_fee_percent", "recurring_fee", "recurring_percent", "renewal_percent", "renewal_fee", "renewal_cart", "initial_cart" ], "required": false }, "description": { "description": "Opis kuponu.", "type": "string", "required": false }, "date_expires": { "description": "Data wyga\u015bni\u0119cia kuponu, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "Data wa\u017cno\u015bci kuponu (GMT).", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "Je\u015bli \"true\", kupon mo\u017ce by\u0107 u\u017cyty tylko pojedynczo. Inne zastosowane kupony zostan\u0105 usuni\u0119te z koszyka.", "type": "boolean", "required": false }, "product_ids": { "description": "Lista ID produkt\u00f3w, dla kt\u00f3rych kupon mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "Lista ID produkt\u00f3w, dla kt\u00f3rych kupon nie mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Ile razy kupon mo\u017ce zosta\u0107 u\u017cyty.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Liczba, ile razy dany kupon mo\u017ce zosta\u0107 u\u017cyty przez jednego klienta.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Maksymalna liczba produkt\u00f3w w koszyku dla kt\u00f3rych mo\u017cna u\u017cy\u0107 kuponu.", "type": "integer", "required": false }, "free_shipping": { "description": "Je\u015bli \"true\" i darmowa wysy\u0142ka wymaga u\u017cycia kuponu, ten kupon w\u0142\u0105czy darmow\u0105 wysy\u0142k\u0119.", "type": "boolean", "required": false }, "product_categories": { "description": "Lista ID kategorii, dla kt\u00f3rych kupon mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Lista ID kategorii, dla kt\u00f3rych kupon nie mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "Je\u015bli \"true\", kupon nie b\u0119dzie stosowany do produkt\u00f3w, kt\u00f3re s\u0105 w promocji.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minimalna kwota zam\u00f3wienia, aby mo\u017cna by\u0142o u\u017cy\u0107 kupon.", "type": "string", "required": false }, "maximum_amount": { "description": "Maksymalna kwota zam\u00f3wienia, aby mo\u017cna by\u0142o u\u017cy\u0107 kupon.", "type": "string", "required": false }, "email_restrictions": { "description": "Lista adres\u00f3w e-mail pozwalaj\u0105cych na u\u017cycie kuponu.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v2\/coupons\/batch" } ] } }, "\/wc\/v2\/customers\/(?P[\\d]+)\/downloads": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "customer_id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ] }, "\/wc\/v2\/customers": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz zbi\u00f3r wynik\u00f3w do wybranych ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "name", "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "enum": [ "id", "include", "name", "registered_date" ], "type": "string", "required": false }, "email": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w z danym e-mailem.", "type": "string", "format": "email", "required": false }, "role": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w z dan\u0105 rol\u0105.", "type": "string", "default": "customer", "enum": [ "all", "administrator", "editor", "author", "contributor", "subscriber", "customer", "shop_manager" ], "required": false } } }, { "methods": [ "POST" ], "args": { "email": { "type": "string", "description": "E-mail nowego u\u017cytkownika.", "required": true }, "first_name": { "description": "Imi\u0119 klienta.", "type": "string", "required": false }, "last_name": { "description": "Nazwisko klienta.", "type": "string", "required": false }, "username": { "description": "Nazwa nowego u\u017cytkownika.", "type": "string", "required": false }, "password": { "description": "Has\u0142o nowego u\u017cytkownika.", "type": "string", "required": false }, "billing": { "description": "Lista danych rozliczeniowych.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Pierwsza linia adresu", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Druga linia adresu", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod ISO kraju.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Adres e-mail.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numer telefonu.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Lista danych do wysy\u0142ki.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Pierwsza linia adresu", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Druga linia adresu", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod ISO kraju.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "email": { "description": "Adres e-mail zamawiaj\u0105cego.", "type": "string", "format": "email", "required": false }, "first_name": { "description": "Imi\u0119 klienta.", "type": "string", "required": false }, "last_name": { "description": "Nazwisko klienta.", "type": "string", "required": false }, "username": { "description": "Login klienta.", "type": "string", "required": false }, "password": { "description": "Has\u0142o klienta.", "type": "string", "required": false }, "billing": { "description": "Lista danych rozliczeniowych.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Pierwsza linia adresu", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Druga linia adresu", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod ISO kraju.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Adres e-mail.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numer telefonu.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Lista danych do wysy\u0142ki.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Pierwsza linia adresu", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Druga linia adresu", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod ISO kraju.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c zas\u00f3b nie obs\u0142uguje wyrzucania do kosza.", "required": false }, "reassign": { "default": 0, "type": "integer", "description": "ID do przypisania wpis\u00f3w.", "required": false } } } ] }, "\/wc\/v2\/customers\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "email": { "description": "Adres e-mail zamawiaj\u0105cego.", "type": "string", "format": "email", "required": false }, "first_name": { "description": "Imi\u0119 klienta.", "type": "string", "required": false }, "last_name": { "description": "Nazwisko klienta.", "type": "string", "required": false }, "username": { "description": "Login klienta.", "type": "string", "required": false }, "password": { "description": "Has\u0142o klienta.", "type": "string", "required": false }, "billing": { "description": "Lista danych rozliczeniowych.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Pierwsza linia adresu", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Druga linia adresu", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod ISO kraju.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Adres e-mail.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numer telefonu.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Lista danych do wysy\u0142ki.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Pierwsza linia adresu", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Druga linia adresu", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod ISO kraju.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v2\/customers\/batch" } ] } }, "\/wc\/v2\/orders\/(?P[\\d]+)\/notes": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "ID zam\u00f3wienia.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "type": { "default": "any", "description": "Ogranicz zestaw wynik\u00f3w do notatek do zam\u00f3wie\u0144.", "type": "string", "enum": [ "any", "customer", "internal" ], "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "ID zam\u00f3wienia.", "type": "integer", "required": false }, "note": { "type": "string", "description": "Tre\u015b\u0107 notatki zam\u00f3wienia.", "required": true }, "customer_note": { "default": false, "description": "Je\u015bli \"true\", notatka b\u0119dzie widoczna dla klienta i zostanie on o niej powiadomiony. Je\u015bli \"false\", notatka b\u0119dzie widoczna tylko dla admina.", "type": "boolean", "required": false } } } ] }, "\/wc\/v2\/orders\/(?P[\\d]+)\/notes\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "order_id": { "description": "ID zam\u00f3wienia.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "order_id": { "description": "ID zam\u00f3wienia.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c zas\u00f3b nie obs\u0142uguje wyrzucania do kosza.", "required": false } } } ] }, "\/wc\/v2\/orders\/(?P[\\d]+)\/refunds": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "ID zam\u00f3wienia.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ogranicz wynik do zasob\u00f3w zmienionych po danej dacie zgodnej z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ogranicz odpowied\u017a do zasob\u00f3w zmienionych przed dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Czy bra\u0107 pod uwag\u0119 daty GMT publikacji lub modyfikacji podczas ograniczania odpowiedzi.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "parent": { "description": "Ogranicz zestaw wynik\u00f3w do tych z okre\u015blonych identyfikator\u00f3w nadrz\u0119dnych.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Ogranicz zestaw wynik\u00f3w do wszystkich element\u00f3w z wyj\u0105tkiem tych o okre\u015blonym identyfikatorze nadrz\u0119dnym.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "dp": { "default": 2, "description": "Liczba miejsc dziesi\u0119tnych u\u017cywanych w ka\u017cdym zasobie.", "type": "integer", "required": false }, "order_item_display_meta": { "default": false, "description": "Pokazuj wy\u0142\u0105cznie dane meta przeznaczone do wy\u015bwietlania dla zam\u00f3wie\u0144.", "type": "boolean", "required": false }, "include_meta": { "default": [], "description": "Ogranicz metadane do wybranych kluczy.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Upewnij si\u0119, \u017ce metadane wykluczaj\u0105 okre\u015blone klucze.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "ID zam\u00f3wienia.", "type": "integer", "required": false }, "amount": { "description": "Kwota zwrotu.", "type": "string", "required": false }, "reason": { "description": "Pow\u00f3d zwrotu.", "type": "string", "required": false }, "refunded_by": { "description": "Identyfikator u\u017cytkownika, kt\u00f3ry utworzy\u0142 zwrot.", "type": "integer", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "shipping_lines": { "description": "Dane wysy\u0142kowe pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nazwa metody wysy\u0142ki.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "ID metody wysy\u0142ki.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "ID instancji wysy\u0142ki.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Dane op\u0142at pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nazwa op\u0142aty.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Klasa podatkowa op\u0142aty.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Status podatku op\u0142aty.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Suma cz\u0119\u015bciowa podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "api_refund": { "default": true, "description": "Je\u015bli \"true\", API bramki p\u0142atno\u015bci jest u\u017cywane do zwrot\u00f3w.", "type": "boolean", "required": false } } } ] }, "\/wc\/v2\/orders\/(?P[\\d]+)\/refunds\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "ID zam\u00f3wienia.", "type": "integer", "required": false }, "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "order_id": { "description": "ID zam\u00f3wienia.", "type": "integer", "required": false }, "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c zas\u00f3b nie obs\u0142uguje wyrzucania do kosza.", "required": false } } } ] }, "\/wc\/v2\/orders": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ogranicz wynik do zasob\u00f3w zmienionych po danej dacie zgodnej z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ogranicz odpowied\u017a do zasob\u00f3w zmienionych przed dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Czy bra\u0107 pod uwag\u0119 daty GMT publikacji lub modyfikacji podczas ograniczania odpowiedzi.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "parent": { "description": "Ogranicz zestaw wynik\u00f3w do tych z okre\u015blonych identyfikator\u00f3w nadrz\u0119dnych.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Ogranicz zestaw wynik\u00f3w do wszystkich element\u00f3w z wyj\u0105tkiem tych o okre\u015blonym identyfikatorze nadrz\u0119dnym.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "status": { "default": "any", "description": "Ogranicz zestaw wynik\u00f3w do zam\u00f3wie\u0144 z danym statusem.", "type": "string", "enum": [ "any", "trash", "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "customer": { "description": "Ogranicz zestaw wynik\u00f3w do zam\u00f3wie\u0144 danego klienta.", "type": "integer", "required": false }, "product": { "description": "Ogranicz zestaw wynik\u00f3w do zam\u00f3wie\u0144 z danym produktem.", "type": "integer", "required": false }, "dp": { "default": 2, "description": "Liczba miejsc dziesi\u0119tnych u\u017cywanych w ka\u017cdym zasobie.", "type": "integer", "required": false }, "order_item_display_meta": { "default": false, "description": "Pokazuj wy\u0142\u0105cznie dane meta przeznaczone do wy\u015bwietlania dla zam\u00f3wie\u0144.", "type": "boolean", "required": false }, "include_meta": { "default": [], "description": "Ogranicz metadane do wybranych kluczy.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Upewnij si\u0119, \u017ce metadane wykluczaj\u0105 okre\u015blone klucze.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "parent_id": { "description": "ID zam\u00f3wienia nadrz\u0119dnego.", "type": "integer", "required": false }, "status": { "default": "pending", "description": "Status zam\u00f3wienia.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "default": "GBP", "description": "Waluta zam\u00f3wienia, w formacie ISO.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "default": 0, "description": "ID u\u017cytkownika, kt\u00f3ry jest w\u0142a\u015bcicielem zam\u00f3wienia. 0 dla go\u015bci.", "type": "integer", "required": false }, "customer_note": { "description": "Notatka pozostawiona przez klienta podczas zam\u00f3wienia.", "type": "string", "required": false }, "billing": { "description": "Adres rozliczeniowy.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Pierwsza linia adresu", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Druga linia adresu", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod kraju w formacie ISO 3166-1 alfa-2.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Adres e-mail.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numer telefonu.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Adres wysy\u0142ki.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Pierwsza linia adresu", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Druga linia adresu", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod kraju w formacie ISO 3166-1 alfa-2.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "ID metody p\u0142atno\u015bci.", "type": "string", "required": false }, "payment_method_title": { "description": "Tytu\u0142 metody p\u0142atno\u015bci.", "type": "string", "required": false }, "transaction_id": { "description": "Unikalny numer ID transakcji.", "type": "string", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Dane pozycji zam\u00f3wienia.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nazwa produktu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Nazwa produktu nadrz\u0119dnego, je\u015bli produkt jest wariantem.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "ID produktu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "ID wariantu, je\u015bli dotyczy.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Zam\u00f3wiona ilo\u015b\u0107.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Klasa podatkowa produktu.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Suma pozycji (przed rabatami).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Suma podatk\u00f3w pozycji (przed rabatami).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Suma cz\u0119\u015bciowa podatku.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Klucz danych meta do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Warto\u015b\u0107 danych meta do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "SKU produktu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Cena produktu.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "W\u0142a\u015bciwo\u015bci g\u0142\u00f3wnego obrazka produktu.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Dane wysy\u0142kowe pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nazwa metody wysy\u0142ki.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "ID metody wysy\u0142ki.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "ID instancji wysy\u0142ki.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Dane op\u0142at pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nazwa op\u0142aty.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Klasa podatkowa op\u0142aty.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Status podatku op\u0142aty.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Suma cz\u0119\u015bciowa podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Dane kupon\u00f3w pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Kod kuponu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "\u0141\u0105czny rabat.", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "\u0141\u0105czny podatek rabatu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Typ rabatu.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Kwota rabatu okre\u015blona w kuponie (warto\u015b\u0107 bezwzgl\u0119dna lub procent, w zale\u017cno\u015bci od rodzaju rabatu).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Czy kupon zapewnia darmow\u0105 wysy\u0142k\u0119.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "default": false, "description": "Wybierz, czy zam\u00f3wienie jest zap\u0142acone. Status zam\u00f3wienia zostanie zmieniony na w trakcie realizacji i stan magazynowy zostanie zmniejszony.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "parent_id": { "description": "ID zam\u00f3wienia nadrz\u0119dnego.", "type": "integer", "required": false }, "status": { "description": "Status zam\u00f3wienia.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "description": "Waluta zam\u00f3wienia, w formacie ISO.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "description": "ID u\u017cytkownika, kt\u00f3ry jest w\u0142a\u015bcicielem zam\u00f3wienia. 0 dla go\u015bci.", "type": "integer", "required": false }, "customer_note": { "description": "Notatka pozostawiona przez klienta podczas zam\u00f3wienia.", "type": "string", "required": false }, "billing": { "description": "Adres rozliczeniowy.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Pierwsza linia adresu", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Druga linia adresu", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod kraju w formacie ISO 3166-1 alfa-2.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Adres e-mail.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numer telefonu.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Adres wysy\u0142ki.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Pierwsza linia adresu", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Druga linia adresu", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod kraju w formacie ISO 3166-1 alfa-2.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "ID metody p\u0142atno\u015bci.", "type": "string", "required": false }, "payment_method_title": { "description": "Tytu\u0142 metody p\u0142atno\u015bci.", "type": "string", "required": false }, "transaction_id": { "description": "Unikalny numer ID transakcji.", "type": "string", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Dane pozycji zam\u00f3wienia.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nazwa produktu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Nazwa produktu nadrz\u0119dnego, je\u015bli produkt jest wariantem.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "ID produktu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "ID wariantu, je\u015bli dotyczy.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Zam\u00f3wiona ilo\u015b\u0107.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Klasa podatkowa produktu.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Suma pozycji (przed rabatami).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Suma podatk\u00f3w pozycji (przed rabatami).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Suma cz\u0119\u015bciowa podatku.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Klucz danych meta do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Warto\u015b\u0107 danych meta do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "SKU produktu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Cena produktu.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "W\u0142a\u015bciwo\u015bci g\u0142\u00f3wnego obrazka produktu.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Dane wysy\u0142kowe pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nazwa metody wysy\u0142ki.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "ID metody wysy\u0142ki.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "ID instancji wysy\u0142ki.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Dane op\u0142at pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nazwa op\u0142aty.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Klasa podatkowa op\u0142aty.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Status podatku op\u0142aty.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Suma cz\u0119\u015bciowa podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Dane kupon\u00f3w pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Kod kuponu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "\u0141\u0105czny rabat.", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "\u0141\u0105czny podatek rabatu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Typ rabatu.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Kwota rabatu okre\u015blona w kuponie (warto\u015b\u0107 bezwzgl\u0119dna lub procent, w zale\u017cno\u015bci od rodzaju rabatu).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Czy kupon zapewnia darmow\u0105 wysy\u0142k\u0119.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "description": "Wybierz, czy zam\u00f3wienie jest zap\u0142acone. Status zam\u00f3wienia zostanie zmieniony na w trakcie realizacji i stan magazynowy zostanie zmniejszony.", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "required": false } } } ] }, "\/wc\/v2\/orders\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "parent_id": { "description": "ID zam\u00f3wienia nadrz\u0119dnego.", "type": "integer", "required": false }, "status": { "description": "Status zam\u00f3wienia.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "description": "Waluta zam\u00f3wienia, w formacie ISO.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "description": "ID u\u017cytkownika, kt\u00f3ry jest w\u0142a\u015bcicielem zam\u00f3wienia. 0 dla go\u015bci.", "type": "integer", "required": false }, "customer_note": { "description": "Notatka pozostawiona przez klienta podczas zam\u00f3wienia.", "type": "string", "required": false }, "billing": { "description": "Adres rozliczeniowy.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Pierwsza linia adresu", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Druga linia adresu", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod kraju w formacie ISO 3166-1 alfa-2.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Adres e-mail.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numer telefonu.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Adres wysy\u0142ki.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Pierwsza linia adresu", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Druga linia adresu", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod kraju w formacie ISO 3166-1 alfa-2.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "ID metody p\u0142atno\u015bci.", "type": "string", "required": false }, "payment_method_title": { "description": "Tytu\u0142 metody p\u0142atno\u015bci.", "type": "string", "required": false }, "transaction_id": { "description": "Unikalny numer ID transakcji.", "type": "string", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Dane pozycji zam\u00f3wienia.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nazwa produktu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Nazwa produktu nadrz\u0119dnego, je\u015bli produkt jest wariantem.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "ID produktu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "ID wariantu, je\u015bli dotyczy.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Zam\u00f3wiona ilo\u015b\u0107.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Klasa podatkowa produktu.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Suma pozycji (przed rabatami).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Suma podatk\u00f3w pozycji (przed rabatami).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Suma cz\u0119\u015bciowa podatku.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Klucz danych meta do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Warto\u015b\u0107 danych meta do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "SKU produktu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Cena produktu.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "W\u0142a\u015bciwo\u015bci g\u0142\u00f3wnego obrazka produktu.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Dane wysy\u0142kowe pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nazwa metody wysy\u0142ki.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "ID metody wysy\u0142ki.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "ID instancji wysy\u0142ki.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Dane op\u0142at pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nazwa op\u0142aty.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Klasa podatkowa op\u0142aty.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Status podatku op\u0142aty.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Suma cz\u0119\u015bciowa podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Dane kupon\u00f3w pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Kod kuponu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "\u0141\u0105czny rabat.", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "\u0141\u0105czny podatek rabatu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Typ rabatu.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Kwota rabatu okre\u015blona w kuponie (warto\u015b\u0107 bezwzgl\u0119dna lub procent, w zale\u017cno\u015bci od rodzaju rabatu).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Czy kupon zapewnia darmow\u0105 wysy\u0142k\u0119.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "description": "Wybierz, czy zam\u00f3wienie jest zap\u0142acone. Status zam\u00f3wienia zostanie zmieniony na w trakcie realizacji i stan magazynowy zostanie zmniejszony.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikalny identyfikator atrybutu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji. Dotyczy tylko taksonomii hierarchicznych.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj wed\u0142ug atrybutu zasobu.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Czy ukry\u0107 zasoby nieprzypisane do \u017cadnego produktu.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danego elementu nadrz\u0119dnego. Dotyczy tylko taksonomii hierarchicznych.", "type": "integer", "required": false }, "product": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danego produktu.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danej nazwy skr\u00f3conej (slug).", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "attribute_id": { "description": "Unikalny identyfikator atrybutu.", "type": "integer", "required": false }, "name": { "type": "string", "description": "Nazwa dla zasobu.", "required": true }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, kt\u00f3ra s\u0142u\u017cy do sortowania zasobu.", "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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "attribute_id": { "description": "Unikalny identyfikator atrybutu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "attribute_id": { "description": "Unikalny identyfikator atrybutu.", "type": "integer", "required": false }, "name": { "description": "Nazwa taksonomii.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, kt\u00f3ra s\u0142u\u017cy do sortowania zasobu.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "attribute_id": { "description": "Unikalny identyfikator atrybutu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c zas\u00f3b nie obs\u0142uguje wyrzucania do kosza.", "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": "Unikalny identyfikator atrybutu.", "type": "integer", "required": false }, "name": { "description": "Nazwa taksonomii.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, kt\u00f3ra s\u0142u\u017cy do sortowania zasobu.", "type": "integer", "required": false } } } ] }, "\/wc\/v2\/products\/attributes": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Nazwa dla zasobu.", "type": "string", "required": true }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "type": { "default": "select", "description": "Typ atrybutu.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "default": "menu_order", "description": "Domy\u015blne sortowanie.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "default": false, "description": "W\u0142\u0105cz\/wy\u0142\u0105cz archiwa atrybut\u00f3w.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "name": { "description": "Nazwa atrybutu.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "type": { "description": "Typ atrybutu.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Domy\u015blne sortowanie.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "W\u0142\u0105cz\/wy\u0142\u0105cz archiwa atrybut\u00f3w.", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c zas\u00f3b nie obs\u0142uguje wyrzucania do kosza.", "required": false } } } ] }, "\/wc\/v2\/products\/attributes\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nazwa atrybutu.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "type": { "description": "Typ atrybutu.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Domy\u015blne sortowanie.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "W\u0142\u0105cz\/wy\u0142\u0105cz archiwa atrybut\u00f3w.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v2\/products\/attributes\/batch" } ] } }, "\/wc\/v2\/products\/categories": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji. Dotyczy tylko taksonomii hierarchicznych.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj wed\u0142ug atrybutu zasobu.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Czy ukry\u0107 zasoby nieprzypisane do \u017cadnego produktu.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danego elementu nadrz\u0119dnego. Dotyczy tylko taksonomii hierarchicznych.", "type": "integer", "required": false }, "product": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danego produktu.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danej nazwy skr\u00f3conej (slug).", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Nazwa dla zasobu.", "required": true }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "parent": { "description": "Id rodzica zasobu.", "type": "integer", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false }, "display": { "default": "default", "description": "Typ wy\u015bwietlania kategorii.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Dane obrazka.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, kt\u00f3ra s\u0142u\u017cy do sortowania zasobu.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "name": { "description": "Nazwa kategorii.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "parent": { "description": "Id rodzica zasobu.", "type": "integer", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false }, "display": { "description": "Typ wy\u015bwietlania kategorii.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Dane obrazka.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, kt\u00f3ra s\u0142u\u017cy do sortowania zasobu.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c zas\u00f3b nie obs\u0142uguje wyrzucania do kosza.", "required": false } } } ] }, "\/wc\/v2\/products\/categories\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nazwa kategorii.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "parent": { "description": "Id rodzica zasobu.", "type": "integer", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false }, "display": { "description": "Typ wy\u015bwietlania kategorii.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Dane obrazka.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "title": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, kt\u00f3ra s\u0142u\u017cy do sortowania zasobu.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "id": { "description": "Unikalny identyfikator wariantu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "id": { "description": "Unikalny identyfikator wariantu.", "type": "integer", "required": false }, "review": { "type": "string", "description": "Tre\u015b\u0107 opinii.", "required": true }, "date_created": { "description": "Data dodania oceny zosta\u0142a utworzona w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Data utworzenia opinii (GMT).", "type": [ "null", "string" ], "required": false }, "rating": { "description": "Ocena w skali 0 do 5.", "type": "integer", "required": false }, "name": { "type": "string", "description": "Nazwa recenzenta.", "required": true }, "email": { "type": "string", "description": "E-mail recenzenta.", "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": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "review": { "description": "Tre\u015b\u0107 opinii", "type": "string", "required": false }, "date_created": { "description": "Data dodania oceny zosta\u0142a utworzona w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Data utworzenia opinii (GMT).", "type": [ "null", "string" ], "required": false }, "rating": { "description": "Ocena w skali 0 do 5.", "type": "integer", "required": false }, "name": { "description": "Imi\u0119 oceniaj\u0105cego.", "type": "string", "required": false }, "email": { "description": "E-mail oceniaj\u0105cego.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "description": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "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": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "review": { "description": "Tre\u015b\u0107 opinii", "type": "string", "required": false }, "date_created": { "description": "Data dodania oceny zosta\u0142a utworzona w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Data utworzenia opinii (GMT).", "type": [ "null", "string" ], "required": false }, "rating": { "description": "Ocena w skali 0 do 5.", "type": "integer", "required": false }, "name": { "description": "Imi\u0119 oceniaj\u0105cego.", "type": "string", "required": false }, "email": { "description": "E-mail oceniaj\u0105cego.", "type": "string", "required": false } } } ] }, "\/wc\/v2\/products\/shipping_classes": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji. Dotyczy tylko taksonomii hierarchicznych.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj wed\u0142ug atrybutu zasobu.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Czy ukry\u0107 zasoby nieprzypisane do \u017cadnego produktu.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danego elementu nadrz\u0119dnego. Dotyczy tylko taksonomii hierarchicznych.", "type": "integer", "required": false }, "product": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danego produktu.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danej nazwy skr\u00f3conej (slug).", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Nazwa dla zasobu.", "required": true }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "name": { "description": "Nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c zas\u00f3b nie obs\u0142uguje wyrzucania do kosza.", "required": false } } } ] }, "\/wc\/v2\/products\/shipping_classes\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v2\/products\/shipping_classes\/batch" } ] } }, "\/wc\/v2\/products\/tags": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji. Dotyczy tylko taksonomii hierarchicznych.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj wed\u0142ug atrybutu zasobu.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Czy ukry\u0107 zasoby nieprzypisane do \u017cadnego produktu.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danego elementu nadrz\u0119dnego. Dotyczy tylko taksonomii hierarchicznych.", "type": "integer", "required": false }, "product": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danego produktu.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danej nazwy skr\u00f3conej (slug).", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Nazwa dla zasobu.", "required": true }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "name": { "description": "Nazwa tagu.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c zas\u00f3b nie obs\u0142uguje wyrzucania do kosza.", "required": false } } } ] }, "\/wc\/v2\/products\/tags\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nazwa tagu.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v2\/products\/tags\/batch" } ] } }, "\/wc\/v2\/products": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ogranicz wynik do zasob\u00f3w zmienionych po danej dacie zgodnej z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ogranicz odpowied\u017a do zasob\u00f3w zmienionych przed dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Czy bra\u0107 pod uwag\u0119 daty GMT publikacji lub modyfikacji podczas ograniczania odpowiedzi.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "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": "Ogranicz zestaw wynik\u00f3w do tych z okre\u015blonych identyfikator\u00f3w nadrz\u0119dnych.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Ogranicz zestaw wynik\u00f3w do wszystkich element\u00f3w z wyj\u0105tkiem tych o okre\u015blonym identyfikatorze nadrz\u0119dnym.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "brand": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w przypisanych do okre\u015blonego identyfikatora marki.", "type": "string", "required": false }, "slug": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z dan\u0105 nazw\u0105 skr\u00f3con\u0105 (slug).", "type": "string", "required": false }, "status": { "default": "any", "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z danym statusem.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w danego typu.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription" ], "required": false }, "sku": { "description": "Ogranicz wyniki do produkt\u00f3w z wybranymi SKU. U\u017cyj przecink\u00f3w, aby rozdzieli\u0107 dane.", "type": "string", "required": false }, "featured": { "description": "Ogranicz wyniki do wyr\u00f3\u017cnionych produkt\u00f3w.", "type": "boolean", "required": false }, "category": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w w danej kategorii.", "type": "string", "required": false }, "tag": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z danym tagiem.", "type": "string", "required": false }, "shipping_class": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z dan\u0105 klas\u0105 wysy\u0142kow\u0105.", "type": "string", "required": false }, "attribute": { "description": "Ogranicz wyniki do produkt\u00f3w z wybranych atrybutem. U\u017cyj nazwy taksonomii lub bezpo\u015bredniego odno\u015bnika atrybutu.", "type": "string", "required": false }, "attribute_term": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z danym atrybutem (atrybut musi by\u0107 przypisany).", "type": "string", "required": false }, "in_stock": { "description": "Ogranicz wyniki do produkt\u00f3w na stanie magazynowym lub niedost\u0119pnych.", "type": "boolean", "required": false }, "on_sale": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w w promocji.", "type": "boolean", "required": false }, "min_price": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z minimaln\u0105 cen\u0105.", "type": "string", "required": false }, "max_price": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z maksymaln\u0105 cen\u0105.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Ogranicz metadane do wybranych kluczy.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Upewnij si\u0119, \u017ce metadane wykluczaj\u0105 okre\u015blone klucze.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Nazwa produktu.", "type": "string", "required": false }, "slug": { "description": "Uproszczona nazwa produktu.", "type": "string", "required": false }, "type": { "default": "simple", "description": "Typ produktu.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription" ], "required": false }, "status": { "default": "publish", "description": "Status produktu (status publikacji).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false }, "featured": { "default": false, "description": "Produkt wyr\u00f3\u017cniony.", "type": "boolean", "required": false }, "catalog_visibility": { "default": "visible", "description": "Widoczno\u015b\u0107 w sklepie.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Opis produktu.", "type": "string", "required": false }, "short_description": { "description": "Kr\u00f3tki opis produktu.", "type": "string", "required": false }, "sku": { "description": "Unikalny identyfikator.", "type": "string", "required": false }, "regular_price": { "description": "Cena produktu.", "type": "string", "required": false }, "sale_price": { "description": "Cena produktu po przecenie.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data rozpocz\u0119cia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Data rozpocz\u0119cia promocji (GMT).", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Data ko\u0144ca promocji (GMT).", "type": [ "null", "string" ], "required": false }, "virtual": { "default": false, "description": "Czy produkt jest wirtualny.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Je\u015bli produkt jest do pobrania.", "type": "boolean", "required": false }, "downloads": { "description": "Lista plik\u00f3w do pobrania.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer", "required": false }, "external_url": { "description": "Zewn\u0119trzny URL produktu. Tylko dla produkt\u00f3w zewn\u0119trznych.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Tekst przycisku produktu zewn\u0119trznego. Tylko dla produkt\u00f3w zewn\u0119trznych.", "type": "string", "required": false }, "tax_status": { "default": "taxable", "description": "Status podatku.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Klasa podatkowa.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Zarz\u0105dzanie stanem magazynowym na poziomie produktu.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stan magazynowy.", "type": "integer", "required": false }, "in_stock": { "default": true, "description": "Kontroluje czy produkt jest wy\u015bwietlany jako \"w magazynie\", czy \"brak w magazynie\".", "type": "boolean", "required": false }, "backorders": { "default": "no", "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "sold_individually": { "default": false, "description": "Pozw\u00f3l na zakup tylko jednej sztuki produktu w zam\u00f3wieniu.", "type": "boolean", "required": false }, "weight": { "description": "Waga produktu (kg).", "type": "string", "required": false }, "dimensions": { "description": "Rozmiary produktu.", "type": "object", "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "reviews_allowed": { "default": true, "description": "Pozwalaj na opinie.", "type": "boolean", "required": false }, "upsell_ids": { "description": "Lista ID produkt\u00f3w up-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Lista ID produkt\u00f3w cross-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "ID nadrz\u0119dnego produktu.", "type": "integer", "required": false }, "purchase_note": { "description": "Opcjonalna notatka wysy\u0142ana do klienta po zakupie.", "type": "string", "required": false }, "categories": { "description": "Lista kategorii.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID kategorii.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa kategorii.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Uproszczona nazwa kategorii.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Lista tag\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID tagu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa tagu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Uproszczona nazwa tagu.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Lista obrazk\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Pozycja obrazka. Zero oznacza zdj\u0119cie wyr\u00f3\u017cnione.", "type": "integer", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Lista atrybut\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Pozycja atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Ustaw jesli atrybut ma by\u0107 widoczny w \"Dodtkowe informacje\" na stronie produktu.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Ustaw je\u015bli atrybut mo\u017ce by\u0107 u\u017cywany jako wariant.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Lista dostepnych warto\u015bci atrybutu.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "string" } } } }, "required": false }, "default_attributes": { "description": "Domy\u015blne atrybuty wariantu.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "grouped_products": { "description": "Lista ID produkt\u00f3w zgrupowanych.", "type": "array", "items": { "type": "integer" }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, u\u017cywana dla w\u0142asnego sortowania produkt\u00f3w.", "type": "integer", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "jetpack_sharing_enabled": { "description": "Are sharing buttons enabled?", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "name": { "description": "Nazwa produktu.", "type": "string", "required": false }, "slug": { "description": "Uproszczona nazwa produktu.", "type": "string", "required": false }, "type": { "description": "Typ produktu.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription" ], "required": false }, "status": { "description": "Status produktu (status publikacji).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false }, "featured": { "description": "Produkt wyr\u00f3\u017cniony.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Widoczno\u015b\u0107 w sklepie.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Opis produktu.", "type": "string", "required": false }, "short_description": { "description": "Kr\u00f3tki opis produktu.", "type": "string", "required": false }, "sku": { "description": "Unikalny identyfikator.", "type": "string", "required": false }, "regular_price": { "description": "Cena produktu.", "type": "string", "required": false }, "sale_price": { "description": "Cena produktu po przecenie.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data rozpocz\u0119cia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Data rozpocz\u0119cia promocji (GMT).", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Data ko\u0144ca promocji (GMT).", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "Czy produkt jest wirtualny.", "type": "boolean", "required": false }, "downloadable": { "description": "Je\u015bli produkt jest do pobrania.", "type": "boolean", "required": false }, "downloads": { "description": "Lista plik\u00f3w do pobrania.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer", "required": false }, "download_expiry": { "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer", "required": false }, "external_url": { "description": "Zewn\u0119trzny URL produktu. Tylko dla produkt\u00f3w zewn\u0119trznych.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Tekst przycisku produktu zewn\u0119trznego. Tylko dla produkt\u00f3w zewn\u0119trznych.", "type": "string", "required": false }, "tax_status": { "description": "Status podatku.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Klasa podatkowa.", "type": "string", "required": false }, "manage_stock": { "description": "Zarz\u0105dzanie stanem magazynowym na poziomie produktu.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stan magazynowy.", "type": "integer", "required": false }, "in_stock": { "description": "Kontroluje czy produkt jest wy\u015bwietlany jako \"w magazynie\", czy \"brak w magazynie\".", "type": "boolean", "required": false }, "backorders": { "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "sold_individually": { "description": "Pozw\u00f3l na zakup tylko jednej sztuki produktu w zam\u00f3wieniu.", "type": "boolean", "required": false }, "weight": { "description": "Waga produktu (kg).", "type": "string", "required": false }, "dimensions": { "description": "Rozmiary produktu.", "type": "object", "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "reviews_allowed": { "description": "Pozwalaj na opinie.", "type": "boolean", "required": false }, "upsell_ids": { "description": "Lista ID produkt\u00f3w up-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Lista ID produkt\u00f3w cross-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "ID nadrz\u0119dnego produktu.", "type": "integer", "required": false }, "purchase_note": { "description": "Opcjonalna notatka wysy\u0142ana do klienta po zakupie.", "type": "string", "required": false }, "categories": { "description": "Lista kategorii.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID kategorii.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa kategorii.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Uproszczona nazwa kategorii.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Lista tag\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID tagu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa tagu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Uproszczona nazwa tagu.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Lista obrazk\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Pozycja obrazka. Zero oznacza zdj\u0119cie wyr\u00f3\u017cnione.", "type": "integer", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Lista atrybut\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Pozycja atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Ustaw jesli atrybut ma by\u0107 widoczny w \"Dodtkowe informacje\" na stronie produktu.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Ustaw je\u015bli atrybut mo\u017ce by\u0107 u\u017cywany jako wariant.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Lista dostepnych warto\u015bci atrybutu.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "string" } } } }, "required": false }, "default_attributes": { "description": "Domy\u015blne atrybuty wariantu.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "grouped_products": { "description": "Lista ID produkt\u00f3w zgrupowanych.", "type": "array", "items": { "type": "integer" }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, u\u017cywana dla w\u0142asnego sortowania produkt\u00f3w.", "type": "integer", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "jetpack_sharing_enabled": { "description": "Are sharing buttons enabled?", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": false, "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "type": "boolean", "required": false } } } ] }, "\/wc\/v2\/products\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nazwa produktu.", "type": "string", "required": false }, "slug": { "description": "Uproszczona nazwa produktu.", "type": "string", "required": false }, "type": { "description": "Typ produktu.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription" ], "required": false }, "status": { "description": "Status produktu (status publikacji).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future" ], "required": false }, "featured": { "description": "Produkt wyr\u00f3\u017cniony.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Widoczno\u015b\u0107 w sklepie.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Opis produktu.", "type": "string", "required": false }, "short_description": { "description": "Kr\u00f3tki opis produktu.", "type": "string", "required": false }, "sku": { "description": "Unikalny identyfikator.", "type": "string", "required": false }, "regular_price": { "description": "Cena produktu.", "type": "string", "required": false }, "sale_price": { "description": "Cena produktu po przecenie.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data rozpocz\u0119cia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Data rozpocz\u0119cia promocji (GMT).", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Data ko\u0144ca promocji (GMT).", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "Czy produkt jest wirtualny.", "type": "boolean", "required": false }, "downloadable": { "description": "Je\u015bli produkt jest do pobrania.", "type": "boolean", "required": false }, "downloads": { "description": "Lista plik\u00f3w do pobrania.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer", "required": false }, "download_expiry": { "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer", "required": false }, "external_url": { "description": "Zewn\u0119trzny URL produktu. Tylko dla produkt\u00f3w zewn\u0119trznych.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Tekst przycisku produktu zewn\u0119trznego. Tylko dla produkt\u00f3w zewn\u0119trznych.", "type": "string", "required": false }, "tax_status": { "description": "Status podatku.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Klasa podatkowa.", "type": "string", "required": false }, "manage_stock": { "description": "Zarz\u0105dzanie stanem magazynowym na poziomie produktu.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stan magazynowy.", "type": "integer", "required": false }, "in_stock": { "description": "Kontroluje czy produkt jest wy\u015bwietlany jako \"w magazynie\", czy \"brak w magazynie\".", "type": "boolean", "required": false }, "backorders": { "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "sold_individually": { "description": "Pozw\u00f3l na zakup tylko jednej sztuki produktu w zam\u00f3wieniu.", "type": "boolean", "required": false }, "weight": { "description": "Waga produktu (kg).", "type": "string", "required": false }, "dimensions": { "description": "Rozmiary produktu.", "type": "object", "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "reviews_allowed": { "description": "Pozwalaj na opinie.", "type": "boolean", "required": false }, "upsell_ids": { "description": "Lista ID produkt\u00f3w up-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Lista ID produkt\u00f3w cross-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "ID nadrz\u0119dnego produktu.", "type": "integer", "required": false }, "purchase_note": { "description": "Opcjonalna notatka wysy\u0142ana do klienta po zakupie.", "type": "string", "required": false }, "categories": { "description": "Lista kategorii.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID kategorii.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa kategorii.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Uproszczona nazwa kategorii.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Lista tag\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID tagu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa tagu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Uproszczona nazwa tagu.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Lista obrazk\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Pozycja obrazka. Zero oznacza zdj\u0119cie wyr\u00f3\u017cnione.", "type": "integer", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Lista atrybut\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Pozycja atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Ustaw jesli atrybut ma by\u0107 widoczny w \"Dodtkowe informacje\" na stronie produktu.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Ustaw je\u015bli atrybut mo\u017ce by\u0107 u\u017cywany jako wariant.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Lista dostepnych warto\u015bci atrybutu.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "string" } } } }, "required": false }, "default_attributes": { "description": "Domy\u015blne atrybuty wariantu.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "grouped_products": { "description": "Lista ID produkt\u00f3w zgrupowanych.", "type": "array", "items": { "type": "integer" }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, u\u017cywana dla w\u0142asnego sortowania produkt\u00f3w.", "type": "integer", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "jetpack_sharing_enabled": { "description": "Are sharing buttons enabled?", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ogranicz wynik do zasob\u00f3w zmienionych po danej dacie zgodnej z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ogranicz odpowied\u017a do zasob\u00f3w zmienionych przed dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Czy bra\u0107 pod uwag\u0119 daty GMT publikacji lub modyfikacji podczas ograniczania odpowiedzi.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "menu_order" ], "required": false }, "parent": { "description": "Ogranicz zestaw wynik\u00f3w do tych z okre\u015blonych identyfikator\u00f3w nadrz\u0119dnych.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Ogranicz zestaw wynik\u00f3w do wszystkich element\u00f3w z wyj\u0105tkiem tych o okre\u015blonym identyfikatorze nadrz\u0119dnym.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z dan\u0105 nazw\u0105 skr\u00f3con\u0105 (slug).", "type": "string", "required": false }, "status": { "default": "any", "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z danym statusem.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w danego typu.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription" ], "required": false }, "sku": { "description": "Ogranicz wyniki do produkt\u00f3w z wybranymi SKU. U\u017cyj przecink\u00f3w, aby rozdzieli\u0107 dane.", "type": "string", "required": false }, "featured": { "description": "Ogranicz wyniki do wyr\u00f3\u017cnionych produkt\u00f3w.", "type": "boolean", "required": false }, "category": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w w danej kategorii.", "type": "string", "required": false }, "tag": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z danym tagiem.", "type": "string", "required": false }, "shipping_class": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z dan\u0105 klas\u0105 wysy\u0142kow\u0105.", "type": "string", "required": false }, "attribute": { "description": "Ogranicz wyniki do produkt\u00f3w z wybranych atrybutem. U\u017cyj nazwy taksonomii lub bezpo\u015bredniego odno\u015bnika atrybutu.", "type": "string", "required": false }, "attribute_term": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z danym atrybutem (atrybut musi by\u0107 przypisany).", "type": "string", "required": false }, "in_stock": { "description": "Ogranicz wyniki do produkt\u00f3w na stanie magazynowym lub niedost\u0119pnych.", "type": "boolean", "required": false }, "on_sale": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w w promocji.", "type": "boolean", "required": false }, "min_price": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z minimaln\u0105 cen\u0105.", "type": "string", "required": false }, "max_price": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z maksymaln\u0105 cen\u0105.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Ogranicz metadane do wybranych kluczy.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Upewnij si\u0119, \u017ce metadane wykluczaj\u0105 okre\u015blone klucze.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "description": { "description": "Opis wariantu.", "type": "string", "required": false }, "sku": { "description": "Unikalny identyfikator.", "type": "string", "required": false }, "regular_price": { "description": "Cena wariantu.", "type": "string", "required": false }, "sale_price": { "description": "Cena promocyjna wariantu.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data rozpocz\u0119cia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Data rozpocz\u0119cia promocji (GMT).", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Data ko\u0144ca promocji (GMT).", "type": [ "null", "string" ], "required": false }, "visible": { "default": true, "description": "Okre\u015bl, czy wariant jest widoczny na stronie produktu.", "type": "boolean", "required": false }, "virtual": { "default": false, "description": "Je\u015bli wariant jest wirtualny.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Je\u015bli wariant jest do pobrania.", "type": "boolean", "required": false }, "downloads": { "description": "Lista plik\u00f3w do pobrania.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "Status podatku.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Klasa podatkowa.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Zarz\u0105dzanie stanem magazynowym na poziomie wariantu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false }, "stock_quantity": { "description": "Stan magazynowy.", "type": "integer", "required": false }, "in_stock": { "default": true, "description": "Okre\u015bla, czy wariant jest wymieniony jako \"w magazynie\" czy \"brak w magazynie\".", "type": "boolean", "required": false }, "backorders": { "default": "no", "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "weight": { "description": "Waga wariantu (kg).", "type": "string", "required": false }, "dimensions": { "description": "Wymiary wariantu.", "type": "object", "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "image": { "description": "Dane obrazka wariantu.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Pozycja obrazka. Zero oznacza zdj\u0119cie wyr\u00f3\u017cnione.", "type": "integer", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista atrybut\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, u\u017cywana dla w\u0142asnego sortowania produkt\u00f3w.", "type": "integer", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ] }, "\/wc\/v2\/products\/(?P[\\d]+)\/variations\/(?P[\\d]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "description": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "id": { "description": "Unikalny identyfikator wariantu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "id": { "description": "Unikalny identyfikator wariantu.", "type": "integer", "required": false }, "description": { "description": "Opis wariantu.", "type": "string", "required": false }, "sku": { "description": "Unikalny identyfikator.", "type": "string", "required": false }, "regular_price": { "description": "Cena wariantu.", "type": "string", "required": false }, "sale_price": { "description": "Cena promocyjna wariantu.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data rozpocz\u0119cia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Data rozpocz\u0119cia promocji (GMT).", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Data ko\u0144ca promocji (GMT).", "type": [ "null", "string" ], "required": false }, "visible": { "description": "Okre\u015bl, czy wariant jest widoczny na stronie produktu.", "type": "boolean", "required": false }, "virtual": { "description": "Je\u015bli wariant jest wirtualny.", "type": "boolean", "required": false }, "downloadable": { "description": "Je\u015bli wariant jest do pobrania.", "type": "boolean", "required": false }, "downloads": { "description": "Lista plik\u00f3w do pobrania.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer", "required": false }, "download_expiry": { "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer", "required": false }, "tax_status": { "description": "Status podatku.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Klasa podatkowa.", "type": "string", "required": false }, "manage_stock": { "description": "Zarz\u0105dzanie stanem magazynowym na poziomie wariantu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false }, "stock_quantity": { "description": "Stan magazynowy.", "type": "integer", "required": false }, "in_stock": { "description": "Okre\u015bla, czy wariant jest wymieniony jako \"w magazynie\" czy \"brak w magazynie\".", "type": "boolean", "required": false }, "backorders": { "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "weight": { "description": "Waga wariantu (kg).", "type": "string", "required": false }, "dimensions": { "description": "Wymiary wariantu.", "type": "object", "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "image": { "description": "Dane obrazka wariantu.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Pozycja obrazka. Zero oznacza zdj\u0119cie wyr\u00f3\u017cnione.", "type": "integer", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista atrybut\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, u\u017cywana dla w\u0142asnego sortowania produkt\u00f3w.", "type": "integer", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "description": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "id": { "description": "Unikalny identyfikator wariantu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "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": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "description": { "description": "Opis wariantu.", "type": "string", "required": false }, "sku": { "description": "Unikalny identyfikator.", "type": "string", "required": false }, "regular_price": { "description": "Cena wariantu.", "type": "string", "required": false }, "sale_price": { "description": "Cena promocyjna wariantu.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data rozpocz\u0119cia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Data rozpocz\u0119cia promocji (GMT).", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Data ko\u0144ca promocji (GMT).", "type": [ "null", "string" ], "required": false }, "visible": { "description": "Okre\u015bl, czy wariant jest widoczny na stronie produktu.", "type": "boolean", "required": false }, "virtual": { "description": "Je\u015bli wariant jest wirtualny.", "type": "boolean", "required": false }, "downloadable": { "description": "Je\u015bli wariant jest do pobrania.", "type": "boolean", "required": false }, "downloads": { "description": "Lista plik\u00f3w do pobrania.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer", "required": false }, "download_expiry": { "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer", "required": false }, "tax_status": { "description": "Status podatku.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Klasa podatkowa.", "type": "string", "required": false }, "manage_stock": { "description": "Zarz\u0105dzanie stanem magazynowym na poziomie wariantu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false }, "stock_quantity": { "description": "Stan magazynowy.", "type": "integer", "required": false }, "in_stock": { "description": "Okre\u015bla, czy wariant jest wymieniony jako \"w magazynie\" czy \"brak w magazynie\".", "type": "boolean", "required": false }, "backorders": { "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "weight": { "description": "Waga wariantu (kg).", "type": "string", "required": false }, "dimensions": { "description": "Wymiary wariantu.", "type": "object", "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "image": { "description": "Dane obrazka wariantu.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Pozycja obrazka. Zero oznacza zdj\u0119cie wyr\u00f3\u017cnione.", "type": "integer", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista atrybut\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, u\u017cywana dla w\u0142asnego sortowania produkt\u00f3w.", "type": "integer", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ] }, "\/wc\/v2\/reports\/sales": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "period": { "description": "Okres raportu.", "type": "string", "enum": [ "week", "month", "last_month", "year" ], "required": false }, "date_min": { "description": "Zwraca sprzeda\u017c dla konkretnej pocz\u0105tkowej daty. Data musi by\u0107 w formacie YYYY-MM-DD.", "type": "string", "format": "date", "required": false }, "date_max": { "description": "Zwraca sprzeda\u017c dla konkretnej ko\u0144cowej daty. Data musi by\u0107 w formacie YYYY-MM-DD.", "type": "string", "format": "date", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v2\/reports\/sales" } ] } }, "\/wc\/v2\/reports\/top_sellers": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "period": { "description": "Okres raportu.", "type": "string", "enum": [ "week", "month", "last_month", "year" ], "required": false }, "date_min": { "description": "Zwraca sprzeda\u017c dla konkretnej pocz\u0105tkowej daty. Data musi by\u0107 w formacie YYYY-MM-DD.", "type": "string", "format": "date", "required": false }, "date_max": { "description": "Zwraca sprzeda\u017c dla konkretnej ko\u0144cowej daty. Data musi by\u0107 w formacie YYYY-MM-DD.", "type": "string", "format": "date", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v2\/reports\/top_sellers" } ] } }, "\/wc\/v2\/reports": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v2\/reports" } ] } }, "\/wc\/v2\/settings": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v2\/settings" } ] } }, "\/wc\/v2\/settings\/(?P[\\w-]+)": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "group": { "description": "ID grupy ustawie\u0144.", "type": "string", "required": false } } } ] }, "\/wc\/v2\/settings\/(?P[\\w-]+)\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "description": "ID grupy ustawie\u0144.", "type": "string", "required": false }, "value": { "description": "Warto\u015b\u0107 ustawienia.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false } } } ] }, "\/wc\/v2\/settings\/(?P[\\w-]+)\/(?P[\\w-]+)": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "group": { "description": "ID grupy ustawie\u0144.", "type": "string", "required": false }, "id": { "description": "Unikatowy identyfikator zasobu.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "description": "ID grupy ustawie\u0144.", "type": "string", "required": false }, "id": { "description": "Unikatowy identyfikator zasobu.", "type": "string", "required": false }, "value": { "description": "Warto\u015b\u0107 ustawienia.", "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": "Nazwa strefy wysy\u0142ki.", "required": true }, "order": { "description": "Kolejno\u015b\u0107 strefy wysy\u0142ki.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikalny ID zasobu.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikalny ID zasobu.", "type": "integer", "required": false }, "name": { "description": "Nazwa strefy wysy\u0142ki.", "type": "string", "required": false }, "order": { "description": "Kolejno\u015b\u0107 strefy wysy\u0142ki.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikalny ID zasobu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "required": false } } } ] }, "\/wc\/v2\/shipping\/zones\/(?P[\\d]+)\/locations": { "namespace": "wc\/v2", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unikalny ID zasobu.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikalny ID zasobu.", "type": "integer", "required": false }, "code": { "description": "Kod pocztowy strefy wysy\u0142ki.", "type": "string", "required": false }, "type": { "description": "Typ lokalizacji strefy wysy\u0142ki.", "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": "Unikalny ID strefy.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "zone_id": { "description": "Unikalny ID strefy.", "type": "integer", "required": false }, "order": { "description": "Sortowanie metod wysy\u0142ki.", "type": "integer", "required": false }, "enabled": { "description": "Status aktywacji metody wysy\u0142ki.", "type": "boolean", "required": false }, "settings": { "description": "Ustawienia metody wysy\u0142ki.", "type": "object", "properties": { "id": { "description": "Unikalny identyfikator dla ustawienia.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Etykieta ustawie\u0144 u\u017cytych w interfejsach, zrozumia\u0142a dla cz\u0142owieka.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "description": { "description": "Opis ustawie\u0144 u\u017cytych w interfejsach, zrozumia\u0142y dla cz\u0142owieka.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "type": { "description": "Typ ustawie\u0144.", "type": "string", "context": [ "view", "edit" ], "enum": [ "text", "email", "number", "color", "password", "textarea", "select", "multiselect", "radio", "image_width", "checkbox" ], "readonly": true }, "value": { "description": "Warto\u015b\u0107 ustawienia.", "type": "string", "context": [ "view", "edit" ] }, "default": { "description": "Domy\u015blna warto\u015b\u0107 dla ustawienia.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "tip": { "description": "Dodatkowa pomoc wy\u015bwietlana przy ustawieniu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "placeholder": { "description": "Placeholder dla p\u00f3l tekstowych.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "method_id": { "description": "ID metody wysy\u0142ki.", "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": "Unikalny ID strefy.", "type": "integer", "required": false }, "instance_id": { "description": "Unikalny ID instancji.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "zone_id": { "description": "Unikalny ID strefy.", "type": "integer", "required": false }, "instance_id": { "description": "Unikalny ID instancji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie metod wysy\u0142ki.", "type": "integer", "required": false }, "enabled": { "description": "Status aktywacji metody wysy\u0142ki.", "type": "boolean", "required": false }, "settings": { "description": "Ustawienia metody wysy\u0142ki.", "type": "object", "properties": { "id": { "description": "Unikalny identyfikator dla ustawienia.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Etykieta ustawie\u0144 u\u017cytych w interfejsach, zrozumia\u0142a dla cz\u0142owieka.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "description": { "description": "Opis ustawie\u0144 u\u017cytych w interfejsach, zrozumia\u0142y dla cz\u0142owieka.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "type": { "description": "Typ ustawie\u0144.", "type": "string", "context": [ "view", "edit" ], "enum": [ "text", "email", "number", "color", "password", "textarea", "select", "multiselect", "radio", "image_width", "checkbox" ], "readonly": true }, "value": { "description": "Warto\u015b\u0107 ustawienia.", "type": "string", "context": [ "view", "edit" ] }, "default": { "description": "Domy\u015blna warto\u015b\u0107 dla ustawienia.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "tip": { "description": "Dodatkowa pomoc wy\u015bwietlana przy ustawieniu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "placeholder": { "description": "Placeholder dla p\u00f3l tekstowych.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "zone_id": { "description": "Unikalny ID strefy.", "type": "integer", "required": false }, "instance_id": { "description": "Unikalny ID instancji.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "required": false } } } ] }, "\/wc\/v2\/taxes\/classes": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Nazwa klasy podatkowej.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikalny slug zasobu.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "slug": { "description": "Unikalny slug zasobu.", "type": "string", "required": false }, "force": { "default": false, "type": "boolean", "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c zas\u00f3b nie obs\u0142uguje wyrzucania do kosza.", "required": false } } } ] }, "\/wc\/v2\/taxes": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "order", "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "enum": [ "id", "order", "priority" ], "type": "string", "required": false }, "class": { "description": "Sortuj wed\u0142ug klasy podatkowej.", "enum": [ "standard", "reduced-rate", "zero-rate" ], "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "country": { "description": "Kod ISO 3166 kraju.", "type": "string", "required": false }, "state": { "description": "Kod regionu.", "type": "string", "required": false }, "postcode": { "description": "Kod pocztowy.", "type": "string", "required": false }, "city": { "description": "Miasto.", "type": "string", "required": false }, "rate": { "description": "Stawka podatkowa.", "type": "string", "required": false }, "name": { "description": "Nazwa stawki podatku.", "type": "string", "required": false }, "priority": { "default": 1, "description": "Priorytet podatku.", "type": "integer", "required": false }, "compound": { "default": false, "description": "Czy to jest z\u0142o\u017cona stawka.", "type": "boolean", "required": false }, "shipping": { "default": true, "description": "Czy stawka jest stosowana do wysy\u0142ki.", "type": "boolean", "required": false }, "order": { "description": "Wskazuje kolejno\u015b\u0107, kt\u00f3ra pojawi si\u0119 w kwerendach.", "type": "integer", "required": false }, "class": { "default": "standard", "description": "Klasa podatkowa.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "country": { "description": "Kod ISO 3166 kraju.", "type": "string", "required": false }, "state": { "description": "Kod regionu.", "type": "string", "required": false }, "postcode": { "description": "Kod pocztowy.", "type": "string", "required": false }, "city": { "description": "Miasto.", "type": "string", "required": false }, "rate": { "description": "Stawka podatkowa.", "type": "string", "required": false }, "name": { "description": "Nazwa stawki podatku.", "type": "string", "required": false }, "priority": { "description": "Priorytet podatku.", "type": "integer", "required": false }, "compound": { "description": "Czy to jest z\u0142o\u017cona stawka.", "type": "boolean", "required": false }, "shipping": { "description": "Czy stawka jest stosowana do wysy\u0142ki.", "type": "boolean", "required": false }, "order": { "description": "Wskazuje kolejno\u015b\u0107, kt\u00f3ra pojawi si\u0119 w kwerendach.", "type": "integer", "required": false }, "class": { "description": "Klasa podatkowa.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c zas\u00f3b nie obs\u0142uguje wyrzucania do kosza.", "required": false } } } ] }, "\/wc\/v2\/taxes\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "country": { "description": "Kod ISO 3166 kraju.", "type": "string", "required": false }, "state": { "description": "Kod regionu.", "type": "string", "required": false }, "postcode": { "description": "Kod pocztowy.", "type": "string", "required": false }, "city": { "description": "Miasto.", "type": "string", "required": false }, "rate": { "description": "Stawka podatkowa.", "type": "string", "required": false }, "name": { "description": "Nazwa stawki podatku.", "type": "string", "required": false }, "priority": { "description": "Priorytet podatku.", "type": "integer", "required": false }, "compound": { "description": "Czy to jest z\u0142o\u017cona stawka.", "type": "boolean", "required": false }, "shipping": { "description": "Czy stawka jest stosowana do wysy\u0142ki.", "type": "boolean", "required": false }, "order": { "description": "Wskazuje kolejno\u015b\u0107, kt\u00f3ra pojawi si\u0119 w kwerendach.", "type": "integer", "required": false }, "class": { "description": "Klasa podatkowa.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v2\/taxes\/batch" } ] } }, "\/wc\/v2\/webhooks": { "namespace": "wc\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "id", "title" ], "required": false }, "status": { "default": "all", "description": "Ogranicz zestaw wynik\u00f3w do webhook\u00f3w z danym statusem.", "type": "string", "enum": [ "all", "active", "paused", "disabled" ], "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Przyjazna nazwa dla webhooka.", "type": "string", "required": false }, "status": { "default": "active", "description": "Status webhook.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "type": "string", "description": "Temat webhook.", "required": true }, "secret": { "description": "Klucz prywatny u\u017cyty do wygenerowania hasha dostarczanego webhooka w nag\u0142\u00f3wkach \u017c\u0105dania. Je\u015bli klucz prywatny nie b\u0119dzie wpisany to zostanie u\u017cyty klucz prywatny aktualnego u\u017cytkownika.", "type": "string", "required": false }, "delivery_url": { "type": "string", "description": "URL dostawy webhooka.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "name": { "description": "Przyjazna nazwa dla webhooka.", "type": "string", "required": false }, "status": { "description": "Status webhook.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "description": "Temat webhook.", "type": "string", "required": false }, "secret": { "description": "Klucz prywatny u\u017cyty do wygenerowania hasha dostarczanego webhooka w nag\u0142\u00f3wkach \u017c\u0105dania. Je\u015bli klucz prywatny nie b\u0119dzie wpisany to zostanie u\u017cyty klucz prywatny aktualnego u\u017cytkownika.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c zas\u00f3b nie obs\u0142uguje wyrzucania do kosza.", "required": false } } } ] }, "\/wc\/v2\/webhooks\/batch": { "namespace": "wc\/v2", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Przyjazna nazwa dla webhooka.", "type": "string", "required": false }, "status": { "description": "Status webhook.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "description": "Temat webhook.", "type": "string", "required": false }, "secret": { "description": "Klucz prywatny u\u017cyty do wygenerowania hasha dostarczanego webhooka w nag\u0142\u00f3wkach \u017c\u0105dania. Je\u015bli klucz prywatny nie b\u0119dzie wpisany to zostanie u\u017cyty klucz prywatny aktualnego u\u017cytkownika.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v2\/webhooks\/batch" } ] } }, "\/wc\/v2\/webhooks\/(?P[\\d]+)\/deliveries": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "webhook_id": { "description": "Unikalny identyfikator webhooka.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "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": "Unikalny identyfikator webhooka.", "type": "integer", "required": false }, "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ] }, "\/wc\/v2\/system_status": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v2\/system_status" } ] } }, "\/wc\/v2\/system_status\/tools": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikalny identyfikator narz\u0119dzia.", "type": "string", "required": false }, "name": { "description": "Nazwa narz\u0119dzia", "type": "string", "required": false }, "action": { "description": "Co zrobi uruchomione narz\u0119dzie.", "type": "string", "required": false }, "description": { "description": "Opis narz\u0119dzia.", "type": "string", "required": false }, "success": { "description": "Czy narz\u0119dzie zosta\u0142o uruchomione pomy\u015blnie?", "type": "boolean", "required": false }, "message": { "description": "Wiadomo\u015b\u0107 zwrotna narz\u0119dzia.", "type": "string", "required": false } } } ] }, "\/wc\/v2\/shipping_methods": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v2\/shipping_methods" } ] } }, "\/wc\/v2\/shipping_methods\/(?P[\\w-]+)": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "string", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ] }, "\/wc\/v2\/payment_gateways": { "namespace": "wc\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "string", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "string", "required": false }, "title": { "description": "Tytu\u0142 bramki p\u0142atno\u015bci na stronie zam\u00f3wienia.", "type": "string", "required": false }, "description": { "description": "Opis bramki p\u0142atno\u015bci na stronie zam\u00f3wienia.", "type": "string", "required": false }, "order": { "description": "Sortowanie bramki p\u0142atno\u015bci.", "type": "integer", "required": false }, "enabled": { "description": "Status aktywacji metody p\u0142atno\u015bci.", "type": "boolean", "required": false }, "settings": { "description": "Ustawienia bramki p\u0142atno\u015bci.", "type": "object", "properties": { "id": { "description": "Unikalny identyfikator dla ustawienia.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Etykieta ustawie\u0144 u\u017cytych w interfejsach, zrozumia\u0142a dla cz\u0142owieka.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "description": { "description": "Opis ustawie\u0144 u\u017cytych w interfejsach, zrozumia\u0142y dla cz\u0142owieka.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "type": { "description": "Typ ustawie\u0144.", "type": "string", "context": [ "view", "edit" ], "enum": [ "text", "email", "number", "color", "password", "textarea", "select", "multiselect", "radio", "image_width", "checkbox" ], "readonly": true }, "value": { "description": "Warto\u015b\u0107 ustawienia.", "type": "string", "context": [ "view", "edit" ] }, "default": { "description": "Domy\u015blna warto\u015b\u0107 dla ustawienia.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "tip": { "description": "Dodatkowa pomoc wy\u015bwietlana przy ustawieniu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "placeholder": { "description": "Placeholder dla p\u00f3l tekstowych.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false } } } ] }, "\/wc\/v3\/coupons": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ogranicz wynik do zasob\u00f3w zmienionych po danej dacie zgodnej z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ogranicz odpowied\u017a do zasob\u00f3w zmienionych przed dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Czy bra\u0107 pod uwag\u0119 daty GMT publikacji lub modyfikacji podczas ograniczania odpowiedzi.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "code": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w z danym kodem.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "code": { "description": "Kod kuponu.", "type": "string", "required": true }, "amount": { "description": "Kwota zni\u017cki. Zawsze powinna by\u0107 warto\u015bci\u0105 numeryczn\u0105, nawet je\u015bli ustawiona jest warto\u015b\u0107 procentowa.", "type": "string", "required": false }, "status": { "description": "Status kuponu. Zawsze powinien by\u0107: szkic, obublikowany lub oczekuje na przegl\u0105d.", "type": "string", "required": false }, "discount_type": { "default": "fixed_cart", "description": "Determinuje typ rabatu, kt\u00f3ry zostanie zastosowany.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product", "sign_up_fee", "sign_up_fee_percent", "recurring_fee", "recurring_percent", "renewal_percent", "renewal_fee", "renewal_cart", "initial_cart" ], "required": false }, "description": { "description": "Opis kuponu.", "type": "string", "required": false }, "date_expires": { "description": "Data wyga\u015bni\u0119cia kuponu, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "Data wa\u017cno\u015bci kuponu (GMT).", "type": [ "null", "string" ], "required": false }, "individual_use": { "default": false, "description": "Je\u015bli \"true\", kupon mo\u017ce by\u0107 u\u017cyty tylko pojedynczo. Inne zastosowane kupony zostan\u0105 usuni\u0119te z koszyka.", "type": "boolean", "required": false }, "product_ids": { "description": "Lista ID produkt\u00f3w, dla kt\u00f3rych kupon mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "Lista ID produkt\u00f3w, dla kt\u00f3rych kupon nie mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Ile razy kupon mo\u017ce zosta\u0107 u\u017cyty.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Liczba, ile razy dany kupon mo\u017ce zosta\u0107 u\u017cyty przez jednego klienta.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Maksymalna liczba produkt\u00f3w w koszyku dla kt\u00f3rych mo\u017cna u\u017cy\u0107 kuponu.", "type": "integer", "required": false }, "free_shipping": { "default": false, "description": "Je\u015bli \"true\" i darmowa wysy\u0142ka wymaga u\u017cycia kuponu, ten kupon w\u0142\u0105czy darmow\u0105 wysy\u0142k\u0119.", "type": "boolean", "required": false }, "product_categories": { "description": "Lista ID kategorii, dla kt\u00f3rych kupon mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Lista ID kategorii, dla kt\u00f3rych kupon nie mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "default": false, "description": "Je\u015bli \"true\", kupon nie b\u0119dzie stosowany do produkt\u00f3w, kt\u00f3re s\u0105 w promocji.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minimalna kwota zam\u00f3wienia, aby mo\u017cna by\u0142o u\u017cy\u0107 kupon.", "type": "string", "required": false }, "maximum_amount": { "description": "Maksymalna kwota zam\u00f3wienia, aby mo\u017cna by\u0142o u\u017cy\u0107 kupon.", "type": "string", "required": false }, "email_restrictions": { "description": "Lista adres\u00f3w e-mail pozwalaj\u0105cych na u\u017cycie kuponu.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "code": { "description": "Kod kuponu.", "type": "string", "required": false }, "amount": { "description": "Kwota zni\u017cki. Zawsze powinna by\u0107 warto\u015bci\u0105 numeryczn\u0105, nawet je\u015bli ustawiona jest warto\u015b\u0107 procentowa.", "type": "string", "required": false }, "status": { "description": "Status kuponu. Zawsze powinien by\u0107: szkic, obublikowany lub oczekuje na przegl\u0105d.", "type": "string", "required": false }, "discount_type": { "description": "Determinuje typ rabatu, kt\u00f3ry zostanie zastosowany.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product", "sign_up_fee", "sign_up_fee_percent", "recurring_fee", "recurring_percent", "renewal_percent", "renewal_fee", "renewal_cart", "initial_cart" ], "required": false }, "description": { "description": "Opis kuponu.", "type": "string", "required": false }, "date_expires": { "description": "Data wyga\u015bni\u0119cia kuponu, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "Data wa\u017cno\u015bci kuponu (GMT).", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "Je\u015bli \"true\", kupon mo\u017ce by\u0107 u\u017cyty tylko pojedynczo. Inne zastosowane kupony zostan\u0105 usuni\u0119te z koszyka.", "type": "boolean", "required": false }, "product_ids": { "description": "Lista ID produkt\u00f3w, dla kt\u00f3rych kupon mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "Lista ID produkt\u00f3w, dla kt\u00f3rych kupon nie mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Ile razy kupon mo\u017ce zosta\u0107 u\u017cyty.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Liczba, ile razy dany kupon mo\u017ce zosta\u0107 u\u017cyty przez jednego klienta.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Maksymalna liczba produkt\u00f3w w koszyku dla kt\u00f3rych mo\u017cna u\u017cy\u0107 kuponu.", "type": "integer", "required": false }, "free_shipping": { "description": "Je\u015bli \"true\" i darmowa wysy\u0142ka wymaga u\u017cycia kuponu, ten kupon w\u0142\u0105czy darmow\u0105 wysy\u0142k\u0119.", "type": "boolean", "required": false }, "product_categories": { "description": "Lista ID kategorii, dla kt\u00f3rych kupon mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Lista ID kategorii, dla kt\u00f3rych kupon nie mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "Je\u015bli \"true\", kupon nie b\u0119dzie stosowany do produkt\u00f3w, kt\u00f3re s\u0105 w promocji.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minimalna kwota zam\u00f3wienia, aby mo\u017cna by\u0142o u\u017cy\u0107 kupon.", "type": "string", "required": false }, "maximum_amount": { "description": "Maksymalna kwota zam\u00f3wienia, aby mo\u017cna by\u0142o u\u017cy\u0107 kupon.", "type": "string", "required": false }, "email_restrictions": { "description": "Lista adres\u00f3w e-mail pozwalaj\u0105cych na u\u017cycie kuponu.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "required": false } } } ] }, "\/wc\/v3\/coupons\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "code": { "description": "Kod kuponu.", "type": "string", "required": false }, "amount": { "description": "Kwota zni\u017cki. Zawsze powinna by\u0107 warto\u015bci\u0105 numeryczn\u0105, nawet je\u015bli ustawiona jest warto\u015b\u0107 procentowa.", "type": "string", "required": false }, "status": { "description": "Status kuponu. Zawsze powinien by\u0107: szkic, obublikowany lub oczekuje na przegl\u0105d.", "type": "string", "required": false }, "discount_type": { "description": "Determinuje typ rabatu, kt\u00f3ry zostanie zastosowany.", "type": "string", "enum": [ "percent", "fixed_cart", "fixed_product", "sign_up_fee", "sign_up_fee_percent", "recurring_fee", "recurring_percent", "renewal_percent", "renewal_fee", "renewal_cart", "initial_cart" ], "required": false }, "description": { "description": "Opis kuponu.", "type": "string", "required": false }, "date_expires": { "description": "Data wyga\u015bni\u0119cia kuponu, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_expires_gmt": { "description": "Data wa\u017cno\u015bci kuponu (GMT).", "type": [ "null", "string" ], "required": false }, "individual_use": { "description": "Je\u015bli \"true\", kupon mo\u017ce by\u0107 u\u017cyty tylko pojedynczo. Inne zastosowane kupony zostan\u0105 usuni\u0119te z koszyka.", "type": "boolean", "required": false }, "product_ids": { "description": "Lista ID produkt\u00f3w, dla kt\u00f3rych kupon mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_ids": { "description": "Lista ID produkt\u00f3w, dla kt\u00f3rych kupon nie mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "usage_limit": { "description": "Ile razy kupon mo\u017ce zosta\u0107 u\u017cyty.", "type": "integer", "required": false }, "usage_limit_per_user": { "description": "Liczba, ile razy dany kupon mo\u017ce zosta\u0107 u\u017cyty przez jednego klienta.", "type": "integer", "required": false }, "limit_usage_to_x_items": { "description": "Maksymalna liczba produkt\u00f3w w koszyku dla kt\u00f3rych mo\u017cna u\u017cy\u0107 kuponu.", "type": "integer", "required": false }, "free_shipping": { "description": "Je\u015bli \"true\" i darmowa wysy\u0142ka wymaga u\u017cycia kuponu, ten kupon w\u0142\u0105czy darmow\u0105 wysy\u0142k\u0119.", "type": "boolean", "required": false }, "product_categories": { "description": "Lista ID kategorii, dla kt\u00f3rych kupon mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "excluded_product_categories": { "description": "Lista ID kategorii, dla kt\u00f3rych kupon nie mo\u017ce zosta\u0107 u\u017cyty.", "type": "array", "items": { "type": "integer" }, "required": false }, "exclude_sale_items": { "description": "Je\u015bli \"true\", kupon nie b\u0119dzie stosowany do produkt\u00f3w, kt\u00f3re s\u0105 w promocji.", "type": "boolean", "required": false }, "minimum_amount": { "description": "Minimalna kwota zam\u00f3wienia, aby mo\u017cna by\u0142o u\u017cy\u0107 kupon.", "type": "string", "required": false }, "maximum_amount": { "description": "Maksymalna kwota zam\u00f3wienia, aby mo\u017cna by\u0142o u\u017cy\u0107 kupon.", "type": "string", "required": false }, "email_restrictions": { "description": "Lista adres\u00f3w e-mail pozwalaj\u0105cych na u\u017cycie kuponu.", "type": "array", "items": { "type": "string" }, "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/coupons\/batch" } ] } }, "\/wc\/v3\/customers\/(?P[\\d]+)\/downloads": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "customer_id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ] }, "\/wc\/v3\/customers": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz zbi\u00f3r wynik\u00f3w do wybranych ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "name", "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "enum": [ "id", "include", "name", "registered_date" ], "type": "string", "required": false }, "email": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w z danym e-mailem.", "type": "string", "format": "email", "required": false }, "role": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w z dan\u0105 rol\u0105.", "type": "string", "default": "customer", "enum": [ "all", "administrator", "editor", "author", "contributor", "subscriber", "customer", "shop_manager" ], "required": false } } }, { "methods": [ "POST" ], "args": { "email": { "type": "string", "description": "E-mail nowego u\u017cytkownika.", "required": true }, "first_name": { "description": "Imi\u0119 klienta.", "type": "string", "required": false }, "last_name": { "description": "Nazwisko klienta.", "type": "string", "required": false }, "username": { "description": "Nazwa nowego u\u017cytkownika.", "type": "string", "required": false }, "password": { "description": "Has\u0142o nowego u\u017cytkownika.", "type": "string", "required": false }, "billing": { "description": "Lista danych rozliczeniowych.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Pierwsza linia adresu", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Druga linia adresu", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod ISO kraju.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Adres e-mail.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numer telefonu.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Lista danych do wysy\u0142ki.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Pierwsza linia adresu", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Druga linia adresu", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod ISO kraju.", "type": "string", "context": [ "view", "edit" ] }, "phone": { "description": "Numer telefonu.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "email": { "description": "Adres e-mail zamawiaj\u0105cego.", "type": "string", "format": "email", "required": false }, "first_name": { "description": "Imi\u0119 klienta.", "type": "string", "required": false }, "last_name": { "description": "Nazwisko klienta.", "type": "string", "required": false }, "username": { "description": "Login klienta.", "type": "string", "required": false }, "password": { "description": "Has\u0142o klienta.", "type": "string", "required": false }, "billing": { "description": "Lista danych rozliczeniowych.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Pierwsza linia adresu", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Druga linia adresu", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod ISO kraju.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Adres e-mail.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numer telefonu.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Lista danych do wysy\u0142ki.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Pierwsza linia adresu", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Druga linia adresu", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod ISO kraju.", "type": "string", "context": [ "view", "edit" ] }, "phone": { "description": "Numer telefonu.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c zas\u00f3b nie obs\u0142uguje wyrzucania do kosza.", "required": false }, "reassign": { "default": 0, "type": "integer", "description": "ID do przypisania wpis\u00f3w.", "required": false } } } ] }, "\/wc\/v3\/customers\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "email": { "description": "Adres e-mail zamawiaj\u0105cego.", "type": "string", "format": "email", "required": false }, "first_name": { "description": "Imi\u0119 klienta.", "type": "string", "required": false }, "last_name": { "description": "Nazwisko klienta.", "type": "string", "required": false }, "username": { "description": "Login klienta.", "type": "string", "required": false }, "password": { "description": "Has\u0142o klienta.", "type": "string", "required": false }, "billing": { "description": "Lista danych rozliczeniowych.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Pierwsza linia adresu", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Druga linia adresu", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod ISO kraju.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Adres e-mail.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numer telefonu.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Lista danych do wysy\u0142ki.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Pierwsza linia adresu", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Druga linia adresu", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod ISO kraju.", "type": "string", "context": [ "view", "edit" ] }, "phone": { "description": "Numer telefonu.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/customers\/batch" } ] } }, "\/wc\/v3\/layout-templates": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "area": { "description": "Obszar, dla kt\u00f3rego mo\u017cesz pobra\u0107 szablony.", "type": "string", "default": "", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "string", "required": false } } } ] }, "\/wc\/v3\/orders\/(?P[\\d]+)\/notes": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "ID zam\u00f3wienia.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "type": { "default": "any", "description": "Ogranicz zestaw wynik\u00f3w do notatek do zam\u00f3wie\u0144.", "type": "string", "enum": [ "any", "customer", "internal" ], "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "ID zam\u00f3wienia.", "type": "integer", "required": false }, "note": { "type": "string", "description": "Tre\u015b\u0107 notatki zam\u00f3wienia.", "required": true }, "customer_note": { "default": false, "description": "Je\u015bli \"true\", notatka b\u0119dzie widoczna dla klienta i zostanie on o niej powiadomiony. Je\u015bli \"false\", notatka b\u0119dzie widoczna tylko dla admina.", "type": "boolean", "required": false }, "added_by_user": { "default": false, "description": "Je\u015bli ustawione na \"true\", notatka ta zostanie przypisana do bie\u017c\u0105cego u\u017cytkownika. Je\u015bli na \"false\", notatka zostanie przypisana do systemu.", "type": "boolean", "required": false } } } ] }, "\/wc\/v3\/orders\/(?P[\\d]+)\/notes\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "order_id": { "description": "ID zam\u00f3wienia.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "order_id": { "description": "ID zam\u00f3wienia.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c zas\u00f3b nie obs\u0142uguje wyrzucania do kosza.", "required": false } } } ] }, "\/wc\/v3\/orders\/(?P[\\d]+)\/refunds": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "ID zam\u00f3wienia.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ogranicz wynik do zasob\u00f3w zmienionych po danej dacie zgodnej z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ogranicz odpowied\u017a do zasob\u00f3w zmienionych przed dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Czy bra\u0107 pod uwag\u0119 daty GMT publikacji lub modyfikacji podczas ograniczania odpowiedzi.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "parent": { "description": "Ogranicz zestaw wynik\u00f3w do tych z okre\u015blonych identyfikator\u00f3w nadrz\u0119dnych.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Ogranicz zestaw wynik\u00f3w do wszystkich element\u00f3w z wyj\u0105tkiem tych o okre\u015blonym identyfikatorze nadrz\u0119dnym.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "dp": { "default": 2, "description": "Liczba miejsc dziesi\u0119tnych u\u017cywanych w ka\u017cdym zasobie.", "type": "integer", "required": false }, "order_item_display_meta": { "default": false, "description": "Pokazuj wy\u0142\u0105cznie dane meta przeznaczone do wy\u015bwietlania dla zam\u00f3wie\u0144.", "type": "boolean", "required": false }, "include_meta": { "default": [], "description": "Ogranicz metadane do wybranych kluczy.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Upewnij si\u0119, \u017ce metadane wykluczaj\u0105 okre\u015blone klucze.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "ID zam\u00f3wienia.", "type": "integer", "required": false }, "amount": { "description": "Kwota zwrotu.", "type": "string", "required": false }, "reason": { "description": "Pow\u00f3d zwrotu.", "type": "string", "required": false }, "refunded_by": { "description": "Identyfikator u\u017cytkownika, kt\u00f3ry utworzy\u0142 zwrot.", "type": "integer", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "shipping_lines": { "description": "Dane wysy\u0142kowe pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nazwa metody wysy\u0142ki.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "ID metody wysy\u0142ki.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "ID instancji wysy\u0142ki.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Dane op\u0142at pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nazwa op\u0142aty.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Klasa podatkowa op\u0142aty.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Status podatku op\u0142aty.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Suma cz\u0119\u015bciowa podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "api_refund": { "default": true, "description": "Je\u015bli \"true\", API bramki p\u0142atno\u015bci jest u\u017cywane do zwrot\u00f3w.", "type": "boolean", "required": false }, "api_restock": { "default": true, "description": "Je\u015bli \"true\", stan magazynowy zwr\u00f3conych pozycji jest przywr\u00f3cony.", "type": "boolean", "required": false } } } ] }, "\/wc\/v3\/orders\/(?P[\\d]+)\/refunds\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "ID zam\u00f3wienia.", "type": "integer", "required": false }, "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "order_id": { "description": "ID zam\u00f3wienia.", "type": "integer", "required": false }, "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c zas\u00f3b nie obs\u0142uguje wyrzucania do kosza.", "required": false } } } ] }, "\/wc\/v3\/orders": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ogranicz wynik do zasob\u00f3w zmienionych po danej dacie zgodnej z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ogranicz odpowied\u017a do zasob\u00f3w zmienionych przed dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Czy bra\u0107 pod uwag\u0119 daty GMT publikacji lub modyfikacji podczas ograniczania odpowiedzi.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "parent": { "description": "Ogranicz zestaw wynik\u00f3w do tych z okre\u015blonych identyfikator\u00f3w nadrz\u0119dnych.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Ogranicz zestaw wynik\u00f3w do wszystkich element\u00f3w z wyj\u0105tkiem tych o okre\u015blonym identyfikatorze nadrz\u0119dnym.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "status": { "default": "any", "description": "Ogranicz wyniki do zam\u00f3wie\u0144 z okre\u015blonymi statusami.", "type": "array", "items": { "type": "string", "enum": [ "any", "trash", "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ] }, "required": false }, "customer": { "description": "Ogranicz zestaw wynik\u00f3w do zam\u00f3wie\u0144 danego klienta.", "type": "integer", "required": false }, "product": { "description": "Ogranicz zestaw wynik\u00f3w do zam\u00f3wie\u0144 z danym produktem.", "type": "integer", "required": false }, "dp": { "default": 2, "description": "Liczba miejsc dziesi\u0119tnych u\u017cywanych w ka\u017cdym zasobie.", "type": "integer", "required": false }, "order_item_display_meta": { "default": false, "description": "Pokazuj wy\u0142\u0105cznie dane meta przeznaczone do wy\u015bwietlania dla zam\u00f3wie\u0144.", "type": "boolean", "required": false }, "include_meta": { "default": [], "description": "Ogranicz metadane do wybranych kluczy.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Upewnij si\u0119, \u017ce metadane wykluczaj\u0105 okre\u015blone klucze.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "parent_id": { "description": "ID zam\u00f3wienia nadrz\u0119dnego.", "type": "integer", "required": false }, "status": { "default": "pending", "description": "Status zam\u00f3wienia.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "default": "GBP", "description": "Waluta zam\u00f3wienia, w formacie ISO.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "default": 0, "description": "ID u\u017cytkownika, kt\u00f3ry jest w\u0142a\u015bcicielem zam\u00f3wienia. 0 dla go\u015bci.", "type": "integer", "required": false }, "customer_note": { "description": "Notatka pozostawiona przez klienta podczas zam\u00f3wienia.", "type": "string", "required": false }, "billing": { "description": "Adres rozliczeniowy.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Pierwsza linia adresu", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Druga linia adresu", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod kraju w formacie ISO 3166-1 alfa-2.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Adres e-mail.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numer telefonu.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Adres wysy\u0142ki.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Pierwsza linia adresu", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Druga linia adresu", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod kraju w formacie ISO 3166-1 alfa-2.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "ID metody p\u0142atno\u015bci.", "type": "string", "required": false }, "payment_method_title": { "description": "Tytu\u0142 metody p\u0142atno\u015bci.", "type": "string", "required": false }, "transaction_id": { "description": "Unikalny numer ID transakcji.", "type": "string", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Dane pozycji zam\u00f3wienia.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nazwa produktu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Nazwa produktu nadrz\u0119dnego, je\u015bli produkt jest wariantem.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "ID produktu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "ID wariantu, je\u015bli dotyczy.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Zam\u00f3wiona ilo\u015b\u0107.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Klasa podatkowa produktu.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Suma pozycji (przed rabatami).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Suma podatk\u00f3w pozycji (przed rabatami).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Suma cz\u0119\u015bciowa podatku.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Klucz danych meta do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Warto\u015b\u0107 danych meta do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "SKU produktu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Cena produktu.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "W\u0142a\u015bciwo\u015bci g\u0142\u00f3wnego obrazka produktu.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Dane wysy\u0142kowe pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nazwa metody wysy\u0142ki.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "ID metody wysy\u0142ki.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "ID instancji wysy\u0142ki.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Dane op\u0142at pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nazwa op\u0142aty.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Klasa podatkowa op\u0142aty.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Status podatku op\u0142aty.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Suma cz\u0119\u015bciowa podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Dane kupon\u00f3w pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Kod kuponu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "\u0141\u0105czny rabat.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "\u0141\u0105czny podatek rabatu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Typ rabatu.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Kwota rabatu okre\u015blona w kuponie (warto\u015b\u0107 bezwzgl\u0119dna lub procent, w zale\u017cno\u015bci od rodzaju rabatu).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Czy kupon zapewnia darmow\u0105 wysy\u0142k\u0119.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "default": false, "description": "Wybierz, czy zam\u00f3wienie jest zap\u0142acone. Status zam\u00f3wienia zostanie zmieniony na w trakcie realizacji i stan magazynowy zostanie zmniejszony.", "type": "boolean", "required": false }, "manual_update": { "default": false, "description": "Ustaw akcj\u0119 jako r\u0119czn\u0105, aby uwaga do zam\u00f3wienia zosta\u0142a zarejestrowana jako \"dodana przez u\u017cytkownika\".", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "parent_id": { "description": "ID zam\u00f3wienia nadrz\u0119dnego.", "type": "integer", "required": false }, "status": { "description": "Status zam\u00f3wienia.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "description": "Waluta zam\u00f3wienia, w formacie ISO.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "description": "ID u\u017cytkownika, kt\u00f3ry jest w\u0142a\u015bcicielem zam\u00f3wienia. 0 dla go\u015bci.", "type": "integer", "required": false }, "customer_note": { "description": "Notatka pozostawiona przez klienta podczas zam\u00f3wienia.", "type": "string", "required": false }, "billing": { "description": "Adres rozliczeniowy.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Pierwsza linia adresu", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Druga linia adresu", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod kraju w formacie ISO 3166-1 alfa-2.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Adres e-mail.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numer telefonu.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Adres wysy\u0142ki.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Pierwsza linia adresu", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Druga linia adresu", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod kraju w formacie ISO 3166-1 alfa-2.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "ID metody p\u0142atno\u015bci.", "type": "string", "required": false }, "payment_method_title": { "description": "Tytu\u0142 metody p\u0142atno\u015bci.", "type": "string", "required": false }, "transaction_id": { "description": "Unikalny numer ID transakcji.", "type": "string", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Dane pozycji zam\u00f3wienia.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nazwa produktu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Nazwa produktu nadrz\u0119dnego, je\u015bli produkt jest wariantem.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "ID produktu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "ID wariantu, je\u015bli dotyczy.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Zam\u00f3wiona ilo\u015b\u0107.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Klasa podatkowa produktu.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Suma pozycji (przed rabatami).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Suma podatk\u00f3w pozycji (przed rabatami).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Suma cz\u0119\u015bciowa podatku.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Klucz danych meta do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Warto\u015b\u0107 danych meta do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "SKU produktu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Cena produktu.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "W\u0142a\u015bciwo\u015bci g\u0142\u00f3wnego obrazka produktu.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Dane wysy\u0142kowe pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nazwa metody wysy\u0142ki.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "ID metody wysy\u0142ki.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "ID instancji wysy\u0142ki.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Dane op\u0142at pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nazwa op\u0142aty.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Klasa podatkowa op\u0142aty.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Status podatku op\u0142aty.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Suma cz\u0119\u015bciowa podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Dane kupon\u00f3w pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Kod kuponu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "\u0141\u0105czny rabat.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "\u0141\u0105czny podatek rabatu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Typ rabatu.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Kwota rabatu okre\u015blona w kuponie (warto\u015b\u0107 bezwzgl\u0119dna lub procent, w zale\u017cno\u015bci od rodzaju rabatu).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Czy kupon zapewnia darmow\u0105 wysy\u0142k\u0119.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "description": "Wybierz, czy zam\u00f3wienie jest zap\u0142acone. Status zam\u00f3wienia zostanie zmieniony na w trakcie realizacji i stan magazynowy zostanie zmniejszony.", "type": "boolean", "required": false }, "manual_update": { "description": "Ustaw akcj\u0119 jako r\u0119czn\u0105, aby uwaga do zam\u00f3wienia zosta\u0142a zarejestrowana jako \"dodana przez u\u017cytkownika\".", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "required": false } } } ] }, "\/wc\/v3\/orders\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "parent_id": { "description": "ID zam\u00f3wienia nadrz\u0119dnego.", "type": "integer", "required": false }, "status": { "description": "Status zam\u00f3wienia.", "type": "string", "enum": [ "auto-draft", "pending", "processing", "on-hold", "completed", "cancelled", "refunded", "failed", "checkout-draft" ], "required": false }, "currency": { "description": "Waluta zam\u00f3wienia, w formacie ISO.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "description": "ID u\u017cytkownika, kt\u00f3ry jest w\u0142a\u015bcicielem zam\u00f3wienia. 0 dla go\u015bci.", "type": "integer", "required": false }, "customer_note": { "description": "Notatka pozostawiona przez klienta podczas zam\u00f3wienia.", "type": "string", "required": false }, "billing": { "description": "Adres rozliczeniowy.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Pierwsza linia adresu", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Druga linia adresu", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod kraju w formacie ISO 3166-1 alfa-2.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Adres e-mail.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numer telefonu.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Adres wysy\u0142ki.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Pierwsza linia adresu", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Druga linia adresu", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod kraju w formacie ISO 3166-1 alfa-2.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "ID metody p\u0142atno\u015bci.", "type": "string", "required": false }, "payment_method_title": { "description": "Tytu\u0142 metody p\u0142atno\u015bci.", "type": "string", "required": false }, "transaction_id": { "description": "Unikalny numer ID transakcji.", "type": "string", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Dane pozycji zam\u00f3wienia.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nazwa produktu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Nazwa produktu nadrz\u0119dnego, je\u015bli produkt jest wariantem.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "ID produktu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "ID wariantu, je\u015bli dotyczy.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Zam\u00f3wiona ilo\u015b\u0107.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Klasa podatkowa produktu.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Suma pozycji (przed rabatami).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Suma podatk\u00f3w pozycji (przed rabatami).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Suma cz\u0119\u015bciowa podatku.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Klucz danych meta do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Warto\u015b\u0107 danych meta do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "SKU produktu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Cena produktu.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "W\u0142a\u015bciwo\u015bci g\u0142\u00f3wnego obrazka produktu.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Dane wysy\u0142kowe pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nazwa metody wysy\u0142ki.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "ID metody wysy\u0142ki.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "ID instancji wysy\u0142ki.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Dane op\u0142at pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nazwa op\u0142aty.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Klasa podatkowa op\u0142aty.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Status podatku op\u0142aty.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Suma cz\u0119\u015bciowa podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Dane kupon\u00f3w pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Kod kuponu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "\u0141\u0105czny rabat.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "\u0141\u0105czny podatek rabatu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Typ rabatu.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Kwota rabatu okre\u015blona w kuponie (warto\u015b\u0107 bezwzgl\u0119dna lub procent, w zale\u017cno\u015bci od rodzaju rabatu).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Czy kupon zapewnia darmow\u0105 wysy\u0142k\u0119.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "set_paid": { "description": "Wybierz, czy zam\u00f3wienie jest zap\u0142acone. Status zam\u00f3wienia zostanie zmieniony na w trakcie realizacji i stan magazynowy zostanie zmniejszony.", "type": "boolean", "required": false }, "manual_update": { "description": "Ustaw akcj\u0119 jako r\u0119czn\u0105, aby uwaga do zam\u00f3wienia zosta\u0142a zarejestrowana jako \"dodana przez u\u017cytkownika\".", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikalny identyfikator atrybutu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji. Dotyczy tylko taksonomii hierarchicznych.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj wed\u0142ug atrybutu zasobu.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Czy ukry\u0107 zasoby nieprzypisane do \u017cadnego produktu.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danego elementu nadrz\u0119dnego. Dotyczy tylko taksonomii hierarchicznych.", "type": "integer", "required": false }, "product": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danego produktu.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danej nazwy skr\u00f3conej (slug).", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "attribute_id": { "description": "Unikalny identyfikator atrybutu.", "type": "integer", "required": false }, "name": { "type": "string", "description": "Nazwa dla zasobu.", "required": true }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, kt\u00f3ra s\u0142u\u017cy do sortowania zasobu.", "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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "attribute_id": { "description": "Unikalny identyfikator atrybutu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "attribute_id": { "description": "Unikalny identyfikator atrybutu.", "type": "integer", "required": false }, "name": { "description": "Nazwa taksonomii.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, kt\u00f3ra s\u0142u\u017cy do sortowania zasobu.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "attribute_id": { "description": "Unikalny identyfikator atrybutu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c zas\u00f3b nie obs\u0142uguje wyrzucania do kosza.", "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": "Unikalny identyfikator atrybutu.", "type": "integer", "required": false }, "name": { "description": "Nazwa taksonomii.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, kt\u00f3ra s\u0142u\u017cy do sortowania zasobu.", "type": "integer", "required": false } } } ] }, "\/wc\/v3\/products\/attributes": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Nazwa dla zasobu.", "type": "string", "required": true }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "type": { "default": "select", "description": "Typ atrybutu.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "default": "menu_order", "description": "Domy\u015blne sortowanie.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "default": false, "description": "W\u0142\u0105cz\/wy\u0142\u0105cz archiwa atrybut\u00f3w.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "name": { "description": "Nazwa atrybutu.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "type": { "description": "Typ atrybutu.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Domy\u015blne sortowanie.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "W\u0142\u0105cz\/wy\u0142\u0105cz archiwa atrybut\u00f3w.", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": true, "type": "boolean", "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c zas\u00f3b nie obs\u0142uguje wyrzucania do kosza.", "required": false } } } ] }, "\/wc\/v3\/products\/attributes\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nazwa atrybutu.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "type": { "description": "Typ atrybutu.", "type": "string", "enum": [ "select" ], "required": false }, "order_by": { "description": "Domy\u015blne sortowanie.", "type": "string", "enum": [ "menu_order", "name", "name_num", "id" ], "required": false }, "has_archives": { "description": "W\u0142\u0105cz\/wy\u0142\u0105cz archiwa atrybut\u00f3w.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/products\/attributes\/batch" } ] } }, "\/wc\/v3\/products\/categories": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji. Dotyczy tylko taksonomii hierarchicznych.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj wed\u0142ug atrybutu zasobu.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Czy ukry\u0107 zasoby nieprzypisane do \u017cadnego produktu.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danego elementu nadrz\u0119dnego. Dotyczy tylko taksonomii hierarchicznych.", "type": "integer", "required": false }, "product": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danego produktu.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danej nazwy skr\u00f3conej (slug).", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Nazwa dla zasobu.", "required": true }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "parent": { "description": "Id rodzica zasobu.", "type": "integer", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false }, "display": { "default": "default", "description": "Typ wy\u015bwietlania kategorii.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Dane obrazka.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, kt\u00f3ra s\u0142u\u017cy do sortowania zasobu.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "name": { "description": "Nazwa kategorii.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "parent": { "description": "Id rodzica zasobu.", "type": "integer", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false }, "display": { "description": "Typ wy\u015bwietlania kategorii.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Dane obrazka.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, kt\u00f3ra s\u0142u\u017cy do sortowania zasobu.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c zas\u00f3b nie obs\u0142uguje wyrzucania do kosza.", "required": false } } } ] }, "\/wc\/v3\/products\/categories\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nazwa kategorii.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "parent": { "description": "Id rodzica zasobu.", "type": "integer", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false }, "display": { "description": "Typ wy\u015bwietlania kategorii.", "type": "string", "enum": [ "default", "products", "subcategories", "both" ], "required": false }, "image": { "description": "Dane obrazka.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, kt\u00f3ra s\u0142u\u017cy do sortowania zasobu.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/products\/categories\/batch" } ] } }, "\/wc\/v3\/products\/custom-fields\/names": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "order": { "description": "Sortuj elementy rosn\u0105co lub malej\u0105co.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/products\/custom-fields\/names" } ] } }, "\/wc\/v3\/products\/reviews": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ogranicz wynik do opinii opublikowanych przed dan\u0105 dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz zbi\u00f3r wynik\u00f3w do wybranych ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date_gmt", "enum": [ "date", "date_gmt", "id", "include", "product" ], "required": false }, "reviewer": { "description": "Ogranicz wyniki do opinii przypisanych do konkretnych ID u\u017cytkownik\u00f3w.", "type": "array", "items": { "type": "integer" }, "required": false }, "reviewer_exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza opinie przypisane do konkretnych ID u\u017cytkownik\u00f3w.", "type": "array", "items": { "type": "integer" }, "required": false }, "reviewer_email": { "default": null, "description": "Ogranicz wyniki do danego adresu e-mail.", "format": "email", "type": "string", "required": false }, "product": { "default": [], "description": "Ogranicz wyniki do danego ID produktu.", "type": "array", "items": { "type": "integer" }, "required": false }, "status": { "default": "approved", "description": "Ogranicz wyniki do opinii z danym statusem.", "type": "string", "enum": [ "all", "hold", "approved", "spam", "trash" ], "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Unikalny identyfikator produktu.", "type": "integer", "required": true }, "product_name": { "description": "Nazwa produktu.", "type": "string", "required": false }, "status": { "default": "approved", "description": "Status opinii.", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "type": "string", "description": "Nazwa recenzenta.", "required": true }, "reviewer_email": { "type": "string", "description": "E-mail recenzenta.", "required": true }, "review": { "type": "string", "description": "Tre\u015b\u0107 opinii.", "required": true }, "rating": { "description": "Ocena w skali 0 do 5.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "product_id": { "description": "Unikalny identyfikator produktu, do kt\u00f3rego nale\u017cy opinia.", "type": "integer", "required": false }, "product_name": { "description": "Nazwa produktu.", "type": "string", "required": false }, "status": { "description": "Status opinii.", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "description": "Imi\u0119 oceniaj\u0105cego.", "type": "string", "required": false }, "reviewer_email": { "description": "E-mail oceniaj\u0105cego.", "type": "string", "format": "email", "required": false }, "review": { "description": "Tre\u015b\u0107 opinii", "type": "string", "required": false }, "rating": { "description": "Ocena w skali 0 do 5.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "required": false } } } ] }, "\/wc\/v3\/products\/reviews\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Unikalny identyfikator produktu, do kt\u00f3rego nale\u017cy opinia.", "type": "integer", "required": false }, "product_name": { "description": "Nazwa produktu.", "type": "string", "required": false }, "status": { "description": "Status opinii.", "type": "string", "enum": [ "approved", "hold", "spam", "unspam", "trash", "untrash" ], "required": false }, "reviewer": { "description": "Imi\u0119 oceniaj\u0105cego.", "type": "string", "required": false }, "reviewer_email": { "description": "E-mail oceniaj\u0105cego.", "type": "string", "format": "email", "required": false }, "review": { "description": "Tre\u015b\u0107 opinii", "type": "string", "required": false }, "rating": { "description": "Ocena w skali 0 do 5.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/products\/reviews\/batch" } ] } }, "\/wc\/v3\/products\/shipping_classes": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji. Dotyczy tylko taksonomii hierarchicznych.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj wed\u0142ug atrybutu zasobu.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Czy ukry\u0107 zasoby nieprzypisane do \u017cadnego produktu.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danego elementu nadrz\u0119dnego. Dotyczy tylko taksonomii hierarchicznych.", "type": "integer", "required": false }, "product": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danego produktu.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danej nazwy skr\u00f3conej (slug).", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Nazwa dla zasobu.", "required": true }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "name": { "description": "Nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c zas\u00f3b nie obs\u0142uguje wyrzucania do kosza.", "required": false } } } ] }, "\/wc\/v3\/products\/shipping_classes\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji. Dotyczy tylko taksonomii hierarchicznych.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj wed\u0142ug atrybutu zasobu.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Czy ukry\u0107 zasoby nieprzypisane do \u017cadnego produktu.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danego elementu nadrz\u0119dnego. Dotyczy tylko taksonomii hierarchicznych.", "type": "integer", "required": false }, "product": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danego produktu.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Ogranicz zestaw wynik\u00f3w do zasob\u00f3w przypisanych do danej nazwy skr\u00f3conej (slug).", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "type": "string", "description": "Nazwa dla zasobu.", "required": true }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "name": { "description": "Nazwa tagu.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c zas\u00f3b nie obs\u0142uguje wyrzucania do kosza.", "required": false } } } ] }, "\/wc\/v3\/products\/tags\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nazwa tagu.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator zasobu unikalny dla tego typu.", "type": "string", "required": false }, "description": { "description": "Opis zasobu w HTML.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/products\/tags\/batch" } ] } }, "\/wc\/v3\/products": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ogranicz wynik do zasob\u00f3w zmienionych po danej dacie zgodnej z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ogranicz odpowied\u017a do zasob\u00f3w zmienionych przed dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Czy bra\u0107 pod uwag\u0119 daty GMT publikacji lub modyfikacji podczas ograniczania odpowiedzi.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "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": "Ogranicz zestaw wynik\u00f3w do tych z okre\u015blonych identyfikator\u00f3w nadrz\u0119dnych.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Ogranicz zestaw wynik\u00f3w do wszystkich element\u00f3w z wyj\u0105tkiem tych o okre\u015blonym identyfikatorze nadrz\u0119dnym.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "brand": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w przypisanych do okre\u015blonego identyfikatora marki.", "type": "string", "required": false }, "slug": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z dan\u0105 nazw\u0105 skr\u00f3con\u0105 (slug).", "type": "string", "required": false }, "status": { "default": "any", "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z danym statusem.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w danego typu.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription" ], "required": false }, "sku": { "description": "Ogranicz wyniki do produkt\u00f3w z wybranymi SKU. U\u017cyj przecink\u00f3w, aby rozdzieli\u0107 dane.", "type": "string", "required": false }, "featured": { "description": "Ogranicz wyniki do wyr\u00f3\u017cnionych produkt\u00f3w.", "type": "boolean", "required": false }, "category": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w w danej kategorii.", "type": "string", "required": false }, "tag": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z danym tagiem.", "type": "string", "required": false }, "shipping_class": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z dan\u0105 klas\u0105 wysy\u0142kow\u0105.", "type": "string", "required": false }, "attribute": { "description": "Ogranicz wyniki do produkt\u00f3w z wybranych atrybutem. U\u017cyj nazwy taksonomii lub bezpo\u015bredniego odno\u015bnika atrybutu.", "type": "string", "required": false }, "attribute_term": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z danym atrybutem (atrybut musi by\u0107 przypisany).", "type": "string", "required": false }, "on_sale": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w w promocji.", "type": "boolean", "required": false }, "min_price": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z minimaln\u0105 cen\u0105.", "type": "string", "required": false }, "max_price": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z maksymaln\u0105 cen\u0105.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Ogranicz metadane do wybranych kluczy.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Upewnij si\u0119, \u017ce metadane wykluczaj\u0105 okre\u015blone klucze.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Ogranicz wyniki do produkt\u00f3w z okre\u015blonym stanem magazynowym.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "search_sku": { "description": "Ogranicz wyniki do SKU cz\u0119\u015bciowo pasuj\u0105cych do frazy.", "type": "string", "required": false }, "include_status": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w o dowolnym statusie.", "type": "array", "items": { "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "exclude_status": { "description": "Wyklucz produkty o dowolnym statusie z zestawu wynik\u00f3w.", "type": "array", "items": { "type": "string", "enum": [ "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "include_types": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w dowolnego rodzaju.", "type": "array", "items": { "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription" ] }, "required": false }, "exclude_types": { "description": "Wyklucz produkty z dowolnym rodzajem z zestawu wynik\u00f3w.", "type": "array", "items": { "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription" ] }, "required": false }, "downloadable": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w do pobrania.", "type": "boolean", "required": false }, "virtual": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w wirtualnych.", "type": "boolean", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Nazwa produktu.", "type": "string", "required": false }, "slug": { "description": "Uproszczona nazwa produktu.", "type": "string", "required": false }, "date_created": { "description": "Data dodania produktu zosta\u0142a utworzona w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Data utworzenia produktu (GMT).", "type": [ "null", "string" ], "required": false }, "type": { "default": "simple", "description": "Typ produktu.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription" ], "required": false }, "status": { "default": "publish", "description": "Status produktu (status publikacji).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "default": false, "description": "Produkt wyr\u00f3\u017cniony.", "type": "boolean", "required": false }, "catalog_visibility": { "default": "visible", "description": "Widoczno\u015b\u0107 w sklepie.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Opis produktu.", "type": "string", "required": false }, "short_description": { "description": "Kr\u00f3tki opis produktu.", "type": "string", "required": false }, "sku": { "description": "Jednostka magazynowa (SKU).", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN lub ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Cena produktu.", "type": "string", "required": false }, "sale_price": { "description": "Cena produktu po przecenie.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data rozpocz\u0119cia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Data rozpocz\u0119cia promocji (GMT).", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "virtual": { "default": false, "description": "Czy produkt jest wirtualny.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Je\u015bli produkt jest do pobrania.", "type": "boolean", "required": false }, "downloads": { "description": "Lista plik\u00f3w do pobrania.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer", "required": false }, "external_url": { "description": "Zewn\u0119trzny URL produktu. Tylko dla produkt\u00f3w zewn\u0119trznych.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Tekst przycisku produktu zewn\u0119trznego. Tylko dla produkt\u00f3w zewn\u0119trznych.", "type": "string", "required": false }, "tax_status": { "default": "taxable", "description": "Status podatku.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Klasa podatkowa.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Zarz\u0105dzanie stanem magazynowym na poziomie produktu.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stan magazynowy.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Kontroluje stan magazynowy produktu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Niski stan magazynowy dla tego produktu.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "default": false, "description": "Pozw\u00f3l na zakup tylko jednej sztuki produktu w zam\u00f3wieniu.", "type": "boolean", "required": false }, "weight": { "description": "Waga produktu (kg).", "type": "string", "required": false }, "dimensions": { "description": "Rozmiary produktu.", "type": "object", "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "reviews_allowed": { "default": true, "description": "Pozwalaj na opinie.", "type": "boolean", "required": false }, "post_password": { "description": "Has\u0142o do wpisu.", "type": "string", "required": false }, "upsell_ids": { "description": "Lista ID produkt\u00f3w up-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Lista ID produkt\u00f3w cross-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "ID nadrz\u0119dnego produktu.", "type": "integer", "required": false }, "purchase_note": { "description": "Opcjonalna notatka wysy\u0142ana do klienta po zakupie.", "type": "string", "required": false }, "categories": { "description": "Lista kategorii.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID kategorii.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa kategorii.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Uproszczona nazwa kategorii.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Lista tag\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID tagu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa tagu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Uproszczona nazwa tagu.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Lista obrazk\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Lista atrybut\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Pozycja atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Ustaw jesli atrybut ma by\u0107 widoczny w \"Dodtkowe informacje\" na stronie produktu.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Ustaw je\u015bli atrybut mo\u017ce by\u0107 u\u017cywany jako wariant.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Lista dostepnych warto\u015bci atrybutu.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Domy\u015blne atrybuty wariantu.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, u\u017cywana dla w\u0142asnego sortowania produkt\u00f3w.", "type": "integer", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "jetpack_sharing_enabled": { "description": "Are sharing buttons enabled?", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "name": { "description": "Nazwa produktu.", "type": "string", "required": false }, "slug": { "description": "Uproszczona nazwa produktu.", "type": "string", "required": false }, "date_created": { "description": "Data dodania produktu zosta\u0142a utworzona w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Data utworzenia produktu (GMT).", "type": [ "null", "string" ], "required": false }, "type": { "description": "Typ produktu.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription" ], "required": false }, "status": { "description": "Status produktu (status publikacji).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "description": "Produkt wyr\u00f3\u017cniony.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Widoczno\u015b\u0107 w sklepie.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Opis produktu.", "type": "string", "required": false }, "short_description": { "description": "Kr\u00f3tki opis produktu.", "type": "string", "required": false }, "sku": { "description": "Jednostka magazynowa (SKU).", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN lub ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Cena produktu.", "type": "string", "required": false }, "sale_price": { "description": "Cena produktu po przecenie.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data rozpocz\u0119cia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Data rozpocz\u0119cia promocji (GMT).", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "Czy produkt jest wirtualny.", "type": "boolean", "required": false }, "downloadable": { "description": "Je\u015bli produkt jest do pobrania.", "type": "boolean", "required": false }, "downloads": { "description": "Lista plik\u00f3w do pobrania.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer", "required": false }, "download_expiry": { "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer", "required": false }, "external_url": { "description": "Zewn\u0119trzny URL produktu. Tylko dla produkt\u00f3w zewn\u0119trznych.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Tekst przycisku produktu zewn\u0119trznego. Tylko dla produkt\u00f3w zewn\u0119trznych.", "type": "string", "required": false }, "tax_status": { "description": "Status podatku.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Klasa podatkowa.", "type": "string", "required": false }, "manage_stock": { "description": "Zarz\u0105dzanie stanem magazynowym na poziomie produktu.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stan magazynowy.", "type": "integer", "required": false }, "stock_status": { "description": "Kontroluje stan magazynowy produktu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Niski stan magazynowy dla tego produktu.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "description": "Pozw\u00f3l na zakup tylko jednej sztuki produktu w zam\u00f3wieniu.", "type": "boolean", "required": false }, "weight": { "description": "Waga produktu (kg).", "type": "string", "required": false }, "dimensions": { "description": "Rozmiary produktu.", "type": "object", "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "reviews_allowed": { "description": "Pozwalaj na opinie.", "type": "boolean", "required": false }, "post_password": { "description": "Has\u0142o do wpisu.", "type": "string", "required": false }, "upsell_ids": { "description": "Lista ID produkt\u00f3w up-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Lista ID produkt\u00f3w cross-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "ID nadrz\u0119dnego produktu.", "type": "integer", "required": false }, "purchase_note": { "description": "Opcjonalna notatka wysy\u0142ana do klienta po zakupie.", "type": "string", "required": false }, "categories": { "description": "Lista kategorii.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID kategorii.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa kategorii.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Uproszczona nazwa kategorii.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Lista tag\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID tagu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa tagu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Uproszczona nazwa tagu.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Lista obrazk\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Lista atrybut\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Pozycja atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Ustaw jesli atrybut ma by\u0107 widoczny w \"Dodtkowe informacje\" na stronie produktu.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Ustaw je\u015bli atrybut mo\u017ce by\u0107 u\u017cywany jako wariant.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Lista dostepnych warto\u015bci atrybutu.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Domy\u015blne atrybuty wariantu.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, u\u017cywana dla w\u0142asnego sortowania produkt\u00f3w.", "type": "integer", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "jetpack_sharing_enabled": { "description": "Are sharing buttons enabled?", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": false, "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "type": "boolean", "required": false } } } ] }, "\/wc\/v3\/products\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Nazwa produktu.", "type": "string", "required": false }, "slug": { "description": "Uproszczona nazwa produktu.", "type": "string", "required": false }, "date_created": { "description": "Data dodania produktu zosta\u0142a utworzona w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Data utworzenia produktu (GMT).", "type": [ "null", "string" ], "required": false }, "type": { "description": "Typ produktu.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription" ], "required": false }, "status": { "description": "Status produktu (status publikacji).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "description": "Produkt wyr\u00f3\u017cniony.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Widoczno\u015b\u0107 w sklepie.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Opis produktu.", "type": "string", "required": false }, "short_description": { "description": "Kr\u00f3tki opis produktu.", "type": "string", "required": false }, "sku": { "description": "Jednostka magazynowa (SKU).", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN lub ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Cena produktu.", "type": "string", "required": false }, "sale_price": { "description": "Cena produktu po przecenie.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data rozpocz\u0119cia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Data rozpocz\u0119cia promocji (GMT).", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "Czy produkt jest wirtualny.", "type": "boolean", "required": false }, "downloadable": { "description": "Je\u015bli produkt jest do pobrania.", "type": "boolean", "required": false }, "downloads": { "description": "Lista plik\u00f3w do pobrania.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer", "required": false }, "download_expiry": { "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer", "required": false }, "external_url": { "description": "Zewn\u0119trzny URL produktu. Tylko dla produkt\u00f3w zewn\u0119trznych.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Tekst przycisku produktu zewn\u0119trznego. Tylko dla produkt\u00f3w zewn\u0119trznych.", "type": "string", "required": false }, "tax_status": { "description": "Status podatku.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Klasa podatkowa.", "type": "string", "required": false }, "manage_stock": { "description": "Zarz\u0105dzanie stanem magazynowym na poziomie produktu.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stan magazynowy.", "type": "integer", "required": false }, "stock_status": { "description": "Kontroluje stan magazynowy produktu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Niski stan magazynowy dla tego produktu.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "description": "Pozw\u00f3l na zakup tylko jednej sztuki produktu w zam\u00f3wieniu.", "type": "boolean", "required": false }, "weight": { "description": "Waga produktu (kg).", "type": "string", "required": false }, "dimensions": { "description": "Rozmiary produktu.", "type": "object", "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "reviews_allowed": { "description": "Pozwalaj na opinie.", "type": "boolean", "required": false }, "post_password": { "description": "Has\u0142o do wpisu.", "type": "string", "required": false }, "upsell_ids": { "description": "Lista ID produkt\u00f3w up-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Lista ID produkt\u00f3w cross-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "ID nadrz\u0119dnego produktu.", "type": "integer", "required": false }, "purchase_note": { "description": "Opcjonalna notatka wysy\u0142ana do klienta po zakupie.", "type": "string", "required": false }, "categories": { "description": "Lista kategorii.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID kategorii.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa kategorii.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Uproszczona nazwa kategorii.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Lista tag\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID tagu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa tagu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Uproszczona nazwa tagu.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Lista obrazk\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Lista atrybut\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Pozycja atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Ustaw jesli atrybut ma by\u0107 widoczny w \"Dodtkowe informacje\" na stronie produktu.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Ustaw je\u015bli atrybut mo\u017ce by\u0107 u\u017cywany jako wariant.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Lista dostepnych warto\u015bci atrybutu.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Domy\u015blne atrybuty wariantu.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, u\u017cywana dla w\u0142asnego sortowania produkt\u00f3w.", "type": "integer", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "jetpack_sharing_enabled": { "description": "Are sharing buttons enabled?", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/products\/batch" } ] } }, "\/wc\/v3\/products\/suggested-products": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ogranicz wynik do zasob\u00f3w zmienionych po danej dacie zgodnej z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ogranicz odpowied\u017a do zasob\u00f3w zmienionych przed dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Czy bra\u0107 pod uwag\u0119 daty GMT publikacji lub modyfikacji podczas ograniczania odpowiedzi.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "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": "Ogranicz zestaw wynik\u00f3w do tych z okre\u015blonych identyfikator\u00f3w nadrz\u0119dnych.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Ogranicz zestaw wynik\u00f3w do wszystkich element\u00f3w z wyj\u0105tkiem tych o okre\u015blonym identyfikatorze nadrz\u0119dnym.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "brand": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w przypisanych do okre\u015blonego identyfikatora marki.", "type": "string", "required": false }, "slug": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z dan\u0105 nazw\u0105 skr\u00f3con\u0105 (slug).", "type": "string", "required": false }, "status": { "default": "any", "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z danym statusem.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "type": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w danego typu.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription" ], "required": false }, "sku": { "description": "Ogranicz wyniki do produkt\u00f3w z wybranymi SKU. U\u017cyj przecink\u00f3w, aby rozdzieli\u0107 dane.", "type": "string", "required": false }, "featured": { "description": "Ogranicz wyniki do wyr\u00f3\u017cnionych produkt\u00f3w.", "type": "boolean", "required": false }, "category": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w w danej kategorii.", "type": "string", "required": false }, "tag": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z danym tagiem.", "type": "string", "required": false }, "shipping_class": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z dan\u0105 klas\u0105 wysy\u0142kow\u0105.", "type": "string", "required": false }, "attribute": { "description": "Ogranicz wyniki do produkt\u00f3w z wybranych atrybutem. U\u017cyj nazwy taksonomii lub bezpo\u015bredniego odno\u015bnika atrybutu.", "type": "string", "required": false }, "attribute_term": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z danym atrybutem (atrybut musi by\u0107 przypisany).", "type": "string", "required": false }, "in_stock": { "description": "Ogranicz wyniki do produkt\u00f3w na stanie magazynowym lub niedost\u0119pnych.", "type": "boolean", "required": false }, "on_sale": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w w promocji.", "type": "boolean", "required": false }, "min_price": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z minimaln\u0105 cen\u0105.", "type": "string", "required": false }, "max_price": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z maksymaln\u0105 cen\u0105.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Ogranicz metadane do wybranych kluczy.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Upewnij si\u0119, \u017ce metadane wykluczaj\u0105 okre\u015blone klucze.", "type": "array", "items": { "type": "string" }, "required": false }, "categories": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonych identyfikator\u00f3w kategorii produkt\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "tags": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonych identyfikator\u00f3w tag\u00f3w produkt\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "limit": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonej liczby sugerowanych produkt\u00f3w.", "type": "integer", "default": 5, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/products\/suggested-products" } ] } }, "\/wc\/v3\/products\/(?P[\\d]+)\/duplicate": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "name": { "description": "Nazwa produktu.", "type": "string", "required": false }, "slug": { "description": "Uproszczona nazwa produktu.", "type": "string", "required": false }, "date_created": { "description": "Data dodania produktu zosta\u0142a utworzona w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_created_gmt": { "description": "Data utworzenia produktu (GMT).", "type": [ "null", "string" ], "required": false }, "type": { "description": "Typ produktu.", "type": "string", "enum": [ "simple", "grouped", "external", "variable", "subscription", "variable-subscription" ], "required": false }, "status": { "description": "Status produktu (status publikacji).", "type": "string", "enum": [ "draft", "pending", "private", "publish", "future", "auto-draft", "trash" ], "required": false }, "featured": { "description": "Produkt wyr\u00f3\u017cniony.", "type": "boolean", "required": false }, "catalog_visibility": { "description": "Widoczno\u015b\u0107 w sklepie.", "type": "string", "enum": [ "visible", "catalog", "search", "hidden" ], "required": false }, "description": { "description": "Opis produktu.", "type": "string", "required": false }, "short_description": { "description": "Kr\u00f3tki opis produktu.", "type": "string", "required": false }, "sku": { "description": "Jednostka magazynowa (SKU).", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN lub ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Cena produktu.", "type": "string", "required": false }, "sale_price": { "description": "Cena produktu po przecenie.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data rozpocz\u0119cia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Data rozpocz\u0119cia promocji (GMT).", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "virtual": { "description": "Czy produkt jest wirtualny.", "type": "boolean", "required": false }, "downloadable": { "description": "Je\u015bli produkt jest do pobrania.", "type": "boolean", "required": false }, "downloads": { "description": "Lista plik\u00f3w do pobrania.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer", "required": false }, "download_expiry": { "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer", "required": false }, "external_url": { "description": "Zewn\u0119trzny URL produktu. Tylko dla produkt\u00f3w zewn\u0119trznych.", "type": "string", "format": "uri", "required": false }, "button_text": { "description": "Tekst przycisku produktu zewn\u0119trznego. Tylko dla produkt\u00f3w zewn\u0119trznych.", "type": "string", "required": false }, "tax_status": { "description": "Status podatku.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Klasa podatkowa.", "type": "string", "required": false }, "manage_stock": { "description": "Zarz\u0105dzanie stanem magazynowym na poziomie produktu.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stan magazynowy.", "type": "integer", "required": false }, "stock_status": { "description": "Kontroluje stan magazynowy produktu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Niski stan magazynowy dla tego produktu.", "type": [ "integer", "null" ], "required": false }, "sold_individually": { "description": "Pozw\u00f3l na zakup tylko jednej sztuki produktu w zam\u00f3wieniu.", "type": "boolean", "required": false }, "weight": { "description": "Waga produktu (kg).", "type": "string", "required": false }, "dimensions": { "description": "Rozmiary produktu.", "type": "object", "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 produktu (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "reviews_allowed": { "description": "Pozwalaj na opinie.", "type": "boolean", "required": false }, "post_password": { "description": "Has\u0142o do wpisu.", "type": "string", "required": false }, "upsell_ids": { "description": "Lista ID produkt\u00f3w up-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "cross_sell_ids": { "description": "Lista ID produkt\u00f3w cross-sell.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_id": { "description": "ID nadrz\u0119dnego produktu.", "type": "integer", "required": false }, "purchase_note": { "description": "Opcjonalna notatka wysy\u0142ana do klienta po zakupie.", "type": "string", "required": false }, "categories": { "description": "Lista kategorii.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID kategorii.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa kategorii.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Uproszczona nazwa kategorii.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "tags": { "description": "Lista tag\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID tagu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa tagu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "slug": { "description": "Uproszczona nazwa tagu.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "images": { "description": "Lista obrazk\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "attributes": { "description": "Lista atrybut\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "position": { "description": "Pozycja atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "visible": { "description": "Ustaw jesli atrybut ma by\u0107 widoczny w \"Dodtkowe informacje\" na stronie produktu.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "variation": { "description": "Ustaw je\u015bli atrybut mo\u017ce by\u0107 u\u017cywany jako wariant.", "type": "boolean", "default": false, "context": [ "view", "edit" ] }, "options": { "description": "Lista dostepnych warto\u015bci atrybutu.", "type": "array", "items": { "type": "string" }, "context": [ "view", "edit" ] } } }, "required": false }, "default_attributes": { "description": "Domy\u015blne atrybuty wariantu.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, u\u017cywana dla w\u0142asnego sortowania produkt\u00f3w.", "type": "integer", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "jetpack_sharing_enabled": { "description": "Are sharing buttons enabled?", "type": "boolean", "required": false } } } ] }, "\/wc\/v3\/products\/(?P[\\d]+)\/variations": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "description": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ogranicz wynik do zasob\u00f3w zmienionych po danej dacie zgodnej z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ogranicz odpowied\u017a do zasob\u00f3w zmienionych przed dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Czy bra\u0107 pod uwag\u0119 daty GMT publikacji lub modyfikacji podczas ograniczania odpowiedzi.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified", "menu_order" ], "required": false }, "parent": { "description": "Ogranicz zestaw wynik\u00f3w do tych z okre\u015blonych identyfikator\u00f3w nadrz\u0119dnych.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Ogranicz zestaw wynik\u00f3w do wszystkich element\u00f3w z wyj\u0105tkiem tych o okre\u015blonym identyfikatorze nadrz\u0119dnym.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "slug": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z dan\u0105 nazw\u0105 skr\u00f3con\u0105 (slug).", "type": "string", "required": false }, "status": { "default": "any", "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z danym statusem.", "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ], "required": false }, "sku": { "description": "Ogranicz wyniki do produkt\u00f3w z wybranymi SKU. U\u017cyj przecink\u00f3w, aby rozdzieli\u0107 dane.", "type": "string", "required": false }, "on_sale": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w w promocji.", "type": "boolean", "required": false }, "min_price": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z minimaln\u0105 cen\u0105.", "type": "string", "required": false }, "max_price": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z maksymaln\u0105 cen\u0105.", "type": "string", "required": false }, "include_meta": { "default": [], "description": "Ogranicz metadane do wybranych kluczy.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Upewnij si\u0119, \u017ce metadane wykluczaj\u0105 okre\u015blone klucze.", "type": "array", "items": { "type": "string" }, "required": false }, "stock_status": { "description": "Ogranicz wyniki do produkt\u00f3w z okre\u015blonym stanem magazynowym.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "has_price": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z cen\u0105 lub bez.", "type": "boolean", "required": false }, "attributes": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w z okre\u015blonymi atrybutami.", "type": "array", "items": { "type": "object", "properties": { "attribute": { "type": "string", "description": "Bezpo\u015bredni odno\u015bnik atrybutu." }, "term": { "type": "string", "description": "Termin atrybutu." }, "terms": { "type": "array", "description": "Okre\u015blenia atrybut\u00f3w." } } }, "required": false }, "virtual": { "description": "Ogranicz zestaw wynik\u00f3w do wariant\u00f3w wirtualnych produkt\u00f3w.", "type": "boolean", "required": false }, "downloadable": { "description": "Ogranicz zestaw wynik\u00f3w do wariant\u00f3w produkt\u00f3w do pobrania.", "type": "boolean", "required": false }, "include_status": { "description": "Ogranicz zestaw wynik\u00f3w do wariant\u00f3w produkt\u00f3w o dowolnym statusie.", "type": "array", "items": { "type": "string", "enum": [ "any", "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false }, "exclude_status": { "description": "Wyklucz z zestawu wynik\u00f3w warianty produkt\u00f3w o dowolnym statusie.", "type": "array", "items": { "type": "string", "enum": [ "future", "trash", "draft", "pending", "private", "publish" ] }, "required": false } } }, { "methods": [ "POST" ], "args": { "product_id": { "description": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "description": { "description": "Opis wariantu.", "type": "string", "required": false }, "sku": { "description": "Jednostka magazynowa (SKU).", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN lub ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Cena wariantu.", "type": "string", "required": false }, "sale_price": { "description": "Cena promocyjna wariantu.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data rozpocz\u0119cia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Data rozpocz\u0119cia promocji (GMT).", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "status": { "default": "publish", "description": "Status wariantu.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "default": false, "description": "Je\u015bli wariant jest wirtualny.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Je\u015bli wariant jest do pobrania.", "type": "boolean", "required": false }, "downloads": { "description": "Lista plik\u00f3w do pobrania.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "Status podatku.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Klasa podatkowa.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Zarz\u0105dzanie stanem magazynowym na poziomie wariantu.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stan magazynowy.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Kontroluje stan magazynowy produktu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Niski stan magazynowy dla tego wariantu.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Waga wariantu (kg).", "type": "string", "required": false }, "dimensions": { "description": "Wymiary wariantu.", "type": "object", "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "image": { "description": "Dane obrazka wariantu.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista atrybut\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, u\u017cywana dla w\u0142asnego sortowania produkt\u00f3w.", "type": "integer", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ] }, "\/wc\/v3\/products\/(?P[\\d]+)\/variations\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "product_id": { "description": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "id": { "description": "Unikalny identyfikator wariantu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "product_id": { "description": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "id": { "description": "Unikalny identyfikator wariantu.", "type": "integer", "required": false }, "description": { "description": "Opis wariantu.", "type": "string", "required": false }, "sku": { "description": "Jednostka magazynowa (SKU).", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN lub ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Cena wariantu.", "type": "string", "required": false }, "sale_price": { "description": "Cena promocyjna wariantu.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data rozpocz\u0119cia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Data rozpocz\u0119cia promocji (GMT).", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "status": { "description": "Status wariantu.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "description": "Je\u015bli wariant jest wirtualny.", "type": "boolean", "required": false }, "downloadable": { "description": "Je\u015bli wariant jest do pobrania.", "type": "boolean", "required": false }, "downloads": { "description": "Lista plik\u00f3w do pobrania.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer", "required": false }, "download_expiry": { "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer", "required": false }, "tax_status": { "description": "Status podatku.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Klasa podatkowa.", "type": "string", "required": false }, "manage_stock": { "description": "Zarz\u0105dzanie stanem magazynowym na poziomie wariantu.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stan magazynowy.", "type": "integer", "required": false }, "stock_status": { "description": "Kontroluje stan magazynowy produktu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Niski stan magazynowy dla tego wariantu.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Waga wariantu (kg).", "type": "string", "required": false }, "dimensions": { "description": "Wymiary wariantu.", "type": "object", "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "image": { "description": "Dane obrazka wariantu.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista atrybut\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, u\u017cywana dla w\u0142asnego sortowania produkt\u00f3w.", "type": "integer", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "product_id": { "description": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "id": { "description": "Unikalny identyfikator wariantu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "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": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "description": { "description": "Opis wariantu.", "type": "string", "required": false }, "sku": { "description": "Jednostka magazynowa (SKU).", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN lub ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Cena wariantu.", "type": "string", "required": false }, "sale_price": { "description": "Cena promocyjna wariantu.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data rozpocz\u0119cia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Data rozpocz\u0119cia promocji (GMT).", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "status": { "description": "Status wariantu.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "description": "Je\u015bli wariant jest wirtualny.", "type": "boolean", "required": false }, "downloadable": { "description": "Je\u015bli wariant jest do pobrania.", "type": "boolean", "required": false }, "downloads": { "description": "Lista plik\u00f3w do pobrania.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer", "required": false }, "download_expiry": { "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer", "required": false }, "tax_status": { "description": "Status podatku.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Klasa podatkowa.", "type": "string", "required": false }, "manage_stock": { "description": "Zarz\u0105dzanie stanem magazynowym na poziomie wariantu.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stan magazynowy.", "type": "integer", "required": false }, "stock_status": { "description": "Kontroluje stan magazynowy produktu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Niski stan magazynowy dla tego wariantu.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Waga wariantu (kg).", "type": "string", "required": false }, "dimensions": { "description": "Wymiary wariantu.", "type": "object", "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "image": { "description": "Dane obrazka wariantu.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista atrybut\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, u\u017cywana dla w\u0142asnego sortowania produkt\u00f3w.", "type": "integer", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ] }, "\/wc\/v3\/products\/(?P[\\d]+)\/variations\/generate": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "product_id": { "description": "Unikalny identyfikator produktu z wariantami.", "type": "integer", "required": false }, "delete": { "description": "Usuwa nieu\u017cywane odmiany.", "type": "boolean", "required": false }, "default_values": { "description": "Warto\u015bci domy\u015blne dla generowanych odmian.", "type": "object", "properties": { "description": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Opis wariantu.", "type": "string" }, "sku": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Jednostka magazynowa (SKU).", "type": "string" }, "global_unique_id": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "GTIN, UPC, EAN lub ISBN.", "type": "string" }, "regular_price": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Cena wariantu.", "type": "string" }, "sale_price": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Cena promocyjna wariantu.", "type": "string" }, "date_on_sale_from": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Data rozpocz\u0119cia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ] }, "date_on_sale_from_gmt": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Data rozpocz\u0119cia promocji (GMT).", "type": [ "null", "string" ] }, "date_on_sale_to": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ] }, "date_on_sale_to_gmt": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ] }, "status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Status wariantu.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ] }, "virtual": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Je\u015bli wariant jest wirtualny.", "type": "boolean" }, "downloadable": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Je\u015bli wariant jest do pobrania.", "type": "boolean" }, "downloads": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Lista plik\u00f3w do pobrania.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } } }, "download_limit": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer" }, "download_expiry": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer" }, "tax_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Status podatku.", "type": "string", "enum": [ "taxable", "shipping", "none" ] }, "tax_class": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Klasa podatkowa.", "type": "string" }, "manage_stock": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Zarz\u0105dzanie stanem magazynowym na poziomie wariantu.", "type": "boolean" }, "stock_quantity": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Stan magazynowy.", "type": "integer" }, "stock_status": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Kontroluje stan magazynowy produktu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ] }, "backorders": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "enum": [ "no", "notify", "yes" ] }, "low_stock_amount": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Niski stan magazynowy dla tego wariantu.", "type": [ "integer", "null" ] }, "weight": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Waga wariantu (kg).", "type": "string" }, "dimensions": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Wymiary wariantu.", "type": "object", "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] } } }, "shipping_class": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string" }, "image": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Dane obrazka wariantu.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } } }, "attributes": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Lista atrybut\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } } }, "menu_order": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Kolejno\u015b\u0107, u\u017cywana dla w\u0142asnego sortowania produkt\u00f3w.", "type": "integer" }, "meta_data": { "validate_callback": "rest_validate_request_arg", "sanitize_callback": "rest_sanitize_request_arg", "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } }, "required": false }, "description": { "description": "Opis wariantu.", "type": "string", "required": false }, "sku": { "description": "Jednostka magazynowa (SKU).", "type": "string", "required": false }, "global_unique_id": { "description": "GTIN, UPC, EAN lub ISBN.", "type": "string", "required": false }, "regular_price": { "description": "Cena wariantu.", "type": "string", "required": false }, "sale_price": { "description": "Cena promocyjna wariantu.", "type": "string", "required": false }, "date_on_sale_from": { "description": "Data rozpocz\u0119cia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_from_gmt": { "description": "Data rozpocz\u0119cia promocji (GMT).", "type": [ "null", "string" ], "required": false }, "date_on_sale_to": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "date_on_sale_to_gmt": { "description": "Data zako\u0144czenia promocji, w strefie czasowej witryny.", "type": [ "null", "string" ], "required": false }, "status": { "default": "publish", "description": "Status wariantu.", "type": "string", "enum": [ "draft", "pending", "private", "publish" ], "required": false }, "virtual": { "default": false, "description": "Je\u015bli wariant jest wirtualny.", "type": "boolean", "required": false }, "downloadable": { "default": false, "description": "Je\u015bli wariant jest do pobrania.", "type": "boolean", "required": false }, "downloads": { "description": "Lista plik\u00f3w do pobrania.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator pliku.", "type": "string", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa pliku.", "type": "string", "context": [ "view", "edit" ] }, "file": { "description": "URL pliku", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "download_limit": { "default": -1, "description": "Ile razy mo\u017cna pobra\u0107 plik po zakupie.", "type": "integer", "required": false }, "download_expiry": { "default": -1, "description": "Liczba dni, kt\u00f3ra up\u0142ynie do wyga\u015bni\u0119cia dost\u0119pu do pobieranych plik\u00f3w.", "type": "integer", "required": false }, "tax_status": { "default": "taxable", "description": "Status podatku.", "type": "string", "enum": [ "taxable", "shipping", "none" ], "required": false }, "tax_class": { "description": "Klasa podatkowa.", "type": "string", "required": false }, "manage_stock": { "default": false, "description": "Zarz\u0105dzanie stanem magazynowym na poziomie wariantu.", "type": "boolean", "required": false }, "stock_quantity": { "description": "Stan magazynowy.", "type": "integer", "required": false }, "stock_status": { "default": "instock", "description": "Kontroluje stan magazynowy produktu.", "type": "string", "enum": [ "instock", "outofstock", "onbackorder" ], "required": false }, "backorders": { "default": "no", "description": "Kontroluje czy mo\u017cliwe s\u0105 zam\u00f3wienia oczekuj\u0105ce, je\u015bli w\u0142\u0105czone jest zarz\u0105dzanie stanem magazynowym.", "type": "string", "enum": [ "no", "notify", "yes" ], "required": false }, "low_stock_amount": { "description": "Niski stan magazynowy dla tego wariantu.", "type": [ "integer", "null" ], "required": false }, "weight": { "description": "Waga wariantu (kg).", "type": "string", "required": false }, "dimensions": { "description": "Wymiary wariantu.", "type": "object", "properties": { "length": { "description": "D\u0142ugo\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "width": { "description": "Szeroko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] }, "height": { "description": "Wysoko\u015b\u0107 wariantu (cm).", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping_class": { "description": "Uproszczona nazwa klasy wysy\u0142kowej.", "type": "string", "required": false }, "image": { "description": "Dane obrazka wariantu.", "type": "object", "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "date_created": { "description": "Data utworzenia obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_created_gmt": { "description": "Data utworzenia obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified": { "description": "Data ostatniej modyfikacji obrazka na podstawie strefy czasowej witryny.", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "date_modified_gmt": { "description": "Data ostatniej modyfikacji obrazka (GMT).", "type": [ "null", "string" ], "context": [ "view", "edit" ], "readonly": true }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa obrazka.", "type": "string", "context": [ "view", "edit" ] }, "alt": { "description": "Alternatywny opis obrazka.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "attributes": { "description": "Lista atrybut\u00f3w.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "ID atrybutu.", "type": "integer", "context": [ "view", "edit" ] }, "name": { "description": "Nazwa atrybutu.", "type": "string", "context": [ "view", "edit" ] }, "option": { "description": "Wybrana nazwa atrybutu taksonomii.", "type": "string", "context": [ "view", "edit" ] } } }, "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107, u\u017cywana dla w\u0142asnego sortowania produkt\u00f3w.", "type": "integer", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false } } } ] }, "\/wc\/v3\/refunds": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ogranicz wynik do zasob\u00f3w zmienionych po danej dacie zgodnej z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ogranicz odpowied\u017a do zasob\u00f3w zmienionych przed dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Czy bra\u0107 pod uwag\u0119 daty GMT publikacji lub modyfikacji podczas ograniczania odpowiedzi.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "parent": { "description": "Ogranicz zestaw wynik\u00f3w do tych z okre\u015blonych identyfikator\u00f3w nadrz\u0119dnych.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Ogranicz zestaw wynik\u00f3w do wszystkich element\u00f3w z wyj\u0105tkiem tych o okre\u015blonym identyfikatorze nadrz\u0119dnym.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "dp": { "default": 2, "description": "Liczba miejsc dziesi\u0119tnych u\u017cywanych w ka\u017cdym zasobie.", "type": "integer", "required": false }, "order_item_display_meta": { "default": false, "description": "Pokazuj wy\u0142\u0105cznie dane meta przeznaczone do wy\u015bwietlania dla zam\u00f3wie\u0144.", "type": "boolean", "required": false }, "include_meta": { "default": [], "description": "Ogranicz metadane do wybranych kluczy.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Upewnij si\u0119, \u017ce metadane wykluczaj\u0105 okre\u015blone klucze.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/refunds" } ] } }, "\/wc\/v3\/reports\/sales": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "period": { "description": "Okres raportu.", "type": "string", "enum": [ "week", "month", "last_month", "year" ], "required": false }, "date_min": { "description": "Zwraca sprzeda\u017c dla konkretnej pocz\u0105tkowej daty. Data musi by\u0107 w formacie YYYY-MM-DD.", "type": "string", "format": "date", "required": false }, "date_max": { "description": "Zwraca sprzeda\u017c dla konkretnej ko\u0144cowej daty. Data musi by\u0107 w formacie YYYY-MM-DD.", "type": "string", "format": "date", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/reports\/sales" } ] } }, "\/wc\/v3\/reports\/top_sellers": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "period": { "description": "Okres raportu.", "type": "string", "enum": [ "week", "month", "last_month", "year" ], "required": false }, "date_min": { "description": "Zwraca sprzeda\u017c dla konkretnej pocz\u0105tkowej daty. Data musi by\u0107 w formacie YYYY-MM-DD.", "type": "string", "format": "date", "required": false }, "date_max": { "description": "Zwraca sprzeda\u017c dla konkretnej ko\u0144cowej daty. Data musi by\u0107 w formacie YYYY-MM-DD.", "type": "string", "format": "date", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/reports\/top_sellers" } ] } }, "\/wc\/v3\/reports\/orders\/totals": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/reports\/orders\/totals" } ] } }, "\/wc\/v3\/reports\/products\/totals": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/reports\/products\/totals" } ] } }, "\/wc\/v3\/reports\/customers\/totals": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/reports\/customers\/totals" } ] } }, "\/wc\/v3\/reports\/coupons\/totals": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/reports\/coupons\/totals" } ] } }, "\/wc\/v3\/reports\/reviews\/totals": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/reports\/reviews\/totals" } ] } }, "\/wc\/v3\/reports": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/reports" } ] } }, "\/wc\/v3\/settings": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/settings\/batch" } ] } }, "\/wc\/v3\/settings\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "group": { "description": "ID grupy ustawie\u0144.", "type": "string", "required": false } } } ] }, "\/wc\/v3\/settings\/(?P[\\w-]+)\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "description": "ID grupy ustawie\u0144.", "type": "string", "required": false }, "value": { "description": "Warto\u015b\u0107 ustawienia.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "required": false } } } ] }, "\/wc\/v3\/settings\/(?P[\\w-]+)\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "group": { "description": "ID grupy ustawie\u0144.", "type": "string", "required": false }, "id": { "description": "Unikatowy identyfikator zasobu.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "group": { "description": "ID grupy ustawie\u0144.", "type": "string", "required": false }, "id": { "description": "Unikatowy identyfikator zasobu.", "type": "string", "required": false }, "value": { "description": "Warto\u015b\u0107 ustawienia.", "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": "Nazwa strefy wysy\u0142ki.", "required": true }, "order": { "description": "Kolejno\u015b\u0107 strefy wysy\u0142ki.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikalny ID zasobu.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikalny ID zasobu.", "type": "integer", "required": false }, "name": { "description": "Nazwa strefy wysy\u0142ki.", "type": "string", "required": false }, "order": { "description": "Kolejno\u015b\u0107 strefy wysy\u0142ki.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikalny ID zasobu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "required": false } } } ] }, "\/wc\/v3\/shipping\/zones\/(?P[\\d]+)\/locations": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unikalny ID zasobu.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikalny ID zasobu.", "type": "integer", "required": false }, "code": { "description": "Kod pocztowy strefy wysy\u0142ki.", "type": "string", "required": false }, "type": { "description": "Typ lokalizacji strefy wysy\u0142ki.", "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": "Unikalny ID strefy.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "zone_id": { "description": "Unikalny ID strefy.", "type": "integer", "required": false }, "order": { "description": "Sortowanie metod wysy\u0142ki.", "type": "integer", "required": false }, "enabled": { "description": "Status aktywacji metody wysy\u0142ki.", "type": "boolean", "required": false }, "settings": { "description": "Ustawienia metody wysy\u0142ki.", "type": "object", "properties": { "id": { "description": "Unikalny identyfikator dla ustawienia.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Etykieta ustawie\u0144 u\u017cytych w interfejsach, zrozumia\u0142a dla cz\u0142owieka.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "description": { "description": "Opis ustawie\u0144 u\u017cytych w interfejsach, zrozumia\u0142y dla cz\u0142owieka.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "type": { "description": "Typ ustawie\u0144.", "type": "string", "context": [ "view", "edit" ], "enum": [ "text", "email", "number", "color", "password", "textarea", "select", "multiselect", "radio", "image_width", "checkbox", "class", "order" ], "readonly": true }, "value": { "description": "Warto\u015b\u0107 ustawienia.", "type": "string", "context": [ "view", "edit" ] }, "default": { "description": "Domy\u015blna warto\u015b\u0107 dla ustawienia.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "tip": { "description": "Dodatkowa pomoc wy\u015bwietlana przy ustawieniu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "placeholder": { "description": "Placeholder dla p\u00f3l tekstowych.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "method_id": { "description": "ID metody wysy\u0142ki.", "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": "Unikalny ID strefy.", "type": "integer", "required": false }, "instance_id": { "description": "Unikalny ID instancji.", "type": "integer", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "zone_id": { "description": "Unikalny ID strefy.", "type": "integer", "required": false }, "instance_id": { "description": "Unikalny ID instancji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie metod wysy\u0142ki.", "type": "integer", "required": false }, "enabled": { "description": "Status aktywacji metody wysy\u0142ki.", "type": "boolean", "required": false }, "settings": { "description": "Ustawienia metody wysy\u0142ki.", "type": "object", "properties": { "id": { "description": "Unikalny identyfikator dla ustawienia.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Etykieta ustawie\u0144 u\u017cytych w interfejsach, zrozumia\u0142a dla cz\u0142owieka.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "description": { "description": "Opis ustawie\u0144 u\u017cytych w interfejsach, zrozumia\u0142y dla cz\u0142owieka.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "type": { "description": "Typ ustawie\u0144.", "type": "string", "context": [ "view", "edit" ], "enum": [ "text", "email", "number", "color", "password", "textarea", "select", "multiselect", "radio", "image_width", "checkbox", "class", "order" ], "readonly": true }, "value": { "description": "Warto\u015b\u0107 ustawienia.", "type": "string", "context": [ "view", "edit" ] }, "default": { "description": "Domy\u015blna warto\u015b\u0107 dla ustawienia.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "tip": { "description": "Dodatkowa pomoc wy\u015bwietlana przy ustawieniu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "placeholder": { "description": "Placeholder dla p\u00f3l tekstowych.", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "zone_id": { "description": "Unikalny ID strefy.", "type": "integer", "required": false }, "instance_id": { "description": "Unikalny ID instancji.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "required": false } } } ] }, "\/wc\/v3\/taxes\/classes": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Nazwa klasy podatkowej.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikalny slug zasobu.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "slug": { "description": "Unikalny slug zasobu.", "type": "string", "required": false }, "force": { "default": false, "type": "boolean", "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c zas\u00f3b nie obs\u0142uguje wyrzucania do kosza.", "required": false } } } ] }, "\/wc\/v3\/taxes": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "order", "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "enum": [ "id", "order", "priority" ], "type": "string", "required": false }, "class": { "description": "Sortuj wed\u0142ug klasy podatkowej.", "enum": [ "standard", "reduced-rate", "zero-rate" ], "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "country": { "description": "Kod ISO 3166 kraju.", "type": "string", "required": false }, "state": { "description": "Kod regionu.", "type": "string", "required": false }, "postcode": { "description": "Pole Kod pocztowy nie wspiera warto\u015bci wielokrotnych. Zosta\u0142o to uznane za przestarza\u0142\u0105 praktyk\u0119 w WooCommerce 5.3. Zamiast tego u\u017cyj pola 'postcodes'.", "type": "string", "required": false }, "city": { "description": "Pole Miasto nie wspiera warto\u015bci wielokrotnych. Zosta\u0142o to uznane za przestarza\u0142\u0105 praktyk\u0119 w WooCommerce 5.3. Zamiast tego u\u017cyj pola 'cities'.", "type": "string", "required": false }, "rate": { "description": "Stawka podatkowa.", "type": "string", "required": false }, "name": { "description": "Nazwa stawki podatku.", "type": "string", "required": false }, "priority": { "default": 1, "description": "Priorytet podatku.", "type": "integer", "required": false }, "compound": { "default": false, "description": "Czy to jest z\u0142o\u017cona stawka.", "type": "boolean", "required": false }, "shipping": { "default": true, "description": "Czy stawka jest stosowana do wysy\u0142ki.", "type": "boolean", "required": false }, "order": { "description": "Wskazuje kolejno\u015b\u0107, kt\u00f3ra pojawi si\u0119 w kwerendach.", "type": "integer", "required": false }, "class": { "default": "standard", "description": "Klasa podatkowa.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false }, "postcodes": { "description": "Lista kod\u00f3w pocztowych. Wprowadzone w WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false }, "cities": { "description": "Lista nazw miast. Wprowadzone w WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "country": { "description": "Kod ISO 3166 kraju.", "type": "string", "required": false }, "state": { "description": "Kod regionu.", "type": "string", "required": false }, "postcode": { "description": "Pole Kod pocztowy nie wspiera warto\u015bci wielokrotnych. Zosta\u0142o to uznane za przestarza\u0142\u0105 praktyk\u0119 w WooCommerce 5.3. Zamiast tego u\u017cyj pola 'postcodes'.", "type": "string", "required": false }, "city": { "description": "Pole Miasto nie wspiera warto\u015bci wielokrotnych. Zosta\u0142o to uznane za przestarza\u0142\u0105 praktyk\u0119 w WooCommerce 5.3. Zamiast tego u\u017cyj pola 'cities'.", "type": "string", "required": false }, "rate": { "description": "Stawka podatkowa.", "type": "string", "required": false }, "name": { "description": "Nazwa stawki podatku.", "type": "string", "required": false }, "priority": { "description": "Priorytet podatku.", "type": "integer", "required": false }, "compound": { "description": "Czy to jest z\u0142o\u017cona stawka.", "type": "boolean", "required": false }, "shipping": { "description": "Czy stawka jest stosowana do wysy\u0142ki.", "type": "boolean", "required": false }, "order": { "description": "Wskazuje kolejno\u015b\u0107, kt\u00f3ra pojawi si\u0119 w kwerendach.", "type": "integer", "required": false }, "class": { "description": "Klasa podatkowa.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false }, "postcodes": { "description": "Lista kod\u00f3w pocztowych. Wprowadzone w WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false }, "cities": { "description": "Lista nazw miast. Wprowadzone w WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c zas\u00f3b nie obs\u0142uguje wyrzucania do kosza.", "required": false } } } ] }, "\/wc\/v3\/taxes\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "country": { "description": "Kod ISO 3166 kraju.", "type": "string", "required": false }, "state": { "description": "Kod regionu.", "type": "string", "required": false }, "postcode": { "description": "Pole Kod pocztowy nie wspiera warto\u015bci wielokrotnych. Zosta\u0142o to uznane za przestarza\u0142\u0105 praktyk\u0119 w WooCommerce 5.3. Zamiast tego u\u017cyj pola 'postcodes'.", "type": "string", "required": false }, "city": { "description": "Pole Miasto nie wspiera warto\u015bci wielokrotnych. Zosta\u0142o to uznane za przestarza\u0142\u0105 praktyk\u0119 w WooCommerce 5.3. Zamiast tego u\u017cyj pola 'cities'.", "type": "string", "required": false }, "rate": { "description": "Stawka podatkowa.", "type": "string", "required": false }, "name": { "description": "Nazwa stawki podatku.", "type": "string", "required": false }, "priority": { "description": "Priorytet podatku.", "type": "integer", "required": false }, "compound": { "description": "Czy to jest z\u0142o\u017cona stawka.", "type": "boolean", "required": false }, "shipping": { "description": "Czy stawka jest stosowana do wysy\u0142ki.", "type": "boolean", "required": false }, "order": { "description": "Wskazuje kolejno\u015b\u0107, kt\u00f3ra pojawi si\u0119 w kwerendach.", "type": "integer", "required": false }, "class": { "description": "Klasa podatkowa.", "type": "string", "enum": [ "standard", "reduced-rate", "zero-rate" ], "required": false }, "postcodes": { "description": "Lista kod\u00f3w pocztowych. Wprowadzone w WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false }, "cities": { "description": "Lista nazw miast. Wprowadzone w WooCommerce 5.3.", "type": "array", "items": { "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/taxes\/batch" } ] } }, "\/wc\/v3\/webhooks": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "id", "title" ], "required": false }, "status": { "default": "all", "description": "Ogranicz zestaw wynik\u00f3w do webhook\u00f3w z danym statusem.", "type": "string", "enum": [ "all", "active", "paused", "disabled" ], "required": false } } }, { "methods": [ "POST" ], "args": { "name": { "description": "Przyjazna nazwa dla webhooka.", "type": "string", "required": false }, "status": { "default": "active", "description": "Status webhook.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "type": "string", "description": "Temat webhook.", "required": true }, "secret": { "description": "Klucz prywatny u\u017cyty do wygenerowania hasha dostarczanego webhooka w nag\u0142\u00f3wkach \u017c\u0105dania. Je\u015bli klucz prywatny nie b\u0119dzie wpisany to zostanie u\u017cyty klucz prywatny aktualnego u\u017cytkownika.", "type": "string", "required": false }, "delivery_url": { "type": "string", "description": "URL dostawy webhooka.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "name": { "description": "Przyjazna nazwa dla webhooka.", "type": "string", "required": false }, "status": { "description": "Status webhook.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "description": "Temat webhook.", "type": "string", "required": false }, "secret": { "description": "Klucz prywatny u\u017cyty do wygenerowania hasha dostarczanego webhooka w nag\u0142\u00f3wkach \u017c\u0105dania. Je\u015bli klucz prywatny nie b\u0119dzie wpisany to zostanie u\u017cyty klucz prywatny aktualnego u\u017cytkownika.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c zas\u00f3b nie obs\u0142uguje wyrzucania do kosza.", "required": false } } } ] }, "\/wc\/v3\/webhooks\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "name": { "description": "Przyjazna nazwa dla webhooka.", "type": "string", "required": false }, "status": { "description": "Status webhook.", "type": "string", "enum": [ "active", "paused", "disabled" ], "required": false }, "topic": { "description": "Temat webhook.", "type": "string", "required": false }, "secret": { "description": "Klucz prywatny u\u017cyty do wygenerowania hasha dostarczanego webhooka w nag\u0142\u00f3wkach \u017c\u0105dania. Je\u015bli klucz prywatny nie b\u0119dzie wpisany to zostanie u\u017cyty klucz prywatny aktualnego u\u017cytkownika.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/webhooks\/batch" } ] } }, "\/wc\/v3\/system_status": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/system_status" } ] } }, "\/wc\/v3\/system_status\/tools": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikalny identyfikator narz\u0119dzia.", "type": "string", "required": false }, "name": { "description": "Nazwa narz\u0119dzia", "type": "string", "required": false }, "action": { "description": "Co zrobi uruchomione narz\u0119dzie.", "type": "string", "required": false }, "description": { "description": "Opis narz\u0119dzia.", "type": "string", "required": false }, "success": { "description": "Czy narz\u0119dzie zosta\u0142o uruchomione pomy\u015blnie?", "type": "boolean", "required": false }, "message": { "description": "Wiadomo\u015b\u0107 zwrotna narz\u0119dzia.", "type": "string", "required": false } } } ] }, "\/wc\/v3\/shipping_methods": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/shipping_methods" } ] } }, "\/wc\/v3\/shipping_methods\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "string", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view" ], "default": "view", "required": false } } } ] }, "\/wc\/v3\/payment_gateways": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator zasobu.", "type": "string", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "string", "required": false }, "title": { "description": "Tytu\u0142 bramki p\u0142atno\u015bci na stronie zam\u00f3wienia.", "type": "string", "required": false }, "description": { "description": "Opis bramki p\u0142atno\u015bci na stronie zam\u00f3wienia.", "type": "string", "required": false }, "order": { "description": "Sortowanie bramki p\u0142atno\u015bci.", "type": "integer", "required": false }, "enabled": { "description": "Status aktywacji metody p\u0142atno\u015bci.", "type": "boolean", "required": false }, "settings": { "description": "Ustawienia bramki p\u0142atno\u015bci.", "type": "object", "properties": { "id": { "description": "Unikalny identyfikator dla ustawienia.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Etykieta ustawie\u0144 u\u017cytych w interfejsach, zrozumia\u0142a dla cz\u0142owieka.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "description": { "description": "Opis ustawie\u0144 u\u017cytych w interfejsach, zrozumia\u0142y dla cz\u0142owieka.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "type": { "description": "Typ ustawie\u0144.", "type": "string", "context": [ "view", "edit" ], "enum": [ "text", "email", "number", "color", "password", "textarea", "select", "multiselect", "radio", "image_width", "checkbox" ], "readonly": true }, "value": { "description": "Warto\u015b\u0107 ustawienia.", "type": "string", "context": [ "view", "edit" ] }, "default": { "description": "Domy\u015blna warto\u015b\u0107 dla ustawienia.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "tip": { "description": "Dodatkowa pomoc wy\u015bwietlana przy ustawieniu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "placeholder": { "description": "Placeholder dla p\u00f3l tekstowych.", "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:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/data" } ] } }, "\/wc\/v3\/data\/continents": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/data\/continents" } ] } }, "\/wc\/v3\/data\/continents\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "continent": { "description": "2 znakowy kod kontynentu.", "type": "string", "required": false } } } ] }, "\/wc\/v3\/data\/countries": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/data\/countries" } ] } }, "\/wc\/v3\/data\/countries\/(?P[\\w-]+)": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "location": { "description": "Kod kraju ISO3166 alpha-2.", "type": "string", "required": false } } } ] }, "\/wc\/v3\/data\/currencies": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/data\/currencies" } ] } }, "\/wc\/v3\/data\/currencies\/current": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Kod waluty ISO4217.", "type": "string", "required": false } } } ] }, "\/wc\/v3\/orders\/(?P[\\d]+)\/receipt": { "namespace": "wc\/v3", "methods": [ "POST", "GET" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "Unikalny identyfikator zam\u00f3wienia.", "type": "integer", "required": false }, "expiration_date": { "description": "Data wyga\u015bni\u0119cia sformatowana jako rrrr-mm-dd.", "type": "string", "default": null, "required": false }, "expiration_days": { "description": "Liczba dni, kt\u00f3re nale\u017cy doda\u0107 do bie\u017c\u0105cej daty, aby uzyska\u0107 dat\u0119 wyga\u015bni\u0119cia.", "type": "integer", "default": 1, "required": false }, "force_new": { "description": "Prawda, \u017ce zmusza do utworzenia nowego pokwitowania, nawet je\u015bli taki ju\u017c istnieje i nie wygas\u0142 jeszcze.", "type": "boolean", "default": false, "required": false } } }, { "methods": [ "GET" ], "args": { "id": { "description": "Unikalny identyfikator zam\u00f3wienia.", "type": "integer", "required": false } } } ] }, "\/wc\/v3\/orders\/(?P[\\d]+)\/actions\/email_templates": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unikalny identyfikator zam\u00f3wienia.", "type": "integer", "required": false } } } ] }, "\/wc\/v3\/orders\/(?P[\\d]+)\/actions\/send_email": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "Unikalny identyfikator zam\u00f3wienia.", "type": "integer", "required": false }, "email": { "description": "Adres e-mail, na kt\u00f3ry chcesz wys\u0142a\u0107 szczeg\u00f3\u0142y zam\u00f3wienia.", "type": "string", "format": "email", "required": false }, "force_email_update": { "description": "Czy zaktualizowa\u0107 e-mail rozliczeniowy zam\u00f3wienia, nawet je\u015bli ju\u017c go ma.", "type": "boolean", "required": false }, "template_id": { "description": "Identyfikator szablonu u\u017cywanego do wysy\u0142ania wiadomo\u015bci e-mail.", "type": "string", "enum": [ "new_order", "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", "new_renewal_order", "new_switch_order", "customer_processing_renewal_order", "customer_completed_renewal_order", "customer_on_hold_renewal_order", "customer_completed_switch_order", "customer_renewal_invoice", "cancelled_subscription", "expired_subscription", "suspended_subscription", "wc_square_sync_completed", "wc_square_access_token_email", "wc_square_gift_card_sent", "customer_payment_retry", "payment_retry", "failed_renewal_authentication", "failed_preorder_sca_authentication", "failed_authentication_requested" ], "required": true } } } ] }, "\/wc\/v3\/orders\/(?P[\\d]+)\/actions\/send_order_details": { "namespace": "wc\/v3", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "Unikalny identyfikator zam\u00f3wienia.", "type": "integer", "required": false }, "email": { "description": "Adres e-mail, na kt\u00f3ry chcesz wys\u0142a\u0107 szczeg\u00f3\u0142y zam\u00f3wienia.", "type": "string", "format": "email", "required": false }, "force_email_update": { "description": "Czy zaktualizowa\u0107 e-mail rozliczeniowy zam\u00f3wienia, nawet je\u015bli ju\u017c go ma.", "type": "boolean", "required": false } } } ] }, "\/wc\/v3\/orders\/statuses": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/orders\/statuses" } ] } }, "\/wc-admin\/settings\/payments\/woopay-eligibility": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc-admin\/settings\/payments\/woopay-eligibility" } ] } }, "\/wc-admin\/settings\/payments\/country": { "namespace": "wc-admin", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "location": { "description": "Kod kraju ISO3166 alpha-2 do zapisania dla bie\u017c\u0105cego u\u017cytkownika.", "type": "string", "pattern": "[a-zA-Z]{2}", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc-admin\/settings\/payments\/country" } ] } }, "\/wc-admin\/settings\/payments\/providers": { "namespace": "wc-admin", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "location": { "description": "Kod kraju ISO3166 alpha-2. Domy\u015blnie jest to kraj lokalizacji bazowej WooCommerce.", "type": "string", "pattern": "[a-zA-Z]{2}", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Mapa identyfikatora dostawcy na warto\u015bci ca\u0142kowite reprezentuj\u0105ce kolejno\u015b\u0107 sortowania.", "type": "object", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Identyfikator kontekstu, dla kt\u00f3rego ma zosta\u0107 odrzucona zach\u0119ta. Je\u015bli nie zostanie podany, zach\u0119ta zostanie odrzucona dla wszystkich kontekst\u00f3w.", "type": "string", "required": false } } } ] }, "\/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:\/\/nightscout.pro\/pl\/wp-json\/wc-admin-email" } ] } }, "\/wc-admin-email\/settings\/email\/send-preview": { "namespace": "wc-admin-email", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "type": { "description": "Rodzaj wiadomo\u015bci e-mail do podgl\u0105du.", "type": "string", "required": true }, "email": { "description": "Adres e-mail, na kt\u00f3ry ma zosta\u0107 wys\u0142any podgl\u0105d wiadomo\u015bci e-mail.", "type": "string", "format": "email", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Rodzaj wiadomo\u015bci e-mail, dla kt\u00f3rej chcesz uzyska\u0107 temat.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/wp-json\/wc-admin-email\/settings\/email\/save-transient" } ] } }, "\/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:\/\/nightscout.pro\/pl\/wp-json\/wc-telemetry" } ] } }, "\/wc-telemetry\/tracker": { "namespace": "wc-telemetry", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "platform": { "description": "Platforma do \u015bledzenia.", "type": "string", "required": true }, "version": { "description": "Wersja platformy do \u015bledzenia.", "type": "string", "required": true }, "installation_date": { "description": "Data instalacji aplikacji mobilnej WooCommerce.", "type": "string", "format": "date-time", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/wp-json\/wccom-site\/v3\/ssr" } ] } }, "\/wccom-site\/v3\/status": { "namespace": "wccom-site\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/wp-json\/wccom-site\/v3\/connection\/disconnect" } ] } }, "\/jetpack\/v4\/verify_registration": { "namespace": "jetpack\/v4", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/remote_connect" } ] } }, "\/jetpack\/v4\/connection\/check": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/connection\/user" } ] } }, "\/jetpack\/v4\/connection\/data": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/connection\/data" } ] } }, "\/jetpack\/v4\/connection\/plugins": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/connection\/authorize_url" } ] } }, "\/jetpack\/v4\/connection\/authorize_url\/(?P[a-zA-Z]+)": { "namespace": "jetpack\/v4", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "provider": { "description": "Authentication provider (google, github, apple, link)", "type": "string", "enum": [ "google", "github", "apple", "link" ], "required": true }, "redirect_uri": { "description": "URI of the admin page where the user should be redirected after connection flow", "type": "string", "required": false }, "email_address": { "description": "Email address for magic link authentication", "type": "string", "format": "email", "required": false }, "from": { "description": "Optional \"from\" arg to distinguish where (which flow) the user is coming from when connecting", "type": "string", "required": false } } } ] }, "\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/wp-json\/jetpack\/v4\/connection\/owner" } ] } }, "\/wc\/v1\/subscriptions": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "filter": { "type": "object", "description": "U\u017cyj argument\u00f3w WP Query, aby zmodyfikowa\u0107 odpowied\u017a; prywatne kwerendy wymagaj\u0105 odpowiedniej autoryzacji.", "required": false }, "status": { "default": "any", "description": "Ogranicz zestaw wynik\u00f3w do zam\u00f3wie\u0144 z danym statusem.", "type": "string", "enum": [ "any", "pending", "active", "on-hold", "cancelled", "switched", "expired", "pending-cancel" ], "required": false }, "customer": { "description": "Ogranicz zestaw wynik\u00f3w do zam\u00f3wie\u0144 danego klienta.", "type": "integer", "required": false }, "product": { "description": "Ogranicz zestaw wynik\u00f3w do zam\u00f3wie\u0144 z danym produktem.", "type": "integer", "required": false }, "dp": { "default": 2, "description": "Liczba miejsc dziesi\u0119tnych u\u017cywanych w ka\u017cdym zasobie.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "args": { "parent_id": { "description": "ID zam\u00f3wienia nadrz\u0119dnego.", "type": "integer", "required": false }, "status": { "default": "pending", "description": "Status zam\u00f3wienia.", "type": "string", "enum": [ "pending", "active", "on-hold", "cancelled", "switched", "expired", "pending-cancel" ], "required": false }, "currency": { "default": "GBP", "description": "Waluta zam\u00f3wienia, w formacie ISO.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "default": 0, "description": "ID u\u017cytkownika, kt\u00f3ry jest w\u0142a\u015bcicielem zam\u00f3wienia. 0 dla go\u015bci.", "type": "integer", "required": false }, "billing": { "description": "Adres rozliczeniowy.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adres linia 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adres linia 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod kraju w formacie ISO 3166-1 alfa-2.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Adres e-mail.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numer telefonu.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Adres wysy\u0142ki.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adres linia 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adres linia 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod kraju w formacie ISO 3166-1 alfa-2.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "ID metody p\u0142atno\u015bci.", "type": "string", "required": false }, "payment_method_title": { "description": "Tytu\u0142 metody p\u0142atno\u015bci.", "type": "string", "required": false }, "set_paid": { "default": false, "description": "Wybierz, czy zam\u00f3wienie jest zap\u0142acone. Status zam\u00f3wienia zostanie zmieniony na w trakcie realizacji i stan magazynowy zostanie zmniejszony.", "type": "boolean", "required": false }, "transaction_id": { "description": "Unikalny numer ID transakcji.", "type": "string", "required": false }, "customer_note": { "description": "Notatka pozostawiona przez klienta podczas zam\u00f3wienia.", "type": "string", "required": false }, "line_items": { "description": "Dane pozycji zam\u00f3wienia.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nazwa produktu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "SKU produktu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "product_id": { "description": "ID produktu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "ID wariantu, je\u015bli dotyczy.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Zam\u00f3wiona ilo\u015b\u0107.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Klasa podatkowa produktu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Cena produktu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Suma pozycji (przed rabatami).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Suma podatk\u00f3w pozycji (przed rabatami).", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Suma cz\u0119\u015bciowa podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta": { "description": "Dane meta pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Etykieta danych meta.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "shipping_lines": { "description": "Dane wysy\u0142kowe pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nazwa metody wysy\u0142ki.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "ID metody wysy\u0142ki.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "fee_lines": { "description": "Dane op\u0142at pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nazwa op\u0142aty.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Klasa podatkowa op\u0142aty.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Status podatku op\u0142aty.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Suma cz\u0119\u015bciowa podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "coupon_lines": { "description": "Dane kupon\u00f3w pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Kod kuponu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "\u0141\u0105czny rabat.", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "\u0141\u0105czny podatek rabatu.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "transition_status": { "description": "The status to transition the subscription to. Unlike the \"status\" param, this will calculate and update the subscription dates.", "type": "string", "enum": [ "pending", "active", "on-hold", "cancelled", "switched", "expired", "pending-cancel" ], "required": false }, "billing_interval": { "description": "The number of billing periods between subscription renewals.", "type": "integer", "required": false }, "billing_period": { "description": "Billing period for the subscription.", "type": "string", "enum": [ "day", "week", "month", "year" ], "required": false }, "payment_details": { "description": "Subscription payment details.", "type": "object", "properties": { "method_id": { "description": "Payment gateway ID.", "type": "string", "context": [ "edit" ] } }, "required": false }, "start_date": { "description": "The subscription's start date.", "type": [ "null", "string" ], "required": false }, "trial_end_date": { "description": "The subscription's trial date", "type": [ "null", "string" ], "required": false }, "next_payment_date": { "description": "The subscription's next payment date.", "type": [ "null", "string" ], "required": false }, "end_date": { "description": "The subscription's end date.", "type": [ "null", "string" ], "required": false }, "removed_line_items": { "description": "Removed line items data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Product name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "Product SKU.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "product_id": { "description": "Product ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Variation ID, if applicable.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Quantity ordered.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Tax class of product.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Product price.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Line subtotal (before discounts).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Line subtotal tax (before discounts).", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Tax subtotal.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta": { "description": "Removed line item meta data.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Meta label.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v1\/subscriptions" } ] } }, "\/wc\/v1\/subscriptions\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "parent_id": { "description": "ID zam\u00f3wienia nadrz\u0119dnego.", "type": "integer", "required": false }, "status": { "description": "Status zam\u00f3wienia.", "type": "string", "enum": [ "pending", "active", "on-hold", "cancelled", "switched", "expired", "pending-cancel" ], "required": false }, "currency": { "description": "Waluta zam\u00f3wienia, w formacie ISO.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "description": "ID u\u017cytkownika, kt\u00f3ry jest w\u0142a\u015bcicielem zam\u00f3wienia. 0 dla go\u015bci.", "type": "integer", "required": false }, "billing": { "description": "Adres rozliczeniowy.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adres linia 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adres linia 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod kraju w formacie ISO 3166-1 alfa-2.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Adres e-mail.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numer telefonu.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Adres wysy\u0142ki.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adres linia 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adres linia 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod kraju w formacie ISO 3166-1 alfa-2.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "ID metody p\u0142atno\u015bci.", "type": "string", "required": false }, "payment_method_title": { "description": "Tytu\u0142 metody p\u0142atno\u015bci.", "type": "string", "required": false }, "set_paid": { "description": "Wybierz, czy zam\u00f3wienie jest zap\u0142acone. Status zam\u00f3wienia zostanie zmieniony na w trakcie realizacji i stan magazynowy zostanie zmniejszony.", "type": "boolean", "required": false }, "transaction_id": { "description": "Unikalny numer ID transakcji.", "type": "string", "required": false }, "customer_note": { "description": "Notatka pozostawiona przez klienta podczas zam\u00f3wienia.", "type": "string", "required": false }, "line_items": { "description": "Dane pozycji zam\u00f3wienia.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nazwa produktu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "SKU produktu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "product_id": { "description": "ID produktu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "ID wariantu, je\u015bli dotyczy.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Zam\u00f3wiona ilo\u015b\u0107.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Klasa podatkowa produktu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Cena produktu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Suma pozycji (przed rabatami).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Suma podatk\u00f3w pozycji (przed rabatami).", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Suma cz\u0119\u015bciowa podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta": { "description": "Dane meta pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Etykieta danych meta.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "shipping_lines": { "description": "Dane wysy\u0142kowe pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nazwa metody wysy\u0142ki.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "ID metody wysy\u0142ki.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "fee_lines": { "description": "Dane op\u0142at pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nazwa op\u0142aty.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Klasa podatkowa op\u0142aty.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Status podatku op\u0142aty.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Suma cz\u0119\u015bciowa podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "coupon_lines": { "description": "Dane kupon\u00f3w pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Kod kuponu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "\u0141\u0105czny rabat.", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "\u0141\u0105czny podatek rabatu.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "transition_status": { "description": "The status to transition the subscription to. Unlike the \"status\" param, this will calculate and update the subscription dates.", "type": "string", "enum": [ "pending", "active", "on-hold", "cancelled", "switched", "expired", "pending-cancel" ], "required": false }, "billing_interval": { "description": "The number of billing periods between subscription renewals.", "type": "integer", "required": false }, "billing_period": { "description": "Billing period for the subscription.", "type": "string", "enum": [ "day", "week", "month", "year" ], "required": false }, "payment_details": { "description": "Subscription payment details.", "type": "object", "properties": { "method_id": { "description": "Payment gateway ID.", "type": "string", "context": [ "edit" ] } }, "required": false }, "start_date": { "description": "The subscription's start date.", "type": [ "null", "string" ], "required": false }, "trial_end_date": { "description": "The subscription's trial date", "type": [ "null", "string" ], "required": false }, "next_payment_date": { "description": "The subscription's next payment date.", "type": [ "null", "string" ], "required": false }, "end_date": { "description": "The subscription's end date.", "type": [ "null", "string" ], "required": false }, "removed_line_items": { "description": "Removed line items data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Product name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "Product SKU.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "product_id": { "description": "Product ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Variation ID, if applicable.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Quantity ordered.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Tax class of product.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Product price.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Line subtotal (before discounts).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Line subtotal tax (before discounts).", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Tax subtotal.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta": { "description": "Removed line item meta data.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Meta label.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "required": false } } } ] }, "\/wc\/v1\/subscriptions\/batch": { "namespace": "wc\/v1", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "parent_id": { "description": "ID zam\u00f3wienia nadrz\u0119dnego.", "type": "integer", "required": false }, "status": { "description": "Status zam\u00f3wienia.", "type": "string", "enum": [ "pending", "active", "on-hold", "cancelled", "switched", "expired", "pending-cancel" ], "required": false }, "currency": { "description": "Waluta zam\u00f3wienia, w formacie ISO.", "type": "string", "enum": [ "AED", "AFN", "ALL", "AMD", "ANG", "AOA", "ARS", "AUD", "AWG", "AZN", "BAM", "BBD", "BDT", "BGN", "BHD", "BIF", "BMD", "BND", "BOB", "BRL", "BSD", "BTC", "BTN", "BWP", "BYR", "BYN", "BZD", "CAD", "CDF", "CHF", "CLP", "CNY", "COP", "CRC", "CUC", "CUP", "CVE", "CZK", "DJF", "DKK", "DOP", "DZD", "EGP", "ERN", "ETB", "EUR", "FJD", "FKP", "GBP", "GEL", "GGP", "GHS", "GIP", "GMD", "GNF", "GTQ", "GYD", "HKD", "HNL", "HRK", "HTG", "HUF", "IDR", "ILS", "IMP", "INR", "IQD", "IRR", "IRT", "ISK", "JEP", "JMD", "JOD", "JPY", "KES", "KGS", "KHR", "KMF", "KPW", "KRW", "KWD", "KYD", "KZT", "LAK", "LBP", "LKR", "LRD", "LSL", "LYD", "MAD", "MDL", "MGA", "MKD", "MMK", "MNT", "MOP", "MRU", "MUR", "MVR", "MWK", "MXN", "MYR", "MZN", "NAD", "NGN", "NIO", "NOK", "NPR", "NZD", "OMR", "PAB", "PEN", "PGK", "PHP", "PKR", "PLN", "PRB", "PYG", "QAR", "RON", "RSD", "RUB", "RWF", "SAR", "SBD", "SCR", "SDG", "SEK", "SGD", "SHP", "SLL", "SOS", "SRD", "SSP", "STN", "SYP", "SZL", "THB", "TJS", "TMT", "TND", "TOP", "TRY", "TTD", "TWD", "TZS", "UAH", "UGX", "USD", "UYU", "UZS", "VEF", "VES", "VND", "VUV", "WST", "XAF", "XCD", "XOF", "XPF", "YER", "ZAR", "ZMW" ], "required": false }, "customer_id": { "description": "ID u\u017cytkownika, kt\u00f3ry jest w\u0142a\u015bcicielem zam\u00f3wienia. 0 dla go\u015bci.", "type": "integer", "required": false }, "billing": { "description": "Adres rozliczeniowy.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adres linia 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adres linia 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod kraju w formacie ISO 3166-1 alfa-2.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Adres e-mail.", "type": "string", "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numer telefonu.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Adres wysy\u0142ki.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Adres linia 1.", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Adres linia 2.", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod kraju w formacie ISO 3166-1 alfa-2.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "ID metody p\u0142atno\u015bci.", "type": "string", "required": false }, "payment_method_title": { "description": "Tytu\u0142 metody p\u0142atno\u015bci.", "type": "string", "required": false }, "set_paid": { "description": "Wybierz, czy zam\u00f3wienie jest zap\u0142acone. Status zam\u00f3wienia zostanie zmieniony na w trakcie realizacji i stan magazynowy zostanie zmniejszony.", "type": "boolean", "required": false }, "transaction_id": { "description": "Unikalny numer ID transakcji.", "type": "string", "required": false }, "customer_note": { "description": "Notatka pozostawiona przez klienta podczas zam\u00f3wienia.", "type": "string", "required": false }, "line_items": { "description": "Dane pozycji zam\u00f3wienia.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nazwa produktu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "SKU produktu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "product_id": { "description": "ID produktu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "ID wariantu, je\u015bli dotyczy.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Zam\u00f3wiona ilo\u015b\u0107.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Klasa podatkowa produktu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Cena produktu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Suma pozycji (przed rabatami).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Suma podatk\u00f3w pozycji (przed rabatami).", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Suma cz\u0119\u015bciowa podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta": { "description": "Dane meta pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Etykieta danych meta.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "shipping_lines": { "description": "Dane wysy\u0142kowe pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nazwa metody wysy\u0142ki.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "ID metody wysy\u0142ki.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "fee_lines": { "description": "Dane op\u0142at pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nazwa op\u0142aty.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Klasa podatkowa op\u0142aty.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Status podatku op\u0142aty.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Suma cz\u0119\u015bciowa podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false }, "coupon_lines": { "description": "Dane kupon\u00f3w pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Kod kuponu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "\u0141\u0105czny rabat.", "type": "string", "context": [ "view", "edit" ] }, "discount_tax": { "description": "\u0141\u0105czny podatek rabatu.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } }, "required": false }, "transition_status": { "description": "The status to transition the subscription to. Unlike the \"status\" param, this will calculate and update the subscription dates.", "type": "string", "enum": [ "pending", "active", "on-hold", "cancelled", "switched", "expired", "pending-cancel" ], "required": false }, "billing_interval": { "description": "The number of billing periods between subscription renewals.", "type": "integer", "required": false }, "billing_period": { "description": "Billing period for the subscription.", "type": "string", "enum": [ "day", "week", "month", "year" ], "required": false }, "payment_details": { "description": "Subscription payment details.", "type": "object", "properties": { "method_id": { "description": "Payment gateway ID.", "type": "string", "context": [ "edit" ] } }, "required": false }, "start_date": { "description": "The subscription's start date.", "type": [ "null", "string" ], "required": false }, "trial_end_date": { "description": "The subscription's trial date", "type": [ "null", "string" ], "required": false }, "next_payment_date": { "description": "The subscription's next payment date.", "type": [ "null", "string" ], "required": false }, "end_date": { "description": "The subscription's end date.", "type": [ "null", "string" ], "required": false }, "removed_line_items": { "description": "Removed line items data.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Item ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Product name.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true }, "sku": { "description": "Product SKU.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "product_id": { "description": "Product ID.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "Variation ID, if applicable.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Quantity ordered.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Tax class of product.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Product price.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Line subtotal (before discounts).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Line subtotal tax (before discounts).", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Line total (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Line total tax (after discounts).", "type": "string", "context": [ "view", "edit" ] }, "taxes": { "description": "Line taxes.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "Tax rate ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Tax total.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Tax subtotal.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta": { "description": "Removed line item meta data.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "key": { "description": "Meta key.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "label": { "description": "Meta label.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "value": { "description": "Meta value.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ], "readonly": true } } } } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v1\/subscriptions\/batch" } ] } }, "\/wc\/v1\/subscriptions\/(?P[\\d]+)\/orders": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "filter": { "type": "object", "description": "U\u017cyj argument\u00f3w WP Query, aby zmodyfikowa\u0107 odpowied\u017a; prywatne kwerendy wymagaj\u0105 odpowiedniej autoryzacji.", "required": false }, "status": { "default": "any", "description": "Ogranicz zestaw wynik\u00f3w do zam\u00f3wie\u0144 z danym statusem.", "type": "string", "enum": [ "any", "pending", "active", "on-hold", "cancelled", "switched", "expired", "pending-cancel" ], "required": false }, "customer": { "description": "Ogranicz zestaw wynik\u00f3w do zam\u00f3wie\u0144 danego klienta.", "type": "integer", "required": false }, "product": { "description": "Ogranicz zestaw wynik\u00f3w do zam\u00f3wie\u0144 z danym produktem.", "type": "integer", "required": false }, "dp": { "default": 2, "description": "Liczba miejsc dziesi\u0119tnych u\u017cywanych w ka\u017cdym zasobie.", "type": "integer", "required": false } } } ] }, "\/wc\/v1\/subscriptions\/statuses": { "namespace": "wc\/v1", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v1\/subscriptions\/statuses" } ] } }, "\/wc\/v1\/subscriptions\/(?P[\\d]+)\/notes": { "namespace": "wc\/v1", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "ID zam\u00f3wienia.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "ID zam\u00f3wienia.", "type": "integer", "required": false }, "note": { "type": "string", "description": "Tre\u015b\u0107 notatki zam\u00f3wienia.", "required": true }, "customer_note": { "default": false, "description": "Pokazuje je\u015bli notatka jest tylko dla informacji lub tylko dla klienta (u\u017cytkownik zostanie powiadomiony).", "type": "boolean", "required": false } } } ] }, "\/wc\/v1\/subscriptions\/(?P[\\d]+)\/notes\/(?P[\\d]+)": { "namespace": "wc\/v1", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "order_id": { "description": "ID zam\u00f3wienia.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "order_id": { "description": "ID zam\u00f3wienia.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c zas\u00f3b nie obs\u0142uguje wyrzucania do kosza.", "required": false } } } ] }, "\/wc\/v3\/subscriptions": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ogranicz wynik do zasob\u00f3w zmienionych po danej dacie zgodnej z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ogranicz odpowied\u017a do zasob\u00f3w zmienionych przed dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Czy bra\u0107 pod uwag\u0119 daty GMT publikacji lub modyfikacji podczas ograniczania odpowiedzi.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "parent": { "description": "Ogranicz zestaw wynik\u00f3w do tych z okre\u015blonych identyfikator\u00f3w nadrz\u0119dnych.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Ogranicz zestaw wynik\u00f3w do wszystkich element\u00f3w z wyj\u0105tkiem tych o okre\u015blonym identyfikatorze nadrz\u0119dnym.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "status": { "default": "any", "description": "Limit result set to subscriptions which have specific statuses.", "type": "array", "items": { "type": "string", "enum": [ "any", "trash", "pending", "active", "on-hold", "cancelled", "switched", "expired", "pending-cancel" ] }, "required": false }, "customer": { "description": "Ogranicz zestaw wynik\u00f3w do zam\u00f3wie\u0144 danego klienta.", "type": "integer", "required": false }, "product": { "description": "Ogranicz zestaw wynik\u00f3w do zam\u00f3wie\u0144 z danym produktem.", "type": "integer", "required": false }, "dp": { "default": 2, "description": "Liczba miejsc dziesi\u0119tnych u\u017cywanych w ka\u017cdym zasobie.", "type": "integer", "required": false }, "order_item_display_meta": { "default": false, "description": "Pokazuj wy\u0142\u0105cznie dane meta przeznaczone do wy\u015bwietlania dla zam\u00f3wie\u0144.", "type": "boolean", "required": false }, "include_meta": { "default": [], "description": "Ogranicz metadane do wybranych kluczy.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Upewnij si\u0119, \u017ce metadane wykluczaj\u0105 okre\u015blone klucze.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "parent_id": { "description": "ID zam\u00f3wienia nadrz\u0119dnego.", "type": "integer", "required": false }, "status": { "default": "pending", "description": "Subscription status.", "type": "string", "enum": [ "pending", "active", "on-hold", "cancelled", "switched", "expired", "pending-cancel" ], "required": false }, "currency": { "default": "GBP", "description": "Currency the subscription was created with, in ISO format.", "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": "User ID who owns the subscription.", "type": "integer", "required": false }, "customer_note": { "description": "Notatka pozostawiona przez klienta podczas zam\u00f3wienia.", "type": "string", "required": false }, "billing": { "description": "Adres rozliczeniowy.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Pierwsza linia adresu", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Druga linia adresu", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod kraju w formacie ISO 3166-1 alfa-2.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Adres e-mail.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numer telefonu.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Adres wysy\u0142ki.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Pierwsza linia adresu", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Druga linia adresu", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod kraju w formacie ISO 3166-1 alfa-2.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "ID metody p\u0142atno\u015bci.", "type": "string", "required": false }, "payment_method_title": { "description": "Tytu\u0142 metody p\u0142atno\u015bci.", "type": "string", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Dane pozycji zam\u00f3wienia.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nazwa produktu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Nazwa produktu nadrz\u0119dnego, je\u015bli produkt jest wariantem.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "ID produktu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "ID wariantu, je\u015bli dotyczy.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Zam\u00f3wiona ilo\u015b\u0107.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Klasa podatkowa produktu.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Suma pozycji (przed rabatami).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Suma podatk\u00f3w pozycji (przed rabatami).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Suma cz\u0119\u015bciowa podatku.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Klucz danych meta do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Warto\u015b\u0107 danych meta do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "SKU produktu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Cena produktu.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "W\u0142a\u015bciwo\u015bci g\u0142\u00f3wnego obrazka produktu.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Dane wysy\u0142kowe pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nazwa metody wysy\u0142ki.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "ID metody wysy\u0142ki.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "ID instancji wysy\u0142ki.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Dane op\u0142at pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nazwa op\u0142aty.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Klasa podatkowa op\u0142aty.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Status podatku op\u0142aty.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Suma cz\u0119\u015bciowa podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Dane kupon\u00f3w pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Kod kuponu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "\u0141\u0105czny rabat.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "\u0141\u0105czny podatek rabatu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Typ rabatu.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Kwota rabatu okre\u015blona w kuponie (warto\u015b\u0107 bezwzgl\u0119dna lub procent, w zale\u017cno\u015bci od rodzaju rabatu).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Czy kupon zapewnia darmow\u0105 wysy\u0142k\u0119.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "manual_update": { "default": false, "description": "Ustaw akcj\u0119 jako r\u0119czn\u0105, aby uwaga do zam\u00f3wienia zosta\u0142a zarejestrowana jako \"dodana przez u\u017cytkownika\".", "type": "boolean", "required": false }, "transition_status": { "description": "The status to transition a subscription to.", "type": "string", "enum": [ "pending", "active", "on-hold", "cancelled", "switched", "expired", "pending-cancel" ], "required": false }, "billing_interval": { "description": "The number of billing periods between subscription renewals.", "type": "integer", "required": false }, "billing_period": { "description": "Billing period for the subscription.", "type": "string", "enum": [ "day", "week", "month", "year" ], "required": false }, "payment_details": { "description": "Subscription payment details.", "type": "object", "properties": { "post_meta": { "description": "Payment method meta and token in a post_meta_key: token format.", "type": "object", "context": [ "edit" ] }, "user_meta": { "description": "Payment method meta and token in a user_meta_key : token format.", "type": "object", "context": [ "view" ] } }, "required": false }, "start_date": { "description": "The subscription's start date, as GMT.", "type": [ "null", "string" ], "required": false }, "trial_date": { "description": "The subscription's trial date, as GMT.", "type": [ "null", "string" ], "required": false }, "next_payment_date": { "description": "The subscription's next payment date, as GMT.", "type": [ "null", "string" ], "required": false }, "cancelled_date": { "description": "The subscription's cancelled date, as GMT.", "type": [ "null", "string" ], "required": false }, "end_date": { "description": "The subscription's end date, as GMT.", "type": [ "null", "string" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/subscriptions" } ] } }, "\/wc\/v3\/subscriptions\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "parent_id": { "description": "ID zam\u00f3wienia nadrz\u0119dnego.", "type": "integer", "required": false }, "status": { "description": "Subscription status.", "type": "string", "enum": [ "pending", "active", "on-hold", "cancelled", "switched", "expired", "pending-cancel" ], "required": false }, "currency": { "description": "Currency the subscription was created with, in ISO format.", "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": "User ID who owns the subscription.", "type": "integer", "required": false }, "customer_note": { "description": "Notatka pozostawiona przez klienta podczas zam\u00f3wienia.", "type": "string", "required": false }, "billing": { "description": "Adres rozliczeniowy.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Pierwsza linia adresu", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Druga linia adresu", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod kraju w formacie ISO 3166-1 alfa-2.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Adres e-mail.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numer telefonu.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Adres wysy\u0142ki.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Pierwsza linia adresu", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Druga linia adresu", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod kraju w formacie ISO 3166-1 alfa-2.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "ID metody p\u0142atno\u015bci.", "type": "string", "required": false }, "payment_method_title": { "description": "Tytu\u0142 metody p\u0142atno\u015bci.", "type": "string", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Dane pozycji zam\u00f3wienia.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nazwa produktu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Nazwa produktu nadrz\u0119dnego, je\u015bli produkt jest wariantem.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "ID produktu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "ID wariantu, je\u015bli dotyczy.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Zam\u00f3wiona ilo\u015b\u0107.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Klasa podatkowa produktu.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Suma pozycji (przed rabatami).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Suma podatk\u00f3w pozycji (przed rabatami).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Suma cz\u0119\u015bciowa podatku.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Klucz danych meta do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Warto\u015b\u0107 danych meta do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "SKU produktu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Cena produktu.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "W\u0142a\u015bciwo\u015bci g\u0142\u00f3wnego obrazka produktu.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Dane wysy\u0142kowe pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nazwa metody wysy\u0142ki.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "ID metody wysy\u0142ki.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "ID instancji wysy\u0142ki.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Dane op\u0142at pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nazwa op\u0142aty.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Klasa podatkowa op\u0142aty.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Status podatku op\u0142aty.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Suma cz\u0119\u015bciowa podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Dane kupon\u00f3w pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Kod kuponu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "\u0141\u0105czny rabat.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "\u0141\u0105czny podatek rabatu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Typ rabatu.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Kwota rabatu okre\u015blona w kuponie (warto\u015b\u0107 bezwzgl\u0119dna lub procent, w zale\u017cno\u015bci od rodzaju rabatu).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Czy kupon zapewnia darmow\u0105 wysy\u0142k\u0119.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "manual_update": { "description": "Ustaw akcj\u0119 jako r\u0119czn\u0105, aby uwaga do zam\u00f3wienia zosta\u0142a zarejestrowana jako \"dodana przez u\u017cytkownika\".", "type": "boolean", "required": false }, "transition_status": { "description": "The status to transition a subscription to.", "type": "string", "enum": [ "pending", "active", "on-hold", "cancelled", "switched", "expired", "pending-cancel" ], "required": false }, "billing_interval": { "description": "The number of billing periods between subscription renewals.", "type": "integer", "required": false }, "billing_period": { "description": "Billing period for the subscription.", "type": "string", "enum": [ "day", "week", "month", "year" ], "required": false }, "payment_details": { "description": "Subscription payment details.", "type": "object", "properties": { "post_meta": { "description": "Payment method meta and token in a post_meta_key: token format.", "type": "object", "context": [ "edit" ] }, "user_meta": { "description": "Payment method meta and token in a user_meta_key : token format.", "type": "object", "context": [ "view" ] } }, "required": false }, "start_date": { "description": "The subscription's start date, as GMT.", "type": [ "null", "string" ], "required": false }, "trial_date": { "description": "The subscription's trial date, as GMT.", "type": [ "null", "string" ], "required": false }, "next_payment_date": { "description": "The subscription's next payment date, as GMT.", "type": [ "null", "string" ], "required": false }, "cancelled_date": { "description": "The subscription's cancelled date, as GMT.", "type": [ "null", "string" ], "required": false }, "end_date": { "description": "The subscription's end date, as GMT.", "type": [ "null", "string" ], "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "required": false } } } ] }, "\/wc\/v3\/subscriptions\/batch": { "namespace": "wc\/v3", "methods": [ "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "POST", "PUT", "PATCH" ], "args": { "parent_id": { "description": "ID zam\u00f3wienia nadrz\u0119dnego.", "type": "integer", "required": false }, "status": { "description": "Subscription status.", "type": "string", "enum": [ "pending", "active", "on-hold", "cancelled", "switched", "expired", "pending-cancel" ], "required": false }, "currency": { "description": "Currency the subscription was created with, in ISO format.", "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": "User ID who owns the subscription.", "type": "integer", "required": false }, "customer_note": { "description": "Notatka pozostawiona przez klienta podczas zam\u00f3wienia.", "type": "string", "required": false }, "billing": { "description": "Adres rozliczeniowy.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Pierwsza linia adresu", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Druga linia adresu", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod kraju w formacie ISO 3166-1 alfa-2.", "type": "string", "context": [ "view", "edit" ] }, "email": { "description": "Adres e-mail.", "type": [ "string", "null" ], "format": "email", "context": [ "view", "edit" ] }, "phone": { "description": "Numer telefonu.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "shipping": { "description": "Adres wysy\u0142ki.", "type": "object", "properties": { "first_name": { "description": "Imi\u0119.", "type": "string", "context": [ "view", "edit" ] }, "last_name": { "description": "Nazwisko.", "type": "string", "context": [ "view", "edit" ] }, "company": { "description": "Nazwa firmy.", "type": "string", "context": [ "view", "edit" ] }, "address_1": { "description": "Pierwsza linia adresu", "type": "string", "context": [ "view", "edit" ] }, "address_2": { "description": "Druga linia adresu", "type": "string", "context": [ "view", "edit" ] }, "city": { "description": "Miasto.", "type": "string", "context": [ "view", "edit" ] }, "state": { "description": "Kod ISO lub nazwa regionu, prowincji lub regionu.", "type": "string", "context": [ "view", "edit" ] }, "postcode": { "description": "Kod pocztowy.", "type": "string", "context": [ "view", "edit" ] }, "country": { "description": "Kod kraju w formacie ISO 3166-1 alfa-2.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "payment_method": { "description": "ID metody p\u0142atno\u015bci.", "type": "string", "required": false }, "payment_method_title": { "description": "Tytu\u0142 metody p\u0142atno\u015bci.", "type": "string", "required": false }, "meta_data": { "description": "Metadane.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } }, "required": false }, "line_items": { "description": "Dane pozycji zam\u00f3wienia.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nazwa produktu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "parent_name": { "description": "Nazwa produktu nadrz\u0119dnego, je\u015bli produkt jest wariantem.", "type": "string", "context": [ "view", "edit" ] }, "product_id": { "description": "ID produktu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "variation_id": { "description": "ID wariantu, je\u015bli dotyczy.", "type": "integer", "context": [ "view", "edit" ] }, "quantity": { "description": "Zam\u00f3wiona ilo\u015b\u0107.", "type": "integer", "context": [ "view", "edit" ] }, "tax_class": { "description": "Klasa podatkowa produktu.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Suma pozycji (przed rabatami).", "type": "string", "context": [ "view", "edit" ] }, "subtotal_tax": { "description": "Suma podatk\u00f3w pozycji (przed rabatami).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ] }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ] }, "subtotal": { "description": "Suma cz\u0119\u015bciowa podatku.", "type": "string", "context": [ "view", "edit" ] } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "display_key": { "description": "Klucz danych meta do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ] }, "display_value": { "description": "Warto\u015b\u0107 danych meta do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ] } } } }, "sku": { "description": "SKU produktu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "price": { "description": "Cena produktu.", "type": "number", "context": [ "view", "edit" ], "readonly": true }, "image": { "description": "W\u0142a\u015bciwo\u015bci g\u0142\u00f3wnego obrazka produktu.", "type": "object", "context": [ "view", "edit" ], "readonly": true, "properties": { "id": { "description": "ID obrazka.", "type": "integer", "context": [ "view", "edit" ] }, "src": { "description": "URL obrazka.", "type": "string", "format": "uri", "context": [ "view", "edit" ] } } } } }, "required": false }, "shipping_lines": { "description": "Dane wysy\u0142kowe pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "method_title": { "description": "Nazwa metody wysy\u0142ki.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "method_id": { "description": "ID metody wysy\u0142ki.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "instance_id": { "description": "ID instancji wysy\u0142ki.", "type": "string", "context": [ "view", "edit" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "fee_lines": { "description": "Dane op\u0142at pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "name": { "description": "Nazwa op\u0142aty.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "tax_class": { "description": "Klasa podatkowa op\u0142aty.", "type": "string", "context": [ "view", "edit" ] }, "tax_status": { "description": "Status podatku op\u0142aty.", "type": "string", "context": [ "view", "edit" ], "enum": [ "taxable", "none" ] }, "total": { "description": "Suma pozycji (po rabatach)", "type": "string", "context": [ "view", "edit" ] }, "total_tax": { "description": "Suma podatk\u00f3w pozycji (po rabatach).", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "taxes": { "description": "Podatki dla pozycji.", "type": "array", "context": [ "view", "edit" ], "readonly": true, "items": { "type": "object", "properties": { "id": { "description": "ID stawki podatkowej.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "total": { "description": "Suma podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "subtotal": { "description": "Suma cz\u0119\u015bciowa podatku.", "type": "string", "context": [ "view", "edit" ], "readonly": true } } } }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "coupon_lines": { "description": "Dane kupon\u00f3w pozycji.", "type": "array", "items": { "type": "object", "properties": { "id": { "description": "Identyfikator produktu.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "code": { "description": "Kod kuponu.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] }, "discount": { "description": "\u0141\u0105czny rabat.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_tax": { "description": "\u0141\u0105czny podatek rabatu.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "discount_type": { "description": "Typ rabatu.", "type": "string", "context": [ "view" ], "readonly": true }, "nominal_amount": { "description": "Kwota rabatu okre\u015blona w kuponie (warto\u015b\u0107 bezwzgl\u0119dna lub procent, w zale\u017cno\u015bci od rodzaju rabatu).", "type": "number", "context": [ "view" ], "readonly": true }, "free_shipping": { "description": "Czy kupon zapewnia darmow\u0105 wysy\u0142k\u0119.", "type": "boolean", "context": [ "view" ], "readonly": true }, "meta_data": { "description": "Metadane.", "type": "array", "context": [ "view", "edit" ], "items": { "type": "object", "properties": { "id": { "description": "Meta ID.", "type": "integer", "context": [ "view", "edit" ], "readonly": true }, "key": { "description": "Klucz danych meta.", "type": "string", "context": [ "view", "edit" ] }, "value": { "description": "Warto\u015b\u0107 danych meta.", "type": [ "null", "object", "string", "number", "boolean", "integer", "array" ], "context": [ "view", "edit" ] } } } } } }, "required": false }, "manual_update": { "description": "Ustaw akcj\u0119 jako r\u0119czn\u0105, aby uwaga do zam\u00f3wienia zosta\u0142a zarejestrowana jako \"dodana przez u\u017cytkownika\".", "type": "boolean", "required": false }, "transition_status": { "description": "The status to transition a subscription to.", "type": "string", "enum": [ "pending", "active", "on-hold", "cancelled", "switched", "expired", "pending-cancel" ], "required": false }, "billing_interval": { "description": "The number of billing periods between subscription renewals.", "type": "integer", "required": false }, "billing_period": { "description": "Billing period for the subscription.", "type": "string", "enum": [ "day", "week", "month", "year" ], "required": false }, "payment_details": { "description": "Subscription payment details.", "type": "object", "properties": { "post_meta": { "description": "Payment method meta and token in a post_meta_key: token format.", "type": "object", "context": [ "edit" ] }, "user_meta": { "description": "Payment method meta and token in a user_meta_key : token format.", "type": "object", "context": [ "view" ] } }, "required": false }, "start_date": { "description": "The subscription's start date, as GMT.", "type": [ "null", "string" ], "required": false }, "trial_date": { "description": "The subscription's trial date, as GMT.", "type": [ "null", "string" ], "required": false }, "next_payment_date": { "description": "The subscription's next payment date, as GMT.", "type": [ "null", "string" ], "required": false }, "cancelled_date": { "description": "The subscription's cancelled date, as GMT.", "type": [ "null", "string" ], "required": false }, "end_date": { "description": "The subscription's end date, as GMT.", "type": [ "null", "string" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/subscriptions\/batch" } ] } }, "\/wc\/v3\/subscriptions\/statuses": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wc\/v3\/subscriptions\/statuses" } ] } }, "\/wc\/v3\/subscriptions\/(?P[\\d]+)\/orders": { "namespace": "wc\/v3", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "after": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych po danym terminie zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ograniczy\u0107 odpowiedzi do zasob\u00f3w opublikowanych przed danym terminem zgodnym z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ogranicz wynik do zasob\u00f3w zmienionych po danej dacie zgodnej z ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ogranicz odpowied\u017a do zasob\u00f3w zmienionych przed dat\u0105 zgodn\u0105 z ISO8601.", "type": "string", "format": "date-time", "required": false }, "dates_are_gmt": { "description": "Czy bra\u0107 pod uwag\u0119 daty GMT publikacji lub modyfikacji podczas ograniczania odpowiedzi.", "type": "boolean", "default": false, "required": false }, "exclude": { "description": "Upewnij si\u0119, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz wyniki do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesu\u0144 wyniki o okre\u015blon\u0105 liczb\u0119 pozycji.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "title", "slug", "modified" ], "required": false }, "parent": { "description": "Ogranicz zestaw wynik\u00f3w do tych z okre\u015blonych identyfikator\u00f3w nadrz\u0119dnych.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Ogranicz zestaw wynik\u00f3w do wszystkich element\u00f3w z wyj\u0105tkiem tych o okre\u015blonym identyfikatorze nadrz\u0119dnym.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "status": { "default": "any", "description": "Limit result set to subscriptions which have specific statuses.", "type": "array", "items": { "type": "string", "enum": [ "any", "trash", "pending", "active", "on-hold", "cancelled", "switched", "expired", "pending-cancel" ] }, "required": false }, "customer": { "description": "Ogranicz zestaw wynik\u00f3w do zam\u00f3wie\u0144 danego klienta.", "type": "integer", "required": false }, "product": { "description": "Ogranicz zestaw wynik\u00f3w do zam\u00f3wie\u0144 z danym produktem.", "type": "integer", "required": false }, "dp": { "default": 2, "description": "Liczba miejsc dziesi\u0119tnych u\u017cywanych w ka\u017cdym zasobie.", "type": "integer", "required": false }, "order_item_display_meta": { "default": false, "description": "Pokazuj wy\u0142\u0105cznie dane meta przeznaczone do wy\u015bwietlania dla zam\u00f3wie\u0144.", "type": "boolean", "required": false }, "include_meta": { "default": [], "description": "Ogranicz metadane do wybranych kluczy.", "type": "array", "items": { "type": "string" }, "required": false }, "exclude_meta": { "default": [], "description": "Upewnij si\u0119, \u017ce metadane wykluczaj\u0105 okre\u015blone klucze.", "type": "array", "items": { "type": "string" }, "required": false } } } ] }, "\/wc\/v3\/subscriptions\/(?P[\\d]+)\/notes": { "namespace": "wc\/v3", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "order_id": { "description": "ID zam\u00f3wienia.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false }, "type": { "default": "any", "description": "Ogranicz zestaw wynik\u00f3w do notatek do zam\u00f3wie\u0144.", "type": "string", "enum": [ "any", "customer", "internal" ], "required": false } } }, { "methods": [ "POST" ], "args": { "order_id": { "description": "ID zam\u00f3wienia.", "type": "integer", "required": false }, "note": { "type": "string", "description": "Tre\u015b\u0107 notatki zam\u00f3wienia.", "required": true }, "customer_note": { "default": false, "description": "Je\u015bli \"true\", notatka b\u0119dzie widoczna dla klienta i zostanie on o niej powiadomiony. Je\u015bli \"false\", notatka b\u0119dzie widoczna tylko dla admina.", "type": "boolean", "required": false }, "added_by_user": { "default": false, "description": "Je\u015bli ustawione na \"true\", notatka ta zostanie przypisana do bie\u017c\u0105cego u\u017cytkownika. Je\u015bli na \"false\", notatka zostanie przypisana do systemu.", "type": "boolean", "required": false } } } ] }, "\/wc\/v3\/subscriptions\/(?P[\\d]+)\/notes\/(?P[\\d]+)": { "namespace": "wc\/v3", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "order_id": { "description": "ID zam\u00f3wienia.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator zasobu.", "type": "integer", "required": false }, "order_id": { "description": "ID zam\u00f3wienia.", "type": "integer", "required": false }, "force": { "default": false, "type": "boolean", "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c zas\u00f3b nie obs\u0142uguje wyrzucania do kosza.", "required": false } } } ] }, "\/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:\/\/nightscout.pro\/pl\/wp-json\/wp\/v2" } ] } }, "\/wp\/v2\/posts": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "after": { "description": "Ogranicz wyniki do wpis\u00f3w opublikowanych po podanej dacie w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ogranicz wyniki do zmienionych wpis\u00f3w po podanej dacie w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Ogranicz wyniki do wpis\u00f3w wybranych autor\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Wyklucz wpisy przypisane do wybranych autor\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Ogranicz wyniki do wpis\u00f3w opublikowanych przed podan\u0105 dat\u0105 w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ogranicz wyniki do zmienionych wpis\u00f3w przed podan\u0105 dat\u0105 w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Wyklucz z wyniku okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "Jak interpretowa\u0107 dane wyszukiwania.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Przesuni\u0119cie zestawu wynik\u00f3w o okre\u015blon\u0105 liczb\u0119 element\u00f3w.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj kolekcj\u0119 wed\u0142ug atrybutu wpisu.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "Tablica nazw kolumn do przeszukania.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Ogranicz wyniki do wpis\u00f3w posiadaj\u0105cych podan\u0105 uproszczon\u0105 nazw\u0119.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Ogranicz wyniki do wpis\u00f3w przyporz\u0105dkowanych do jednego lub kilku status\u00f3w.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "Limit wyniku ustalony na podstawie relacji pomi\u0119dzy wieloma taksonomiami.\t", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "categories": { "description": "Ograniczaj zestaw wynik\u00f3w do pozycji z okre\u015blonymi terminami z taksonomii categories.", "type": [ "object", "array" ], "oneOf": [ { "title": "Lista identyfikator\u00f3w termin\u00f3w", "description": "Dopasuj terminy do wypisanych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" } }, { "title": "Identyfikator terminu w zapytaniu Taxonomy Query", "description": "Wykonaj zaawansowane zapytanie z terminem.", "type": "object", "properties": { "terms": { "description": "Identyfikatory termin\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Czy uwzgl\u0119dnia\u0107 terminy podrz\u0119dne w terminach ograniczaj\u0105cych wyniki.", "type": "boolean", "default": false }, "operator": { "description": "Czy elementy musz\u0105 by\u0107 przypisane do wszystkich czy do wybranych termin\u00f3w?", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "categories_exclude": { "description": "Ogranicz wyniki do element\u00f3w posiadaj\u0105cych wybrany termin w taksonomii categories.", "type": [ "object", "array" ], "oneOf": [ { "title": "Lista identyfikator\u00f3w termin\u00f3w", "description": "Dopasuj terminy do wypisanych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" } }, { "title": "Identyfikator terminu w zapytaniu Taxonomy Query", "description": "Wykonaj zaawansowane zapytanie z terminem.", "type": "object", "properties": { "terms": { "description": "Identyfikatory termin\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Czy uwzgl\u0119dnia\u0107 terminy podrz\u0119dne w terminach ograniczaj\u0105cych wyniki.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "tags": { "description": "Ograniczaj zestaw wynik\u00f3w do pozycji z okre\u015blonymi terminami z taksonomii tags.", "type": [ "object", "array" ], "oneOf": [ { "title": "Lista identyfikator\u00f3w termin\u00f3w", "description": "Dopasuj terminy do wypisanych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" } }, { "title": "Identyfikator terminu w zapytaniu Taxonomy Query", "description": "Wykonaj zaawansowane zapytanie z terminem.", "type": "object", "properties": { "terms": { "description": "Identyfikatory termin\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Czy elementy musz\u0105 by\u0107 przypisane do wszystkich czy do wybranych termin\u00f3w?", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "tags_exclude": { "description": "Ogranicz wyniki do element\u00f3w posiadaj\u0105cych wybrany termin w taksonomii tags.", "type": [ "object", "array" ], "oneOf": [ { "title": "Lista identyfikator\u00f3w termin\u00f3w", "description": "Dopasuj terminy do wypisanych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" } }, { "title": "Identyfikator terminu w zapytaniu Taxonomy Query", "description": "Wykonaj zaawansowane zapytanie z terminem.", "type": "object", "properties": { "terms": { "description": "Identyfikatory termin\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false }, "sticky": { "description": "Ogranicz zestaw wynik\u00f3w do przypi\u0119tych element\u00f3w.", "type": "boolean", "required": false }, "ignore_sticky": { "description": "Czy ignorowa\u0107 przypi\u0119te wpisy?", "type": "boolean", "default": true, "required": false }, "format": { "description": "Ogranicz zestaw wynik\u00f3w do element\u00f3w przypisanych do jednego lub wi\u0119cej wybranych format\u00f3w.", "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": "Data publikacji wpisu w strefie czasowej witryny.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Data wpisu zosta\u0142a opublikowana jako GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator dla wpisu unikatowy dla jego typu.", "type": "string", "required": false }, "status": { "description": "Nazwa statusu wpisu.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam" ], "required": false }, "password": { "description": "Has\u0142o ochrony dost\u0119pu do tre\u015bci i zajawki.", "type": "string", "required": false }, "title": { "description": "Tytu\u0142 wpisu.", "type": "object", "properties": { "raw": { "description": "Tytu\u0142 wpisu, istniej\u0105cy w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Tytu\u0142 HTML wpisu, przekszta\u0142cony do wy\u015bwietlania.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Tre\u015b\u0107 wpisu.", "type": "object", "properties": { "raw": { "description": "Tre\u015b\u0107 wpisu, tak jak zosta\u0142a zapisana w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Zawarto\u015b\u0107 HMTL wpisu, przetworzona do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Wersja bloku tre\u015bci u\u017cywanego we wpisie.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Czy tre\u015b\u0107 jest chronia has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "Identyfikator autora wpisu.", "type": "integer", "required": false }, "excerpt": { "description": "Zajawka wpisu.", "type": "object", "properties": { "raw": { "description": "Zajawka wpisu, tak jak wyst\u0119puje w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Wycinek HTML dla wpisu, przekszta\u0142cony do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Czy zajawka zabezpieczona jest has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "Identyfikator wyr\u00f3\u017cniaj\u0105cego pliku medialnego wpisu.", "type": "integer", "required": false }, "comment_status": { "description": "To czy wpis mo\u017ce by\u0107 komentowany.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "To, czy wpis mo\u017ce by\u0107 pingowany.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "format": { "description": "Format wpisu.", "type": "string", "enum": [ "standard", "aside", "chat", "gallery", "link", "image", "quote", "status", "video", "audio" ], "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": { "_et_pb_use_builder": { "type": "string", "title": "", "description": "", "default": "" }, "_et_pb_old_content": { "type": "string", "title": "", "description": "", "default": "" }, "_et_gb_content_width": { "type": "string", "title": "", "description": "", "default": "" }, "inline_featured_image": { "type": "boolean", "title": "", "description": "", "default": false }, "_jetpack_memberships_contains_paid_content": { "type": "boolean", "title": "", "description": "", "default": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" } }, "required": false }, "sticky": { "description": "Czy wpis powinien by\u0107 traktowany jako przypi\u0119ty.", "type": "boolean", "required": false }, "template": { "description": "Plik motywu u\u017cywany do wy\u015bwietlania wpisu.", "type": "string", "required": false }, "categories": { "description": "Terminy przypisane do wpisu w taksonomii: category", "type": "array", "items": { "type": "integer" }, "required": false }, "tags": { "description": "Terminy przypisane do wpisu w taksonomii: post_tag", "type": "array", "items": { "type": "integer" }, "required": false }, "jetpack_sharing_enabled": { "description": "Are sharing buttons enabled?", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator wpisu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "excerpt_length": { "description": "Nadpisz domy\u015bln\u0105 d\u0142ugo\u015b\u0107 zajawki.", "type": "integer", "required": false }, "password": { "description": "Has\u0142o dla wpisu, je\u015bli jest on chroniony has\u0142em.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator wpisu.", "type": "integer", "required": false }, "date": { "description": "Data publikacji wpisu w strefie czasowej witryny.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Data wpisu zosta\u0142a opublikowana jako GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator dla wpisu unikatowy dla jego typu.", "type": "string", "required": false }, "status": { "description": "Nazwa statusu wpisu.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam" ], "required": false }, "password": { "description": "Has\u0142o ochrony dost\u0119pu do tre\u015bci i zajawki.", "type": "string", "required": false }, "title": { "description": "Tytu\u0142 wpisu.", "type": "object", "properties": { "raw": { "description": "Tytu\u0142 wpisu, istniej\u0105cy w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Tytu\u0142 HTML wpisu, przekszta\u0142cony do wy\u015bwietlania.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Tre\u015b\u0107 wpisu.", "type": "object", "properties": { "raw": { "description": "Tre\u015b\u0107 wpisu, tak jak zosta\u0142a zapisana w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Zawarto\u015b\u0107 HMTL wpisu, przetworzona do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Wersja bloku tre\u015bci u\u017cywanego we wpisie.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Czy tre\u015b\u0107 jest chronia has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "Identyfikator autora wpisu.", "type": "integer", "required": false }, "excerpt": { "description": "Zajawka wpisu.", "type": "object", "properties": { "raw": { "description": "Zajawka wpisu, tak jak wyst\u0119puje w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Wycinek HTML dla wpisu, przekszta\u0142cony do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Czy zajawka zabezpieczona jest has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "Identyfikator wyr\u00f3\u017cniaj\u0105cego pliku medialnego wpisu.", "type": "integer", "required": false }, "comment_status": { "description": "To czy wpis mo\u017ce by\u0107 komentowany.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "To, czy wpis mo\u017ce by\u0107 pingowany.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "format": { "description": "Format wpisu.", "type": "string", "enum": [ "standard", "aside", "chat", "gallery", "link", "image", "quote", "status", "video", "audio" ], "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": { "_et_pb_use_builder": { "type": "string", "title": "", "description": "", "default": "" }, "_et_pb_old_content": { "type": "string", "title": "", "description": "", "default": "" }, "_et_gb_content_width": { "type": "string", "title": "", "description": "", "default": "" }, "inline_featured_image": { "type": "boolean", "title": "", "description": "", "default": false }, "_jetpack_memberships_contains_paid_content": { "type": "boolean", "title": "", "description": "", "default": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" } }, "required": false }, "sticky": { "description": "Czy wpis powinien by\u0107 traktowany jako przypi\u0119ty.", "type": "boolean", "required": false }, "template": { "description": "Plik motywu u\u017cywany do wy\u015bwietlania wpisu.", "type": "string", "required": false }, "categories": { "description": "Terminy przypisane do wpisu w taksonomii: category", "type": "array", "items": { "type": "integer" }, "required": false }, "tags": { "description": "Terminy przypisane do wpisu w taksonomii: post_tag", "type": "array", "items": { "type": "integer" }, "required": false }, "jetpack_sharing_enabled": { "description": "Are sharing buttons enabled?", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator wpisu.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "required": false } } } ] }, "\/wp\/v2\/posts\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Identyfikator wpisu nadrz\u0119dnego wersji.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Wyklucz z wyniku okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesuni\u0119cie zestawu wynik\u00f3w o okre\u015blon\u0105 liczb\u0119 element\u00f3w.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "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": "Identyfikator wpisu nadrz\u0119dnego wersji.", "type": "integer", "required": false }, "id": { "description": "Unikatowy identyfikator wersji.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "Identyfikator wpisu nadrz\u0119dnego wersji.", "type": "integer", "required": false }, "id": { "description": "Unikatowy identyfikator wersji.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c w wersjach nie u\u017cywamy kosza.", "required": false } } } ] }, "\/wp\/v2\/posts\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Identyfikator elementu nadrz\u0119dnego autozapisu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "Identyfikator elementu nadrz\u0119dnego autozapisu.", "type": "integer", "required": false }, "date": { "description": "Data publikacji wpisu w strefie czasowej witryny.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Data wpisu zosta\u0142a opublikowana jako GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator dla wpisu unikatowy dla jego typu.", "type": "string", "required": false }, "status": { "description": "Nazwa statusu wpisu.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam" ], "required": false }, "password": { "description": "Has\u0142o ochrony dost\u0119pu do tre\u015bci i zajawki.", "type": "string", "required": false }, "title": { "description": "Tytu\u0142 wpisu.", "type": "object", "properties": { "raw": { "description": "Tytu\u0142 wpisu, istniej\u0105cy w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Tytu\u0142 HTML wpisu, przekszta\u0142cony do wy\u015bwietlania.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Tre\u015b\u0107 wpisu.", "type": "object", "properties": { "raw": { "description": "Tre\u015b\u0107 wpisu, tak jak zosta\u0142a zapisana w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Zawarto\u015b\u0107 HMTL wpisu, przetworzona do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Wersja bloku tre\u015bci u\u017cywanego we wpisie.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Czy tre\u015b\u0107 jest chronia has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "Identyfikator autora wpisu.", "type": "integer", "required": false }, "excerpt": { "description": "Zajawka wpisu.", "type": "object", "properties": { "raw": { "description": "Zajawka wpisu, tak jak wyst\u0119puje w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Wycinek HTML dla wpisu, przekszta\u0142cony do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Czy zajawka zabezpieczona jest has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "Identyfikator wyr\u00f3\u017cniaj\u0105cego pliku medialnego wpisu.", "type": "integer", "required": false }, "comment_status": { "description": "To czy wpis mo\u017ce by\u0107 komentowany.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "To, czy wpis mo\u017ce by\u0107 pingowany.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "format": { "description": "Format wpisu.", "type": "string", "enum": [ "standard", "aside", "chat", "gallery", "link", "image", "quote", "status", "video", "audio" ], "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": { "_et_pb_use_builder": { "type": "string", "title": "", "description": "", "default": "" }, "_et_pb_old_content": { "type": "string", "title": "", "description": "", "default": "" }, "_et_gb_content_width": { "type": "string", "title": "", "description": "", "default": "" }, "inline_featured_image": { "type": "boolean", "title": "", "description": "", "default": false }, "_jetpack_memberships_contains_paid_content": { "type": "boolean", "title": "", "description": "", "default": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" } }, "required": false }, "sticky": { "description": "Czy wpis powinien by\u0107 traktowany jako przypi\u0119ty.", "type": "boolean", "required": false }, "template": { "description": "Plik motywu u\u017cywany do wy\u015bwietlania wpisu.", "type": "string", "required": false }, "categories": { "description": "Terminy przypisane do wpisu w taksonomii: category", "type": "array", "items": { "type": "integer" }, "required": false }, "tags": { "description": "Terminy przypisane do wpisu w taksonomii: post_tag", "type": "array", "items": { "type": "integer" }, "required": false }, "jetpack_sharing_enabled": { "description": "Are sharing buttons enabled?", "type": "boolean", "required": false } } } ] }, "\/wp\/v2\/posts\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Identyfikator elementu nadrz\u0119dnego autozapisu.", "type": "integer", "required": false }, "id": { "description": "Identyfikator automatycznego zapisu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "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": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "after": { "description": "Ogranicz wyniki do wpis\u00f3w opublikowanych po podanej dacie w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ogranicz wyniki do zmienionych wpis\u00f3w po podanej dacie w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Ogranicz wyniki do wpis\u00f3w wybranych autor\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Wyklucz wpisy przypisane do wybranych autor\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Ogranicz wyniki do wpis\u00f3w opublikowanych przed podan\u0105 dat\u0105 w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ogranicz wyniki do zmienionych wpis\u00f3w przed podan\u0105 dat\u0105 w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Wyklucz z wyniku okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "menu_order": { "description": "Ogranicz wyniki do wpis\u00f3w z okre\u015blon\u0105 warto\u015bci\u0105 menu_order.", "type": "integer", "required": false }, "search_semantics": { "description": "Jak interpretowa\u0107 dane wyszukiwania.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Przesuni\u0119cie zestawu wynik\u00f3w o okre\u015blon\u0105 liczb\u0119 element\u00f3w.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj kolekcj\u0119 wed\u0142ug atrybutu wpisu.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "menu_order" ], "required": false }, "parent": { "description": "Ogranicz wyniki do element\u00f3w, kt\u00f3rych rodzice maj\u0105 wybrane identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Ogranicz zestaw wynik\u00f3w do wszystkich element\u00f3w z wyj\u0105tkiem tych o okre\u015blonym identyfikatorze rodzica.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_columns": { "default": [], "description": "Tablica nazw kolumn do przeszukania.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Ogranicz wyniki do wpis\u00f3w posiadaj\u0105cych podan\u0105 uproszczon\u0105 nazw\u0119.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Ogranicz wyniki do wpis\u00f3w przyporz\u0105dkowanych do jednego lub kilku status\u00f3w.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam", "any" ], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "Data publikacji wpisu w strefie czasowej witryny.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Data wpisu zosta\u0142a opublikowana jako GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator dla wpisu unikatowy dla jego typu.", "type": "string", "required": false }, "status": { "description": "Nazwa statusu wpisu.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam" ], "required": false }, "password": { "description": "Has\u0142o ochrony dost\u0119pu do tre\u015bci i zajawki.", "type": "string", "required": false }, "parent": { "description": "Identyfikator elementu nadrz\u0119dnego wpisu.", "type": "integer", "required": false }, "title": { "description": "Tytu\u0142 wpisu.", "type": "object", "properties": { "raw": { "description": "Tytu\u0142 wpisu, istniej\u0105cy w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Tytu\u0142 HTML wpisu, przekszta\u0142cony do wy\u015bwietlania.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Tre\u015b\u0107 wpisu.", "type": "object", "properties": { "raw": { "description": "Tre\u015b\u0107 wpisu, tak jak zosta\u0142a zapisana w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Zawarto\u015b\u0107 HMTL wpisu, przetworzona do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Wersja bloku tre\u015bci u\u017cywanego we wpisie.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Czy tre\u015b\u0107 jest chronia has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "Identyfikator autora wpisu.", "type": "integer", "required": false }, "excerpt": { "description": "Zajawka wpisu.", "type": "object", "properties": { "raw": { "description": "Zajawka wpisu, tak jak wyst\u0119puje w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Wycinek HTML dla wpisu, przekszta\u0142cony do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Czy zajawka zabezpieczona jest has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "Identyfikator wyr\u00f3\u017cniaj\u0105cego pliku medialnego wpisu.", "type": "integer", "required": false }, "comment_status": { "description": "To czy wpis mo\u017ce by\u0107 komentowany.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "To, czy wpis mo\u017ce by\u0107 pingowany.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107 wpis\u00f3w w stosunku do innych.", "type": "integer", "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": { "_et_pb_use_builder": { "type": "string", "title": "", "description": "", "default": "" }, "_et_pb_old_content": { "type": "string", "title": "", "description": "", "default": "" }, "_et_gb_content_width": { "type": "string", "title": "", "description": "", "default": "" }, "inline_featured_image": { "type": "boolean", "title": "", "description": "", "default": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" } }, "required": false }, "template": { "description": "Plik motywu u\u017cywany do wy\u015bwietlania wpisu.", "type": "string", "required": false }, "jetpack_sharing_enabled": { "description": "Are sharing buttons enabled?", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator wpisu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "excerpt_length": { "description": "Nadpisz domy\u015bln\u0105 d\u0142ugo\u015b\u0107 zajawki.", "type": "integer", "required": false }, "password": { "description": "Has\u0142o dla wpisu, je\u015bli jest on chroniony has\u0142em.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator wpisu.", "type": "integer", "required": false }, "date": { "description": "Data publikacji wpisu w strefie czasowej witryny.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Data wpisu zosta\u0142a opublikowana jako GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator dla wpisu unikatowy dla jego typu.", "type": "string", "required": false }, "status": { "description": "Nazwa statusu wpisu.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam" ], "required": false }, "password": { "description": "Has\u0142o ochrony dost\u0119pu do tre\u015bci i zajawki.", "type": "string", "required": false }, "parent": { "description": "Identyfikator elementu nadrz\u0119dnego wpisu.", "type": "integer", "required": false }, "title": { "description": "Tytu\u0142 wpisu.", "type": "object", "properties": { "raw": { "description": "Tytu\u0142 wpisu, istniej\u0105cy w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Tytu\u0142 HTML wpisu, przekszta\u0142cony do wy\u015bwietlania.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Tre\u015b\u0107 wpisu.", "type": "object", "properties": { "raw": { "description": "Tre\u015b\u0107 wpisu, tak jak zosta\u0142a zapisana w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Zawarto\u015b\u0107 HMTL wpisu, przetworzona do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Wersja bloku tre\u015bci u\u017cywanego we wpisie.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Czy tre\u015b\u0107 jest chronia has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "Identyfikator autora wpisu.", "type": "integer", "required": false }, "excerpt": { "description": "Zajawka wpisu.", "type": "object", "properties": { "raw": { "description": "Zajawka wpisu, tak jak wyst\u0119puje w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Wycinek HTML dla wpisu, przekszta\u0142cony do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Czy zajawka zabezpieczona jest has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "Identyfikator wyr\u00f3\u017cniaj\u0105cego pliku medialnego wpisu.", "type": "integer", "required": false }, "comment_status": { "description": "To czy wpis mo\u017ce by\u0107 komentowany.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "To, czy wpis mo\u017ce by\u0107 pingowany.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107 wpis\u00f3w w stosunku do innych.", "type": "integer", "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": { "_et_pb_use_builder": { "type": "string", "title": "", "description": "", "default": "" }, "_et_pb_old_content": { "type": "string", "title": "", "description": "", "default": "" }, "_et_gb_content_width": { "type": "string", "title": "", "description": "", "default": "" }, "inline_featured_image": { "type": "boolean", "title": "", "description": "", "default": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" } }, "required": false }, "template": { "description": "Plik motywu u\u017cywany do wy\u015bwietlania wpisu.", "type": "string", "required": false }, "jetpack_sharing_enabled": { "description": "Are sharing buttons enabled?", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator wpisu.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "required": false } } } ] }, "\/wp\/v2\/pages\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Identyfikator wpisu nadrz\u0119dnego wersji.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Wyklucz z wyniku okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesuni\u0119cie zestawu wynik\u00f3w o okre\u015blon\u0105 liczb\u0119 element\u00f3w.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "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": "Identyfikator wpisu nadrz\u0119dnego wersji.", "type": "integer", "required": false }, "id": { "description": "Unikatowy identyfikator wersji.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "Identyfikator wpisu nadrz\u0119dnego wersji.", "type": "integer", "required": false }, "id": { "description": "Unikatowy identyfikator wersji.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c w wersjach nie u\u017cywamy kosza.", "required": false } } } ] }, "\/wp\/v2\/pages\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Identyfikator elementu nadrz\u0119dnego autozapisu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "Identyfikator elementu nadrz\u0119dnego wpisu.", "type": "integer", "required": false }, "date": { "description": "Data publikacji wpisu w strefie czasowej witryny.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Data wpisu zosta\u0142a opublikowana jako GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator dla wpisu unikatowy dla jego typu.", "type": "string", "required": false }, "status": { "description": "Nazwa statusu wpisu.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam" ], "required": false }, "password": { "description": "Has\u0142o ochrony dost\u0119pu do tre\u015bci i zajawki.", "type": "string", "required": false }, "title": { "description": "Tytu\u0142 wpisu.", "type": "object", "properties": { "raw": { "description": "Tytu\u0142 wpisu, istniej\u0105cy w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Tytu\u0142 HTML wpisu, przekszta\u0142cony do wy\u015bwietlania.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Tre\u015b\u0107 wpisu.", "type": "object", "properties": { "raw": { "description": "Tre\u015b\u0107 wpisu, tak jak zosta\u0142a zapisana w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Zawarto\u015b\u0107 HMTL wpisu, przetworzona do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Wersja bloku tre\u015bci u\u017cywanego we wpisie.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Czy tre\u015b\u0107 jest chronia has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "Identyfikator autora wpisu.", "type": "integer", "required": false }, "excerpt": { "description": "Zajawka wpisu.", "type": "object", "properties": { "raw": { "description": "Zajawka wpisu, tak jak wyst\u0119puje w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Wycinek HTML dla wpisu, przekszta\u0142cony do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Czy zajawka zabezpieczona jest has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "Identyfikator wyr\u00f3\u017cniaj\u0105cego pliku medialnego wpisu.", "type": "integer", "required": false }, "comment_status": { "description": "To czy wpis mo\u017ce by\u0107 komentowany.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "To, czy wpis mo\u017ce by\u0107 pingowany.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "menu_order": { "description": "Kolejno\u015b\u0107 wpis\u00f3w w stosunku do innych.", "type": "integer", "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": { "_et_pb_use_builder": { "type": "string", "title": "", "description": "", "default": "" }, "_et_pb_old_content": { "type": "string", "title": "", "description": "", "default": "" }, "_et_gb_content_width": { "type": "string", "title": "", "description": "", "default": "" }, "inline_featured_image": { "type": "boolean", "title": "", "description": "", "default": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" } }, "required": false }, "template": { "description": "Plik motywu u\u017cywany do wy\u015bwietlania wpisu.", "type": "string", "required": false }, "jetpack_sharing_enabled": { "description": "Are sharing buttons enabled?", "type": "boolean", "required": false } } } ] }, "\/wp\/v2\/pages\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Identyfikator elementu nadrz\u0119dnego autozapisu.", "type": "integer", "required": false }, "id": { "description": "Identyfikator automatycznego zapisu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "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": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "after": { "description": "Ogranicz wyniki do wpis\u00f3w opublikowanych po podanej dacie w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ogranicz wyniki do zmienionych wpis\u00f3w po podanej dacie w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Ogranicz wyniki do wpis\u00f3w wybranych autor\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Wyklucz wpisy przypisane do wybranych autor\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Ogranicz wyniki do wpis\u00f3w opublikowanych przed podan\u0105 dat\u0105 w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ogranicz wyniki do zmienionych wpis\u00f3w przed podan\u0105 dat\u0105 w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Wyklucz z wyniku okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "Jak interpretowa\u0107 dane wyszukiwania.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Przesuni\u0119cie zestawu wynik\u00f3w o okre\u015blon\u0105 liczb\u0119 element\u00f3w.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj kolekcj\u0119 wed\u0142ug atrybutu wpisu.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "parent": { "description": "Ogranicz wyniki do element\u00f3w, kt\u00f3rych rodzice maj\u0105 wybrane identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Ogranicz zestaw wynik\u00f3w do wszystkich element\u00f3w z wyj\u0105tkiem tych o okre\u015blonym identyfikatorze rodzica.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_columns": { "default": [], "description": "Tablica nazw kolumn do przeszukania.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Ogranicz wyniki do wpis\u00f3w posiadaj\u0105cych podan\u0105 uproszczon\u0105 nazw\u0119.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "inherit", "description": "Ogranicz wyniki do wpis\u00f3w przyporz\u0105dkowanych do jednego lub kilku status\u00f3w.", "type": "array", "items": { "enum": [ "inherit", "private", "trash" ], "type": "string" }, "required": false }, "media_type": { "default": null, "description": "Ogranicz wyniki do za\u0142\u0105cznik\u00f3w do odkre\u015blonego rodzaju medi\u00f3w.", "type": "string", "enum": [ "image", "video", "text", "application", "audio" ], "required": false }, "mime_type": { "default": null, "description": "Ogranicz do za\u0142\u0105cznik\u00f3w o wybranym typie MIME.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "date": { "description": "Data publikacji wpisu w strefie czasowej witryny.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Data wpisu zosta\u0142a opublikowana jako GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator dla wpisu unikatowy dla jego typu.", "type": "string", "required": false }, "status": { "description": "Nazwa statusu wpisu.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam" ], "required": false }, "title": { "description": "Tytu\u0142 wpisu.", "type": "object", "properties": { "raw": { "description": "Tytu\u0142 wpisu, istniej\u0105cy w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Tytu\u0142 HTML wpisu, przekszta\u0142cony do wy\u015bwietlania.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "Identyfikator autora wpisu.", "type": "integer", "required": false }, "featured_media": { "description": "Identyfikator wyr\u00f3\u017cniaj\u0105cego pliku medialnego wpisu.", "type": "integer", "required": false }, "comment_status": { "description": "To czy wpis mo\u017ce by\u0107 komentowany.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "To, czy wpis mo\u017ce by\u0107 pingowany.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": { "_et_pb_use_builder": { "type": "string", "title": "", "description": "", "default": "" }, "_et_pb_old_content": { "type": "string", "title": "", "description": "", "default": "" }, "_et_gb_content_width": { "type": "string", "title": "", "description": "", "default": "" }, "inline_featured_image": { "type": "boolean", "title": "", "description": "", "default": false } }, "required": false }, "template": { "description": "Plik motywu u\u017cywany do wy\u015bwietlania wpisu.", "type": "string", "required": false }, "jetpack_sharing_enabled": { "description": "Are sharing buttons enabled?", "type": "boolean", "required": false }, "alt_text": { "description": "Tekst alternatywny wy\u015bwietlany zamiast za\u0142\u0105cznika.", "type": "string", "required": false }, "caption": { "description": "Podpis za\u0142\u0105cznika.", "type": "object", "properties": { "raw": { "description": "Podpis za\u0142\u0105cznika, dok\u0142adnie taki jak w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Podpis HTML dla za\u0142\u0105cznik\u00f3w, przekszta\u0142cony do wy\u015bwietlania.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "description": "Opis za\u0142\u0105cznika.", "type": "object", "properties": { "raw": { "description": "Opis za\u0142\u0105cznika, dok\u0142adnie taki jak w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Opis HTML za\u0142\u0105cznika - gotowy do wy\u015bwietlania ", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "post": { "description": "Identyfikator wpisu powi\u0105zanego z za\u0142\u0105cznikiem.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator wpisu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator wpisu.", "type": "integer", "required": false }, "date": { "description": "Data publikacji wpisu w strefie czasowej witryny.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Data wpisu zosta\u0142a opublikowana jako GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator dla wpisu unikatowy dla jego typu.", "type": "string", "required": false }, "status": { "description": "Nazwa statusu wpisu.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam" ], "required": false }, "title": { "description": "Tytu\u0142 wpisu.", "type": "object", "properties": { "raw": { "description": "Tytu\u0142 wpisu, istniej\u0105cy w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Tytu\u0142 HTML wpisu, przekszta\u0142cony do wy\u015bwietlania.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "Identyfikator autora wpisu.", "type": "integer", "required": false }, "featured_media": { "description": "Identyfikator wyr\u00f3\u017cniaj\u0105cego pliku medialnego wpisu.", "type": "integer", "required": false }, "comment_status": { "description": "To czy wpis mo\u017ce by\u0107 komentowany.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "To, czy wpis mo\u017ce by\u0107 pingowany.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": { "_et_pb_use_builder": { "type": "string", "title": "", "description": "", "default": "" }, "_et_pb_old_content": { "type": "string", "title": "", "description": "", "default": "" }, "_et_gb_content_width": { "type": "string", "title": "", "description": "", "default": "" }, "inline_featured_image": { "type": "boolean", "title": "", "description": "", "default": false } }, "required": false }, "template": { "description": "Plik motywu u\u017cywany do wy\u015bwietlania wpisu.", "type": "string", "required": false }, "jetpack_sharing_enabled": { "description": "Are sharing buttons enabled?", "type": "boolean", "required": false }, "alt_text": { "description": "Tekst alternatywny wy\u015bwietlany zamiast za\u0142\u0105cznika.", "type": "string", "required": false }, "caption": { "description": "Podpis za\u0142\u0105cznika.", "type": "object", "properties": { "raw": { "description": "Podpis za\u0142\u0105cznika, dok\u0142adnie taki jak w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Podpis HTML dla za\u0142\u0105cznik\u00f3w, przekszta\u0142cony do wy\u015bwietlania.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "description": "Opis za\u0142\u0105cznika.", "type": "object", "properties": { "raw": { "description": "Opis za\u0142\u0105cznika, dok\u0142adnie taki jak w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Opis HTML za\u0142\u0105cznika - gotowy do wy\u015bwietlania ", "type": "string", "context": [ "view", "edit" ], "readonly": true } }, "required": false }, "post": { "description": "Identyfikator wpisu powi\u0105zanego z za\u0142\u0105cznikiem.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator wpisu.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "required": false } } } ] }, "\/wp\/v2\/media\/(?P[\\d]+)\/post-process": { "namespace": "wp\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "id": { "description": "Unikatowy identyfikator za\u0142\u0105cznika.", "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": "Adres URL do edytowanego obrazka.", "type": "string", "format": "uri", "required": true }, "modifiers": { "description": "Tablica edycji obrazka.", "type": "array", "minItems": 1, "items": { "description": "Edycja obrazka.", "type": "object", "required": [ "type", "args" ], "oneOf": [ { "title": "Obracanie", "properties": { "type": { "description": "Typ obracania.", "type": "string", "enum": [ "rotate" ] }, "args": { "description": "Argumenty obracania.", "type": "object", "required": [ "angle" ], "properties": { "angle": { "description": "K\u0105t obrotu zgodnie z ruchem wskaz\u00f3wek zegara w stopniach.", "type": "number" } } } } }, { "title": "Kadruj", "properties": { "type": { "description": "Typ kadrowania.", "type": "string", "enum": [ "crop" ] }, "args": { "description": "Skopiuj argumenty.", "type": "object", "required": [ "left", "top", "width", "height" ], "properties": { "left": { "description": "Pozycja od lewej do rozpocz\u0119cia przycinania jako procent d\u0142ugo\u015bci obrazu.", "type": "number" }, "top": { "description": "Pozycja od g\u00f3ry do rozpocz\u0119cia przycinania jako procent wysoko\u015bci obrazu.", "type": "number" }, "width": { "description": "Szeroko\u015b\u0107 kadrowania jako procent szeroko\u015bci obrazka.", "type": "number" }, "height": { "description": "Wysoko\u015b\u0107 kadrowania jako procent wysoko\u015bci obrazka.", "type": "number" } } } } } ] }, "required": false }, "rotation": { "description": "Stopie\u0144 obr\u00f3cenia obrazu zgodnie z ruchem wskaz\u00f3wek zegara w stopniach. PRZESTARZA\u0141E: Zamiast tego u\u017cyj \u201emodyfikator\u00f3w\u201d.", "type": "integer", "minimum": 0, "exclusiveMinimum": true, "maximum": 360, "exclusiveMaximum": true, "required": false }, "x": { "description": "Warto\u015b\u0107 procentowa obrazu - pozycja X przyci\u0119cia obrazu. PRZESTARZA\u0141E: Zamiast tego prosz\u0119 u\u017cy\u0107 `modyfikator\u00f3w`.", "type": "number", "minimum": 0, "maximum": 100, "required": false }, "y": { "description": "Warto\u015b\u0107 procentowa obrazu - pozycja Y przyci\u0119cia obrazu. PRZESTARZA\u0141E: Zamiast tego prosz\u0119 u\u017cy\u0107 `modyfikator\u00f3w`.", "type": "number", "minimum": 0, "maximum": 100, "required": false }, "width": { "description": "Warto\u015b\u0107 procentowa obrazu - d\u0142ugo\u015b\u0107 przyci\u0119cia obrazu. PRZESTARZA\u0141E: Zamiast tego prosz\u0119 u\u017cy\u0107 `modyfikator\u00f3w`.", "type": "number", "minimum": 0, "maximum": 100, "required": false }, "height": { "description": "Warto\u015b\u0107 procentowa obrazu - wysoko\u015b\u0107 przyci\u0119cia obrazu. PRZESTARZA\u0141E: Zamiast tego prosz\u0119 u\u017cy\u0107 `modyfikator\u00f3w`.", "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": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 100, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "after": { "description": "Ogranicz wyniki do wpis\u00f3w opublikowanych po podanej dacie w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ogranicz wyniki do zmienionych wpis\u00f3w po podanej dacie w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ogranicz wyniki do wpis\u00f3w opublikowanych przed podan\u0105 dat\u0105 w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ogranicz wyniki do zmienionych wpis\u00f3w przed podan\u0105 dat\u0105 w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Wyklucz z wyniku okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "Jak interpretowa\u0107 dane wyszukiwania.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Przesuni\u0119cie zestawu wynik\u00f3w o okre\u015blon\u0105 liczb\u0119 element\u00f3w.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "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": "Tablica nazw kolumn do przeszukania.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Ogranicz wyniki do wpis\u00f3w posiadaj\u0105cych podan\u0105 uproszczon\u0105 nazw\u0119.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Ogranicz wyniki do wpis\u00f3w przyporz\u0105dkowanych do jednego lub kilku status\u00f3w.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "Limit wyniku ustalony na podstawie relacji pomi\u0119dzy wieloma taksonomiami.\t", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "menus": { "description": "Ograniczaj zestaw wynik\u00f3w do pozycji z okre\u015blonymi terminami z taksonomii menus.", "type": [ "object", "array" ], "oneOf": [ { "title": "Lista identyfikator\u00f3w termin\u00f3w", "description": "Dopasuj terminy do wypisanych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" } }, { "title": "Identyfikator terminu w zapytaniu Taxonomy Query", "description": "Wykonaj zaawansowane zapytanie z terminem.", "type": "object", "properties": { "terms": { "description": "Identyfikatory termin\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Czy elementy musz\u0105 by\u0107 przypisane do wszystkich czy do wybranych termin\u00f3w?", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "menus_exclude": { "description": "Ogranicz wyniki do element\u00f3w posiadaj\u0105cych wybrany termin w taksonomii menus.", "type": [ "object", "array" ], "oneOf": [ { "title": "Lista identyfikator\u00f3w termin\u00f3w", "description": "Dopasuj terminy do wypisanych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" } }, { "title": "Identyfikator terminu w zapytaniu Taxonomy Query", "description": "Wykonaj zaawansowane zapytanie z terminem.", "type": "object", "properties": { "terms": { "description": "Identyfikatory termin\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false }, "menu_order": { "description": "Ogranicz wyniki do wpis\u00f3w z okre\u015blon\u0105 warto\u015bci\u0105 menu_order.", "type": "integer", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "title": { "description": "Tytu\u0142 obiektu.", "type": [ "string", "object" ], "properties": { "raw": { "description": "Tytu\u0142 obiektu, istniej\u0105cy w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Tytu\u0142 HTML obiektu, przekszta\u0142cony do wy\u015bwietlania.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "type": { "default": "custom", "description": "Rodzina pierwotnie reprezentowanych obiekt\u00f3w, na przyk\u0142ad \u201epost_type\u201d lub \u201etaxonomy\u201d.", "type": "string", "enum": [ "taxonomy", "post_type", "post_type_archive", "custom" ], "required": false }, "status": { "default": "publish", "description": "Nazwa statusu obiektu.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam" ], "required": false }, "parent": { "default": 0, "description": "Identyfikator elementu nadrz\u0119dnego dla obiektu.", "type": "integer", "minimum": 0, "required": false }, "attr_title": { "description": "Tekst atrybutu title odno\u015bnika dla elementu menu.", "type": "string", "required": false }, "classes": { "description": "Nazwy klas odno\u015bnika dla elementu menu.", "type": "array", "items": { "type": "string" }, "required": false }, "description": { "description": "Opis elementu menu.", "type": "string", "required": false }, "menu_order": { "default": 1, "description": "Identyfikator w bazie danych dla elementu nav_menu_item, kt\u00f3ry jest elementem nadrz\u0119dnym menu tego elementu, je\u015bli istnieje, w przeciwnym razie 0.", "type": "integer", "minimum": 1, "required": false }, "object": { "description": "Typ pierwotnie reprezentowanego obiektu, na przyk\u0142ad \u201ekategoria\u201d, \u201ewpis\u201d lub \u201eza\u0142\u0105cznik\u201d.", "type": "string", "required": false }, "object_id": { "default": 0, "description": "Identyfikator w bazie danych oryginalnego obiektu, kt\u00f3ry reprezentuje wybran\u0105 pozycj\u0119 menu, np. identyfikator wpisu i term_id dla kategorii.", "type": "integer", "minimum": 0, "required": false }, "target": { "description": "Atrybut target odno\u015bnika dla elementu menu.", "type": "string", "enum": [ "_blank", "" ], "required": false }, "url": { "description": "Adres URL do kt\u00f3rego prowadzi element menu.", "type": "string", "format": "uri", "required": false }, "xfn": { "description": "Relacja XFN odno\u015bnika w elemencie menu.", "type": "array", "items": { "type": "string" }, "required": false }, "menus": { "description": "Poj\u0119cia przypisane do obiektu w taksonomii o nazwie: nav_menu", "type": "integer", "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": { "_et_pb_use_builder": { "type": "string", "title": "", "description": "", "default": "" }, "_et_pb_old_content": { "type": "string", "title": "", "description": "", "default": "" }, "_et_gb_content_width": { "type": "string", "title": "", "description": "", "default": "" }, "inline_featured_image": { "type": "boolean", "title": "", "description": "", "default": false } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator wpisu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator wpisu.", "type": "integer", "required": false }, "title": { "description": "Tytu\u0142 obiektu.", "type": [ "string", "object" ], "properties": { "raw": { "description": "Tytu\u0142 obiektu, istniej\u0105cy w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Tytu\u0142 HTML obiektu, przekszta\u0142cony do wy\u015bwietlania.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "type": { "description": "Rodzina pierwotnie reprezentowanych obiekt\u00f3w, na przyk\u0142ad \u201epost_type\u201d lub \u201etaxonomy\u201d.", "type": "string", "enum": [ "taxonomy", "post_type", "post_type_archive", "custom" ], "required": false }, "status": { "description": "Nazwa statusu obiektu.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam" ], "required": false }, "parent": { "description": "Identyfikator elementu nadrz\u0119dnego dla obiektu.", "type": "integer", "minimum": 0, "required": false }, "attr_title": { "description": "Tekst atrybutu title odno\u015bnika dla elementu menu.", "type": "string", "required": false }, "classes": { "description": "Nazwy klas odno\u015bnika dla elementu menu.", "type": "array", "items": { "type": "string" }, "required": false }, "description": { "description": "Opis elementu menu.", "type": "string", "required": false }, "menu_order": { "description": "Identyfikator w bazie danych dla elementu nav_menu_item, kt\u00f3ry jest elementem nadrz\u0119dnym menu tego elementu, je\u015bli istnieje, w przeciwnym razie 0.", "type": "integer", "minimum": 1, "required": false }, "object": { "description": "Typ pierwotnie reprezentowanego obiektu, na przyk\u0142ad \u201ekategoria\u201d, \u201ewpis\u201d lub \u201eza\u0142\u0105cznik\u201d.", "type": "string", "required": false }, "object_id": { "description": "Identyfikator w bazie danych oryginalnego obiektu, kt\u00f3ry reprezentuje wybran\u0105 pozycj\u0119 menu, np. identyfikator wpisu i term_id dla kategorii.", "type": "integer", "minimum": 0, "required": false }, "target": { "description": "Atrybut target odno\u015bnika dla elementu menu.", "type": "string", "enum": [ "_blank", "" ], "required": false }, "url": { "description": "Adres URL do kt\u00f3rego prowadzi element menu.", "type": "string", "format": "uri", "required": false }, "xfn": { "description": "Relacja XFN odno\u015bnika w elemencie menu.", "type": "array", "items": { "type": "string" }, "required": false }, "menus": { "description": "Poj\u0119cia przypisane do obiektu w taksonomii o nazwie: nav_menu", "type": "integer", "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": { "_et_pb_use_builder": { "type": "string", "title": "", "description": "", "default": "" }, "_et_pb_old_content": { "type": "string", "title": "", "description": "", "default": "" }, "_et_gb_content_width": { "type": "string", "title": "", "description": "", "default": "" }, "inline_featured_image": { "type": "boolean", "title": "", "description": "", "default": false } }, "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator wpisu.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "required": false } } } ] }, "\/wp\/v2\/menu-items\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Identyfikator elementu nadrz\u0119dnego autozapisu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "Identyfikator elementu nadrz\u0119dnego dla obiektu.", "type": "integer", "minimum": 0, "required": false }, "title": { "description": "Tytu\u0142 obiektu.", "type": [ "string", "object" ], "properties": { "raw": { "description": "Tytu\u0142 obiektu, istniej\u0105cy w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Tytu\u0142 HTML obiektu, przekszta\u0142cony do wy\u015bwietlania.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "type": { "description": "Rodzina pierwotnie reprezentowanych obiekt\u00f3w, na przyk\u0142ad \u201epost_type\u201d lub \u201etaxonomy\u201d.", "type": "string", "enum": [ "taxonomy", "post_type", "post_type_archive", "custom" ], "required": false }, "status": { "description": "Nazwa statusu obiektu.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam" ], "required": false }, "attr_title": { "description": "Tekst atrybutu title odno\u015bnika dla elementu menu.", "type": "string", "required": false }, "classes": { "description": "Nazwy klas odno\u015bnika dla elementu menu.", "type": "array", "items": { "type": "string" }, "required": false }, "description": { "description": "Opis elementu menu.", "type": "string", "required": false }, "menu_order": { "description": "Identyfikator w bazie danych dla elementu nav_menu_item, kt\u00f3ry jest elementem nadrz\u0119dnym menu tego elementu, je\u015bli istnieje, w przeciwnym razie 0.", "type": "integer", "minimum": 1, "required": false }, "object": { "description": "Typ pierwotnie reprezentowanego obiektu, na przyk\u0142ad \u201ekategoria\u201d, \u201ewpis\u201d lub \u201eza\u0142\u0105cznik\u201d.", "type": "string", "required": false }, "object_id": { "description": "Identyfikator w bazie danych oryginalnego obiektu, kt\u00f3ry reprezentuje wybran\u0105 pozycj\u0119 menu, np. identyfikator wpisu i term_id dla kategorii.", "type": "integer", "minimum": 0, "required": false }, "target": { "description": "Atrybut target odno\u015bnika dla elementu menu.", "type": "string", "enum": [ "_blank", "" ], "required": false }, "url": { "description": "Adres URL do kt\u00f3rego prowadzi element menu.", "type": "string", "format": "uri", "required": false }, "xfn": { "description": "Relacja XFN odno\u015bnika w elemencie menu.", "type": "array", "items": { "type": "string" }, "required": false }, "menus": { "description": "Poj\u0119cia przypisane do obiektu w taksonomii o nazwie: nav_menu", "type": "integer", "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": { "_et_pb_use_builder": { "type": "string", "title": "", "description": "", "default": "" }, "_et_pb_old_content": { "type": "string", "title": "", "description": "", "default": "" }, "_et_gb_content_width": { "type": "string", "title": "", "description": "", "default": "" }, "inline_featured_image": { "type": "boolean", "title": "", "description": "", "default": false } }, "required": false } } } ] }, "\/wp\/v2\/menu-items\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Identyfikator elementu nadrz\u0119dnego autozapisu.", "type": "integer", "required": false }, "id": { "description": "Identyfikator automatycznego zapisu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "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": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "after": { "description": "Ogranicz wyniki do wpis\u00f3w opublikowanych po podanej dacie w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ogranicz wyniki do zmienionych wpis\u00f3w po podanej dacie w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ogranicz wyniki do wpis\u00f3w opublikowanych przed podan\u0105 dat\u0105 w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ogranicz wyniki do zmienionych wpis\u00f3w przed podan\u0105 dat\u0105 w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Wyklucz z wyniku okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "Jak interpretowa\u0107 dane wyszukiwania.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Przesuni\u0119cie zestawu wynik\u00f3w o okre\u015blon\u0105 liczb\u0119 element\u00f3w.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj kolekcj\u0119 wed\u0142ug atrybutu wpisu.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "Tablica nazw kolumn do przeszukania.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Ogranicz wyniki do wpis\u00f3w posiadaj\u0105cych podan\u0105 uproszczon\u0105 nazw\u0119.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Ogranicz wyniki do wpis\u00f3w przyporz\u0105dkowanych do jednego lub kilku status\u00f3w.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "Limit wyniku ustalony na podstawie relacji pomi\u0119dzy wieloma taksonomiami.\t", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "wp_pattern_category": { "description": "Ograniczaj zestaw wynik\u00f3w do pozycji z okre\u015blonymi terminami z taksonomii wp_pattern_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Lista identyfikator\u00f3w termin\u00f3w", "description": "Dopasuj terminy do wypisanych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" } }, { "title": "Identyfikator terminu w zapytaniu Taxonomy Query", "description": "Wykonaj zaawansowane zapytanie z terminem.", "type": "object", "properties": { "terms": { "description": "Identyfikatory termin\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Czy elementy musz\u0105 by\u0107 przypisane do wszystkich czy do wybranych termin\u00f3w?", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "wp_pattern_category_exclude": { "description": "Ogranicz wyniki do element\u00f3w posiadaj\u0105cych wybrany termin w taksonomii wp_pattern_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Lista identyfikator\u00f3w termin\u00f3w", "description": "Dopasuj terminy do wypisanych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" } }, { "title": "Identyfikator terminu w zapytaniu Taxonomy Query", "description": "Wykonaj zaawansowane zapytanie z terminem.", "type": "object", "properties": { "terms": { "description": "Identyfikatory termin\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "Data publikacji wpisu w strefie czasowej witryny.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Data wpisu zosta\u0142a opublikowana jako GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator dla wpisu unikatowy dla jego typu.", "type": "string", "required": false }, "status": { "description": "Nazwa statusu wpisu.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam" ], "required": false }, "password": { "description": "Has\u0142o ochrony dost\u0119pu do tre\u015bci i zajawki.", "type": "string", "required": false }, "title": { "description": "Tytu\u0142 wpisu.", "type": "object", "properties": { "raw": { "description": "Tytu\u0142 wpisu, istniej\u0105cy w bazie danych.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "content": { "description": "Tre\u015b\u0107 wpisu.", "type": "object", "properties": { "raw": { "description": "Tre\u015b\u0107 wpisu, tak jak zosta\u0142a zapisana w bazie danych.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Wersja bloku tre\u015bci u\u017cywanego we wpisie.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Czy tre\u015b\u0107 jest chronia has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "excerpt": { "description": "Zajawka wpisu.", "type": "object", "properties": { "raw": { "description": "Zajawka wpisu, tak jak wyst\u0119puje w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Wycinek HTML dla wpisu, przekszta\u0142cony do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Czy zajawka zabezpieczona jest has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": { "_et_pb_use_builder": { "type": "string", "title": "", "description": "", "default": "" }, "_et_pb_old_content": { "type": "string", "title": "", "description": "", "default": "" }, "_et_gb_content_width": { "type": "string", "title": "", "description": "", "default": "" }, "inline_featured_image": { "type": "boolean", "title": "", "description": "", "default": false }, "wp_pattern_sync_status": { "type": "string", "title": "", "description": "", "default": "", "enum": [ "partial", "unsynced" ] }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" } }, "required": false }, "template": { "description": "Plik motywu u\u017cywany do wy\u015bwietlania wpisu.", "type": "string", "required": false }, "wp_pattern_category": { "description": "Terminy przypisane do wpisu w taksonomii: wp_pattern_category", "type": "array", "items": { "type": "integer" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator wpisu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "excerpt_length": { "description": "Nadpisz domy\u015bln\u0105 d\u0142ugo\u015b\u0107 zajawki.", "type": "integer", "required": false }, "password": { "description": "Has\u0142o dla wpisu, je\u015bli jest on chroniony has\u0142em.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator wpisu.", "type": "integer", "required": false }, "date": { "description": "Data publikacji wpisu w strefie czasowej witryny.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Data wpisu zosta\u0142a opublikowana jako GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator dla wpisu unikatowy dla jego typu.", "type": "string", "required": false }, "status": { "description": "Nazwa statusu wpisu.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam" ], "required": false }, "password": { "description": "Has\u0142o ochrony dost\u0119pu do tre\u015bci i zajawki.", "type": "string", "required": false }, "title": { "description": "Tytu\u0142 wpisu.", "type": "object", "properties": { "raw": { "description": "Tytu\u0142 wpisu, istniej\u0105cy w bazie danych.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "content": { "description": "Tre\u015b\u0107 wpisu.", "type": "object", "properties": { "raw": { "description": "Tre\u015b\u0107 wpisu, tak jak zosta\u0142a zapisana w bazie danych.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Wersja bloku tre\u015bci u\u017cywanego we wpisie.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Czy tre\u015b\u0107 jest chronia has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "excerpt": { "description": "Zajawka wpisu.", "type": "object", "properties": { "raw": { "description": "Zajawka wpisu, tak jak wyst\u0119puje w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Wycinek HTML dla wpisu, przekszta\u0142cony do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Czy zajawka zabezpieczona jest has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": { "_et_pb_use_builder": { "type": "string", "title": "", "description": "", "default": "" }, "_et_pb_old_content": { "type": "string", "title": "", "description": "", "default": "" }, "_et_gb_content_width": { "type": "string", "title": "", "description": "", "default": "" }, "inline_featured_image": { "type": "boolean", "title": "", "description": "", "default": false }, "wp_pattern_sync_status": { "type": "string", "title": "", "description": "", "default": "", "enum": [ "partial", "unsynced" ] }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" } }, "required": false }, "template": { "description": "Plik motywu u\u017cywany do wy\u015bwietlania wpisu.", "type": "string", "required": false }, "wp_pattern_category": { "description": "Terminy przypisane do wpisu w taksonomii: wp_pattern_category", "type": "array", "items": { "type": "integer" }, "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator wpisu.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "required": false } } } ] }, "\/wp\/v2\/blocks\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Identyfikator wpisu nadrz\u0119dnego wersji.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Wyklucz z wyniku okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesuni\u0119cie zestawu wynik\u00f3w o okre\u015blon\u0105 liczb\u0119 element\u00f3w.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "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": "Identyfikator wpisu nadrz\u0119dnego wersji.", "type": "integer", "required": false }, "id": { "description": "Unikatowy identyfikator wersji.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "Identyfikator wpisu nadrz\u0119dnego wersji.", "type": "integer", "required": false }, "id": { "description": "Unikatowy identyfikator wersji.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c w wersjach nie u\u017cywamy kosza.", "required": false } } } ] }, "\/wp\/v2\/blocks\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Identyfikator elementu nadrz\u0119dnego autozapisu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "Identyfikator elementu nadrz\u0119dnego autozapisu.", "type": "integer", "required": false }, "date": { "description": "Data publikacji wpisu w strefie czasowej witryny.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Data wpisu zosta\u0142a opublikowana jako GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator dla wpisu unikatowy dla jego typu.", "type": "string", "required": false }, "status": { "description": "Nazwa statusu wpisu.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam" ], "required": false }, "password": { "description": "Has\u0142o ochrony dost\u0119pu do tre\u015bci i zajawki.", "type": "string", "required": false }, "title": { "description": "Tytu\u0142 wpisu.", "type": "object", "properties": { "raw": { "description": "Tytu\u0142 wpisu, istniej\u0105cy w bazie danych.", "type": "string", "context": [ "view", "edit" ] } }, "required": false }, "content": { "description": "Tre\u015b\u0107 wpisu.", "type": "object", "properties": { "raw": { "description": "Tre\u015b\u0107 wpisu, tak jak zosta\u0142a zapisana w bazie danych.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Wersja bloku tre\u015bci u\u017cywanego we wpisie.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Czy tre\u015b\u0107 jest chronia has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "excerpt": { "description": "Zajawka wpisu.", "type": "object", "properties": { "raw": { "description": "Zajawka wpisu, tak jak wyst\u0119puje w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Wycinek HTML dla wpisu, przekszta\u0142cony do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Czy zajawka zabezpieczona jest has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": { "_et_pb_use_builder": { "type": "string", "title": "", "description": "", "default": "" }, "_et_pb_old_content": { "type": "string", "title": "", "description": "", "default": "" }, "_et_gb_content_width": { "type": "string", "title": "", "description": "", "default": "" }, "inline_featured_image": { "type": "boolean", "title": "", "description": "", "default": false }, "wp_pattern_sync_status": { "type": "string", "title": "", "description": "", "default": "", "enum": [ "partial", "unsynced" ] }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" } }, "required": false }, "template": { "description": "Plik motywu u\u017cywany do wy\u015bwietlania wpisu.", "type": "string", "required": false }, "wp_pattern_category": { "description": "Terminy przypisane do wpisu w taksonomii: wp_pattern_category", "type": "array", "items": { "type": "integer" }, "required": false } } } ] }, "\/wp\/v2\/blocks\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Identyfikator elementu nadrz\u0119dnego autozapisu.", "type": "integer", "required": false }, "id": { "description": "Identyfikator automatycznego zapisu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "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": "Identyfikator szablonu", "type": "string", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Wyklucz z wyniku okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesuni\u0119cie zestawu wynik\u00f3w o okre\u015blon\u0105 liczb\u0119 element\u00f3w.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "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": "Identyfikator szablonu", "type": "string", "required": false }, "id": { "description": "Unikatowy identyfikator wersji.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "Identyfikator szablonu", "type": "string", "required": false }, "id": { "description": "Unikatowy identyfikator wersji.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c w wersjach nie u\u017cywamy kosza.", "required": false } } } ] }, "\/wp\/v2\/templates\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identyfikator szablonu", "type": "string", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "id": { "description": "Identyfikator szablonu", "type": "string", "required": false }, "slug": { "description": "Unikatowa uproszczona nazwa identyfikuj\u0105ca szablon.", "type": "string", "minLength": 1, "pattern": "[a-zA-Z0-9_\\%-]+", "required": false }, "theme": { "description": "Identyfikator szablonu w motywie.", "type": "string", "required": false }, "type": { "description": "Typ szablonu.", "type": "string", "required": false }, "content": { "description": "Zawarto\u015b\u0107 szablonu.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Tre\u015b\u0107 szablonu, tak jak zosta\u0142a zapisana w bazie danych.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Wersja bloku tre\u015bci u\u017cywanego w szablonie.", "type": "integer", "context": [ "edit" ], "readonly": true } }, "required": false }, "title": { "description": "Tytu\u0142 szablonu.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Tytu\u0142 wpisu, istniej\u0105cy w bazie danych.", "type": "string", "context": [ "view", "edit", "embed" ] }, "rendered": { "description": "Tytu\u0142 HTML wpisu, przekszta\u0142cony do wy\u015bwietlania.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "description": "Opis szablonu.", "type": "string", "required": false }, "status": { "description": "Status szablonu.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam" ], "required": false }, "author": { "description": "Identyfikator autora szablonu.", "type": "integer", "required": false } } } ] }, "\/wp\/v2\/templates\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Identyfikator szablonu", "type": "string", "required": false }, "id": { "description": "Identyfikator automatycznego zapisu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "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": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "wp_id": { "description": "Zaw\u0119\u017a u\u017cycie tylko dla wybranego identyfikatora wpisu.", "type": "integer", "required": false }, "area": { "description": "Ogranicz do okre\u015blonego obszaru fragmenu szablonu.", "type": "string", "required": false }, "post_type": { "description": "Typ wpisu, dla kt\u00f3rego chcesz pobra\u0107 szablony.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "slug": { "description": "Unikatowa uproszczona nazwa identyfikuj\u0105ca szablon.", "type": "string", "minLength": 1, "pattern": "[a-zA-Z0-9_\\%-]+", "required": true }, "theme": { "description": "Identyfikator szablonu w motywie.", "type": "string", "required": false }, "type": { "description": "Typ szablonu.", "type": "string", "required": false }, "content": { "default": "", "description": "Zawarto\u015b\u0107 szablonu.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Tre\u015b\u0107 szablonu, tak jak zosta\u0142a zapisana w bazie danych.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Wersja bloku tre\u015bci u\u017cywanego w szablonie.", "type": "integer", "context": [ "edit" ], "readonly": true } }, "required": false }, "title": { "default": "", "description": "Tytu\u0142 szablonu.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Tytu\u0142 wpisu, istniej\u0105cy w bazie danych.", "type": "string", "context": [ "view", "edit", "embed" ] }, "rendered": { "description": "Tytu\u0142 HTML wpisu, przekszta\u0142cony do wy\u015bwietlania.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "default": "", "description": "Opis szablonu.", "type": "string", "required": false }, "status": { "default": "publish", "description": "Status szablonu.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam" ], "required": false }, "author": { "description": "Identyfikator autora szablonu.", "type": "integer", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wp\/v2\/templates" } ] } }, "\/wp\/v2\/templates\/lookup": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "description": "Uproszczona nazwa szablonu, dla kt\u00f3rego mo\u017cna uzyska\u0107 awaryjne rozwi\u0105zanie", "type": "string", "required": true }, "is_custom": { "description": "Wskazuje, czy szablon jest w\u0142asny, czy stanowi cz\u0119\u015b\u0107 hierarchii szablon\u00f3w", "type": "boolean", "required": false }, "template_prefix": { "description": "Prefiks szablonu dla tworzonego szablonu. S\u0142u\u017cy do wyodr\u0119bnienia g\u0142\u00f3wnego typu szablonu np. w `taksonomia-ksi\u0105\u017cki` wyodr\u0119bniamy `taksonomia`", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Identyfikator szablonu", "type": "string", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identyfikator szablonu", "type": "string", "required": false }, "slug": { "description": "Unikatowa uproszczona nazwa identyfikuj\u0105ca szablon.", "type": "string", "minLength": 1, "pattern": "[a-zA-Z0-9_\\%-]+", "required": false }, "theme": { "description": "Identyfikator szablonu w motywie.", "type": "string", "required": false }, "type": { "description": "Typ szablonu.", "type": "string", "required": false }, "content": { "description": "Zawarto\u015b\u0107 szablonu.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Tre\u015b\u0107 szablonu, tak jak zosta\u0142a zapisana w bazie danych.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Wersja bloku tre\u015bci u\u017cywanego w szablonie.", "type": "integer", "context": [ "edit" ], "readonly": true } }, "required": false }, "title": { "description": "Tytu\u0142 szablonu.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Tytu\u0142 wpisu, istniej\u0105cy w bazie danych.", "type": "string", "context": [ "view", "edit", "embed" ] }, "rendered": { "description": "Tytu\u0142 HTML wpisu, przekszta\u0142cony do wy\u015bwietlania.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "description": "Opis szablonu.", "type": "string", "required": false }, "status": { "description": "Status szablonu.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam" ], "required": false }, "author": { "description": "Identyfikator autora szablonu.", "type": "integer", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identyfikator szablonu", "type": "string", "required": false }, "force": { "type": "boolean", "default": false, "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "required": false } } } ] }, "\/wp\/v2\/template-parts\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Identyfikator szablonu", "type": "string", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Wyklucz z wyniku okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesuni\u0119cie zestawu wynik\u00f3w o okre\u015blon\u0105 liczb\u0119 element\u00f3w.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "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": "Identyfikator szablonu", "type": "string", "required": false }, "id": { "description": "Unikatowy identyfikator wersji.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "Identyfikator szablonu", "type": "string", "required": false }, "id": { "description": "Unikatowy identyfikator wersji.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c w wersjach nie u\u017cywamy kosza.", "required": false } } } ] }, "\/wp\/v2\/template-parts\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identyfikator szablonu", "type": "string", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "id": { "description": "Identyfikator szablonu", "type": "string", "required": false }, "slug": { "description": "Unikatowa uproszczona nazwa identyfikuj\u0105ca szablon.", "type": "string", "minLength": 1, "pattern": "[a-zA-Z0-9_\\%-]+", "required": false }, "theme": { "description": "Identyfikator szablonu w motywie.", "type": "string", "required": false }, "type": { "description": "Typ szablonu.", "type": "string", "required": false }, "content": { "description": "Zawarto\u015b\u0107 szablonu.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Tre\u015b\u0107 szablonu, tak jak zosta\u0142a zapisana w bazie danych.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Wersja bloku tre\u015bci u\u017cywanego w szablonie.", "type": "integer", "context": [ "edit" ], "readonly": true } }, "required": false }, "title": { "description": "Tytu\u0142 szablonu.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Tytu\u0142 wpisu, istniej\u0105cy w bazie danych.", "type": "string", "context": [ "view", "edit", "embed" ] }, "rendered": { "description": "Tytu\u0142 HTML wpisu, przekszta\u0142cony do wy\u015bwietlania.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "description": "Opis szablonu.", "type": "string", "required": false }, "status": { "description": "Status szablonu.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam" ], "required": false }, "author": { "description": "Identyfikator autora szablonu.", "type": "integer", "required": false }, "area": { "description": "Gdzie fragment szablonu b\u0119dzie przeznaczony do u\u017cytku (nag\u0142\u00f3wek, stopka, itd.)", "type": "string", "required": false } } } ] }, "\/wp\/v2\/template-parts\/(?P([^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)[\\\/\\w%-]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Identyfikator szablonu", "type": "string", "required": false }, "id": { "description": "Identyfikator automatycznego zapisu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "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": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "wp_id": { "description": "Zaw\u0119\u017a u\u017cycie tylko dla wybranego identyfikatora wpisu.", "type": "integer", "required": false }, "area": { "description": "Ogranicz do okre\u015blonego obszaru fragmenu szablonu.", "type": "string", "required": false }, "post_type": { "description": "Typ wpisu, dla kt\u00f3rego chcesz pobra\u0107 szablony.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "slug": { "description": "Unikatowa uproszczona nazwa identyfikuj\u0105ca szablon.", "type": "string", "minLength": 1, "pattern": "[a-zA-Z0-9_\\%-]+", "required": true }, "theme": { "description": "Identyfikator szablonu w motywie.", "type": "string", "required": false }, "type": { "description": "Typ szablonu.", "type": "string", "required": false }, "content": { "default": "", "description": "Zawarto\u015b\u0107 szablonu.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Tre\u015b\u0107 szablonu, tak jak zosta\u0142a zapisana w bazie danych.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Wersja bloku tre\u015bci u\u017cywanego w szablonie.", "type": "integer", "context": [ "edit" ], "readonly": true } }, "required": false }, "title": { "default": "", "description": "Tytu\u0142 szablonu.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Tytu\u0142 wpisu, istniej\u0105cy w bazie danych.", "type": "string", "context": [ "view", "edit", "embed" ] }, "rendered": { "description": "Tytu\u0142 HTML wpisu, przekszta\u0142cony do wy\u015bwietlania.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "default": "", "description": "Opis szablonu.", "type": "string", "required": false }, "status": { "default": "publish", "description": "Status szablonu.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam" ], "required": false }, "author": { "description": "Identyfikator autora szablonu.", "type": "integer", "required": false }, "area": { "description": "Gdzie fragment szablonu b\u0119dzie przeznaczony do u\u017cytku (nag\u0142\u00f3wek, stopka, itd.)", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wp\/v2\/template-parts" } ] } }, "\/wp\/v2\/template-parts\/lookup": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "description": "Uproszczona nazwa szablonu, dla kt\u00f3rego mo\u017cna uzyska\u0107 awaryjne rozwi\u0105zanie", "type": "string", "required": true }, "is_custom": { "description": "Wskazuje, czy szablon jest w\u0142asny, czy stanowi cz\u0119\u015b\u0107 hierarchii szablon\u00f3w", "type": "boolean", "required": false }, "template_prefix": { "description": "Prefiks szablonu dla tworzonego szablonu. S\u0142u\u017cy do wyodr\u0119bnienia g\u0142\u00f3wnego typu szablonu np. w `taksonomia-ksi\u0105\u017cki` wyodr\u0119bniamy `taksonomia`", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Identyfikator szablonu", "type": "string", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Identyfikator szablonu", "type": "string", "required": false }, "slug": { "description": "Unikatowa uproszczona nazwa identyfikuj\u0105ca szablon.", "type": "string", "minLength": 1, "pattern": "[a-zA-Z0-9_\\%-]+", "required": false }, "theme": { "description": "Identyfikator szablonu w motywie.", "type": "string", "required": false }, "type": { "description": "Typ szablonu.", "type": "string", "required": false }, "content": { "description": "Zawarto\u015b\u0107 szablonu.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Tre\u015b\u0107 szablonu, tak jak zosta\u0142a zapisana w bazie danych.", "type": "string", "context": [ "view", "edit" ] }, "block_version": { "description": "Wersja bloku tre\u015bci u\u017cywanego w szablonie.", "type": "integer", "context": [ "edit" ], "readonly": true } }, "required": false }, "title": { "description": "Tytu\u0142 szablonu.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Tytu\u0142 wpisu, istniej\u0105cy w bazie danych.", "type": "string", "context": [ "view", "edit", "embed" ] }, "rendered": { "description": "Tytu\u0142 HTML wpisu, przekszta\u0142cony do wy\u015bwietlania.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "description": { "description": "Opis szablonu.", "type": "string", "required": false }, "status": { "description": "Status szablonu.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam" ], "required": false }, "author": { "description": "Identyfikator autora szablonu.", "type": "integer", "required": false }, "area": { "description": "Gdzie fragment szablonu b\u0119dzie przeznaczony do u\u017cytku (nag\u0142\u00f3wek, stopka, itd.)", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Identyfikator szablonu", "type": "string", "required": false }, "force": { "type": "boolean", "default": false, "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "required": false } } } ] }, "\/wp\/v2\/global-styles\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Identyfikator wpisu nadrz\u0119dnego wersji.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "offset": { "description": "Przesuni\u0119cie zestawu wynik\u00f3w o okre\u015blon\u0105 liczb\u0119 element\u00f3w.", "type": "integer", "required": false } } } ] }, "\/wp\/v2\/global-styles\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Identyfikator elementu nadrz\u0119dnego globalnej wersji styl\u00f3w.", "type": "integer", "required": false }, "id": { "description": "Unikatowy identyfikator globalnej wersji styl\u00f3w.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "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": "Identyfikator motywu", "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": "Identyfikator motywu", "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": "Identyfikator szablonu", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": false }, "args": { "styles": { "description": "Style globalne", "type": [ "object" ], "required": false }, "settings": { "description": "Ustawienia globalne", "type": [ "object" ], "required": false }, "title": { "description": "Tytu\u0142 globalnej wariacji styl\u00f3w.", "type": [ "object", "string" ], "properties": { "raw": { "description": "Tytu\u0142 globalnej odmiany styl\u00f3w, jaka istnieje w bazie danych.", "type": "string", "context": [ "view", "edit", "embed" ] }, "rendered": { "description": "Tytu\u0142 HTML wpisu, przekszta\u0142cony do wy\u015bwietlania.", "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": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "after": { "description": "Ogranicz wyniki do wpis\u00f3w opublikowanych po podanej dacie w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ogranicz wyniki do zmienionych wpis\u00f3w po podanej dacie w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ogranicz wyniki do wpis\u00f3w opublikowanych przed podan\u0105 dat\u0105 w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ogranicz wyniki do zmienionych wpis\u00f3w przed podan\u0105 dat\u0105 w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Wyklucz z wyniku okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "Jak interpretowa\u0107 dane wyszukiwania.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Przesuni\u0119cie zestawu wynik\u00f3w o okre\u015blon\u0105 liczb\u0119 element\u00f3w.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj kolekcj\u0119 wed\u0142ug atrybutu wpisu.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "Tablica nazw kolumn do przeszukania.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Ogranicz wyniki do wpis\u00f3w posiadaj\u0105cych podan\u0105 uproszczon\u0105 nazw\u0119.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Ogranicz wyniki do wpis\u00f3w przyporz\u0105dkowanych do jednego lub kilku status\u00f3w.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam", "any" ], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "Data publikacji wpisu w strefie czasowej witryny.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Data wpisu zosta\u0142a opublikowana jako GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator dla wpisu unikatowy dla jego typu.", "type": "string", "required": false }, "status": { "description": "Nazwa statusu wpisu.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam" ], "required": false }, "password": { "description": "Has\u0142o ochrony dost\u0119pu do tre\u015bci i zajawki.", "type": "string", "required": false }, "title": { "description": "Tytu\u0142 wpisu.", "type": "object", "properties": { "raw": { "description": "Tytu\u0142 wpisu, istniej\u0105cy w bazie danych.", "type": "string", "context": [ "edit", "embed" ] }, "rendered": { "description": "Tytu\u0142 HTML wpisu, przekszta\u0142cony do wy\u015bwietlania.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Tre\u015b\u0107 wpisu.", "type": "object", "properties": { "raw": { "description": "Tre\u015b\u0107 wpisu, tak jak zosta\u0142a zapisana w bazie danych.", "type": "string", "context": [ "edit", "embed" ] }, "rendered": { "description": "Zawarto\u015b\u0107 HMTL wpisu, przetworzona do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "block_version": { "description": "Wersja bloku tre\u015bci u\u017cywanego we wpisie.", "type": "integer", "context": [ "edit", "embed" ], "readonly": true }, "protected": { "description": "Czy tre\u015b\u0107 jest chronia has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "template": { "description": "Plik motywu u\u017cywany do wy\u015bwietlania wpisu.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator wpisu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "Has\u0142o dla wpisu, je\u015bli jest on chroniony has\u0142em.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator wpisu.", "type": "integer", "required": false }, "date": { "description": "Data publikacji wpisu w strefie czasowej witryny.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Data wpisu zosta\u0142a opublikowana jako GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator dla wpisu unikatowy dla jego typu.", "type": "string", "required": false }, "status": { "description": "Nazwa statusu wpisu.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam" ], "required": false }, "password": { "description": "Has\u0142o ochrony dost\u0119pu do tre\u015bci i zajawki.", "type": "string", "required": false }, "title": { "description": "Tytu\u0142 wpisu.", "type": "object", "properties": { "raw": { "description": "Tytu\u0142 wpisu, istniej\u0105cy w bazie danych.", "type": "string", "context": [ "edit", "embed" ] }, "rendered": { "description": "Tytu\u0142 HTML wpisu, przekszta\u0142cony do wy\u015bwietlania.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Tre\u015b\u0107 wpisu.", "type": "object", "properties": { "raw": { "description": "Tre\u015b\u0107 wpisu, tak jak zosta\u0142a zapisana w bazie danych.", "type": "string", "context": [ "edit", "embed" ] }, "rendered": { "description": "Zawarto\u015b\u0107 HMTL wpisu, przetworzona do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "block_version": { "description": "Wersja bloku tre\u015bci u\u017cywanego we wpisie.", "type": "integer", "context": [ "edit", "embed" ], "readonly": true }, "protected": { "description": "Czy tre\u015b\u0107 jest chronia has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "template": { "description": "Plik motywu u\u017cywany do wy\u015bwietlania wpisu.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator wpisu.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "required": false } } } ] }, "\/wp\/v2\/navigation\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Identyfikator wpisu nadrz\u0119dnego wersji.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Wyklucz z wyniku okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesuni\u0119cie zestawu wynik\u00f3w o okre\u015blon\u0105 liczb\u0119 element\u00f3w.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "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": "Identyfikator wpisu nadrz\u0119dnego wersji.", "type": "integer", "required": false }, "id": { "description": "Unikatowy identyfikator wersji.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "Identyfikator wpisu nadrz\u0119dnego wersji.", "type": "integer", "required": false }, "id": { "description": "Unikatowy identyfikator wersji.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c w wersjach nie u\u017cywamy kosza.", "required": false } } } ] }, "\/wp\/v2\/navigation\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Identyfikator elementu nadrz\u0119dnego autozapisu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "Identyfikator elementu nadrz\u0119dnego autozapisu.", "type": "integer", "required": false }, "date": { "description": "Data publikacji wpisu w strefie czasowej witryny.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Data wpisu zosta\u0142a opublikowana jako GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator dla wpisu unikatowy dla jego typu.", "type": "string", "required": false }, "status": { "description": "Nazwa statusu wpisu.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam" ], "required": false }, "password": { "description": "Has\u0142o ochrony dost\u0119pu do tre\u015bci i zajawki.", "type": "string", "required": false }, "title": { "description": "Tytu\u0142 wpisu.", "type": "object", "properties": { "raw": { "description": "Tytu\u0142 wpisu, istniej\u0105cy w bazie danych.", "type": "string", "context": [ "edit", "embed" ] }, "rendered": { "description": "Tytu\u0142 HTML wpisu, przekszta\u0142cony do wy\u015bwietlania.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Tre\u015b\u0107 wpisu.", "type": "object", "properties": { "raw": { "description": "Tre\u015b\u0107 wpisu, tak jak zosta\u0142a zapisana w bazie danych.", "type": "string", "context": [ "edit", "embed" ] }, "rendered": { "description": "Zawarto\u015b\u0107 HMTL wpisu, przetworzona do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "block_version": { "description": "Wersja bloku tre\u015bci u\u017cywanego we wpisie.", "type": "integer", "context": [ "edit", "embed" ], "readonly": true }, "protected": { "description": "Czy tre\u015b\u0107 jest chronia has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "template": { "description": "Plik motywu u\u017cywany do wy\u015bwietlania wpisu.", "type": "string", "required": false } } } ] }, "\/wp\/v2\/navigation\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Identyfikator elementu nadrz\u0119dnego autozapisu.", "type": "integer", "required": false }, "id": { "description": "Identyfikator automatycznego zapisu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "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": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "exclude": { "description": "Wyklucz z wyniku okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "Jak interpretowa\u0107 dane wyszukiwania.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Przesuni\u0119cie zestawu wynik\u00f3w o okre\u015blon\u0105 liczb\u0119 element\u00f3w.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj kolekcj\u0119 wed\u0142ug atrybutu wpisu.", "type": "string", "default": "id", "enum": [ "id", "include" ], "required": false }, "slug": { "description": "Ogranicz wyniki do wpis\u00f3w posiadaj\u0105cych podan\u0105 uproszczon\u0105 nazw\u0119.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "args": { "theme_json_version": { "description": "Wersja schematu theme.json u\u017cywanego do ustawie\u0144 typografii.", "type": "integer", "default": 3, "minimum": 2, "maximum": 3, "required": false }, "font_family_settings": { "description": "deklaracja font-family w formacie theme.json, zakodowana jako ci\u0105g znak\u00f3w.", "type": "string", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator wpisu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator wpisu.", "type": "integer", "required": false }, "theme_json_version": { "description": "Wersja schematu theme.json u\u017cywanego do ustawie\u0144 typografii.", "type": "integer", "default": 3, "minimum": 2, "maximum": 3, "required": false }, "font_family_settings": { "description": "deklaracja font-family w formacie theme.json, zakodowana jako ci\u0105g znak\u00f3w.", "type": "string", "required": true } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator wpisu.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "required": false } } } ] }, "\/wp\/v2\/font-families\/(?P[\\d]+)\/font-faces": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "font_family_id": { "description": "Identyfikator nadrz\u0119dnej rodziny kroju pisma dla odmiany.", "type": "integer", "required": true }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "exclude": { "description": "Wyklucz z wyniku okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "Jak interpretowa\u0107 dane wyszukiwania.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Przesuni\u0119cie zestawu wynik\u00f3w o okre\u015blon\u0105 liczb\u0119 element\u00f3w.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj kolekcj\u0119 wed\u0142ug atrybutu wpisu.", "type": "string", "default": "id", "enum": [ "id", "include" ], "required": false } } }, { "methods": [ "POST" ], "args": { "font_family_id": { "description": "Identyfikator nadrz\u0119dnej rodziny kroju pisma dla odmiany.", "type": "integer", "required": true }, "theme_json_version": { "description": "Wersja schematu theme.json u\u017cywanego do ustawie\u0144 typografii.", "type": "integer", "default": 3, "minimum": 2, "maximum": 3, "required": false }, "font_face_settings": { "description": "deklaracja font-face w formacie theme.json, zakodowana jako ci\u0105g znak\u00f3w.", "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": "Identyfikator nadrz\u0119dnej rodziny kroju pisma dla odmiany.", "type": "integer", "required": true }, "id": { "description": "Unikatowy identyfikator odmiany kroju pisma.", "type": "integer", "required": true }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "font_family_id": { "description": "Identyfikator nadrz\u0119dnej rodziny kroju pisma dla odmiany.", "type": "integer", "required": true }, "id": { "description": "Unikatowy identyfikator odmiany kroju pisma.", "type": "integer", "required": true }, "force": { "type": "boolean", "default": false, "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "required": false } } } ] }, "\/wp\/v2\/project": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "after": { "description": "Ogranicz wyniki do wpis\u00f3w opublikowanych po podanej dacie w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ogranicz wyniki do zmienionych wpis\u00f3w po podanej dacie w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Ogranicz wyniki do wpis\u00f3w wybranych autor\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Wyklucz wpisy przypisane do wybranych autor\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Ogranicz wyniki do wpis\u00f3w opublikowanych przed podan\u0105 dat\u0105 w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ogranicz wyniki do zmienionych wpis\u00f3w przed podan\u0105 dat\u0105 w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Wyklucz z wyniku okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "Jak interpretowa\u0107 dane wyszukiwania.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Przesuni\u0119cie zestawu wynik\u00f3w o okre\u015blon\u0105 liczb\u0119 element\u00f3w.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj kolekcj\u0119 wed\u0142ug atrybutu wpisu.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "Tablica nazw kolumn do przeszukania.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Ogranicz wyniki do wpis\u00f3w posiadaj\u0105cych podan\u0105 uproszczon\u0105 nazw\u0119.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Ogranicz wyniki do wpis\u00f3w przyporz\u0105dkowanych do jednego lub kilku status\u00f3w.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "Limit wyniku ustalony na podstawie relacji pomi\u0119dzy wieloma taksonomiami.\t", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "project_category": { "description": "Ograniczaj zestaw wynik\u00f3w do pozycji z okre\u015blonymi terminami z taksonomii project_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Lista identyfikator\u00f3w termin\u00f3w", "description": "Dopasuj terminy do wypisanych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" } }, { "title": "Identyfikator terminu w zapytaniu Taxonomy Query", "description": "Wykonaj zaawansowane zapytanie z terminem.", "type": "object", "properties": { "terms": { "description": "Identyfikatory termin\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Czy uwzgl\u0119dnia\u0107 terminy podrz\u0119dne w terminach ograniczaj\u0105cych wyniki.", "type": "boolean", "default": false }, "operator": { "description": "Czy elementy musz\u0105 by\u0107 przypisane do wszystkich czy do wybranych termin\u00f3w?", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "project_category_exclude": { "description": "Ogranicz wyniki do element\u00f3w posiadaj\u0105cych wybrany termin w taksonomii project_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Lista identyfikator\u00f3w termin\u00f3w", "description": "Dopasuj terminy do wypisanych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" } }, { "title": "Identyfikator terminu w zapytaniu Taxonomy Query", "description": "Wykonaj zaawansowane zapytanie z terminem.", "type": "object", "properties": { "terms": { "description": "Identyfikatory termin\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Czy uwzgl\u0119dnia\u0107 terminy podrz\u0119dne w terminach ograniczaj\u0105cych wyniki.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "project_tag": { "description": "Ograniczaj zestaw wynik\u00f3w do pozycji z okre\u015blonymi terminami z taksonomii project_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Lista identyfikator\u00f3w termin\u00f3w", "description": "Dopasuj terminy do wypisanych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" } }, { "title": "Identyfikator terminu w zapytaniu Taxonomy Query", "description": "Wykonaj zaawansowane zapytanie z terminem.", "type": "object", "properties": { "terms": { "description": "Identyfikatory termin\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Czy elementy musz\u0105 by\u0107 przypisane do wszystkich czy do wybranych termin\u00f3w?", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "project_tag_exclude": { "description": "Ogranicz wyniki do element\u00f3w posiadaj\u0105cych wybrany termin w taksonomii project_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Lista identyfikator\u00f3w termin\u00f3w", "description": "Dopasuj terminy do wypisanych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" } }, { "title": "Identyfikator terminu w zapytaniu Taxonomy Query", "description": "Wykonaj zaawansowane zapytanie z terminem.", "type": "object", "properties": { "terms": { "description": "Identyfikatory termin\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "Data publikacji wpisu w strefie czasowej witryny.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Data wpisu zosta\u0142a opublikowana jako GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator dla wpisu unikatowy dla jego typu.", "type": "string", "required": false }, "status": { "description": "Nazwa statusu wpisu.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam" ], "required": false }, "password": { "description": "Has\u0142o ochrony dost\u0119pu do tre\u015bci i zajawki.", "type": "string", "required": false }, "title": { "description": "Tytu\u0142 wpisu.", "type": "object", "properties": { "raw": { "description": "Tytu\u0142 wpisu, istniej\u0105cy w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Tytu\u0142 HTML wpisu, przekszta\u0142cony do wy\u015bwietlania.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Tre\u015b\u0107 wpisu.", "type": "object", "properties": { "raw": { "description": "Tre\u015b\u0107 wpisu, tak jak zosta\u0142a zapisana w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Zawarto\u015b\u0107 HMTL wpisu, przetworzona do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Wersja bloku tre\u015bci u\u017cywanego we wpisie.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Czy tre\u015b\u0107 jest chronia has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "Identyfikator autora wpisu.", "type": "integer", "required": false }, "excerpt": { "description": "Zajawka wpisu.", "type": "object", "properties": { "raw": { "description": "Zajawka wpisu, tak jak wyst\u0119puje w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Wycinek HTML dla wpisu, przekszta\u0142cony do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Czy zajawka zabezpieczona jest has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "Identyfikator wyr\u00f3\u017cniaj\u0105cego pliku medialnego wpisu.", "type": "integer", "required": false }, "comment_status": { "description": "To czy wpis mo\u017ce by\u0107 komentowany.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "To, czy wpis mo\u017ce by\u0107 pingowany.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": { "_et_pb_use_builder": { "type": "string", "title": "", "description": "", "default": "" }, "_et_pb_old_content": { "type": "string", "title": "", "description": "", "default": "" }, "_et_gb_content_width": { "type": "string", "title": "", "description": "", "default": "" }, "inline_featured_image": { "type": "boolean", "title": "", "description": "", "default": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" } }, "required": false }, "template": { "description": "Plik motywu u\u017cywany do wy\u015bwietlania wpisu.", "type": "string", "required": false }, "project_category": { "description": "Terminy przypisane do wpisu w taksonomii: project_category", "type": "array", "items": { "type": "integer" }, "required": false }, "project_tag": { "description": "Terminy przypisane do wpisu w taksonomii: project_tag", "type": "array", "items": { "type": "integer" }, "required": false }, "jetpack_sharing_enabled": { "description": "Are sharing buttons enabled?", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wp\/v2\/project" } ] } }, "\/wp\/v2\/project\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator wpisu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "excerpt_length": { "description": "Nadpisz domy\u015bln\u0105 d\u0142ugo\u015b\u0107 zajawki.", "type": "integer", "required": false }, "password": { "description": "Has\u0142o dla wpisu, je\u015bli jest on chroniony has\u0142em.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator wpisu.", "type": "integer", "required": false }, "date": { "description": "Data publikacji wpisu w strefie czasowej witryny.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Data wpisu zosta\u0142a opublikowana jako GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator dla wpisu unikatowy dla jego typu.", "type": "string", "required": false }, "status": { "description": "Nazwa statusu wpisu.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam" ], "required": false }, "password": { "description": "Has\u0142o ochrony dost\u0119pu do tre\u015bci i zajawki.", "type": "string", "required": false }, "title": { "description": "Tytu\u0142 wpisu.", "type": "object", "properties": { "raw": { "description": "Tytu\u0142 wpisu, istniej\u0105cy w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Tytu\u0142 HTML wpisu, przekszta\u0142cony do wy\u015bwietlania.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Tre\u015b\u0107 wpisu.", "type": "object", "properties": { "raw": { "description": "Tre\u015b\u0107 wpisu, tak jak zosta\u0142a zapisana w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Zawarto\u015b\u0107 HMTL wpisu, przetworzona do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Wersja bloku tre\u015bci u\u017cywanego we wpisie.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Czy tre\u015b\u0107 jest chronia has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "Identyfikator autora wpisu.", "type": "integer", "required": false }, "excerpt": { "description": "Zajawka wpisu.", "type": "object", "properties": { "raw": { "description": "Zajawka wpisu, tak jak wyst\u0119puje w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Wycinek HTML dla wpisu, przekszta\u0142cony do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Czy zajawka zabezpieczona jest has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "Identyfikator wyr\u00f3\u017cniaj\u0105cego pliku medialnego wpisu.", "type": "integer", "required": false }, "comment_status": { "description": "To czy wpis mo\u017ce by\u0107 komentowany.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "To, czy wpis mo\u017ce by\u0107 pingowany.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": { "_et_pb_use_builder": { "type": "string", "title": "", "description": "", "default": "" }, "_et_pb_old_content": { "type": "string", "title": "", "description": "", "default": "" }, "_et_gb_content_width": { "type": "string", "title": "", "description": "", "default": "" }, "inline_featured_image": { "type": "boolean", "title": "", "description": "", "default": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" } }, "required": false }, "template": { "description": "Plik motywu u\u017cywany do wy\u015bwietlania wpisu.", "type": "string", "required": false }, "project_category": { "description": "Terminy przypisane do wpisu w taksonomii: project_category", "type": "array", "items": { "type": "integer" }, "required": false }, "project_tag": { "description": "Terminy przypisane do wpisu w taksonomii: project_tag", "type": "array", "items": { "type": "integer" }, "required": false }, "jetpack_sharing_enabled": { "description": "Are sharing buttons enabled?", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator wpisu.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "required": false } } } ] }, "\/wp\/v2\/project\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Identyfikator wpisu nadrz\u0119dnego wersji.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Wyklucz z wyniku okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesuni\u0119cie zestawu wynik\u00f3w o okre\u015blon\u0105 liczb\u0119 element\u00f3w.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "relevance", "slug", "include_slugs", "title" ], "required": false } } } ] }, "\/wp\/v2\/project\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Identyfikator wpisu nadrz\u0119dnego wersji.", "type": "integer", "required": false }, "id": { "description": "Unikatowy identyfikator wersji.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "Identyfikator wpisu nadrz\u0119dnego wersji.", "type": "integer", "required": false }, "id": { "description": "Unikatowy identyfikator wersji.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c w wersjach nie u\u017cywamy kosza.", "required": false } } } ] }, "\/wp\/v2\/project\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Identyfikator elementu nadrz\u0119dnego autozapisu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "Identyfikator elementu nadrz\u0119dnego autozapisu.", "type": "integer", "required": false }, "date": { "description": "Data publikacji wpisu w strefie czasowej witryny.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Data wpisu zosta\u0142a opublikowana jako GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator dla wpisu unikatowy dla jego typu.", "type": "string", "required": false }, "status": { "description": "Nazwa statusu wpisu.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam" ], "required": false }, "password": { "description": "Has\u0142o ochrony dost\u0119pu do tre\u015bci i zajawki.", "type": "string", "required": false }, "title": { "description": "Tytu\u0142 wpisu.", "type": "object", "properties": { "raw": { "description": "Tytu\u0142 wpisu, istniej\u0105cy w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Tytu\u0142 HTML wpisu, przekszta\u0142cony do wy\u015bwietlania.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Tre\u015b\u0107 wpisu.", "type": "object", "properties": { "raw": { "description": "Tre\u015b\u0107 wpisu, tak jak zosta\u0142a zapisana w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Zawarto\u015b\u0107 HMTL wpisu, przetworzona do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Wersja bloku tre\u015bci u\u017cywanego we wpisie.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Czy tre\u015b\u0107 jest chronia has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "Identyfikator autora wpisu.", "type": "integer", "required": false }, "excerpt": { "description": "Zajawka wpisu.", "type": "object", "properties": { "raw": { "description": "Zajawka wpisu, tak jak wyst\u0119puje w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Wycinek HTML dla wpisu, przekszta\u0142cony do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Czy zajawka zabezpieczona jest has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "Identyfikator wyr\u00f3\u017cniaj\u0105cego pliku medialnego wpisu.", "type": "integer", "required": false }, "comment_status": { "description": "To czy wpis mo\u017ce by\u0107 komentowany.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "To, czy wpis mo\u017ce by\u0107 pingowany.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": { "_et_pb_use_builder": { "type": "string", "title": "", "description": "", "default": "" }, "_et_pb_old_content": { "type": "string", "title": "", "description": "", "default": "" }, "_et_gb_content_width": { "type": "string", "title": "", "description": "", "default": "" }, "inline_featured_image": { "type": "boolean", "title": "", "description": "", "default": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" } }, "required": false }, "template": { "description": "Plik motywu u\u017cywany do wy\u015bwietlania wpisu.", "type": "string", "required": false }, "project_category": { "description": "Terminy przypisane do wpisu w taksonomii: project_category", "type": "array", "items": { "type": "integer" }, "required": false }, "project_tag": { "description": "Terminy przypisane do wpisu w taksonomii: project_tag", "type": "array", "items": { "type": "integer" }, "required": false }, "jetpack_sharing_enabled": { "description": "Are sharing buttons enabled?", "type": "boolean", "required": false } } } ] }, "\/wp\/v2\/project\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Identyfikator elementu nadrz\u0119dnego autozapisu.", "type": "integer", "required": false }, "id": { "description": "Identyfikator automatycznego zapisu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/product": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "after": { "description": "Ogranicz wyniki do wpis\u00f3w opublikowanych po podanej dacie w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ogranicz wyniki do zmienionych wpis\u00f3w po podanej dacie w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ogranicz wyniki do wpis\u00f3w opublikowanych przed podan\u0105 dat\u0105 w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ogranicz wyniki do zmienionych wpis\u00f3w przed podan\u0105 dat\u0105 w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Wyklucz z wyniku okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "Jak interpretowa\u0107 dane wyszukiwania.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Przesuni\u0119cie zestawu wynik\u00f3w o okre\u015blon\u0105 liczb\u0119 element\u00f3w.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj kolekcj\u0119 wed\u0142ug atrybutu wpisu.", "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": "Tablica nazw kolumn do przeszukania.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Ogranicz wyniki do wpis\u00f3w posiadaj\u0105cych podan\u0105 uproszczon\u0105 nazw\u0119.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Ogranicz wyniki do wpis\u00f3w przyporz\u0105dkowanych do jednego lub kilku status\u00f3w.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "Limit wyniku ustalony na podstawie relacji pomi\u0119dzy wieloma taksonomiami.\t", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "product_brand": { "description": "Ograniczaj zestaw wynik\u00f3w do pozycji z okre\u015blonymi terminami z taksonomii product_brand.", "type": [ "object", "array" ], "oneOf": [ { "title": "Lista identyfikator\u00f3w termin\u00f3w", "description": "Dopasuj terminy do wypisanych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" } }, { "title": "Identyfikator terminu w zapytaniu Taxonomy Query", "description": "Wykonaj zaawansowane zapytanie z terminem.", "type": "object", "properties": { "terms": { "description": "Identyfikatory termin\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Czy uwzgl\u0119dnia\u0107 terminy podrz\u0119dne w terminach ograniczaj\u0105cych wyniki.", "type": "boolean", "default": false }, "operator": { "description": "Czy elementy musz\u0105 by\u0107 przypisane do wszystkich czy do wybranych termin\u00f3w?", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "product_brand_exclude": { "description": "Ogranicz wyniki do element\u00f3w posiadaj\u0105cych wybrany termin w taksonomii product_brand.", "type": [ "object", "array" ], "oneOf": [ { "title": "Lista identyfikator\u00f3w termin\u00f3w", "description": "Dopasuj terminy do wypisanych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" } }, { "title": "Identyfikator terminu w zapytaniu Taxonomy Query", "description": "Wykonaj zaawansowane zapytanie z terminem.", "type": "object", "properties": { "terms": { "description": "Identyfikatory termin\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Czy uwzgl\u0119dnia\u0107 terminy podrz\u0119dne w terminach ograniczaj\u0105cych wyniki.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "product_cat": { "description": "Ograniczaj zestaw wynik\u00f3w do pozycji z okre\u015blonymi terminami z taksonomii product_cat.", "type": [ "object", "array" ], "oneOf": [ { "title": "Lista identyfikator\u00f3w termin\u00f3w", "description": "Dopasuj terminy do wypisanych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" } }, { "title": "Identyfikator terminu w zapytaniu Taxonomy Query", "description": "Wykonaj zaawansowane zapytanie z terminem.", "type": "object", "properties": { "terms": { "description": "Identyfikatory termin\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Czy uwzgl\u0119dnia\u0107 terminy podrz\u0119dne w terminach ograniczaj\u0105cych wyniki.", "type": "boolean", "default": false }, "operator": { "description": "Czy elementy musz\u0105 by\u0107 przypisane do wszystkich czy do wybranych termin\u00f3w?", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "product_cat_exclude": { "description": "Ogranicz wyniki do element\u00f3w posiadaj\u0105cych wybrany termin w taksonomii product_cat.", "type": [ "object", "array" ], "oneOf": [ { "title": "Lista identyfikator\u00f3w termin\u00f3w", "description": "Dopasuj terminy do wypisanych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" } }, { "title": "Identyfikator terminu w zapytaniu Taxonomy Query", "description": "Wykonaj zaawansowane zapytanie z terminem.", "type": "object", "properties": { "terms": { "description": "Identyfikatory termin\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Czy uwzgl\u0119dnia\u0107 terminy podrz\u0119dne w terminach ograniczaj\u0105cych wyniki.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "product_tag": { "description": "Ograniczaj zestaw wynik\u00f3w do pozycji z okre\u015blonymi terminami z taksonomii product_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Lista identyfikator\u00f3w termin\u00f3w", "description": "Dopasuj terminy do wypisanych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" } }, { "title": "Identyfikator terminu w zapytaniu Taxonomy Query", "description": "Wykonaj zaawansowane zapytanie z terminem.", "type": "object", "properties": { "terms": { "description": "Identyfikatory termin\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Czy elementy musz\u0105 by\u0107 przypisane do wszystkich czy do wybranych termin\u00f3w?", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "product_tag_exclude": { "description": "Ogranicz wyniki do element\u00f3w posiadaj\u0105cych wybrany termin w taksonomii product_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Lista identyfikator\u00f3w termin\u00f3w", "description": "Dopasuj terminy do wypisanych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" } }, { "title": "Identyfikator terminu w zapytaniu Taxonomy Query", "description": "Wykonaj zaawansowane zapytanie z terminem.", "type": "object", "properties": { "terms": { "description": "Identyfikatory termin\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false }, "brand": { "description": "Ogranicz zestaw wynik\u00f3w do produkt\u00f3w przypisanych do okre\u015blonego identyfikatora marki.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "Data publikacji wpisu w strefie czasowej witryny.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Data wpisu zosta\u0142a opublikowana jako GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator dla wpisu unikatowy dla jego typu.", "type": "string", "required": false }, "status": { "description": "Nazwa statusu wpisu.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam" ], "required": false }, "password": { "description": "Has\u0142o ochrony dost\u0119pu do tre\u015bci i zajawki.", "type": "string", "required": false }, "title": { "description": "Tytu\u0142 wpisu.", "type": "object", "properties": { "raw": { "description": "Tytu\u0142 wpisu, istniej\u0105cy w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Tytu\u0142 HTML wpisu, przekszta\u0142cony do wy\u015bwietlania.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Tre\u015b\u0107 wpisu.", "type": "object", "properties": { "raw": { "description": "Tre\u015b\u0107 wpisu, tak jak zosta\u0142a zapisana w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Zawarto\u015b\u0107 HMTL wpisu, przetworzona do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Wersja bloku tre\u015bci u\u017cywanego we wpisie.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Czy tre\u015b\u0107 jest chronia has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "excerpt": { "description": "Zajawka wpisu.", "type": "object", "properties": { "raw": { "description": "Zajawka wpisu, tak jak wyst\u0119puje w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Wycinek HTML dla wpisu, przekszta\u0142cony do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Czy zajawka zabezpieczona jest has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "Identyfikator wyr\u00f3\u017cniaj\u0105cego pliku medialnego wpisu.", "type": "integer", "required": false }, "comment_status": { "description": "To czy wpis mo\u017ce by\u0107 komentowany.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "To, czy wpis mo\u017ce by\u0107 pingowany.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": { "_et_pb_use_builder": { "type": "string", "title": "", "description": "", "default": "" }, "_et_pb_old_content": { "type": "string", "title": "", "description": "", "default": "" }, "_et_gb_content_width": { "type": "string", "title": "", "description": "", "default": "" }, "inline_featured_image": { "type": "boolean", "title": "", "description": "", "default": false } }, "required": false }, "template": { "description": "Plik motywu u\u017cywany do wy\u015bwietlania wpisu.", "type": "string", "required": false }, "product_brand": { "description": "Terminy przypisane do wpisu w taksonomii: product_brand", "type": "array", "items": { "type": "integer" }, "required": false }, "product_cat": { "description": "Terminy przypisane do wpisu w taksonomii: product_cat", "type": "array", "items": { "type": "integer" }, "required": false }, "product_tag": { "description": "Terminy przypisane do wpisu w taksonomii: product_tag", "type": "array", "items": { "type": "integer" }, "required": false }, "jetpack_sharing_enabled": { "description": "Are sharing buttons enabled?", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator wpisu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "excerpt_length": { "description": "Nadpisz domy\u015bln\u0105 d\u0142ugo\u015b\u0107 zajawki.", "type": "integer", "required": false }, "password": { "description": "Has\u0142o dla wpisu, je\u015bli jest on chroniony has\u0142em.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator wpisu.", "type": "integer", "required": false }, "date": { "description": "Data publikacji wpisu w strefie czasowej witryny.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Data wpisu zosta\u0142a opublikowana jako GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator dla wpisu unikatowy dla jego typu.", "type": "string", "required": false }, "status": { "description": "Nazwa statusu wpisu.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam" ], "required": false }, "password": { "description": "Has\u0142o ochrony dost\u0119pu do tre\u015bci i zajawki.", "type": "string", "required": false }, "title": { "description": "Tytu\u0142 wpisu.", "type": "object", "properties": { "raw": { "description": "Tytu\u0142 wpisu, istniej\u0105cy w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Tytu\u0142 HTML wpisu, przekszta\u0142cony do wy\u015bwietlania.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Tre\u015b\u0107 wpisu.", "type": "object", "properties": { "raw": { "description": "Tre\u015b\u0107 wpisu, tak jak zosta\u0142a zapisana w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Zawarto\u015b\u0107 HMTL wpisu, przetworzona do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Wersja bloku tre\u015bci u\u017cywanego we wpisie.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Czy tre\u015b\u0107 jest chronia has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "excerpt": { "description": "Zajawka wpisu.", "type": "object", "properties": { "raw": { "description": "Zajawka wpisu, tak jak wyst\u0119puje w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Wycinek HTML dla wpisu, przekszta\u0142cony do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Czy zajawka zabezpieczona jest has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "Identyfikator wyr\u00f3\u017cniaj\u0105cego pliku medialnego wpisu.", "type": "integer", "required": false }, "comment_status": { "description": "To czy wpis mo\u017ce by\u0107 komentowany.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "To, czy wpis mo\u017ce by\u0107 pingowany.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": { "_et_pb_use_builder": { "type": "string", "title": "", "description": "", "default": "" }, "_et_pb_old_content": { "type": "string", "title": "", "description": "", "default": "" }, "_et_gb_content_width": { "type": "string", "title": "", "description": "", "default": "" }, "inline_featured_image": { "type": "boolean", "title": "", "description": "", "default": false } }, "required": false }, "template": { "description": "Plik motywu u\u017cywany do wy\u015bwietlania wpisu.", "type": "string", "required": false }, "product_brand": { "description": "Terminy przypisane do wpisu w taksonomii: product_brand", "type": "array", "items": { "type": "integer" }, "required": false }, "product_cat": { "description": "Terminy przypisane do wpisu w taksonomii: product_cat", "type": "array", "items": { "type": "integer" }, "required": false }, "product_tag": { "description": "Terminy przypisane do wpisu w taksonomii: product_tag", "type": "array", "items": { "type": "integer" }, "required": false }, "jetpack_sharing_enabled": { "description": "Are sharing buttons enabled?", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator wpisu.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "required": false } } } ] }, "\/wp\/v2\/product\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Identyfikator elementu nadrz\u0119dnego autozapisu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "Identyfikator elementu nadrz\u0119dnego autozapisu.", "type": "integer", "required": false }, "date": { "description": "Data publikacji wpisu w strefie czasowej witryny.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Data wpisu zosta\u0142a opublikowana jako GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator dla wpisu unikatowy dla jego typu.", "type": "string", "required": false }, "status": { "description": "Nazwa statusu wpisu.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam" ], "required": false }, "password": { "description": "Has\u0142o ochrony dost\u0119pu do tre\u015bci i zajawki.", "type": "string", "required": false }, "title": { "description": "Tytu\u0142 wpisu.", "type": "object", "properties": { "raw": { "description": "Tytu\u0142 wpisu, istniej\u0105cy w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Tytu\u0142 HTML wpisu, przekszta\u0142cony do wy\u015bwietlania.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Tre\u015b\u0107 wpisu.", "type": "object", "properties": { "raw": { "description": "Tre\u015b\u0107 wpisu, tak jak zosta\u0142a zapisana w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Zawarto\u015b\u0107 HMTL wpisu, przetworzona do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Wersja bloku tre\u015bci u\u017cywanego we wpisie.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Czy tre\u015b\u0107 jest chronia has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "excerpt": { "description": "Zajawka wpisu.", "type": "object", "properties": { "raw": { "description": "Zajawka wpisu, tak jak wyst\u0119puje w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Wycinek HTML dla wpisu, przekszta\u0142cony do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Czy zajawka zabezpieczona jest has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "Identyfikator wyr\u00f3\u017cniaj\u0105cego pliku medialnego wpisu.", "type": "integer", "required": false }, "comment_status": { "description": "To czy wpis mo\u017ce by\u0107 komentowany.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "To, czy wpis mo\u017ce by\u0107 pingowany.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": { "_et_pb_use_builder": { "type": "string", "title": "", "description": "", "default": "" }, "_et_pb_old_content": { "type": "string", "title": "", "description": "", "default": "" }, "_et_gb_content_width": { "type": "string", "title": "", "description": "", "default": "" }, "inline_featured_image": { "type": "boolean", "title": "", "description": "", "default": false } }, "required": false }, "template": { "description": "Plik motywu u\u017cywany do wy\u015bwietlania wpisu.", "type": "string", "required": false }, "product_brand": { "description": "Terminy przypisane do wpisu w taksonomii: product_brand", "type": "array", "items": { "type": "integer" }, "required": false }, "product_cat": { "description": "Terminy przypisane do wpisu w taksonomii: product_cat", "type": "array", "items": { "type": "integer" }, "required": false }, "product_tag": { "description": "Terminy przypisane do wpisu w taksonomii: product_tag", "type": "array", "items": { "type": "integer" }, "required": false }, "jetpack_sharing_enabled": { "description": "Are sharing buttons enabled?", "type": "boolean", "required": false } } } ] }, "\/wp\/v2\/product\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Identyfikator elementu nadrz\u0119dnego autozapisu.", "type": "integer", "required": false }, "id": { "description": "Identyfikator automatycznego zapisu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/feedback": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "after": { "description": "Ogranicz wyniki do wpis\u00f3w opublikowanych po podanej dacie w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ogranicz wyniki do zmienionych wpis\u00f3w po podanej dacie w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ogranicz wyniki do wpis\u00f3w opublikowanych przed podan\u0105 dat\u0105 w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ogranicz wyniki do zmienionych wpis\u00f3w przed podan\u0105 dat\u0105 w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Wyklucz z wyniku okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "Jak interpretowa\u0107 dane wyszukiwania.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Przesuni\u0119cie zestawu wynik\u00f3w o okre\u015blon\u0105 liczb\u0119 element\u00f3w.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj kolekcj\u0119 wed\u0142ug atrybutu wpisu.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "Tablica nazw kolumn do przeszukania.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Ogranicz wyniki do wpis\u00f3w posiadaj\u0105cych podan\u0105 uproszczon\u0105 nazw\u0119.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Ogranicz wyniki do wpis\u00f3w przyporz\u0105dkowanych do jednego lub kilku status\u00f3w.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam", "any" ], "type": "string" }, "required": false }, "parent": { "description": "Limit result set to items with particular parent IDs.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "parent_exclude": { "description": "Limit result set to all items except those of a particular parent ID.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "Data publikacji wpisu w strefie czasowej witryny.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Data wpisu zosta\u0142a opublikowana jako GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator dla wpisu unikatowy dla jego typu.", "type": "string", "required": false }, "status": { "description": "Nazwa statusu wpisu.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam" ], "required": false }, "password": { "description": "Has\u0142o ochrony dost\u0119pu do tre\u015bci i zajawki.", "type": "string", "required": false }, "title": { "description": "Tytu\u0142 wpisu.", "type": "object", "properties": { "raw": { "description": "Tytu\u0142 wpisu, istniej\u0105cy w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Tytu\u0142 HTML wpisu, przekszta\u0142cony do wy\u015bwietlania.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Tre\u015b\u0107 wpisu.", "type": "object", "properties": { "raw": { "description": "Tre\u015b\u0107 wpisu, tak jak zosta\u0142a zapisana w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Zawarto\u015b\u0107 HMTL wpisu, przetworzona do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Wersja bloku tre\u015bci u\u017cywanego we wpisie.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Czy tre\u015b\u0107 jest chronia has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "template": { "description": "Plik motywu u\u017cywany do wy\u015bwietlania wpisu.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wp\/v2\/feedback" } ] } }, "\/wp\/v2\/feedback\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator wpisu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "Has\u0142o dla wpisu, je\u015bli jest on chroniony has\u0142em.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator wpisu.", "type": "integer", "required": false }, "date": { "description": "Data publikacji wpisu w strefie czasowej witryny.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Data wpisu zosta\u0142a opublikowana jako GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator dla wpisu unikatowy dla jego typu.", "type": "string", "required": false }, "status": { "description": "Nazwa statusu wpisu.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam" ], "required": false }, "password": { "description": "Has\u0142o ochrony dost\u0119pu do tre\u015bci i zajawki.", "type": "string", "required": false }, "title": { "description": "Tytu\u0142 wpisu.", "type": "object", "properties": { "raw": { "description": "Tytu\u0142 wpisu, istniej\u0105cy w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Tytu\u0142 HTML wpisu, przekszta\u0142cony do wy\u015bwietlania.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Tre\u015b\u0107 wpisu.", "type": "object", "properties": { "raw": { "description": "Tre\u015b\u0107 wpisu, tak jak zosta\u0142a zapisana w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Zawarto\u015b\u0107 HMTL wpisu, przetworzona do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Wersja bloku tre\u015bci u\u017cywanego we wpisie.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Czy tre\u015b\u0107 jest chronia has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "template": { "description": "Plik motywu u\u017cywany do wy\u015bwietlania wpisu.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator wpisu.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "required": false } } } ] }, "\/wp\/v2\/feedback\/filters": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": [] } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wp\/v2\/feedback\/filters" } ] } }, "\/wp\/v2\/feedback\/integration-status\/(?P[\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "slug": { "type": "string", "required": true } } } ] }, "\/wp\/v2\/feedback\/bulk_actions": { "namespace": "wp\/v2", "methods": [ "POST" ], "endpoints": [ { "methods": [ "POST" ], "args": { "action": { "type": "string", "enum": [ "mark_as_spam", "mark_as_not_spam" ], "required": true }, "post_ids": { "type": "array", "items": { "type": "integer" }, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wp\/v2\/feedback\/bulk_actions" } ] } }, "\/wp\/v2\/feedback\/files": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "file_id": { "required": true }, "file_nonce": { "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wp\/v2\/feedback\/files" } ] } }, "\/wp\/v2\/feedback\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Identyfikator elementu nadrz\u0119dnego autozapisu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "Identyfikator elementu nadrz\u0119dnego autozapisu.", "type": "integer", "required": false }, "date": { "description": "Data publikacji wpisu w strefie czasowej witryny.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Data wpisu zosta\u0142a opublikowana jako GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator dla wpisu unikatowy dla jego typu.", "type": "string", "required": false }, "status": { "description": "Nazwa statusu wpisu.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam" ], "required": false }, "password": { "description": "Has\u0142o ochrony dost\u0119pu do tre\u015bci i zajawki.", "type": "string", "required": false }, "title": { "description": "Tytu\u0142 wpisu.", "type": "object", "properties": { "raw": { "description": "Tytu\u0142 wpisu, istniej\u0105cy w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Tytu\u0142 HTML wpisu, przekszta\u0142cony do wy\u015bwietlania.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Tre\u015b\u0107 wpisu.", "type": "object", "properties": { "raw": { "description": "Tre\u015b\u0107 wpisu, tak jak zosta\u0142a zapisana w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Zawarto\u015b\u0107 HMTL wpisu, przetworzona do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Wersja bloku tre\u015bci u\u017cywanego we wpisie.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Czy tre\u015b\u0107 jest chronia has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "template": { "description": "Plik motywu u\u017cywany do wy\u015bwietlania wpisu.", "type": "string", "required": false } } } ] }, "\/wp\/v2\/feedback\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Identyfikator elementu nadrz\u0119dnego autozapisu.", "type": "integer", "required": false }, "id": { "description": "Identyfikator automatycznego zapisu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/epkb_post_type_1": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "after": { "description": "Ogranicz wyniki do wpis\u00f3w opublikowanych po podanej dacie w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ogranicz wyniki do zmienionych wpis\u00f3w po podanej dacie w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Ogranicz wyniki do wpis\u00f3w wybranych autor\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Wyklucz wpisy przypisane do wybranych autor\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Ogranicz wyniki do wpis\u00f3w opublikowanych przed podan\u0105 dat\u0105 w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ogranicz wyniki do zmienionych wpis\u00f3w przed podan\u0105 dat\u0105 w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Wyklucz z wyniku okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "Jak interpretowa\u0107 dane wyszukiwania.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Przesuni\u0119cie zestawu wynik\u00f3w o okre\u015blon\u0105 liczb\u0119 element\u00f3w.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj kolekcj\u0119 wed\u0142ug atrybutu wpisu.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "Tablica nazw kolumn do przeszukania.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Ogranicz wyniki do wpis\u00f3w posiadaj\u0105cych podan\u0105 uproszczon\u0105 nazw\u0119.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Ogranicz wyniki do wpis\u00f3w przyporz\u0105dkowanych do jednego lub kilku status\u00f3w.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "Limit wyniku ustalony na podstawie relacji pomi\u0119dzy wieloma taksonomiami.\t", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "epkb_post_type_1_category": { "description": "Ograniczaj zestaw wynik\u00f3w do pozycji z okre\u015blonymi terminami z taksonomii epkb_post_type_1_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Lista identyfikator\u00f3w termin\u00f3w", "description": "Dopasuj terminy do wypisanych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" } }, { "title": "Identyfikator terminu w zapytaniu Taxonomy Query", "description": "Wykonaj zaawansowane zapytanie z terminem.", "type": "object", "properties": { "terms": { "description": "Identyfikatory termin\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Czy uwzgl\u0119dnia\u0107 terminy podrz\u0119dne w terminach ograniczaj\u0105cych wyniki.", "type": "boolean", "default": false }, "operator": { "description": "Czy elementy musz\u0105 by\u0107 przypisane do wszystkich czy do wybranych termin\u00f3w?", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "epkb_post_type_1_category_exclude": { "description": "Ogranicz wyniki do element\u00f3w posiadaj\u0105cych wybrany termin w taksonomii epkb_post_type_1_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Lista identyfikator\u00f3w termin\u00f3w", "description": "Dopasuj terminy do wypisanych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" } }, { "title": "Identyfikator terminu w zapytaniu Taxonomy Query", "description": "Wykonaj zaawansowane zapytanie z terminem.", "type": "object", "properties": { "terms": { "description": "Identyfikatory termin\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Czy uwzgl\u0119dnia\u0107 terminy podrz\u0119dne w terminach ograniczaj\u0105cych wyniki.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false }, "epkb_post_type_1_tag": { "description": "Ograniczaj zestaw wynik\u00f3w do pozycji z okre\u015blonymi terminami z taksonomii epkb_post_type_1_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Lista identyfikator\u00f3w termin\u00f3w", "description": "Dopasuj terminy do wypisanych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" } }, { "title": "Identyfikator terminu w zapytaniu Taxonomy Query", "description": "Wykonaj zaawansowane zapytanie z terminem.", "type": "object", "properties": { "terms": { "description": "Identyfikatory termin\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [] }, "operator": { "description": "Czy elementy musz\u0105 by\u0107 przypisane do wszystkich czy do wybranych termin\u00f3w?", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "epkb_post_type_1_tag_exclude": { "description": "Ogranicz wyniki do element\u00f3w posiadaj\u0105cych wybrany termin w taksonomii epkb_post_type_1_tag.", "type": [ "object", "array" ], "oneOf": [ { "title": "Lista identyfikator\u00f3w termin\u00f3w", "description": "Dopasuj terminy do wypisanych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" } }, { "title": "Identyfikator terminu w zapytaniu Taxonomy Query", "description": "Wykonaj zaawansowane zapytanie z terminem.", "type": "object", "properties": { "terms": { "description": "Identyfikatory termin\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [] } }, "additionalProperties": false } ], "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "Data publikacji wpisu w strefie czasowej witryny.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Data wpisu zosta\u0142a opublikowana jako GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator dla wpisu unikatowy dla jego typu.", "type": "string", "required": false }, "status": { "description": "Nazwa statusu wpisu.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam" ], "required": false }, "password": { "description": "Has\u0142o ochrony dost\u0119pu do tre\u015bci i zajawki.", "type": "string", "required": false }, "title": { "description": "Tytu\u0142 wpisu.", "type": "object", "properties": { "raw": { "description": "Tytu\u0142 wpisu, istniej\u0105cy w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Tytu\u0142 HTML wpisu, przekszta\u0142cony do wy\u015bwietlania.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Tre\u015b\u0107 wpisu.", "type": "object", "properties": { "raw": { "description": "Tre\u015b\u0107 wpisu, tak jak zosta\u0142a zapisana w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Zawarto\u015b\u0107 HMTL wpisu, przetworzona do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Wersja bloku tre\u015bci u\u017cywanego we wpisie.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Czy tre\u015b\u0107 jest chronia has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "Identyfikator autora wpisu.", "type": "integer", "required": false }, "excerpt": { "description": "Zajawka wpisu.", "type": "object", "properties": { "raw": { "description": "Zajawka wpisu, tak jak wyst\u0119puje w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Wycinek HTML dla wpisu, przekszta\u0142cony do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Czy zajawka zabezpieczona jest has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "Identyfikator wyr\u00f3\u017cniaj\u0105cego pliku medialnego wpisu.", "type": "integer", "required": false }, "comment_status": { "description": "To czy wpis mo\u017ce by\u0107 komentowany.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "To, czy wpis mo\u017ce by\u0107 pingowany.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": { "_et_pb_use_builder": { "type": "string", "title": "", "description": "", "default": "" }, "_et_pb_old_content": { "type": "string", "title": "", "description": "", "default": "" }, "_et_gb_content_width": { "type": "string", "title": "", "description": "", "default": "" }, "inline_featured_image": { "type": "boolean", "title": "", "description": "", "default": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" } }, "required": false }, "template": { "description": "Plik motywu u\u017cywany do wy\u015bwietlania wpisu.", "type": "string", "required": false }, "epkb_post_type_1_category": { "description": "Terminy przypisane do wpisu w taksonomii: epkb_post_type_1_category", "type": "array", "items": { "type": "integer" }, "required": false }, "epkb_post_type_1_tag": { "description": "Terminy przypisane do wpisu w taksonomii: epkb_post_type_1_tag", "type": "array", "items": { "type": "integer" }, "required": false }, "jetpack_sharing_enabled": { "description": "Are sharing buttons enabled?", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wp\/v2\/epkb_post_type_1" } ] } }, "\/wp\/v2\/epkb_post_type_1\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator wpisu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "excerpt_length": { "description": "Nadpisz domy\u015bln\u0105 d\u0142ugo\u015b\u0107 zajawki.", "type": "integer", "required": false }, "password": { "description": "Has\u0142o dla wpisu, je\u015bli jest on chroniony has\u0142em.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator wpisu.", "type": "integer", "required": false }, "date": { "description": "Data publikacji wpisu w strefie czasowej witryny.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Data wpisu zosta\u0142a opublikowana jako GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator dla wpisu unikatowy dla jego typu.", "type": "string", "required": false }, "status": { "description": "Nazwa statusu wpisu.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam" ], "required": false }, "password": { "description": "Has\u0142o ochrony dost\u0119pu do tre\u015bci i zajawki.", "type": "string", "required": false }, "title": { "description": "Tytu\u0142 wpisu.", "type": "object", "properties": { "raw": { "description": "Tytu\u0142 wpisu, istniej\u0105cy w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Tytu\u0142 HTML wpisu, przekszta\u0142cony do wy\u015bwietlania.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Tre\u015b\u0107 wpisu.", "type": "object", "properties": { "raw": { "description": "Tre\u015b\u0107 wpisu, tak jak zosta\u0142a zapisana w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Zawarto\u015b\u0107 HMTL wpisu, przetworzona do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Wersja bloku tre\u015bci u\u017cywanego we wpisie.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Czy tre\u015b\u0107 jest chronia has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "Identyfikator autora wpisu.", "type": "integer", "required": false }, "excerpt": { "description": "Zajawka wpisu.", "type": "object", "properties": { "raw": { "description": "Zajawka wpisu, tak jak wyst\u0119puje w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Wycinek HTML dla wpisu, przekszta\u0142cony do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Czy zajawka zabezpieczona jest has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "Identyfikator wyr\u00f3\u017cniaj\u0105cego pliku medialnego wpisu.", "type": "integer", "required": false }, "comment_status": { "description": "To czy wpis mo\u017ce by\u0107 komentowany.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "To, czy wpis mo\u017ce by\u0107 pingowany.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": { "_et_pb_use_builder": { "type": "string", "title": "", "description": "", "default": "" }, "_et_pb_old_content": { "type": "string", "title": "", "description": "", "default": "" }, "_et_gb_content_width": { "type": "string", "title": "", "description": "", "default": "" }, "inline_featured_image": { "type": "boolean", "title": "", "description": "", "default": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" } }, "required": false }, "template": { "description": "Plik motywu u\u017cywany do wy\u015bwietlania wpisu.", "type": "string", "required": false }, "epkb_post_type_1_category": { "description": "Terminy przypisane do wpisu w taksonomii: epkb_post_type_1_category", "type": "array", "items": { "type": "integer" }, "required": false }, "epkb_post_type_1_tag": { "description": "Terminy przypisane do wpisu w taksonomii: epkb_post_type_1_tag", "type": "array", "items": { "type": "integer" }, "required": false }, "jetpack_sharing_enabled": { "description": "Are sharing buttons enabled?", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator wpisu.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "required": false } } } ] }, "\/wp\/v2\/epkb_post_type_1\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Identyfikator wpisu nadrz\u0119dnego wersji.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Wyklucz z wyniku okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesuni\u0119cie zestawu wynik\u00f3w o okre\u015blon\u0105 liczb\u0119 element\u00f3w.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "relevance", "slug", "include_slugs", "title" ], "required": false } } } ] }, "\/wp\/v2\/epkb_post_type_1\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Identyfikator wpisu nadrz\u0119dnego wersji.", "type": "integer", "required": false }, "id": { "description": "Unikatowy identyfikator wersji.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "Identyfikator wpisu nadrz\u0119dnego wersji.", "type": "integer", "required": false }, "id": { "description": "Unikatowy identyfikator wersji.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c w wersjach nie u\u017cywamy kosza.", "required": false } } } ] }, "\/wp\/v2\/epkb_post_type_1\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Identyfikator elementu nadrz\u0119dnego autozapisu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "Identyfikator elementu nadrz\u0119dnego autozapisu.", "type": "integer", "required": false }, "date": { "description": "Data publikacji wpisu w strefie czasowej witryny.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Data wpisu zosta\u0142a opublikowana jako GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator dla wpisu unikatowy dla jego typu.", "type": "string", "required": false }, "status": { "description": "Nazwa statusu wpisu.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam" ], "required": false }, "password": { "description": "Has\u0142o ochrony dost\u0119pu do tre\u015bci i zajawki.", "type": "string", "required": false }, "title": { "description": "Tytu\u0142 wpisu.", "type": "object", "properties": { "raw": { "description": "Tytu\u0142 wpisu, istniej\u0105cy w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Tytu\u0142 HTML wpisu, przekszta\u0142cony do wy\u015bwietlania.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Tre\u015b\u0107 wpisu.", "type": "object", "properties": { "raw": { "description": "Tre\u015b\u0107 wpisu, tak jak zosta\u0142a zapisana w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Zawarto\u015b\u0107 HMTL wpisu, przetworzona do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Wersja bloku tre\u015bci u\u017cywanego we wpisie.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Czy tre\u015b\u0107 jest chronia has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "Identyfikator autora wpisu.", "type": "integer", "required": false }, "excerpt": { "description": "Zajawka wpisu.", "type": "object", "properties": { "raw": { "description": "Zajawka wpisu, tak jak wyst\u0119puje w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Wycinek HTML dla wpisu, przekszta\u0142cony do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Czy zajawka zabezpieczona jest has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "Identyfikator wyr\u00f3\u017cniaj\u0105cego pliku medialnego wpisu.", "type": "integer", "required": false }, "comment_status": { "description": "To czy wpis mo\u017ce by\u0107 komentowany.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "To, czy wpis mo\u017ce by\u0107 pingowany.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": { "_et_pb_use_builder": { "type": "string", "title": "", "description": "", "default": "" }, "_et_pb_old_content": { "type": "string", "title": "", "description": "", "default": "" }, "_et_gb_content_width": { "type": "string", "title": "", "description": "", "default": "" }, "inline_featured_image": { "type": "boolean", "title": "", "description": "", "default": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" } }, "required": false }, "template": { "description": "Plik motywu u\u017cywany do wy\u015bwietlania wpisu.", "type": "string", "required": false }, "epkb_post_type_1_category": { "description": "Terminy przypisane do wpisu w taksonomii: epkb_post_type_1_category", "type": "array", "items": { "type": "integer" }, "required": false }, "epkb_post_type_1_tag": { "description": "Terminy przypisane do wpisu w taksonomii: epkb_post_type_1_tag", "type": "array", "items": { "type": "integer" }, "required": false }, "jetpack_sharing_enabled": { "description": "Are sharing buttons enabled?", "type": "boolean", "required": false } } } ] }, "\/wp\/v2\/epkb_post_type_1\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Identyfikator elementu nadrz\u0119dnego autozapisu.", "type": "integer", "required": false }, "id": { "description": "Identyfikator automatycznego zapisu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/echo_kb_faq": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "after": { "description": "Ogranicz wyniki do wpis\u00f3w opublikowanych po podanej dacie w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ogranicz wyniki do zmienionych wpis\u00f3w po podanej dacie w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Ogranicz wyniki do wpis\u00f3w wybranych autor\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Wyklucz wpisy przypisane do wybranych autor\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Ogranicz wyniki do wpis\u00f3w opublikowanych przed podan\u0105 dat\u0105 w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ogranicz wyniki do zmienionych wpis\u00f3w przed podan\u0105 dat\u0105 w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Wyklucz z wyniku okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "Jak interpretowa\u0107 dane wyszukiwania.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Przesuni\u0119cie zestawu wynik\u00f3w o okre\u015blon\u0105 liczb\u0119 element\u00f3w.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj kolekcj\u0119 wed\u0142ug atrybutu wpisu.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "Tablica nazw kolumn do przeszukania.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Ogranicz wyniki do wpis\u00f3w posiadaj\u0105cych podan\u0105 uproszczon\u0105 nazw\u0119.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Ogranicz wyniki do wpis\u00f3w przyporz\u0105dkowanych do jednego lub kilku status\u00f3w.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam", "any" ], "type": "string" }, "required": false }, "tax_relation": { "description": "Limit wyniku ustalony na podstawie relacji pomi\u0119dzy wieloma taksonomiami.\t", "type": "string", "enum": [ "AND", "OR" ], "required": false }, "echo_kb_faq_category": { "description": "Ograniczaj zestaw wynik\u00f3w do pozycji z okre\u015blonymi terminami z taksonomii echo_kb_faq_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Lista identyfikator\u00f3w termin\u00f3w", "description": "Dopasuj terminy do wypisanych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" } }, { "title": "Identyfikator terminu w zapytaniu Taxonomy Query", "description": "Wykonaj zaawansowane zapytanie z terminem.", "type": "object", "properties": { "terms": { "description": "Identyfikatory termin\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Czy uwzgl\u0119dnia\u0107 terminy podrz\u0119dne w terminach ograniczaj\u0105cych wyniki.", "type": "boolean", "default": false }, "operator": { "description": "Czy elementy musz\u0105 by\u0107 przypisane do wszystkich czy do wybranych termin\u00f3w?", "type": "string", "enum": [ "AND", "OR" ], "default": "OR" } }, "additionalProperties": false } ], "required": false }, "echo_kb_faq_category_exclude": { "description": "Ogranicz wyniki do element\u00f3w posiadaj\u0105cych wybrany termin w taksonomii echo_kb_faq_category.", "type": [ "object", "array" ], "oneOf": [ { "title": "Lista identyfikator\u00f3w termin\u00f3w", "description": "Dopasuj terminy do wypisanych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" } }, { "title": "Identyfikator terminu w zapytaniu Taxonomy Query", "description": "Wykonaj zaawansowane zapytanie z terminem.", "type": "object", "properties": { "terms": { "description": "Identyfikatory termin\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [] }, "include_children": { "description": "Czy uwzgl\u0119dnia\u0107 terminy podrz\u0119dne w terminach ograniczaj\u0105cych wyniki.", "type": "boolean", "default": false } }, "additionalProperties": false } ], "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "Data publikacji wpisu w strefie czasowej witryny.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Data wpisu zosta\u0142a opublikowana jako GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator dla wpisu unikatowy dla jego typu.", "type": "string", "required": false }, "status": { "description": "Nazwa statusu wpisu.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam" ], "required": false }, "password": { "description": "Has\u0142o ochrony dost\u0119pu do tre\u015bci i zajawki.", "type": "string", "required": false }, "title": { "description": "Tytu\u0142 wpisu.", "type": "object", "properties": { "raw": { "description": "Tytu\u0142 wpisu, istniej\u0105cy w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Tytu\u0142 HTML wpisu, przekszta\u0142cony do wy\u015bwietlania.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Tre\u015b\u0107 wpisu.", "type": "object", "properties": { "raw": { "description": "Tre\u015b\u0107 wpisu, tak jak zosta\u0142a zapisana w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Zawarto\u015b\u0107 HMTL wpisu, przetworzona do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Wersja bloku tre\u015bci u\u017cywanego we wpisie.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Czy tre\u015b\u0107 jest chronia has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "Identyfikator autora wpisu.", "type": "integer", "required": false }, "excerpt": { "description": "Zajawka wpisu.", "type": "object", "properties": { "raw": { "description": "Zajawka wpisu, tak jak wyst\u0119puje w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Wycinek HTML dla wpisu, przekszta\u0142cony do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Czy zajawka zabezpieczona jest has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "Identyfikator wyr\u00f3\u017cniaj\u0105cego pliku medialnego wpisu.", "type": "integer", "required": false }, "comment_status": { "description": "To czy wpis mo\u017ce by\u0107 komentowany.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "To, czy wpis mo\u017ce by\u0107 pingowany.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": { "_et_pb_use_builder": { "type": "string", "title": "", "description": "", "default": "" }, "_et_pb_old_content": { "type": "string", "title": "", "description": "", "default": "" }, "_et_gb_content_width": { "type": "string", "title": "", "description": "", "default": "" }, "inline_featured_image": { "type": "boolean", "title": "", "description": "", "default": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" } }, "required": false }, "template": { "description": "Plik motywu u\u017cywany do wy\u015bwietlania wpisu.", "type": "string", "required": false }, "echo_kb_faq_category": { "description": "Terminy przypisane do wpisu w taksonomii: echo_kb_faq_category", "type": "array", "items": { "type": "integer" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wp\/v2\/echo_kb_faq" } ] } }, "\/wp\/v2\/echo_kb_faq\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator wpisu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "excerpt_length": { "description": "Nadpisz domy\u015bln\u0105 d\u0142ugo\u015b\u0107 zajawki.", "type": "integer", "required": false }, "password": { "description": "Has\u0142o dla wpisu, je\u015bli jest on chroniony has\u0142em.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator wpisu.", "type": "integer", "required": false }, "date": { "description": "Data publikacji wpisu w strefie czasowej witryny.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Data wpisu zosta\u0142a opublikowana jako GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator dla wpisu unikatowy dla jego typu.", "type": "string", "required": false }, "status": { "description": "Nazwa statusu wpisu.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam" ], "required": false }, "password": { "description": "Has\u0142o ochrony dost\u0119pu do tre\u015bci i zajawki.", "type": "string", "required": false }, "title": { "description": "Tytu\u0142 wpisu.", "type": "object", "properties": { "raw": { "description": "Tytu\u0142 wpisu, istniej\u0105cy w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Tytu\u0142 HTML wpisu, przekszta\u0142cony do wy\u015bwietlania.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Tre\u015b\u0107 wpisu.", "type": "object", "properties": { "raw": { "description": "Tre\u015b\u0107 wpisu, tak jak zosta\u0142a zapisana w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Zawarto\u015b\u0107 HMTL wpisu, przetworzona do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Wersja bloku tre\u015bci u\u017cywanego we wpisie.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Czy tre\u015b\u0107 jest chronia has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "Identyfikator autora wpisu.", "type": "integer", "required": false }, "excerpt": { "description": "Zajawka wpisu.", "type": "object", "properties": { "raw": { "description": "Zajawka wpisu, tak jak wyst\u0119puje w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Wycinek HTML dla wpisu, przekszta\u0142cony do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Czy zajawka zabezpieczona jest has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "Identyfikator wyr\u00f3\u017cniaj\u0105cego pliku medialnego wpisu.", "type": "integer", "required": false }, "comment_status": { "description": "To czy wpis mo\u017ce by\u0107 komentowany.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "To, czy wpis mo\u017ce by\u0107 pingowany.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": { "_et_pb_use_builder": { "type": "string", "title": "", "description": "", "default": "" }, "_et_pb_old_content": { "type": "string", "title": "", "description": "", "default": "" }, "_et_gb_content_width": { "type": "string", "title": "", "description": "", "default": "" }, "inline_featured_image": { "type": "boolean", "title": "", "description": "", "default": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" } }, "required": false }, "template": { "description": "Plik motywu u\u017cywany do wy\u015bwietlania wpisu.", "type": "string", "required": false }, "echo_kb_faq_category": { "description": "Terminy przypisane do wpisu w taksonomii: echo_kb_faq_category", "type": "array", "items": { "type": "integer" }, "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator wpisu.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "required": false } } } ] }, "\/wp\/v2\/echo_kb_faq\/(?P[\\d]+)\/revisions": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Identyfikator wpisu nadrz\u0119dnego wersji.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Wyklucz z wyniku okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesuni\u0119cie zestawu wynik\u00f3w o okre\u015blon\u0105 liczb\u0119 element\u00f3w.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r po atrybutach obiektu.", "type": "string", "default": "date", "enum": [ "date", "id", "include", "relevance", "slug", "include_slugs", "title" ], "required": false } } } ] }, "\/wp\/v2\/echo_kb_faq\/(?P[\\d]+)\/revisions\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Identyfikator wpisu nadrz\u0119dnego wersji.", "type": "integer", "required": false }, "id": { "description": "Unikatowy identyfikator wersji.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "DELETE" ], "args": { "parent": { "description": "Identyfikator wpisu nadrz\u0119dnego wersji.", "type": "integer", "required": false }, "id": { "description": "Unikatowy identyfikator wersji.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c w wersjach nie u\u017cywamy kosza.", "required": false } } } ] }, "\/wp\/v2\/echo_kb_faq\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Identyfikator elementu nadrz\u0119dnego autozapisu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "Identyfikator elementu nadrz\u0119dnego autozapisu.", "type": "integer", "required": false }, "date": { "description": "Data publikacji wpisu w strefie czasowej witryny.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Data wpisu zosta\u0142a opublikowana jako GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator dla wpisu unikatowy dla jego typu.", "type": "string", "required": false }, "status": { "description": "Nazwa statusu wpisu.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam" ], "required": false }, "password": { "description": "Has\u0142o ochrony dost\u0119pu do tre\u015bci i zajawki.", "type": "string", "required": false }, "title": { "description": "Tytu\u0142 wpisu.", "type": "object", "properties": { "raw": { "description": "Tytu\u0142 wpisu, istniej\u0105cy w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Tytu\u0142 HTML wpisu, przekszta\u0142cony do wy\u015bwietlania.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Tre\u015b\u0107 wpisu.", "type": "object", "properties": { "raw": { "description": "Tre\u015b\u0107 wpisu, tak jak zosta\u0142a zapisana w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Zawarto\u015b\u0107 HMTL wpisu, przetworzona do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Wersja bloku tre\u015bci u\u017cywanego we wpisie.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Czy tre\u015b\u0107 jest chronia has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "Identyfikator autora wpisu.", "type": "integer", "required": false }, "excerpt": { "description": "Zajawka wpisu.", "type": "object", "properties": { "raw": { "description": "Zajawka wpisu, tak jak wyst\u0119puje w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Wycinek HTML dla wpisu, przekszta\u0142cony do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Czy zajawka zabezpieczona jest has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "featured_media": { "description": "Identyfikator wyr\u00f3\u017cniaj\u0105cego pliku medialnego wpisu.", "type": "integer", "required": false }, "comment_status": { "description": "To czy wpis mo\u017ce by\u0107 komentowany.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "ping_status": { "description": "To, czy wpis mo\u017ce by\u0107 pingowany.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": { "_et_pb_use_builder": { "type": "string", "title": "", "description": "", "default": "" }, "_et_pb_old_content": { "type": "string", "title": "", "description": "", "default": "" }, "_et_gb_content_width": { "type": "string", "title": "", "description": "", "default": "" }, "inline_featured_image": { "type": "boolean", "title": "", "description": "", "default": false }, "footnotes": { "type": "string", "title": "", "description": "", "default": "" } }, "required": false }, "template": { "description": "Plik motywu u\u017cywany do wy\u015bwietlania wpisu.", "type": "string", "required": false }, "echo_kb_faq_category": { "description": "Terminy przypisane do wpisu w taksonomii: echo_kb_faq_category", "type": "array", "items": { "type": "integer" }, "required": false } } } ] }, "\/wp\/v2\/echo_kb_faq\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Identyfikator elementu nadrz\u0119dnego autozapisu.", "type": "integer", "required": false }, "id": { "description": "Identyfikator automatycznego zapisu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/jp_pay_order": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "after": { "description": "Ogranicz wyniki do wpis\u00f3w opublikowanych po podanej dacie w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ogranicz wyniki do zmienionych wpis\u00f3w po podanej dacie w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "before": { "description": "Ogranicz wyniki do wpis\u00f3w opublikowanych przed podan\u0105 dat\u0105 w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ogranicz wyniki do zmienionych wpis\u00f3w przed podan\u0105 dat\u0105 w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Wyklucz z wyniku okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "Jak interpretowa\u0107 dane wyszukiwania.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Przesuni\u0119cie zestawu wynik\u00f3w o okre\u015blon\u0105 liczb\u0119 element\u00f3w.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj kolekcj\u0119 wed\u0142ug atrybutu wpisu.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "Tablica nazw kolumn do przeszukania.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Ogranicz wyniki do wpis\u00f3w posiadaj\u0105cych podan\u0105 uproszczon\u0105 nazw\u0119.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Ogranicz wyniki do wpis\u00f3w przyporz\u0105dkowanych do jednego lub kilku status\u00f3w.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam", "any" ], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "Data publikacji wpisu w strefie czasowej witryny.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Data wpisu zosta\u0142a opublikowana jako GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator dla wpisu unikatowy dla jego typu.", "type": "string", "required": false }, "status": { "description": "Nazwa statusu wpisu.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam" ], "required": false }, "password": { "description": "Has\u0142o ochrony dost\u0119pu do tre\u015bci i zajawki.", "type": "string", "required": false }, "excerpt": { "description": "Zajawka wpisu.", "type": "object", "properties": { "raw": { "description": "Zajawka wpisu, tak jak wyst\u0119puje w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Wycinek HTML dla wpisu, przekszta\u0142cony do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Czy zajawka zabezpieczona jest has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": { "_et_pb_use_builder": { "type": "string", "title": "", "description": "", "default": "" }, "_et_pb_old_content": { "type": "string", "title": "", "description": "", "default": "" }, "_et_gb_content_width": { "type": "string", "title": "", "description": "", "default": "" }, "inline_featured_image": { "type": "boolean", "title": "", "description": "", "default": false } }, "required": false }, "template": { "description": "Plik motywu u\u017cywany do wy\u015bwietlania wpisu.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wp\/v2\/jp_pay_order" } ] } }, "\/wp\/v2\/jp_pay_order\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator wpisu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "excerpt_length": { "description": "Nadpisz domy\u015bln\u0105 d\u0142ugo\u015b\u0107 zajawki.", "type": "integer", "required": false }, "password": { "description": "Has\u0142o dla wpisu, je\u015bli jest on chroniony has\u0142em.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator wpisu.", "type": "integer", "required": false }, "date": { "description": "Data publikacji wpisu w strefie czasowej witryny.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Data wpisu zosta\u0142a opublikowana jako GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator dla wpisu unikatowy dla jego typu.", "type": "string", "required": false }, "status": { "description": "Nazwa statusu wpisu.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam" ], "required": false }, "password": { "description": "Has\u0142o ochrony dost\u0119pu do tre\u015bci i zajawki.", "type": "string", "required": false }, "excerpt": { "description": "Zajawka wpisu.", "type": "object", "properties": { "raw": { "description": "Zajawka wpisu, tak jak wyst\u0119puje w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Wycinek HTML dla wpisu, przekszta\u0142cony do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true }, "protected": { "description": "Czy zajawka zabezpieczona jest has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": { "_et_pb_use_builder": { "type": "string", "title": "", "description": "", "default": "" }, "_et_pb_old_content": { "type": "string", "title": "", "description": "", "default": "" }, "_et_gb_content_width": { "type": "string", "title": "", "description": "", "default": "" }, "inline_featured_image": { "type": "boolean", "title": "", "description": "", "default": false } }, "required": false }, "template": { "description": "Plik motywu u\u017cywany do wy\u015bwietlania wpisu.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator wpisu.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "required": false } } } ] }, "\/wp\/v2\/jp_pay_product": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "after": { "description": "Ogranicz wyniki do wpis\u00f3w opublikowanych po podanej dacie w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_after": { "description": "Ogranicz wyniki do zmienionych wpis\u00f3w po podanej dacie w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Ogranicz wyniki do wpis\u00f3w wybranych autor\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "author_exclude": { "description": "Wyklucz wpisy przypisane do wybranych autor\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "before": { "description": "Ogranicz wyniki do wpis\u00f3w opublikowanych przed podan\u0105 dat\u0105 w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "modified_before": { "description": "Ogranicz wyniki do zmienionych wpis\u00f3w przed podan\u0105 dat\u0105 w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Wyklucz z wyniku okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "search_semantics": { "description": "Jak interpretowa\u0107 dane wyszukiwania.", "type": "string", "enum": [ "exact" ], "required": false }, "offset": { "description": "Przesuni\u0119cie zestawu wynik\u00f3w o okre\u015blon\u0105 liczb\u0119 element\u00f3w.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj kolekcj\u0119 wed\u0142ug atrybutu wpisu.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title" ], "required": false }, "search_columns": { "default": [], "description": "Tablica nazw kolumn do przeszukania.", "type": "array", "items": { "enum": [ "post_title", "post_content", "post_excerpt" ], "type": "string" }, "required": false }, "slug": { "description": "Ogranicz wyniki do wpis\u00f3w posiadaj\u0105cych podan\u0105 uproszczon\u0105 nazw\u0119.", "type": "array", "items": { "type": "string" }, "required": false }, "status": { "default": "publish", "description": "Ogranicz wyniki do wpis\u00f3w przyporz\u0105dkowanych do jednego lub kilku status\u00f3w.", "type": "array", "items": { "enum": [ "publish", "future", "draft", "pending", "private", "trash", "auto-draft", "inherit", "request-pending", "request-confirmed", "request-failed", "request-completed", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam", "any" ], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "date": { "description": "Data publikacji wpisu w strefie czasowej witryny.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Data wpisu zosta\u0142a opublikowana jako GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator dla wpisu unikatowy dla jego typu.", "type": "string", "required": false }, "status": { "description": "Nazwa statusu wpisu.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam" ], "required": false }, "password": { "description": "Has\u0142o ochrony dost\u0119pu do tre\u015bci i zajawki.", "type": "string", "required": false }, "title": { "description": "Tytu\u0142 wpisu.", "type": "object", "properties": { "raw": { "description": "Tytu\u0142 wpisu, istniej\u0105cy w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Tytu\u0142 HTML wpisu, przekszta\u0142cony do wy\u015bwietlania.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Tre\u015b\u0107 wpisu.", "type": "object", "properties": { "raw": { "description": "Tre\u015b\u0107 wpisu, tak jak zosta\u0142a zapisana w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Zawarto\u015b\u0107 HMTL wpisu, przetworzona do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Wersja bloku tre\u015bci u\u017cywanego we wpisie.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Czy tre\u015b\u0107 jest chronia has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "Identyfikator autora wpisu.", "type": "integer", "required": false }, "featured_media": { "description": "Identyfikator wyr\u00f3\u017cniaj\u0105cego pliku medialnego wpisu.", "type": "integer", "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": { "_et_pb_use_builder": { "type": "string", "title": "", "description": "", "default": "" }, "_et_pb_old_content": { "type": "string", "title": "", "description": "", "default": "" }, "_et_gb_content_width": { "type": "string", "title": "", "description": "", "default": "" }, "inline_featured_image": { "type": "boolean", "title": "", "description": "", "default": false }, "spay_price": { "type": "number", "title": "", "description": "Simple payments; price.", "default": 0 }, "spay_currency": { "type": "string", "title": "", "description": "Simple payments; currency code.", "default": "" }, "spay_cta": { "type": "string", "title": "", "description": "Simple payments; text with "Buy" or other CTA", "default": "" }, "spay_multiple": { "type": "boolean", "title": "", "description": "Simple payments; allow multiple items", "default": false }, "spay_email": { "type": "string", "title": "", "description": "Simple payments button; paypal email.", "default": "" }, "spay_status": { "type": "string", "title": "", "description": "Simple payments; status.", "default": "" } }, "required": false }, "template": { "description": "Plik motywu u\u017cywany do wy\u015bwietlania wpisu.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wp\/v2\/jp_pay_product" } ] } }, "\/wp\/v2\/jp_pay_product\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator wpisu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "Has\u0142o dla wpisu, je\u015bli jest on chroniony has\u0142em.", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator wpisu.", "type": "integer", "required": false }, "date": { "description": "Data publikacji wpisu w strefie czasowej witryny.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Data wpisu zosta\u0142a opublikowana jako GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator dla wpisu unikatowy dla jego typu.", "type": "string", "required": false }, "status": { "description": "Nazwa statusu wpisu.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam" ], "required": false }, "password": { "description": "Has\u0142o ochrony dost\u0119pu do tre\u015bci i zajawki.", "type": "string", "required": false }, "title": { "description": "Tytu\u0142 wpisu.", "type": "object", "properties": { "raw": { "description": "Tytu\u0142 wpisu, istniej\u0105cy w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Tytu\u0142 HTML wpisu, przekszta\u0142cony do wy\u015bwietlania.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Tre\u015b\u0107 wpisu.", "type": "object", "properties": { "raw": { "description": "Tre\u015b\u0107 wpisu, tak jak zosta\u0142a zapisana w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Zawarto\u015b\u0107 HMTL wpisu, przetworzona do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Wersja bloku tre\u015bci u\u017cywanego we wpisie.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Czy tre\u015b\u0107 jest chronia has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "Identyfikator autora wpisu.", "type": "integer", "required": false }, "featured_media": { "description": "Identyfikator wyr\u00f3\u017cniaj\u0105cego pliku medialnego wpisu.", "type": "integer", "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": { "_et_pb_use_builder": { "type": "string", "title": "", "description": "", "default": "" }, "_et_pb_old_content": { "type": "string", "title": "", "description": "", "default": "" }, "_et_gb_content_width": { "type": "string", "title": "", "description": "", "default": "" }, "inline_featured_image": { "type": "boolean", "title": "", "description": "", "default": false }, "spay_price": { "type": "number", "title": "", "description": "Simple payments; price.", "default": 0 }, "spay_currency": { "type": "string", "title": "", "description": "Simple payments; currency code.", "default": "" }, "spay_cta": { "type": "string", "title": "", "description": "Simple payments; text with "Buy" or other CTA", "default": "" }, "spay_multiple": { "type": "boolean", "title": "", "description": "Simple payments; allow multiple items", "default": false }, "spay_email": { "type": "string", "title": "", "description": "Simple payments button; paypal email.", "default": "" }, "spay_status": { "type": "string", "title": "", "description": "Simple payments; status.", "default": "" } }, "required": false }, "template": { "description": "Plik motywu u\u017cywany do wy\u015bwietlania wpisu.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator wpisu.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "required": false } } } ] }, "\/wp\/v2\/jp_pay_product\/(?P[\\d]+)\/autosaves": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Identyfikator elementu nadrz\u0119dnego autozapisu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "parent": { "description": "Identyfikator elementu nadrz\u0119dnego autozapisu.", "type": "integer", "required": false }, "date": { "description": "Data publikacji wpisu w strefie czasowej witryny.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "date_gmt": { "description": "Data wpisu zosta\u0142a opublikowana jako GMT.", "type": [ "string", "null" ], "format": "date-time", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator dla wpisu unikatowy dla jego typu.", "type": "string", "required": false }, "status": { "description": "Nazwa statusu wpisu.", "type": "string", "enum": [ "publish", "future", "draft", "pending", "private", "wc-active", "wc-switched", "wc-expired", "wc-pending-cancel", "wc-pending", "wc-processing", "wc-on-hold", "wc-completed", "wc-cancelled", "wc-refunded", "wc-failed", "wc-checkout-draft", "spam" ], "required": false }, "password": { "description": "Has\u0142o ochrony dost\u0119pu do tre\u015bci i zajawki.", "type": "string", "required": false }, "title": { "description": "Tytu\u0142 wpisu.", "type": "object", "properties": { "raw": { "description": "Tytu\u0142 wpisu, istniej\u0105cy w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Tytu\u0142 HTML wpisu, przekszta\u0142cony do wy\u015bwietlania.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "content": { "description": "Tre\u015b\u0107 wpisu.", "type": "object", "properties": { "raw": { "description": "Tre\u015b\u0107 wpisu, tak jak zosta\u0142a zapisana w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Zawarto\u015b\u0107 HMTL wpisu, przetworzona do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit" ], "readonly": true }, "block_version": { "description": "Wersja bloku tre\u015bci u\u017cywanego we wpisie.", "type": "integer", "context": [ "edit" ], "readonly": true }, "protected": { "description": "Czy tre\u015b\u0107 jest chronia has\u0142em.", "type": "boolean", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "author": { "description": "Identyfikator autora wpisu.", "type": "integer", "required": false }, "featured_media": { "description": "Identyfikator wyr\u00f3\u017cniaj\u0105cego pliku medialnego wpisu.", "type": "integer", "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": { "_et_pb_use_builder": { "type": "string", "title": "", "description": "", "default": "" }, "_et_pb_old_content": { "type": "string", "title": "", "description": "", "default": "" }, "_et_gb_content_width": { "type": "string", "title": "", "description": "", "default": "" }, "inline_featured_image": { "type": "boolean", "title": "", "description": "", "default": false }, "spay_price": { "type": "number", "title": "", "description": "Simple payments; price.", "default": 0 }, "spay_currency": { "type": "string", "title": "", "description": "Simple payments; currency code.", "default": "" }, "spay_cta": { "type": "string", "title": "", "description": "Simple payments; text with "Buy" or other CTA", "default": "" }, "spay_multiple": { "type": "boolean", "title": "", "description": "Simple payments; allow multiple items", "default": false }, "spay_email": { "type": "string", "title": "", "description": "Simple payments button; paypal email.", "default": "" }, "spay_status": { "type": "string", "title": "", "description": "Simple payments; status.", "default": "" } }, "required": false }, "template": { "description": "Plik motywu u\u017cywany do wy\u015bwietlania wpisu.", "type": "string", "required": false } } } ] }, "\/wp\/v2\/jp_pay_product\/(?P[\\d]+)\/autosaves\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "parent": { "description": "Identyfikator elementu nadrz\u0119dnego autozapisu.", "type": "integer", "required": false }, "id": { "description": "Identyfikator automatycznego zapisu.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/types": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wp\/v2\/types" } ] } }, "\/wp\/v2\/types\/(?P[\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "type": { "description": "Identyfikator alfa-numeryczny dla typu tre\u015bci.", "type": "string", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/statuses": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wp\/v2\/statuses" } ] } }, "\/wp\/v2\/statuses\/(?P[\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "status": { "description": "Identyfikator alfanumeryczny statusu.", "type": "string", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] }, "\/wp\/v2\/taxonomies": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "type": { "description": "Ogranicz wyniki do taksonomii powi\u0105zanych z okre\u015blonym typem tre\u015bci.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wp\/v2\/taxonomies" } ] } }, "\/wp\/v2\/taxonomies\/(?P[\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "taxonomy": { "description": "Alfanumeryczny identyfikator taksonomii.", "type": "string", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "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": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Wyklucz z wyniku okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r wed\u0142ug atrybutu taksonomii.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Czy ukry\u0107 taksonomie nieprzypisane do \u017cadnych wpis\u00f3w.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Ogranicz wyniki do taksonomii posiadaj\u0105cych okre\u015blony element nadrz\u0119dny.", "type": "integer", "required": false }, "post": { "description": "Ogranicz wyniki do taksonomii powi\u0105zanych z okre\u015blonym wpisem.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Ogranicz wyniki taksonomii do jednej lub wielu uproszczonych nazw.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "Opis HTML dla taksonomii:", "type": "string", "required": false }, "name": { "description": "Tytu\u0142 HTML taksonomii.", "type": "string", "required": true }, "slug": { "description": "Alfanumeryczny identyfikator dla poj\u0119cia unikatowy dla jego typu.", "type": "string", "required": false }, "parent": { "description": "Identyfikator taksonomii nadrz\u0119dnej.", "type": "integer", "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator dla taksonomii.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator dla taksonomii.", "type": "integer", "required": false }, "description": { "description": "Opis HTML dla taksonomii:", "type": "string", "required": false }, "name": { "description": "Tytu\u0142 HTML taksonomii.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator dla poj\u0119cia unikatowy dla jego typu.", "type": "string", "required": false }, "parent": { "description": "Identyfikator taksonomii nadrz\u0119dnej.", "type": "integer", "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator dla taksonomii.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c w taksonomiach nie u\u017cywamy kosza.", "required": false } } } ] }, "\/wp\/v2\/tags": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Wyklucz z wyniku okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesuni\u0119cie zestawu wynik\u00f3w o okre\u015blon\u0105 liczb\u0119 element\u00f3w.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r wed\u0142ug atrybutu taksonomii.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Czy ukry\u0107 taksonomie nieprzypisane do \u017cadnych wpis\u00f3w.", "type": "boolean", "default": false, "required": false }, "post": { "description": "Ogranicz wyniki do taksonomii powi\u0105zanych z okre\u015blonym wpisem.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Ogranicz wyniki taksonomii do jednej lub wielu uproszczonych nazw.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "Opis HTML dla taksonomii:", "type": "string", "required": false }, "name": { "description": "Tytu\u0142 HTML taksonomii.", "type": "string", "required": true }, "slug": { "description": "Alfanumeryczny identyfikator dla poj\u0119cia unikatowy dla jego typu.", "type": "string", "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator dla taksonomii.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator dla taksonomii.", "type": "integer", "required": false }, "description": { "description": "Opis HTML dla taksonomii:", "type": "string", "required": false }, "name": { "description": "Tytu\u0142 HTML taksonomii.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator dla poj\u0119cia unikatowy dla jego typu.", "type": "string", "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator dla taksonomii.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c w taksonomiach nie u\u017cywamy kosza.", "required": false } } } ] }, "\/wp\/v2\/menus": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Wyklucz z wyniku okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesuni\u0119cie zestawu wynik\u00f3w o okre\u015blon\u0105 liczb\u0119 element\u00f3w.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r wed\u0142ug atrybutu taksonomii.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Czy ukry\u0107 taksonomie nieprzypisane do \u017cadnych wpis\u00f3w.", "type": "boolean", "default": false, "required": false }, "post": { "description": "Ogranicz wyniki do taksonomii powi\u0105zanych z okre\u015blonym wpisem.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Ogranicz wyniki taksonomii do jednej lub wielu uproszczonych nazw.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "Opis HTML dla taksonomii:", "type": "string", "required": false }, "name": { "description": "Tytu\u0142 HTML taksonomii.", "type": "string", "required": true }, "slug": { "description": "Alfanumeryczny identyfikator dla poj\u0119cia unikatowy dla jego typu.", "type": "string", "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": [], "required": false }, "locations": { "description": "Po\u0142o\u017cenie przypisana do menu.", "type": "array", "items": { "type": "string" }, "required": false }, "auto_add": { "description": "Czy automatycznie dodawa\u0107 strony najwy\u017cszego poziomu do tego menu.", "type": "boolean", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator dla taksonomii.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator dla taksonomii.", "type": "integer", "required": false }, "description": { "description": "Opis HTML dla taksonomii:", "type": "string", "required": false }, "name": { "description": "Tytu\u0142 HTML taksonomii.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator dla poj\u0119cia unikatowy dla jego typu.", "type": "string", "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": [], "required": false }, "locations": { "description": "Po\u0142o\u017cenie przypisana do menu.", "type": "array", "items": { "type": "string" }, "required": false }, "auto_add": { "description": "Czy automatycznie dodawa\u0107 strony najwy\u017cszego poziomu do tego menu.", "type": "boolean", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator dla taksonomii.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c w taksonomiach nie u\u017cywamy kosza.", "required": false } } } ] }, "\/wp\/v2\/wp_pattern_category": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Wyklucz z wyniku okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesuni\u0119cie zestawu wynik\u00f3w o okre\u015blon\u0105 liczb\u0119 element\u00f3w.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r wed\u0142ug atrybutu taksonomii.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Czy ukry\u0107 taksonomie nieprzypisane do \u017cadnych wpis\u00f3w.", "type": "boolean", "default": false, "required": false }, "post": { "description": "Ogranicz wyniki do taksonomii powi\u0105zanych z okre\u015blonym wpisem.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Ogranicz wyniki taksonomii do jednej lub wielu uproszczonych nazw.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "Opis HTML dla taksonomii:", "type": "string", "required": false }, "name": { "description": "Tytu\u0142 HTML taksonomii.", "type": "string", "required": true }, "slug": { "description": "Alfanumeryczny identyfikator dla poj\u0119cia unikatowy dla jego typu.", "type": "string", "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator dla taksonomii.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator dla taksonomii.", "type": "integer", "required": false }, "description": { "description": "Opis HTML dla taksonomii:", "type": "string", "required": false }, "name": { "description": "Tytu\u0142 HTML taksonomii.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator dla poj\u0119cia unikatowy dla jego typu.", "type": "string", "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator dla taksonomii.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c w taksonomiach nie u\u017cywamy kosza.", "required": false } } } ] }, "\/wp\/v2\/project_category": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Wyklucz z wyniku okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r wed\u0142ug atrybutu taksonomii.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Czy ukry\u0107 taksonomie nieprzypisane do \u017cadnych wpis\u00f3w.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Ogranicz wyniki do taksonomii posiadaj\u0105cych okre\u015blony element nadrz\u0119dny.", "type": "integer", "required": false }, "post": { "description": "Ogranicz wyniki do taksonomii powi\u0105zanych z okre\u015blonym wpisem.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Ogranicz wyniki taksonomii do jednej lub wielu uproszczonych nazw.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "Opis HTML dla taksonomii:", "type": "string", "required": false }, "name": { "description": "Tytu\u0142 HTML taksonomii.", "type": "string", "required": true }, "slug": { "description": "Alfanumeryczny identyfikator dla poj\u0119cia unikatowy dla jego typu.", "type": "string", "required": false }, "parent": { "description": "Identyfikator taksonomii nadrz\u0119dnej.", "type": "integer", "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wp\/v2\/project_category" } ] } }, "\/wp\/v2\/project_category\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator dla taksonomii.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator dla taksonomii.", "type": "integer", "required": false }, "description": { "description": "Opis HTML dla taksonomii:", "type": "string", "required": false }, "name": { "description": "Tytu\u0142 HTML taksonomii.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator dla poj\u0119cia unikatowy dla jego typu.", "type": "string", "required": false }, "parent": { "description": "Identyfikator taksonomii nadrz\u0119dnej.", "type": "integer", "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator dla taksonomii.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c w taksonomiach nie u\u017cywamy kosza.", "required": false } } } ] }, "\/wp\/v2\/project_tag": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Wyklucz z wyniku okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesuni\u0119cie zestawu wynik\u00f3w o okre\u015blon\u0105 liczb\u0119 element\u00f3w.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r wed\u0142ug atrybutu taksonomii.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Czy ukry\u0107 taksonomie nieprzypisane do \u017cadnych wpis\u00f3w.", "type": "boolean", "default": false, "required": false }, "post": { "description": "Ogranicz wyniki do taksonomii powi\u0105zanych z okre\u015blonym wpisem.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Ogranicz wyniki taksonomii do jednej lub wielu uproszczonych nazw.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "Opis HTML dla taksonomii:", "type": "string", "required": false }, "name": { "description": "Tytu\u0142 HTML taksonomii.", "type": "string", "required": true }, "slug": { "description": "Alfanumeryczny identyfikator dla poj\u0119cia unikatowy dla jego typu.", "type": "string", "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wp\/v2\/project_tag" } ] } }, "\/wp\/v2\/project_tag\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator dla taksonomii.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator dla taksonomii.", "type": "integer", "required": false }, "description": { "description": "Opis HTML dla taksonomii:", "type": "string", "required": false }, "name": { "description": "Tytu\u0142 HTML taksonomii.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator dla poj\u0119cia unikatowy dla jego typu.", "type": "string", "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator dla taksonomii.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c w taksonomiach nie u\u017cywamy kosza.", "required": false } } } ] }, "\/wp\/v2\/product_brand": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Wyklucz z wyniku okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r wed\u0142ug atrybutu taksonomii.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Czy ukry\u0107 taksonomie nieprzypisane do \u017cadnych wpis\u00f3w.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Ogranicz wyniki do taksonomii posiadaj\u0105cych okre\u015blony element nadrz\u0119dny.", "type": "integer", "required": false }, "post": { "description": "Ogranicz wyniki do taksonomii powi\u0105zanych z okre\u015blonym wpisem.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Ogranicz wyniki taksonomii do jednej lub wielu uproszczonych nazw.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "Opis HTML dla taksonomii:", "type": "string", "required": false }, "name": { "description": "Tytu\u0142 HTML taksonomii.", "type": "string", "required": true }, "slug": { "description": "Alfanumeryczny identyfikator dla poj\u0119cia unikatowy dla jego typu.", "type": "string", "required": false }, "parent": { "description": "Identyfikator taksonomii nadrz\u0119dnej.", "type": "integer", "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator dla taksonomii.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator dla taksonomii.", "type": "integer", "required": false }, "description": { "description": "Opis HTML dla taksonomii:", "type": "string", "required": false }, "name": { "description": "Tytu\u0142 HTML taksonomii.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator dla poj\u0119cia unikatowy dla jego typu.", "type": "string", "required": false }, "parent": { "description": "Identyfikator taksonomii nadrz\u0119dnej.", "type": "integer", "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator dla taksonomii.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c w taksonomiach nie u\u017cywamy kosza.", "required": false } } } ] }, "\/wp\/v2\/product_cat": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Wyklucz z wyniku okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r wed\u0142ug atrybutu taksonomii.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Czy ukry\u0107 taksonomie nieprzypisane do \u017cadnych wpis\u00f3w.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Ogranicz wyniki do taksonomii posiadaj\u0105cych okre\u015blony element nadrz\u0119dny.", "type": "integer", "required": false }, "post": { "description": "Ogranicz wyniki do taksonomii powi\u0105zanych z okre\u015blonym wpisem.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Ogranicz wyniki taksonomii do jednej lub wielu uproszczonych nazw.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "Opis HTML dla taksonomii:", "type": "string", "required": false }, "name": { "description": "Tytu\u0142 HTML taksonomii.", "type": "string", "required": true }, "slug": { "description": "Alfanumeryczny identyfikator dla poj\u0119cia unikatowy dla jego typu.", "type": "string", "required": false }, "parent": { "description": "Identyfikator taksonomii nadrz\u0119dnej.", "type": "integer", "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator dla taksonomii.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator dla taksonomii.", "type": "integer", "required": false }, "description": { "description": "Opis HTML dla taksonomii:", "type": "string", "required": false }, "name": { "description": "Tytu\u0142 HTML taksonomii.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator dla poj\u0119cia unikatowy dla jego typu.", "type": "string", "required": false }, "parent": { "description": "Identyfikator taksonomii nadrz\u0119dnej.", "type": "integer", "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator dla taksonomii.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c w taksonomiach nie u\u017cywamy kosza.", "required": false } } } ] }, "\/wp\/v2\/product_tag": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Wyklucz z wyniku okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesuni\u0119cie zestawu wynik\u00f3w o okre\u015blon\u0105 liczb\u0119 element\u00f3w.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r wed\u0142ug atrybutu taksonomii.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Czy ukry\u0107 taksonomie nieprzypisane do \u017cadnych wpis\u00f3w.", "type": "boolean", "default": false, "required": false }, "post": { "description": "Ogranicz wyniki do taksonomii powi\u0105zanych z okre\u015blonym wpisem.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Ogranicz wyniki taksonomii do jednej lub wielu uproszczonych nazw.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "Opis HTML dla taksonomii:", "type": "string", "required": false }, "name": { "description": "Tytu\u0142 HTML taksonomii.", "type": "string", "required": true }, "slug": { "description": "Alfanumeryczny identyfikator dla poj\u0119cia unikatowy dla jego typu.", "type": "string", "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator dla taksonomii.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator dla taksonomii.", "type": "integer", "required": false }, "description": { "description": "Opis HTML dla taksonomii:", "type": "string", "required": false }, "name": { "description": "Tytu\u0142 HTML taksonomii.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator dla poj\u0119cia unikatowy dla jego typu.", "type": "string", "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator dla taksonomii.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c w taksonomiach nie u\u017cywamy kosza.", "required": false } } } ] }, "\/wp\/v2\/epkb_post_type_1_category": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Wyklucz z wyniku okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r wed\u0142ug atrybutu taksonomii.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Czy ukry\u0107 taksonomie nieprzypisane do \u017cadnych wpis\u00f3w.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Ogranicz wyniki do taksonomii posiadaj\u0105cych okre\u015blony element nadrz\u0119dny.", "type": "integer", "required": false }, "post": { "description": "Ogranicz wyniki do taksonomii powi\u0105zanych z okre\u015blonym wpisem.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Ogranicz wyniki taksonomii do jednej lub wielu uproszczonych nazw.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "Opis HTML dla taksonomii:", "type": "string", "required": false }, "name": { "description": "Tytu\u0142 HTML taksonomii.", "type": "string", "required": true }, "slug": { "description": "Alfanumeryczny identyfikator dla poj\u0119cia unikatowy dla jego typu.", "type": "string", "required": false }, "parent": { "description": "Identyfikator taksonomii nadrz\u0119dnej.", "type": "integer", "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wp\/v2\/epkb_post_type_1_category" } ] } }, "\/wp\/v2\/epkb_post_type_1_category\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator dla taksonomii.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator dla taksonomii.", "type": "integer", "required": false }, "description": { "description": "Opis HTML dla taksonomii:", "type": "string", "required": false }, "name": { "description": "Tytu\u0142 HTML taksonomii.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator dla poj\u0119cia unikatowy dla jego typu.", "type": "string", "required": false }, "parent": { "description": "Identyfikator taksonomii nadrz\u0119dnej.", "type": "integer", "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator dla taksonomii.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c w taksonomiach nie u\u017cywamy kosza.", "required": false } } } ] }, "\/wp\/v2\/epkb_post_type_1_tag": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Wyklucz z wyniku okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesuni\u0119cie zestawu wynik\u00f3w o okre\u015blon\u0105 liczb\u0119 element\u00f3w.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r wed\u0142ug atrybutu taksonomii.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Czy ukry\u0107 taksonomie nieprzypisane do \u017cadnych wpis\u00f3w.", "type": "boolean", "default": false, "required": false }, "post": { "description": "Ogranicz wyniki do taksonomii powi\u0105zanych z okre\u015blonym wpisem.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Ogranicz wyniki taksonomii do jednej lub wielu uproszczonych nazw.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "Opis HTML dla taksonomii:", "type": "string", "required": false }, "name": { "description": "Tytu\u0142 HTML taksonomii.", "type": "string", "required": true }, "slug": { "description": "Alfanumeryczny identyfikator dla poj\u0119cia unikatowy dla jego typu.", "type": "string", "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wp\/v2\/epkb_post_type_1_tag" } ] } }, "\/wp\/v2\/epkb_post_type_1_tag\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator dla taksonomii.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator dla taksonomii.", "type": "integer", "required": false }, "description": { "description": "Opis HTML dla taksonomii:", "type": "string", "required": false }, "name": { "description": "Tytu\u0142 HTML taksonomii.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator dla poj\u0119cia unikatowy dla jego typu.", "type": "string", "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator dla taksonomii.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c w taksonomiach nie u\u017cywamy kosza.", "required": false } } } ] }, "\/wp\/v2\/echo_kb_faq_category": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Wyklucz z wyniku okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "asc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj zbi\u00f3r wed\u0142ug atrybutu taksonomii.", "type": "string", "default": "name", "enum": [ "id", "include", "name", "slug", "include_slugs", "term_group", "description", "count" ], "required": false }, "hide_empty": { "description": "Czy ukry\u0107 taksonomie nieprzypisane do \u017cadnych wpis\u00f3w.", "type": "boolean", "default": false, "required": false }, "parent": { "description": "Ogranicz wyniki do taksonomii posiadaj\u0105cych okre\u015blony element nadrz\u0119dny.", "type": "integer", "required": false }, "post": { "description": "Ogranicz wyniki do taksonomii powi\u0105zanych z okre\u015blonym wpisem.", "type": "integer", "default": null, "required": false }, "slug": { "description": "Ogranicz wyniki taksonomii do jednej lub wielu uproszczonych nazw.", "type": "array", "items": { "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "description": { "description": "Opis HTML dla taksonomii:", "type": "string", "required": false }, "name": { "description": "Tytu\u0142 HTML taksonomii.", "type": "string", "required": true }, "slug": { "description": "Alfanumeryczny identyfikator dla poj\u0119cia unikatowy dla jego typu.", "type": "string", "required": false }, "parent": { "description": "Identyfikator taksonomii nadrz\u0119dnej.", "type": "integer", "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": { "faq_group_status": { "type": "string", "title": "", "description": "", "default": "draft" }, "group_order": { "type": "integer", "title": "", "description": "", "default": "1" }, "faqs_order_sequence": { "type": "array", "title": "", "description": "", "default": [], "items": { "type": "number" } } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wp\/v2\/echo_kb_faq_category" } ] } }, "\/wp\/v2\/echo_kb_faq_category\/(?P[\\d]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator dla taksonomii.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator dla taksonomii.", "type": "integer", "required": false }, "description": { "description": "Opis HTML dla taksonomii:", "type": "string", "required": false }, "name": { "description": "Tytu\u0142 HTML taksonomii.", "type": "string", "required": false }, "slug": { "description": "Alfanumeryczny identyfikator dla poj\u0119cia unikatowy dla jego typu.", "type": "string", "required": false }, "parent": { "description": "Identyfikator taksonomii nadrz\u0119dnej.", "type": "integer", "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": { "faq_group_status": { "type": "string", "title": "", "description": "", "default": "draft" }, "group_order": { "type": "integer", "title": "", "description": "", "default": "1" }, "faqs_order_sequence": { "type": "array", "title": "", "description": "", "default": [], "items": { "type": "number" } } }, "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator dla taksonomii.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c w taksonomiach nie u\u017cywamy kosza.", "required": false } } } ] }, "\/wp\/v2\/users": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "exclude": { "description": "Wyklucz z wyniku okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesuni\u0119cie zestawu wynik\u00f3w o okre\u015blon\u0105 liczb\u0119 element\u00f3w.", "type": "integer", "required": false }, "order": { "default": "asc", "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "enum": [ "asc", "desc" ], "type": "string", "required": false }, "orderby": { "default": "name", "description": "Sortuj kolekcj\u0119 wed\u0142ug atrybutu u\u017cytkownika.", "enum": [ "id", "include", "name", "registered_date", "slug", "include_slugs", "email", "url" ], "type": "string", "required": false }, "slug": { "description": "Ogranicz wynik do u\u017cytkownik\u00f3w za pomoc\u0105 co najmniej jednej uproszczonej nazwy.", "type": "array", "items": { "type": "string" }, "required": false }, "roles": { "description": "Ogranicz do zasob\u00f3w pasuj\u0105cych do co najmniej jednej z podanych r\u00f3l. Akceptowana jest lista rozdzielana przecinkami lub pojedyncza rola.", "type": "array", "items": { "type": "string" }, "required": false }, "capabilities": { "description": "Ogranicz zestaw wynik\u00f3w do u\u017cytkownik\u00f3w z co najmniej jednym uprawnieniem. Akceptowana jest lista csv lub pojedyncze uprawnienie.", "type": "array", "items": { "type": "string" }, "required": false }, "who": { "description": "Ogranicza wyniki do u\u017cytkownik\u00f3w uznawanych za autor\u00f3w.", "type": "string", "enum": [ "authors" ], "required": false }, "has_published_posts": { "description": "Ogranicz zestaw wynik\u00f3w do u\u017cytkownik\u00f3w, kt\u00f3rzy opublikowali wpisy.", "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", "project": "project", "product": "product", "feedback": "feedback", "epkb_post_type_1": "epkb_post_type_1", "echo_kb_faq": "echo_kb_faq", "jp_pay_order": "jp_pay_order", "jp_pay_product": "jp_pay_product" } }, "required": false }, "search_columns": { "default": [], "description": "Tablica nazw kolumn do przeszukania.", "type": "array", "items": { "enum": [ "email", "name", "id", "username", "slug" ], "type": "string" }, "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "username": { "description": "Login u\u017cytkownika.", "type": "string", "required": true }, "name": { "description": "Wy\u015bwietlana nazwa u\u017cytkownika.", "type": "string", "required": false }, "first_name": { "description": "Imi\u0119 u\u017cytkownika.", "type": "string", "required": false }, "last_name": { "description": "Nazwisko u\u017cytkownika.", "type": "string", "required": false }, "email": { "description": "Adres e-mail u\u017cytkownika.", "type": "string", "format": "email", "required": true }, "url": { "description": "Adres URL u\u017cytkownika.", "type": "string", "format": "uri", "required": false }, "description": { "description": "Opis u\u017cytkownika.", "type": "string", "required": false }, "locale": { "description": "Ustawienia regionalne u\u017cytkownika.", "type": "string", "enum": [ "", "en_US", "de_DE", "en_GB", "fr_FR", "nn_NO", "pl_PL", "sk_SK", "sv_SE" ], "required": false }, "nickname": { "description": "Pseudonim u\u017cytkownika.", "type": "string", "required": false }, "slug": { "description": "Identyfikator alfanumeryczny uzytkownika.", "type": "string", "required": false }, "roles": { "description": "U\u017cytkownikowi przypisano wybrane role.", "type": "array", "items": { "type": "string" }, "required": false }, "password": { "description": "Has\u0142o u\u017cytkownika (nigdy do\u0142\u0105czane).", "type": "string", "required": true }, "meta": { "description": "Pola meta.", "type": "object", "properties": { "persisted_preferences": { "type": "object", "title": "", "description": "", "default": [], "context": [ "edit" ], "properties": { "_modified": { "description": "Data i godzina aktualizacji preferencji.", "type": "string", "format": "date-time", "readonly": false } }, "additionalProperties": true }, "jetpack_donation_warning_dismissed": { "type": "boolean", "title": "", "description": "", "default": false } }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator u\u017cytkownika.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator u\u017cytkownika.", "type": "integer", "required": false }, "username": { "description": "Login u\u017cytkownika.", "type": "string", "required": false }, "name": { "description": "Wy\u015bwietlana nazwa u\u017cytkownika.", "type": "string", "required": false }, "first_name": { "description": "Imi\u0119 u\u017cytkownika.", "type": "string", "required": false }, "last_name": { "description": "Nazwisko u\u017cytkownika.", "type": "string", "required": false }, "email": { "description": "Adres e-mail u\u017cytkownika.", "type": "string", "format": "email", "required": false }, "url": { "description": "Adres URL u\u017cytkownika.", "type": "string", "format": "uri", "required": false }, "description": { "description": "Opis u\u017cytkownika.", "type": "string", "required": false }, "locale": { "description": "Ustawienia regionalne u\u017cytkownika.", "type": "string", "enum": [ "", "en_US", "de_DE", "en_GB", "fr_FR", "nn_NO", "pl_PL", "sk_SK", "sv_SE" ], "required": false }, "nickname": { "description": "Pseudonim u\u017cytkownika.", "type": "string", "required": false }, "slug": { "description": "Identyfikator alfanumeryczny uzytkownika.", "type": "string", "required": false }, "roles": { "description": "U\u017cytkownikowi przypisano wybrane role.", "type": "array", "items": { "type": "string" }, "required": false }, "password": { "description": "Has\u0142o u\u017cytkownika (nigdy do\u0142\u0105czane).", "type": "string", "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": { "persisted_preferences": { "type": "object", "title": "", "description": "", "default": [], "context": [ "edit" ], "properties": { "_modified": { "description": "Data i godzina aktualizacji preferencji.", "type": "string", "format": "date-time", "readonly": false } }, "additionalProperties": true }, "jetpack_donation_warning_dismissed": { "type": "boolean", "title": "", "description": "", "default": false } }, "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator u\u017cytkownika.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c w u\u017cytkownikach nie u\u017cywamy kosza.", "required": false }, "reassign": { "type": "integer", "description": "Przypisz wpisy i odno\u015bniki usuni\u0119tego autora do autora o podanym identyfikatorze.", "required": true } } } ] }, "\/wp\/v2\/users\/me": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "username": { "description": "Login u\u017cytkownika.", "type": "string", "required": false }, "name": { "description": "Wy\u015bwietlana nazwa u\u017cytkownika.", "type": "string", "required": false }, "first_name": { "description": "Imi\u0119 u\u017cytkownika.", "type": "string", "required": false }, "last_name": { "description": "Nazwisko u\u017cytkownika.", "type": "string", "required": false }, "email": { "description": "Adres e-mail u\u017cytkownika.", "type": "string", "format": "email", "required": false }, "url": { "description": "Adres URL u\u017cytkownika.", "type": "string", "format": "uri", "required": false }, "description": { "description": "Opis u\u017cytkownika.", "type": "string", "required": false }, "locale": { "description": "Ustawienia regionalne u\u017cytkownika.", "type": "string", "enum": [ "", "en_US", "de_DE", "en_GB", "fr_FR", "nn_NO", "pl_PL", "sk_SK", "sv_SE" ], "required": false }, "nickname": { "description": "Pseudonim u\u017cytkownika.", "type": "string", "required": false }, "slug": { "description": "Identyfikator alfanumeryczny uzytkownika.", "type": "string", "required": false }, "roles": { "description": "U\u017cytkownikowi przypisano wybrane role.", "type": "array", "items": { "type": "string" }, "required": false }, "password": { "description": "Has\u0142o u\u017cytkownika (nigdy do\u0142\u0105czane).", "type": "string", "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": { "persisted_preferences": { "type": "object", "title": "", "description": "", "default": [], "context": [ "edit" ], "properties": { "_modified": { "description": "Data i godzina aktualizacji preferencji.", "type": "string", "format": "date-time", "readonly": false } }, "additionalProperties": true }, "jetpack_donation_warning_dismissed": { "type": "boolean", "title": "", "description": "", "default": false } }, "required": false } } }, { "methods": [ "DELETE" ], "args": { "force": { "type": "boolean", "default": false, "description": "Musi by\u0107 w\u0142\u0105czone, poniewa\u017c w u\u017cytkownikach nie u\u017cywamy kosza.", "required": false }, "reassign": { "type": "integer", "description": "Przypisz wpisy i odno\u015bniki usuni\u0119tego autora do autora o podanym identyfikatorze.", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST" ], "args": { "app_id": { "description": "UUID dostarczony przez aplikacj\u0119 w celu jej jednoznacznej identyfikacji. Zaleca si\u0119 u\u017cywanie UUID v5 z adresem URL lub przestrzeni\u0105 nazw DNS.", "type": "string", "format": "uuid", "required": false }, "name": { "description": "Nazwa has\u0142a aplikacji.", "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": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "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": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "app_id": { "description": "UUID dostarczony przez aplikacj\u0119 w celu jej jednoznacznej identyfikacji. Zaleca si\u0119 u\u017cywanie UUID v5 z adresem URL lub przestrzeni\u0105 nazw DNS.", "type": "string", "format": "uuid", "required": false }, "name": { "description": "Nazwa has\u0142a aplikacji.", "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": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "after": { "description": "Ogranicz do komentarzy opublikowanych po dacie podanej w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "author": { "description": "Ogranicz wyniki do komentarzy powi\u0105zanych z wybranym identyfikatorem u\u017cytkownika. Wymagana autoryzacja.", "type": "array", "items": { "type": "integer" }, "required": false }, "author_exclude": { "description": "Wy\u0142\u0105cz komentarze powi\u0105zane z u\u017cytkownikami o identyfikatorach. Wymagana autoryzacja.", "type": "array", "items": { "type": "integer" }, "required": false }, "author_email": { "default": null, "description": "Ogranicz wyniki na podstawie adresu e-mail autora. Wymagana autoryzacja.", "format": "email", "type": "string", "required": false }, "before": { "description": "Ogranicz do komentarzy opublikowanych przed dat\u0105 podan\u0105 w formacie ISO8601.", "type": "string", "format": "date-time", "required": false }, "exclude": { "description": "Wyklucz z wyniku okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "offset": { "description": "Przesuni\u0119cie zestawu wynik\u00f3w o okre\u015blon\u0105 liczb\u0119 element\u00f3w.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj kolekcj\u0119 za pomoc\u0105 trybuty komentarza.", "type": "string", "default": "date_gmt", "enum": [ "date", "date_gmt", "id", "include", "post", "parent", "type" ], "required": false }, "parent": { "default": [], "description": "Ogranicz wyniki do komentarzy powi\u0105zanych z okre\u015blonymi identyfikatorami element\u00f3w nadrz\u0119dnych.", "type": "array", "items": { "type": "integer" }, "required": false }, "parent_exclude": { "default": [], "description": "Prosz\u0119 si\u0119 upewni\u0107, \u017ce zestaw wynik\u00f3w wyklucza okre\u015blone identyfikatory element\u00f3w nadrz\u0119dnych.", "type": "array", "items": { "type": "integer" }, "required": false }, "post": { "default": [], "description": "Ogranicz wyniki do komentarzy powi\u0105zanych z okre\u015blonymi identyfikatorami wpis\u00f3w.", "type": "array", "items": { "type": "integer" }, "required": false }, "status": { "default": "approve", "description": "Ogranicz do wybranego statusu komentarzy. Wymagana autoryzacja.", "type": "string", "required": false }, "type": { "default": "comment", "description": "Ogranicz do wybranego rodzaju komentarzy. Wymagana autoryzacja.", "type": "string", "required": false }, "password": { "description": "Has\u0142o dla wpisu, je\u015bli jest on chroniony has\u0142em.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "args": { "author": { "description": "Identyfikator obiektu u\u017cytkownika, je\u017celi autor by\u0142 u\u017cytkownikiem.", "type": "integer", "required": false }, "author_email": { "description": "Adres e-mail autora komentarza.", "type": "string", "format": "email", "required": false }, "author_ip": { "description": "Adres IP autora komentarza.", "type": "string", "format": "ip", "required": false }, "author_name": { "description": "Wy\u015bwietlana nazwa autora komentarza.", "type": "string", "required": false }, "author_url": { "description": "Adres URL autora komentarza.", "type": "string", "format": "uri", "required": false }, "author_user_agent": { "description": "Klient u\u017cytkownika autora komentarza.", "type": "string", "required": false }, "content": { "description": "Tre\u015b\u0107 komentarza.", "type": "object", "properties": { "raw": { "description": "Tre\u015b\u0107 komentarza, dok\u0142adnie takie jak w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Zawarto\u015b\u0107 HMTL komentarza, przetworzona do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "date": { "description": "Data opublikowania komentarza w strefie czasowej witryny. ", "type": "string", "format": "date-time", "required": false }, "date_gmt": { "description": "Data komentarza zosta\u0142a opublikowana jako GMT.", "type": "string", "format": "date-time", "required": false }, "parent": { "default": 0, "description": "Identyfikator elementu nadrz\u0119dnego komentarza.", "type": "integer", "required": false }, "post": { "default": 0, "description": "Identyfikator powi\u0105zanego obiektu wpisu.", "type": "integer", "required": false }, "status": { "description": "Stan komentarza.", "type": "string", "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Unikatowy identyfikator komentarza.", "type": "integer", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "password": { "description": "Has\u0142o dla nadrz\u0119dnego wpisu (je\u015bli wpis jest chroniony has\u0142em).", "type": "string", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "id": { "description": "Unikatowy identyfikator komentarza.", "type": "integer", "required": false }, "author": { "description": "Identyfikator obiektu u\u017cytkownika, je\u017celi autor by\u0142 u\u017cytkownikiem.", "type": "integer", "required": false }, "author_email": { "description": "Adres e-mail autora komentarza.", "type": "string", "format": "email", "required": false }, "author_ip": { "description": "Adres IP autora komentarza.", "type": "string", "format": "ip", "required": false }, "author_name": { "description": "Wy\u015bwietlana nazwa autora komentarza.", "type": "string", "required": false }, "author_url": { "description": "Adres URL autora komentarza.", "type": "string", "format": "uri", "required": false }, "author_user_agent": { "description": "Klient u\u017cytkownika autora komentarza.", "type": "string", "required": false }, "content": { "description": "Tre\u015b\u0107 komentarza.", "type": "object", "properties": { "raw": { "description": "Tre\u015b\u0107 komentarza, dok\u0142adnie takie jak w bazie danych.", "type": "string", "context": [ "edit" ] }, "rendered": { "description": "Zawarto\u015b\u0107 HMTL komentarza, przetworzona do wy\u015bwietlenia.", "type": "string", "context": [ "view", "edit", "embed" ], "readonly": true } }, "required": false }, "date": { "description": "Data opublikowania komentarza w strefie czasowej witryny. ", "type": "string", "format": "date-time", "required": false }, "date_gmt": { "description": "Data komentarza zosta\u0142a opublikowana jako GMT.", "type": "string", "format": "date-time", "required": false }, "parent": { "description": "Identyfikator elementu nadrz\u0119dnego komentarza.", "type": "integer", "required": false }, "post": { "description": "Identyfikator powi\u0105zanego obiektu wpisu.", "type": "integer", "required": false }, "status": { "description": "Stan komentarza.", "type": "string", "required": false }, "meta": { "description": "Pola meta.", "type": "object", "properties": [], "required": false } } }, { "methods": [ "DELETE" ], "args": { "id": { "description": "Unikatowy identyfikator komentarza.", "type": "integer", "required": false }, "force": { "type": "boolean", "default": false, "description": "Okre\u015bla, czy pomin\u0105\u0107 kosz i wymusi\u0107 usuni\u0119cie.", "required": false }, "password": { "description": "Has\u0142o dla nadrz\u0119dnego wpisu (je\u015bli wpis jest chroniony has\u0142em).", "type": "string", "required": false } } } ] }, "\/wp\/v2\/search": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "type": { "default": "post", "description": "Ogranicz wyniki wyszukiwania do wybranego typu obiektu.", "type": "string", "enum": [ "post", "term", "post-format" ], "required": false }, "subtype": { "default": "any", "description": "Ogranicz wyniki wyszukiwania do jednego lub wi\u0119cej podtyp\u00f3w obiektu.", "type": "array", "items": { "enum": [ "post", "page", "project", "product", "epkb_post_type_1", "category", "post_tag", "project_category", "project_tag", "product_brand", "product_cat", "product_tag", "epkb_post_type_1_category", "epkb_post_type_1_tag", "any" ], "type": "string" }, "required": false }, "exclude": { "description": "Wyklucz z wyniku okre\u015blone identyfikatory.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false }, "include": { "description": "Ogranicz zestaw wynik\u00f3w do okre\u015blonych identyfikator\u00f3w.", "type": "array", "items": { "type": "integer" }, "default": [], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Zarejestrowana, unikalna nazwa bloku.", "type": "string", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "edit" ], "default": "view", "required": false }, "attributes": { "description": "Atrybuty bloku.", "type": "object", "default": [], "required": false }, "post_id": { "description": "Identyfikator kontekstu wpisu.", "type": "integer", "required": false } } } ] }, "\/wp\/v2\/block-types": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "namespace": { "description": "Przestrze\u0144 nazw bloku.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "namespace": { "description": "Przestrze\u0144 nazw bloku.", "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": "Nazwa bloku.", "type": "string", "required": false }, "namespace": { "description": "Przestrze\u0144 nazw bloku.", "type": "string", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "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": "Tytu\u0142", "description": "Tytu\u0142 witryny.", "type": "string", "required": false }, "description": { "title": "Slogan", "description": "Motto witryny.", "type": "string", "required": false }, "url": { "title": "", "description": "Adres URL witryny.", "type": "string", "format": "uri", "required": false }, "email": { "title": "", "description": "Adres jest u\u017cywany do cel\u00f3w administracyjnych, takich jak powiadomienia o nowych u\u017cytkownikach.", "type": "string", "format": "email", "required": false }, "timezone": { "title": "", "description": "Miasto w twojej strefie czasowej,", "type": "string", "required": false }, "date_format": { "title": "", "description": "Format daty dla wszystkich wyst\u0105pe\u0144", "type": "string", "required": false }, "time_format": { "title": "", "description": "Format czasu dla wszystkich wyst\u0105pe\u0144", "type": "string", "required": false }, "start_of_week": { "title": "", "description": "Numer dnia tygodnia, dla kt\u00f3rego powinien si\u0119 on zaczyna\u0107.", "type": "integer", "required": false }, "language": { "title": "", "description": "Kod ustawie\u0144 regionalnych WordPressa.", "type": "string", "required": false }, "use_smilies": { "title": "", "description": "W czasie wy\u015bwietlania zmienia emotikony :-) i :-P na grafiki.", "type": "boolean", "required": false }, "default_category": { "title": "", "description": "Domy\u015blna kategoria wpisu.", "type": "integer", "required": false }, "default_post_format": { "title": "", "description": "Domy\u015blny format wpisu.", "type": "string", "required": false }, "posts_per_page": { "title": "Maksymalna liczba wpis\u00f3w na stron\u0119", "description": "Strony blogu wy\u015bwietlaj\u0105 maksymalnie tyle wpis\u00f3w.", "type": "integer", "required": false }, "show_on_front": { "title": "Poka\u017c na stronie g\u0142\u00f3wnej", "description": "Co pokaza\u0107 na stronie g\u0142\u00f3wnej", "type": "string", "required": false }, "page_on_front": { "title": "Strona strony g\u0142\u00f3wnej", "description": "Identyfikator strony, kt\u00f3ra powinna by\u0107 wy\u015bwietlana na stronie g\u0142\u00f3wnej", "type": "integer", "required": false }, "page_for_posts": { "title": "", "description": "Identyfikator strony, kt\u00f3ra powinna wy\u015bwietla\u0107 najnowsze wpisy", "type": "integer", "required": false }, "default_ping_status": { "title": "", "description": "Pozwala na powiadomienia z innych witryn (pingbacki i trackbacki) w nowych artyku\u0142ach.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "default_comment_status": { "title": "Zezwalaj na komentowanie nowych wpis\u00f3w", "description": "Zezw\u00f3l na komentowanie nowych wpis\u00f3w.", "type": "string", "enum": [ "open", "closed" ], "required": false }, "site_logo": { "title": "Logo", "description": "Logo witryny.", "type": "integer", "required": false }, "site_icon": { "title": "Ikonka", "description": "Ikona witryny.", "type": "integer", "required": false }, "pickup_location_settings": { "title": "", "description": "WooCommerce Local Pickup Method Settings", "type": "object", "properties": { "enabled": { "description": "Je\u015bli w\u0142\u0105czysz t\u0119 opcj\u0119, ta metoda pojawi si\u0119 w bloku zam\u00f3wienia.", "type": "string", "enum": [ "yes", "no" ] }, "title": { "description": "Tytu\u0142, kt\u00f3ry widzi u\u017cytkownik podczas sk\u0142adania zam\u00f3wienia.", "type": "string" }, "tax_status": { "description": "Je\u015bli zdefiniowano koszt, okre\u015bla czy jest opodatkowany.", "type": "string", "enum": [ "taxable", "none" ] }, "cost": { "description": "Opcjonalny koszt do naliczenia za odbi\u00f3r osobisty.", "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 }, "cookie_consent_template": { "title": "", "description": "", "type": "string", "required": false }, "Blogroll Recommendations": { "title": "", "description": "Site Recommendations", "type": "array", "items": { "type": "object", "properties": { "id": { "type": "string", "format": "text-field" }, "name": { "type": "string", "format": "text-field" }, "icon": { "type": "string", "format": "uri" }, "url": { "type": "string", "format": "uri" }, "description": { "type": "string", "format": "text-field" }, "is_non_wpcom_site": { "type": "boolean" } }, "additionalProperties": false }, "required": false }, "woocommerce_default_catalog_orderby": { "title": "Domy\u015blne sortowanie produkt\u00f3w", "description": "Jak domy\u015blnie sortowa\u0107 produkty w katalogu?", "type": "string", "enum": [ "menu_order", "popularity", "rating", "date", "price", "price-desc" ], "required": false }, "woocommerce_checkout_phone_field": { "title": "Numer telefonu", "description": "Kontroluje wy\u015bwietlanie pola telefonu przy finalizacji zam\u00f3wienia (kasie).", "type": "string", "enum": [ "optional", "required", "hidden" ], "required": false }, "woocommerce_checkout_company_field": { "title": "Firma", "description": "Kontroluje wy\u015bwietlanie pola firmy przy finalizacji zam\u00f3wienia (kasie).", "type": "string", "enum": [ "optional", "required", "hidden" ], "required": false }, "woocommerce_checkout_address_2_field": { "title": "Druga linia adresu", "description": "Kontroluje wy\u015bwietlanie pola mieszkania (adres_2) przy finalizacji zam\u00f3wienia (kasie).", "type": "string", "enum": [ "optional", "required", "hidden" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wp\/v2\/settings" } ] } }, "\/wp\/v2\/themes": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "status": { "description": "Ogranicz wyniki do motyw\u00f3w posiadaj\u0105cych co najmniej jeden status.", "type": "array", "items": { "enum": [ "active", "inactive" ], "type": "string" }, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wp\/v2\/themes" } ] } }, "\/wp\/v2\/themes\/(?P[^\\\/:<>\\*\\?\"\\|]+(?:\\\/[^\\\/:<>\\*\\?\"\\|]+)?)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "stylesheet": { "description": "Arkusz styl\u00f3w motywu jednoznacznie go identyfikuje.", "type": "string", "required": false } } } ] }, "\/wp\/v2\/plugins": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "required": false }, "status": { "description": "Ogranicza wyniki do wtyczek o podanym statusie.", "type": "array", "items": { "type": "string", "enum": [ "inactive", "active" ] }, "required": false } } }, { "methods": [ "POST" ], "args": { "slug": { "type": "string", "description": "Uproszczona nazwa w katalogu wtyczek WordPress.org.", "pattern": "[\\w\\-]+", "required": true }, "status": { "description": "Status aktywacji wtyczki.", "type": "string", "enum": [ "inactive", "active" ], "default": "inactive", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wp\/v2\/plugins" } ] } }, "\/wp\/v2\/plugins\/(?P[^.\\\/]+(?:\\\/[^.\\\/]+)?)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH", "DELETE" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "plugin": { "type": "string", "pattern": "[^.\\\/]+(?:\\\/[^.\\\/]+)?", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "plugin": { "type": "string", "pattern": "[^.\\\/]+(?:\\\/[^.\\\/]+)?", "required": false }, "status": { "description": "Status aktywacji wtyczki.", "type": "string", "enum": [ "inactive", "active" ], "required": false } } }, { "methods": [ "DELETE" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "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": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wp\/v2\/sidebars" } ] } }, "\/wp\/v2\/sidebars\/(?P[\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET", "POST", "PUT", "PATCH" ], "endpoints": [ { "methods": [ "GET" ], "args": { "id": { "description": "Identyfikator zarejestrowanego panelu bocznego", "type": "string", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "args": { "widgets": { "description": "Zagnie\u017cd\u017cone wid\u017cety.", "type": "array", "items": { "type": [ "object", "string" ] }, "required": false } } } ] }, "\/wp\/v2\/widget-types": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Identyfikator typu wid\u017cetu.", "type": "string", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "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": "Identyfikator typu wid\u017cetu.", "type": "string", "required": true }, "instance": { "description": "Aktualne ustawienia instancji wid\u017cetu.", "type": "object", "required": false }, "form_data": { "description": "Serializowane dane formularza wid\u017cetu do zakodowania w ustawieniach instancji.", "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": "Identyfikator typu wid\u017cetu.", "type": "string", "required": true }, "instance": { "description": "Aktualne ustawienia instancji wid\u017cetu.", "type": "object", "required": false } } } ] }, "\/wp\/v2\/widgets": { "namespace": "wp\/v2", "methods": [ "GET", "POST" ], "endpoints": [ { "methods": [ "GET" ], "allow_batch": { "v1": true }, "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "sidebar": { "description": "Pasek boczny do zwracania wid\u017cet\u00f3w.", "type": "string", "required": false } } }, { "methods": [ "POST" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator wid\u017cetu.", "type": "string", "required": false }, "id_base": { "description": "Typ wid\u017cetu. Odpowiada identyfikatorowi typu wid\u017cetu.", "type": "string", "required": false }, "sidebar": { "default": "wp_inactive_widgets", "description": "Pasek boczny, do kt\u00f3rego nale\u017cy wid\u017cet.", "type": "string", "required": true }, "instance": { "description": "Ustawienia instancji wid\u017cetu, je\u015bli s\u0105 obs\u0142ugiwane.", "type": "object", "properties": { "encoded": { "description": "Ustawienia instancji zakodowane Base64.", "type": "string", "context": [ "edit" ] }, "hash": { "description": "Hash kryptograficzny ustawie\u0144 instancji.", "type": "string", "context": [ "edit" ] }, "raw": { "description": "Niezakodowane ustawienia instancji, je\u015bli s\u0105 obs\u0142ugiwane.", "type": "object", "context": [ "edit" ] } }, "required": false }, "form_data": { "description": "Zakodowane w adresie URL dane z formularza wid\u017cetu. S\u0142u\u017cy do aktualizacji wid\u017cetu, kt\u00f3ry nie obs\u0142uguje instancji. Tylko zapisywanie.", "type": "string", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } }, { "methods": [ "POST", "PUT", "PATCH" ], "allow_batch": { "v1": true }, "args": { "id": { "description": "Unikatowy identyfikator wid\u017cetu.", "type": "string", "required": false }, "id_base": { "description": "Typ wid\u017cetu. Odpowiada identyfikatorowi typu wid\u017cetu.", "type": "string", "required": false }, "sidebar": { "description": "Pasek boczny, do kt\u00f3rego nale\u017cy wid\u017cet.", "type": "string", "required": false }, "instance": { "description": "Ustawienia instancji wid\u017cetu, je\u015bli s\u0105 obs\u0142ugiwane.", "type": "object", "properties": { "encoded": { "description": "Ustawienia instancji zakodowane Base64.", "type": "string", "context": [ "edit" ] }, "hash": { "description": "Hash kryptograficzny ustawie\u0144 instancji.", "type": "string", "context": [ "edit" ] }, "raw": { "description": "Niezakodowane ustawienia instancji, je\u015bli s\u0105 obs\u0142ugiwane.", "type": "object", "context": [ "edit" ] } }, "required": false }, "form_data": { "description": "Zakodowane w adresie URL dane z formularza wid\u017cetu. S\u0142u\u017cy do aktualizacji wid\u017cetu, kt\u00f3ry nie obs\u0142uguje instancji. Tylko zapisywanie.", "type": "string", "required": false } } }, { "methods": [ "DELETE" ], "allow_batch": { "v1": true }, "args": { "force": { "description": "Czy wymusi\u0107 usuni\u0119cie wid\u017cetu, czy przenie\u015b\u0107 go na nieaktywny pasek boczny?", "type": "boolean", "required": false } } } ] }, "\/wp\/v2\/block-directory\/search": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false }, "term": { "description": "Ogranicz wyniki wyszukiwania do pasuj\u0105cych blok\u00f3w.", "type": "string", "minLength": 1, "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wp\/v2\/block-directory\/search" } ] } }, "\/wp\/v2\/pattern-directory\/patterns": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 100, "minimum": 1, "maximum": 100, "required": false }, "search": { "description": "Ogranicz wyniki do pasuj\u0105cych do zapytania.", "type": "string", "minLength": 1, "required": false }, "category": { "description": "Ogranicz wyniki do pasuj\u0105cych do kategorii.", "type": "integer", "minimum": 1, "required": false }, "keyword": { "description": "Ogranicz wyniki do pasuj\u0105cych do s\u0142owa kluczowego.", "type": "integer", "minimum": 1, "required": false }, "slug": { "description": "Ogranicz wyniki do pasuj\u0105cych do wzorca (uproszczona nazwa).", "type": "array", "required": false }, "offset": { "description": "Przesuni\u0119cie zestawu wynik\u00f3w o okre\u015blon\u0105 liczb\u0119 element\u00f3w.", "type": "integer", "required": false }, "order": { "description": "Sortowanie atrybut\u00f3w rosn\u0105co lub malej\u0105co.", "type": "string", "default": "desc", "enum": [ "asc", "desc" ], "required": false }, "orderby": { "description": "Sortuj kolekcj\u0119 wed\u0142ug atrybutu wpisu.", "type": "string", "default": "date", "enum": [ "author", "date", "id", "include", "modified", "parent", "relevance", "slug", "include_slugs", "title", "favorite_count" ], "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/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": "Adres URL do przetworzenia.", "type": "string", "format": "uri", "required": true } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wp-block-editor\/v1\/url-details" } ] } }, "\/wp\/v2\/menu-locations": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wp\/v2\/menu-locations" } ] } }, "\/wp\/v2\/menu-locations\/(?P[\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "location": { "description": "Identyfikator alfanumeryczny dla po\u0142o\u017cenia menu.", "type": "string", "required": false }, "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "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:\/\/nightscout.pro\/pl\/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:\/\/nightscout.pro\/pl\/wp-json\/wp-block-editor\/v1\/navigation-fallback" } ] } }, "\/wp\/v2\/font-collections": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false }, "page": { "description": "Obecna strona kolekcji.", "type": "integer", "default": 1, "minimum": 1, "required": false }, "per_page": { "description": "Maksymalna liczba element\u00f3w, kt\u00f3re maj\u0105 by\u0107 zwr\u00f3cone w zestawie wynik\u00f3w.", "type": "integer", "default": 10, "minimum": 1, "maximum": 100, "required": false } } } ], "_links": { "self": [ { "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wp\/v2\/font-collections" } ] } }, "\/wp\/v2\/font-collections\/(?P[\\\/\\w-]+)": { "namespace": "wp\/v2", "methods": [ "GET" ], "endpoints": [ { "methods": [ "GET" ], "args": { "context": { "description": "Kontekst w kt\u00f3rym wykonywane jest \u017c\u0105danie. Okre\u015bla pola obecne w odpowiedzi.", "type": "string", "enum": [ "view", "embed", "edit" ], "default": "view", "required": false } } } ] } }, "site_logo": 0, "site_icon": 748, "site_icon_url": "https:\/\/nightscout.pro\/wp-content\/uploads\/2022\/12\/cropped-nightscoutfavicon.jpg", "_links": { "help": [ { "href": "https:\/\/developer.wordpress.org\/rest-api\/" } ], "wp:featuredmedia": [ { "embeddable": true, "type": "site_icon", "href": "https:\/\/nightscout.pro\/pl\/wp-json\/wp\/v2\/media\/748" } ], "curies": [ { "name": "wp", "href": "https:\/\/api.w.org\/{rel}", "templated": true } ] } }