Skip to content

Commit

Permalink
Update Item.php (#30)
Browse files Browse the repository at this point in the history
* Update Item.php

Added API call method for adding 2-tier variations.

* Update Item.php

Removed Whitespace
  • Loading branch information
ahmedqaid authored Feb 7, 2021
1 parent bff8bed commit 477a2d8
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions src/Nodes/Item/Item.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit 477a2d8

Please sign in to comment.