public function delete($urlParams = array(), $url = null)
    {
        if (!$url) $url = $this->generateUrl($urlParams);

        $response = HttpRequestJson::delete($url, $this->httpHeaders);

        return $this->processResponse($response);
    }
public function delete($urlParams = array(), $url = null)
    {
        if (!$url) $url = $this->generateUrl($urlParams);

        $response = HttpRequestJson::delete($url, $this->httpHeaders);

        return $this->processResponse($response);
    }
public function delete ( $ urlParams = array ( ) , $ url = null ) { if ( ! $ url ) $ url = $ this -> generateUrl ( $ urlParams ) ; $ response = HttpRequestJson :: delete ( $ url , $ this -> httpHeaders ) ; return $ this -> processResponse ( $ response ) ; }
Call DELETE method to delete an existing resource

@param array $urlParams Check Shopify API reference of the specific resource for the list of URL parameters
@param string $url

@uses HttpRequestJson::delete() to send the HTTP request

@return array an empty array will be returned if the request is successfully completed
Call DELETE method to delete an existing resource