public function updateItemQuantity($id, $quantity)
    {
        $body = [
            'data' => [
                'id' => $id,
                'quantity' => $quantity
            ]
        ];
        return $this->call('PUT', $body, $this->getReference() . "/items/{$id}");
    }
public function updateItemQuantity($id, $quantity)
    {
        $body = [
            'data' => [
                'id' => $id,
                'quantity' => $quantity
            ]
        ];
        return $this->call('PUT', $body, $this->getReference() . "/items/{$id}");
    }
public function updateItemQuantity ( $ id , $ quantity ) { $ body = [ 'data' => [ 'id' => $ id , 'quantity' => $ quantity ] ] ; return $ this -> call ( 'PUT' , $ body , $ this -> getReference ( ) . "/items/{$id}" ) ; }
Update an items quantity in a cart

@param string $id the cart item idate
@param int $quantity the new quantity
@return Moltin\Response
Update an items quantity in a cart