| @@ -56,8 +56,11 @@ | ||
| 56 | 56 | |
| 57 | 57 | /** GET commission percentage */ |
| 58 | 58 | const COMMISSION = self::CORE_BASE . '/api_v2/commission/get_percent'; |
| 59 | 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'; | |
| 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 | |
| 63 | 66 | /** GET/POST/PATCH/DELETE webhooks */ |