public function delete(CustomCollection &$customCollection)
    {
        $endpoint = '/admin/custom_collections/'.$customCollection->getId().'.json';
        $request = $this->createRequest($endpoint, static::REQUEST_METHOD_DELETE);
        $response = $this->send($request);
        return;
    }
public function delete(CustomCollection &$customCollection)
    {
        $endpoint = '/admin/custom_collections/'.$customCollection->getId().'.json';
        $request = $this->createRequest($endpoint, static::REQUEST_METHOD_DELETE);
        $response = $this->send($request);
        return;
    }
public function delete ( CustomCollection & $ customCollection ) { $ endpoint = '/admin/custom_collections/' . $ customCollection -> getId ( ) . '.json' ; $ request = $ this -> createRequest ( $ endpoint , static :: REQUEST_METHOD_DELETE ) ; $ response = $ this -> send ( $ request ) ; return ; }
Delete a custom collection

@link   https://help.shopify.com/api/reference/customcollection#destroy
@param  CustomCollection $customCollection
@return void
Delete a custom collection