跳到内容

Media API for WooCommerce

v2.8.2

WooPOS · 2018年5月28日 上架

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

正在使用
400+
评分
暂无
累计下载
8,402
最近更新
2026年11月23日
需要 WordPress 4.0+已测试到 7.1.5PHP 5.2.4+

贡献者

Media API for WooCommerce 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.

Plums

按场景查找 WordPress 插件。安装量、评分和兼容版本来自官方目录。

导航

说明

WordPress 是 WordPress Foundation 的商标。本站与 WordPress Foundation、Automattic 没有隶属关系。这里不托管插件文件,下载和安装以 WordPress.org 上的页面为准。

© 2026 Plums