From 477a2d86487312cd1476aee9022beef4de7b3bb9 Mon Sep 17 00:00:00 2001 From: Ahmed Qaid <34524233+QQ879@users.noreply.github.com> Date: Sun, 7 Feb 2021 15:25:37 +0800 Subject: [PATCH] Update Item.php (#30) * Update Item.php Added API call method for adding 2-tier variations. * Update Item.php Removed Whitespace --- src/Nodes/Item/Item.php | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/src/Nodes/Item/Item.php b/src/Nodes/Item/Item.php index adc5e7b..ed5107b 100644 --- a/src/Nodes/Item/Item.php +++ b/src/Nodes/Item/Item.php @@ -325,4 +325,15 @@ public function unlistItem($parameters = []): ResponseData { return $this->post('/api/v1/items/unlist', $parameters); } + + /** + * For adding 2-tier variations (Forked). + * + * @param array|Parameters\InitTierVariation $parameters + * @return ResponseData + */ + public function initTierVariation($parameters = []): ResponseData + { + return $this->post('api/v1/item/tier_var/init', $parameters); + } }