PluginProbe
ووسلام – همگام سازی ووکامرس و باسلام / 1.10.21
ووسلام – همگام سازی ووکامرس و باسلام v1.10.21
1.10.21 1.10.19 1.10.20 1.10.18 1.10.17 1.10.15 1.10.14 1.10.13 1.10.12 1.10.10 1.10.9 1.10.8 1.10.7 1.10.6 1.10.5 1.10.4 1.10.3 1.10.2 1.10.1 1.10.0 1.9.2 1.9.1 1.9.0 1.8.8 1.8.5 All 54 releases
← All changes | includes/Config/Endpoints.php +4 -1 1.10.81.10.21 View file →
@@ -39,9 +39,9 @@
39 39 /** GET vendor information — sprintf($url, $vendorId) */
40 40 const VENDOR_INFO = self::OPENAPI_BASE . '/v1/vendors/%d';
41 41
42 42 /** GET category-detection prediction — append encoded title as query param */
43 - const CATEGORY_DETECT = self::CATEGORY_BASE . '/category_detection/api_v1.0/predict/';
43 + const CATEGORY_DETECT = self::CATEGORY_BASE . '/category_detection/api_v2.0/predict/';
44 44
45 45 /** POST initialize a product media upload */
46 46 const MEDIA_UPLOAD_REQUEST = self::UPLOAD_BASE . '/v3/media/upload-request';
47 47
@@ -55,8 +55,11 @@
55 55 const PRODUCTS_DATA = self::CORE_BASE . '/v4/products';
56 56
57 57 /** GET commission percentage */
58 58 const COMMISSION = self::CORE_BASE . '/api_v2/commission/get_percent';
59 +
60 + /** GET commission percentage for an existing product — sprintf($url, $basalamProductId) */
61 + const PRODUCT_COMMISSION = self::CORE_BASE . '/api_v2/commission/products/%d/percent';
59 62
60 63 /** GET full category tree with max preparation days (core v3) */
61 64 const CATEGORIES_PREPARATION = self::CORE_BASE . '/v3/categories';
62 65