I’m facing an issue with the API REST. I’m trying to use a PUT request to modify the values of my metas (meta title, meta description, og meta title, og meta description, twitter meta title, twitter meta description), and an ACF field. Like the title says, i’m trying to do that for my product categories (I already succeeded doing it for my products).
The thing is, no matter what I use as JSON body, nothing works. I tried something like this (which is the information returned by the GET request) for my ACF field (I already downloaded the “ACF to REST API” plugin) :
{
“yoast_head_json”: {
“title”: “{{ $json.different[‘TITRE SEO’].inputA }}”,
“description”: “{{ $json.different[‘META DESCRIPTION’].inputA }}”,
“og_title”: “{{ $json.different[‘TITRE SEO’].inputA }}”,
“og_description”: “{{ $json.different[‘META DESCRIPTION’].inputA }}”,
“twitter_title”: “{{ $json.different[‘TITRE SEO’].inputA }}”,
“twitter_description”: “{{ $json.different[‘META DESCRIPTION’].inputA }}”
},
“fields”: {
“texte_de_referencement”: “{{ $json.different[‘TXT REF’].inputA }}”,
“titre_h1”: “{{ $json.different[‘H1 REF’].inputA }}”
}
}
For my ACF fields I also tried this :
{
“acf”: {
“titre_h1”: “{{ $json.different[‘H1 REF’].inputA }}”
}
}
(I’m trying with dynamic informations, but it won’t work with static informations either).
The url i’m using is https://www.mywebsite.com/wp-json/wc/v3/products/categories/product_cat_id and of course I have the right credentials (which allowed me to do the same, but successful request for my products “https://www.mywebsite.com/wp-json/wc/v3/products/product_id”).
Am I missing something ?
I also tried something like this, but still won’t work :
{
“meta_data”: [
{
“key”: “h1_title”,
“value”: “Updated H1 Title”
}
]
}
Is it something impossible for now ?
]]>I am using the WooCommerce REST/Webhook API to send data from my main site to a secondary site. On my main site, I have hundreds of authors, each with several registered products. However, when the webhook sends the orders and products to the secondary site, all the orders and products of all the authors are imported together, which is causing unnecessary data overload.
What I need is for the webhook to send only the orders and products of a single specific user, previously defined, so that only the information of that specific author is imported to the secondary site.
I would like to know if there is any way to restrict the orders/products sent by the webhook to only a specific user, either through some internal API filter, by configuration, or through custom code. Is there any solution that can help me implement this filter?
Thank you!
]]>PUT
request to the /wp-json/wc/v3/products/{id}
endpoint, but I am receiving a 405 – Method Not Allowed error in response.
Here are the specific details of the issue:
https://londonwine.com/wp-json/wc/v3/products/9057
PUT
consumer_key
and consumer_secret
.405 - Method Not Allowed
error, which suggests that the PUT
method might be blocked for this endpoint. I am uncertain if this is due to API configuration, server settings, or another restriction.PUT
method should be available for this type of request.PUT
method.Could you help me identify why the PUT
method is not allowed for this endpoint? Is there any specific adjustment or configuration within WooCommerce or the API that I should verify to ensure that product update requests are accepted?
Any additional guidance would be greatly appreciated, as I am struggling to resolve this issue. Thank you very much for your attention and assistance.
]]>I have a problem with the TutorLMS plugin, I am trying to use the REST API keys generated in Woocommerce.
When I check it, it appears that the user is not registered, this happens when the TutorLMS plugin is active.
But when I deactivate tutor LMS plugin the keys work fine.
I don’t know why this happens, I hope you can give me a solution.
]]>Since I migrated my sites to a new infrastructure (new servers all behind a NGINX proxy on separate servers) I’ve been having problems with the Rest API and cron.
The first site is characters.neodraco.fr. (Beware, this site can be NSFW)
In fact, I get these errors in the health status of the site:
Also, on another wordpress site (noaledet.fr) which is hosted on the same server under the same conditions, I get this kind of error with wp-cron.php: Unexpected HTTP response code: 404 (provided by the WP Crontrol plugin)
Information about characters.neodraco.fr :
` wp-core<br><br>version: 6.6.1<br>site_language: fr_FR<br>user_language: en_US<br>timezone: +02:00<br>permalink: /%postname%/<br>https_status: true<br>multisite: false<br>user_registration: 1<br>blog_public: 1<br>default_comment_status: open<br>environment_type: production<br>user_count: 1<br>dotorg_communication: true wp-paths-sizes<br><br>wordpress_path: /var/www/characters<br>wordpress_size: loading…<br>uploads_path: /var/www/characters/wp-content/uploads<br>uploads_size: loading…<br>themes_path: /var/www/characters/wp-content/themes<br>themes_size: loading…<br>plugins_path: /var/www/characters/wp-content/plugins<br>plugins_size: loading…<br>fonts_path: /var/www/characters/wp-content/uploads/fonts<br>fonts_size: loading…<br>database_size: loading…<br>total_size: loading… wp-dropins (2)<br><br>advanced-cache.php: true<br>object-cache.php: true wp-active-theme<br><br>name: Hestia Pro (hestia-pro)<br>version: 3.1.9<br>author: ThemeIsle<br>author_website: https://themeisle.com<br>parent_theme: none<br>theme_features: core-block-patterns, title-tag, post-thumbnails, automatic-feed-links, custom-logo, html5, custom-header, customize-selective-refresh-widgets, custom-background, themeisle-demo-import, align-wide, header-footer-elementor, starter-content, style, script, editor-color-palette, menus, editor-style, jetpack-portfolio, block-templates, align-full, widgets<br>theme_path: /var/www/characters/wp-content/themes/hestia-pro<br>auto_update: Disabled wp-themes-inactive (1)<br><br>Twenty Twenty-Four: version: 1.2, author: the WordPress team, Auto-updates disabled wp-mu-plugins (1)<br><br>Health Check Troubleshooting Mode: author: (undefined), version: 1.9.2 wp-plugins-active (21)<br><br>Age Gate: version: 3.4.1, author: Phil Baker, Auto-updates disabled<br>Akismet Anti-spam: Spam Protection: version: 5.3.3, author: Automattic - Anti-spam Team, Auto-updates disabled<br>Cloudflare: version: 4.12.8, author: Cloudflare, Inc., Auto-updates disabled<br>Duplicator: version: 1.5.10.2, author: Duplicator, Auto-updates disabled<br>FileBird Lite: version: 6.3.2, author: Ninja Team, Auto-updates disabled<br>Forminator: version: 1.34.1, author: WPMU DEV, Auto-updates disabled<br>Health Check & Troubleshooting: version: 1.7.1, author: The www.remarpro.com community, Auto-updates disabled<br>Image Placeholders: version: 1.1.1, author: WordPress Performance Team, Auto-updates disabled<br>IndexNow: version: 1.0.3, author: Microsoft Bing, Auto-updates enabled<br>iQ Block Country: version: 1.2.23, author: Pascal, Auto-updates disabled<br>Jetpack: version: 13.7, author: Automattic, Auto-updates disabled<br>Jetpack Boost: version: 3.4.7, author: Automattic - Jetpack Site Speed team, Auto-updates disabled<br>Kubio: version: 2.3.2, author: ExtendThemes, Auto-updates disabled<br>LightStart - Maintenance Mode, Coming Soon and Landing Page Builder: version: 2.6.11, author: Themeisle, Auto-updates disabled<br>NSFW (Not Safe For Work): version: 1.0, author: Zing-Ming, Auto-updates disabled<br>Orbit Fox Companion: version: 2.10.37, author: Themeisle, Auto-updates disabled<br>Otter – Page Builder Blocks & Extensions for Gutenberg: version: 3.0.2, author: ThemeIsle, Auto-updates disabled<br>Performance Lab: version: 3.4.0, author: WordPress Performance Team, Auto-updates disabled<br>Popup Box: version: 4.7.4, author: Popup Box Team, Auto-updates disabled<br>TranslatePress - Multilingual: version: 2.8.3, author: Cozmoslabs, Razvan Mocanu, Madalin Ungureanu, Cristophor Hurduban, Auto-updates disabled<br>WP Mail SMTP: version: 4.1.1, author: WP Mail SMTP, Auto-updates disabled wp-media<br><br>image_editor: WP_Image_Editor_Imagick<br>imagick_module_version: 1692<br>imagemagick_version: ImageMagick 6.9.12-98 Q16 x86_64 18038 https://legacy.imagemagick.org<br>imagick_version: 3.7.0<br>file_uploads: 1<br>post_max_size: 50M<br>upload_max_filesize: 50M<br>max_effective_size: 50 MB<br>max_file_uploads: 20<br>imagick_limits:<br>imagick::RESOURCETYPE_AREA: 244 MB<br>imagick::RESOURCETYPE_DISK: 2147483648<br>imagick::RESOURCETYPE_FILE: 6144<br>imagick::RESOURCETYPE_MAP: 2 GB<br>imagick::RESOURCETYPE_MEMORY: 1 GB<br>imagick::RESOURCETYPE_THREAD: 1<br>imagick::RESOURCETYPE_TIME: 9.2233720368548E+18<br>imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, APNG, ART, ARW, AVI, AVIF, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DNG, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, FAX, FILE, FITS, FLV, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, H, HALD, HDR, HEIC, HEIF, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JBG, JBIG, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIDEO, VIFF, VIPS, VST, WBMP, WEBM, WEBP, WMV, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV<br>gd_version: 2.3.3<br>gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM<br>ghostscript_version: 10.02.1 wp-server<br><br>server_architecture: Linux 6.8.0-41-generic x86_64<br>httpd_software: Apache/2.4.58 (Ubuntu)<br>php_version: 8.3.6 64bit<br>php_sapi: apache2handler<br>max_input_variables: 1000<br>time_limit: 300<br>memory_limit: 512M<br>max_input_time: 60<br>upload_max_filesize: 50M<br>php_post_max_size: 50M<br>curl_version: 8.5.0 OpenSSL/3.0.13<br>suhosin: false<br>imagick_availability: true<br>pretty_permalinks: true<br>htaccess_extra_rules: false<br>current: 2024-08-25T22:52:15+00:00<br>utc-time: Sunday, 25-Aug-24 22:52:15 UTC<br>server-time: 2024-08-26T00:52:12+02:00 wp-database<br><br>extension: mysqli<br>server_version: 10.11.8-MariaDB-0ubuntu0.24.04.1<br>client_version: mysqlnd 8.3.6<br>max_allowed_packet: 16777216<br>max_connections: 151 wp-constants<br><br>WP_HOME: https://characters.neodraco.fr<br>WP_SITEURL: https://characters.neodraco.fr<br>WP_CONTENT_DIR: /var/www/characters/wp-content<br>WP_PLUGIN_DIR: /var/www/characters/wp-content/plugins<br>WP_MEMORY_LIMIT: 512M<br>WP_MAX_MEMORY_LIMIT: 256M<br>WP_DEBUG: false<br>WP_DEBUG_DISPLAY: true<br>WP_DEBUG_LOG: true<br>SCRIPT_DEBUG: false<br>WP_CACHE: true<br>CONCATENATE_SCRIPTS: undefined<br>COMPRESS_SCRIPTS: undefined<br>COMPRESS_CSS: undefined<br>WP_ENVIRONMENT_TYPE: Undefined<br>WP_DEVELOPMENT_MODE: undefined<br>DB_CHARSET: utf8mb4<br>DB_COLLATE: undefined wp-filesystem<br><br>wordpress: writable<br>wp-content: writable<br>uploads: writable<br>plugins: writable<br>themes: writable<br>fonts: not writable<br>mu-plugins: writable jetpack<br><br>site_id: 225757495<br>ssl_cert: No<br>time_diff: undefined<br>version_option: 13.7:1723147252<br>old_version: 13.6:1721034217<br>public: Public<br>master_user: #1 Veivneorul<br>is_offline_mode: off<br>is_offline_mode_constant: off<br>current_user: #1 Veivneorul<br>tokens_set: Blog User<br>blog_token: @GtKq1J%ZdlitDKwCf&1C6606XezN9CN<br>user_token: @QOJc2*gf8)kMWdB3lHlkuxcgRoL6vPl<br>version: 13.7<br>jp_plugin_dir: /var/www/characters/wp-content/plugins/jetpack/<br>plan: free<br>protect_header: ""<br>full_sync: {"started":"Thu, 22 Feb 2024 13:03:04 +0000","finished":"Thu, 22 Feb 2024 13:03:07 +0000","progress":{"options":{"finished":true},"functions":{"finished":true},"constants":{"finished":true},"users":{"total":"0","sent":0,"finished":true,"last_sent":"~0"},"network_options":{"finished":true}},"config":{"options":true,"functions":true,"constants":true,"users":[2],"network_options":true}}<br>sync_size: 1<br>sync_lag: 1 second<br>full_sync_size: undefined<br>full_sync_lag: 0 seconds<br>idc_urls: {"home":"https:\/\/characters.neodraco.fr","siteurl":"https:\/\/characters.neodraco.fr","WP_HOME":"https:\/\/characters.neodraco.fr","WP_SITEURL":"https:\/\/characters.neodraco.fr"}<br>idc_error_option: false<br>idc_optin: true<br>cxn_tests: All Pass. wp_mail_smtp<br><br>version: 4.1.1<br>license_key_type: lite<br>debug: No debug notices found.<br>lite_install_date: Nov 12, 2023 @ 5:22pm</code></pre>
<p>And as for noaledet.fr : </p>
<pre class="wp-block-code"><code>` wp-core
version: 6.6.1
site_language: fr_FR
user_language: fr_FR
timezone: +02:00
permalink: /%postname%/
https_status: true
multisite: false
user_registration: 0
blog_public: 1
default_comment_status: open
environment_type: production
user_count: 1
dotorg_communication: true wp-paths-sizes
wordpress_path: /var/www/noaledet
wordpress_size: loading…
uploads_path: /var/www/noaledet/wp-content/uploads
uploads_size: loading…
themes_path: /var/www/noaledet/wp-content/themes
themes_size: loading…
plugins_path: /var/www/noaledet/wp-content/plugins
plugins_size: loading…
fonts_path: /var/www/noaledet/wp-content/uploads/fonts
fonts_size: loading…
database_size: loading…
total_size: loading… wp-active-theme
name: Personal CV Resume PRO (personal-cv-resume-pro)
version: 1.0.5
author: aThemeArt
author_website: https://athemeart.com/
parent_theme: none
theme_features: core-block-patterns, widgets-block-editor, automatic-feed-links, title-tag, post-thumbnails, menus, html5, custom-background, customize-selective-refresh-widgets, custom-logo, post-formats, custom-header, widgets
theme_path: /var/www/noaledet/wp-content/themes/personal-cv-resume-pro
auto_update: Désactivé wp-themes-inactive (3)
Personal CV Resume: version: 1.1.4, author: aThemeArt, Mises à jour auto désactivées
Twenty Twenty-Four: version: 1.2, author: L’équipe WordPress, Mises à jour auto désactivées
Twenty Twenty-Three: version: 1.5, author: L’équipe WordPress, Mises à jour auto désactivées wp-plugins-active (10)
Clever Fox: version: 26.2.8, author: nayrathemes, Mises à jour auto désactivées
Cloudflare: version: 4.12.8, author: Cloudflare, Inc., Mises à jour auto désactivées
Codestar Framework: version: 2.1.8, author: Codestar, Mises à jour auto désactivées
Elementor: version: 3.23.4, author: Elementor.com, Mises à jour auto désactivées
Orbit Fox Companion: version: 2.10.37, author: Themeisle, Mises à jour auto désactivées
Otter – Page Builder Blocks & Extensions for Gutenberg: version: 3.0.2, author: ThemeIsle, Mises à jour auto désactivées
Royal Elementor Addons: version: 1.3.982, author: WP Royal, Mises à jour auto désactivées
WP Crontrol: version: 1.17.0, author: John Blackbourn, Mises à jour auto désactivées
WPForms Lite: version: 1.9.0.4, author: WPForms, Mises à jour auto désactivées
WP Mail SMTP: version: 4.1.1, author: WP Mail SMTP, Mises à jour auto désactivées wp-plugins-inactive (1)
Duplicator: version: 1.5.10.2, author: Duplicator, Mises à jour auto désactivées wp-media
image_editor: WP_Image_Editor_Imagick
imagick_module_version: 1692
imagemagick_version: ImageMagick 6.9.12-98 Q16 x86_64 18038 https://legacy.imagemagick.org
imagick_version: 3.7.0
file_uploads: 1
post_max_size: 50M
upload_max_filesize: 50M
max_effective_size: 50 Mo
max_file_uploads: 20
imagick_limits:
imagick::RESOURCETYPE_AREA: 244 Mo
imagick::RESOURCETYPE_DISK: 2147483648
imagick::RESOURCETYPE_FILE: 6144
imagick::RESOURCETYPE_MAP: 2 Go
imagick::RESOURCETYPE_MEMORY: 1 Go
imagick::RESOURCETYPE_THREAD: 1
imagick::RESOURCETYPE_TIME: 9.2233720368548E+18
imagemagick_file_formats: 3FR, 3G2, 3GP, AAI, AI, APNG, ART, ARW, AVI, AVIF, AVS, BGR, BGRA, BGRO, BIE, BMP, BMP2, BMP3, BRF, CAL, CALS, CANVAS, CAPTION, CIN, CIP, CLIP, CMYK, CMYKA, CR2, CR3, CRW, CUR, CUT, DATA, DCM, DCR, DCX, DDS, DFONT, DNG, DPX, DXT1, DXT5, EPDF, EPI, EPS, EPS2, EPS3, EPSF, EPSI, EPT, EPT2, EPT3, ERF, FAX, FILE, FITS, FLV, FRACTAL, FTP, FTS, G3, G4, GIF, GIF87, GRADIENT, GRAY, GRAYA, GROUP4, H, HALD, HDR, HEIC, HEIF, HISTOGRAM, HRZ, HTM, HTML, HTTP, HTTPS, ICB, ICO, ICON, IIQ, INFO, INLINE, IPL, ISOBRL, ISOBRL6, J2C, J2K, JBG, JBIG, JNG, JNX, JP2, JPC, JPE, JPEG, JPG, JPM, JPS, JPT, JSON, K25, KDC, LABEL, M2V, M4V, MAC, MAGICK, MAP, MASK, MAT, MATTE, MEF, MIFF, MKV, MNG, MONO, MOV, MP4, MPC, MPEG, MPG, MRW, MSL, MTV, MVG, NEF, NRW, NULL, ORF, OTB, OTF, PAL, PALM, PAM, PATTERN, PBM, PCD, PCDS, PCL, PCT, PCX, PDB, PDF, PDFA, PEF, PES, PFA, PFB, PFM, PGM, PGX, PICON, PICT, PIX, PJPEG, PLASMA, PNG, PNG00, PNG24, PNG32, PNG48, PNG64, PNG8, PNM, POCKETMOD, PPM, PREVIEW, PS, PS2, PS3, PSB, PSD, PTIF, PWP, RADIAL-GRADIENT, RAF, RAS, RAW, RGB, RGBA, RGBO, RGF, RLA, RLE, RMF, RW2, SCR, SCT, SFW, SGI, SHTML, SIX, SIXEL, SPARSE-COLOR, SR2, SRF, STEGANO, SUN, TEXT, TGA, THUMBNAIL, TIFF, TIFF64, TILE, TIM, TTC, TTF, TXT, UBRL, UBRL6, UIL, UYVY, VDA, VICAR, VID, VIDEO, VIFF, VIPS, VST, WBMP, WEBM, WEBP, WMV, WPG, X, X3F, XBM, XC, XCF, XPM, XPS, XV, XWD, YCbCr, YCbCrA, YUV
gd_version: 2.3.3
gd_formats: GIF, JPEG, PNG, WebP, BMP, XPM
ghostscript_version: 10.02.1 wp-server
server_architecture: Linux 6.8.0-41-generic x86_64
httpd_software: Apache/2.4.58 (Ubuntu)
php_version: 8.3.6 64bit
php_sapi: apache2handler
max_input_variables: 1000
time_limit: 300
memory_limit: 256M
max_input_time: 60
upload_max_filesize: 50M
php_post_max_size: 50M
curl_version: 8.5.0 OpenSSL/3.0.13
suhosin: false
imagick_availability: true
pretty_permalinks: true
htaccess_extra_rules: false
current: 2024-08-25T22:54:47+00:00
utc-time: Sunday, 25-Aug-24 22:54:47 UTC
server-time: 2024-08-26T00:54:46+02:00 wp-database
extension: mysqli
server_version: 10.11.8-MariaDB-0ubuntu0.24.04.1
client_version: mysqlnd 8.3.6
max_allowed_packet: 16777216
max_connections: 151 wp-constants
WP_HOME: https://noaledet.fr
WP_SITEURL: https://noaledet.fr
WP_CONTENT_DIR: /var/www/noaledet/wp-content
WP_PLUGIN_DIR: /var/www/noaledet/wp-content/plugins
WP_MEMORY_LIMIT: 40M
WP_MAX_MEMORY_LIMIT: 256M
WP_DEBUG: false
WP_DEBUG_DISPLAY: false
WP_DEBUG_LOG: false
SCRIPT_DEBUG: false
WP_CACHE: false
CONCATENATE_SCRIPTS: undefined
COMPRESS_SCRIPTS: undefined
COMPRESS_CSS: undefined
WP_ENVIRONMENT_TYPE: Indéfini
WP_DEVELOPMENT_MODE: undefined
DB_CHARSET: utf8mb4
DB_COLLATE: undefined wp-filesystem
wordpress: writable
wp-content: writable
uploads: writable
plugins: writable
themes: writable
fonts: not writable wp_mail_smtp
version: 4.1.1
license_key_type: lite
debug: Aucune notification de débogage trouvée.
lite_install_date: Juil 24, 2024 @ 3:25pm wpforms
version: 1.9.0.4
lite: 23 juillet 2024 à 16h12
upload_dir: Accessible en écriture
total_forms: 2
total_submissions: 3
]]>Just purchased Image Hover Ultimate Pro, as free one was great. However, the 3 extensions do not find my Woocommerce Products categories and on the plugin’s setting page I have a message warning that WordPress API REST is disabled (which is not and other plugins with API needs work well). I have first asked my hosting service for security check : they do not find any restriction for your plugin and suggested I contact your support to fix this, or give me more informations about the issue if you have some.
Thank you so much for your help.
Regards,
I would like your help to add metadata when using WP API:
I’m using WordPress REST API to create blog posts and I would like to fill Yoast field using REST API.
Request POST : https://mysite/wp-json/wp/v2/posts/
JSON :
{
“title”: “Your Title”,
“content”: “Your Content”,
“meta”: {
“_yoast_wpseo_title”: “SEO Title”,
“_yoast_wpseo_metadesc”: “SEO Desc”
“_yoast_wpseo_focuskw’”: “my keyword”
}
}
I tried many things but nothing is working ( I tired “meta” “yoast_meta”, and many many)
Maybe I have to create custom api fields, do you have any documentation ?
But suddenly in the updates (6.4 – 6.4.1 – 6.4.2) I don’t know which one specifically because we barely notice that the call to the /wp-json/wp/v2/posts?tags=1 api always gives us returns all posts and not the posts of the tag with id 1
Any help or suggestion
Thank you so much
Since October 18, the REST API has not delivered billing information to the outsourced company.
I already spoke with Godaddy, where the website https://www.juanlinares.com/ is hosted. I have spoken with woocommerce and the outsourced company.
I have been talking to everyone for more than 1 month and they are all treating me very badly since each one says that it is not her responsibility and that everything works very well at her job.
I’m going crazy with that, it’s important since the outsourced company is the one that does the automatic billing and I would have to do everything manually.
I have created several new REST APIs and have integrated again with the outsourced company and it still does not work, woocommerce has sent me a code to add in .htaccess and so little works.
Can someone help me please?
]]>info de woo:
?# BEGIN Line too long fix
<IfModule mod_substitute.c>
SubstituteMaxLineLength 10M
</IfModule>
# END Line too long fix
my web is on Godaddy and it’s wordpress
https://www.juanlinares.com/
I don’t have any security add-on or firewall enabled on the host.
It was working until October 18th when the gear stopped working.
To help, I compiled information from WooCommerce > Status:
Entorno WordPress
Dirección de WordPress (URL):https://www.juanlinares.com
Dirección del sitio (URL):https://www.juanlinares.com
Versión de WooCommerce:8.3.1
Paquete de la REST API de WooCommerce: 8.3.1 /var/www/wp-content/plugins/woocommerce/includes
Paquete WooCommerce Blocks: 11.4.9 /var/www/wp-content/plugins/woocommerce/packages/woocommerce-blocks/
Paquete del programador de acciones: 3.6.4 /var/www/wp-content/plugins/woocommerce/packages/action-scheduler
Directorio de registros con permiso de escritura: /var/www/wp-content/uploads/wc-logs/
Versión de WordPress: 6.3.2 – Hay una versión nueva de WordPress disponible (6.4.1)
WordPress multisitio:–
Límite de memoria de WordPress:256 MB
Modo de depuración de WordPress:–
Cron de WordPress:
Idioma:es_ES
Caché de objeto externo:–
Entorno del servidor
Información del servidor:Apache
Versión de PHP:8.0.30
PHP post max size:100 MB
PHP time limit:300
PHP max input vars:1000
Versión cURL:8.4.0, OpenSSL/1.1.1w
SUHOSIN Instalado:–
Versión de MySQL:8.0.33-25
Tama?o máximo de subida:100 MB
Por defecto la zona horaria es GMT:
fsockopen/cURL:
SoapClient:
DOMDocument:
GZip:
Cadena multibyte:
Publicación remota:
Obtención remota:
Base de datos
Versión de la base de datos de WordPress:8.3.1
Prefijo de la base de datos wp_19par0ajsr_
Tama?o total de la base de datos 27.01MB
Tama?o de los datos de la base de datos 23.48MB
Tama?o del índice de la base de datos 3.53MB
wp_19par0ajsr_woocommerce_sessions Datos: 1.02MB + índice: 0.02MB + Motor InnoDB
wp_19par0ajsr_woocommerce_api_keys Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
wp_19par0ajsr_woocommerce_attribute_taxonomies Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
wp_19par0ajsr_woocommerce_downloadable_product_permissions Datos: 0.02MB + índice: 0.06MB + Motor InnoDB
wp_19par0ajsr_woocommerce_order_items Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
wp_19par0ajsr_woocommerce_order_itemmeta Datos: 0.11MB + índice: 0.14MB + Motor InnoDB
wp_19par0ajsr_woocommerce_tax_rates Datos: 0.02MB + índice: 0.06MB + Motor InnoDB
wp_19par0ajsr_woocommerce_tax_rate_locations Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
wp_19par0ajsr_woocommerce_shipping_zones Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
wp_19par0ajsr_woocommerce_shipping_zone_locations Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
wp_19par0ajsr_woocommerce_shipping_zone_methods Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
wp_19par0ajsr_woocommerce_payment_tokens Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
wp_19par0ajsr_woocommerce_payment_tokenmeta Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
wp_19par0ajsr_woocommerce_log Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
wp_19par0ajsr_actionscheduler_actions Datos: 0.17MB + índice: 0.16MB + Motor InnoDB
wp_19par0ajsr_actionscheduler_claims Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
wp_19par0ajsr_actionscheduler_groups Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
wp_19par0ajsr_actionscheduler_logs Datos: 0.31MB + índice: 0.25MB + Motor InnoDB
wp_19par0ajsr_cartflows_ca_cart_abandonment Datos: 0.19MB + índice: 0.02MB + Motor InnoDB
wp_19par0ajsr_cartflows_ca_email_history Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
wp_19par0ajsr_cartflows_ca_email_templates Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
wp_19par0ajsr_cartflows_ca_email_templates_meta Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
wp_19par0ajsr_commentmeta Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
wp_19par0ajsr_comments Datos: 0.08MB + índice: 0.09MB + Motor InnoDB
wp_19par0ajsr_e_events Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
wp_19par0ajsr_gf_draft_submissions Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
wp_19par0ajsr_gf_entry Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
wp_19par0ajsr_gf_entry_meta Datos: 0.02MB + índice: 0.05MB + Motor InnoDB
wp_19par0ajsr_gf_entry_notes Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
wp_19par0ajsr_gf_form Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
wp_19par0ajsr_gf_form_meta Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
wp_19par0ajsr_gf_form_revisions Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
wp_19par0ajsr_gf_form_view Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
wp_19par0ajsr_gf_rest_api_keys Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
wp_19par0ajsr_gla_attribute_mapping_rules Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
wp_19par0ajsr_gla_budget_recommendations Datos: 0.22MB + índice: 0.14MB + Motor InnoDB
wp_19par0ajsr_gla_merchant_issues Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
wp_19par0ajsr_gla_shipping_rates Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
wp_19par0ajsr_gla_shipping_times Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
wp_19par0ajsr_jetpack_sync_queue Datos: 0.02MB + índice: 0.06MB + Motor InnoDB
wp_19par0ajsr_links Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
wp_19par0ajsr_mailchimp_carts Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
wp_19par0ajsr_mailchimp_jobs Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
wp_19par0ajsr_options Datos: 11.41MB + índice: 0.13MB + Motor InnoDB
wp_19par0ajsr_postmeta Datos: 6.50MB + índice: 0.31MB + Motor InnoDB
wp_19par0ajsr_posts Datos: 1.52MB + índice: 0.06MB + Motor InnoDB
wp_19par0ajsr_snippets Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
wp_19par0ajsr_term_relationships Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
wp_19par0ajsr_term_taxonomy Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
wp_19par0ajsr_termmeta Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
wp_19par0ajsr_terms Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
wp_19par0ajsr_usermeta Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
wp_19par0ajsr_users Datos: 0.02MB + índice: 0.05MB + Motor InnoDB
wp_19par0ajsr_vxc_mailchimp_accounts Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
wp_19par0ajsr_vxc_mailchimp_log Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
wp_19par0ajsr_vxcf_leads Datos: 0.02MB + índice: 0.05MB + Motor InnoDB
wp_19par0ajsr_vxcf_leads_detail Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
wp_19par0ajsr_vxcf_leads_notes Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
wp_19par0ajsr_vxcf_mailchimp Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
wp_19par0ajsr_vxcf_mailchimp_accounts Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
wp_19par0ajsr_vxcf_mailchimp_log Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
wp_19par0ajsr_wc_admin_note_actions Datos: 0.08MB + índice: 0.02MB + Motor InnoDB
wp_19par0ajsr_wc_admin_notes Datos: 0.08MB + índice: 0.00MB + Motor InnoDB
wp_19par0ajsr_wc_category_lookup Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
wp_19par0ajsr_wc_comments_subscription Datos: 0.02MB + índice: 0.06MB + Motor InnoDB
wp_19par0ajsr_wc_customer_lookup Datos: 0.06MB + índice: 0.03MB + Motor InnoDB
wp_19par0ajsr_wc_download_log Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
wp_19par0ajsr_wc_feedback_forms Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
wp_19par0ajsr_wc_follow_users Datos: 0.02MB + índice: 0.13MB + Motor InnoDB
wp_19par0ajsr_wc_order_addresses Datos: 0.02MB + índice: 0.06MB + Motor InnoDB
wp_19par0ajsr_wc_order_coupon_lookup Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
wp_19par0ajsr_wc_order_operational_data Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
wp_19par0ajsr_wc_order_product_lookup Datos: 0.02MB + índice: 0.06MB + Motor InnoDB
wp_19par0ajsr_wc_order_stats Datos: 0.09MB + índice: 0.05MB + Motor InnoDB
wp_19par0ajsr_wc_order_tax_lookup Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
wp_19par0ajsr_wc_orders Datos: 0.02MB + índice: 0.11MB + Motor InnoDB
wp_19par0ajsr_wc_orders_meta Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
wp_19par0ajsr_wc_phrases Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
wp_19par0ajsr_wc_product_attributes_lookup Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
wp_19par0ajsr_wc_product_download_directories Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
wp_19par0ajsr_wc_product_meta_lookup Datos: 0.02MB + índice: 0.09MB + Motor InnoDB
wp_19par0ajsr_wc_rate_limits Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
wp_19par0ajsr_wc_reserved_stock Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
wp_19par0ajsr_wc_tax_rate_classes Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
wp_19par0ajsr_wc_users_rated Datos: 0.02MB + índice: 0.03MB + Motor InnoDB
wp_19par0ajsr_wc_users_voted Datos: 0.02MB + índice: 0.08MB + Motor InnoDB
wp_19par0ajsr_wc_webhooks Datos: 0.02MB + índice: 0.02MB + Motor InnoDB
wp_19par0ajsr_wpaas_activity_log Datos: 0.16MB + índice: 0.00MB + Motor InnoDB
wp_19par0ajsr_wpfm_backup Datos: 0.02MB + índice: 0.00MB + Motor InnoDB
Contador de tipo de contenido
attachment 167
custom_css 1
elementor_library 13
mc4wp-form 1
nav_menu_item 1
oembed_cache 1
page 12
post 6
product 100
revision 207
shop_order 981
shop_order_refund 14
wp_global_styles 1
wpcf7_contact_form 1
wpcode 4
wpdiscuz_form 1
_
WooCommerce > Status > Records
_
log-2023-11-21-4a5eb87d182a93f2bd672c0d1dec693a.log
4+00:00 DEBUG Se llamó a Automattic\WooCommerce\Internal\DataStores\Orders\DataSynchronizer::get_current_orders_pending_sync_count pero no se había registrado ningún tipo de pedido: puede que se haya realizado la llamada demasiado pronto.
2023-11-21T18:44:04+00:00 DEBUG Se llamó a Automattic\WooCommerce\Internal\DataStores\Orders\DataSynchronizer::get_current_orders_pending_sync_count pero no se había registrado ningún tipo de pedido: puede que se haya realizado la llamada demasiado pronto.
–
Thanks for helping me.
]]>