lib/API/ListsSegmentsApi.php
/**
     * Operation subscribeAsync
     *
     * Subscribe Profiles to List
     *
     * @param  string $list_id (required)
     * @param  \Klaviyo\Model\InlineObject3 $inline_object3 (optional)
     *
     * @throws \InvalidArgumentException
     * @return \GuzzleHttp\Promise\PromiseInterface
     */
Operation subscribeAsync
Subscribe Profiles to List




Operation subscribeAsync Subscribe Profiles to List
public function subscribeAsync($list_id, $inline_object3 = null)
    {
        return $this->subscribeAsyncWithHttpInfo($list_id, $inline_object3)
            ->then(
                function ($response) {
                    return $response[0];
                }
            );
    }
public function subscribeAsync ( $ list_id , $ inline_object3 = null ) { return $ this -> subscribeAsyncWithHttpInfo ( $ list_id , $ inline_object3 ) -> then ( function ( $ response ) { return $ response [ 0 ] ; } ) ; }
Operation subscribeAsync
 Subscribe Profiles to List
Operation subscribeAsync Subscribe Profiles to List