WooCommerce Media API

Media endpoint for WooCommerce API. Upload and list media file by WooCommerce REST API.

Author:woopos (profile at wordpress.org)
WordPress version required:4.0
WordPress version tested:5.9.3
Plugin version:2.8
Added to WordPress repository:28-05-2018
Last updated:18-05-2022
Rating, %:0
Rated by:0
Plugin URI:
Total downloads:5 536
Active installs:600+
plugin download
Click to start download

WooCommerce Media API is an extension of WooCommerce API with new endpoint media(/wp-json/wc/v2/media). This is a wrapper of existing WordPress REST API. This plugin will help you bypass WordPress REST API authentication settings and JWT, and use WooCommerce API to upload medias and images directly.

Media properties can be found here.
Two additional properties have been added to create media file:
media_path (string write-only): relative path folder (under wp-content/uploads) of the file to create. eg: 2018/05/department/brand.
media_attachment (string write-only): base64 string of media binary file. eg: R0lGODlhAQABAIAAAAAAAAAAACH5BAEAAAAALAAAAAABAAEAAAICRAEAOw==.

List all media: available parameters here

WooPOS (WooCommerce Point Of Sale and Inventory Management desktop app) user: please install this plugin to manage images from WooPOS.


FAQ
ChangeLog