Description

Removes a specified item from your basket. The basket is only stored across requests if using a SessionId as specified in Auth::SessionLogin.

Parameters

string codeTo remove a number from your basket, use the appropriate code which can be retrieved from Order::ViewBasket


  • STANO > (Standard number - band 00)

  • BRONO > (Bronze number - band 10)

  • SILNO > (Silver number - band 20)

  • GOLNO > (Gold number - band 30)

  • PLANO > (Platinum number - band 40)

  • DIANO > (Diamond number - band 50)



For pricing, please refer to your pricing agreement or contact [email protected].
string numberThe number to remove from your basket.

Request

<?xml version="1.0"?>
<NoveroRequest>
    <Request target="Order" name="RemoveFromBasket" id="TestRequest">
        <code>STANO</code>
        <number>01245830173</number>
    </Request>
</NoveroRequest>
<?php
    require_once('TTNCApi.php');
    $Api = new TTNCApi('<username>', '<password>', '<VKey>');
    $Request = $Api->NewRequest('Order', 'RemoveFromBasket', 'TestRequest');
    $Request->SetData('code', 'STANO');
    $Request->SetData('number', '01245830173');
    $Api->MakeRequests();
    $Response = $Api->GetResponseFromId('TestRequest');
?>
require TTNCApi
api = TTNCApi.new('<username>', '<password>', '<vkey>')
request = api.newrequest('Order', 'RemoveFromBasket', 'TestRequest')
request.setdata('code', 'STANO')
request.setdata('number', '01245830173')
api.makerequest()
p request.getresponse()
api = TTNCApi('<username>', '<password>', '<vkey>')
request = api.newrequest('Order', 'RemoveFromBasket', 'TestRequest')
request.setdata('code', 'STANO')
request.setdata('number', '01245830173')
api.makerequest()
p request.getresponse()
using System;
using TTNCApi;
 
class Program
{
    static void Main(string[] args)
    {
        TTNCApi api = new TTNCApi("<username>", "<password>", "<vkey>");
        TTNCRequest request = api.NewRequest("Order", "RemoveFromBasket", "TestRequest");
        request.setData("code", "STANO");
        request.setData("number", "01245830173");
        api.MakeRequests();
        TTNCParser dic = request.GetResponse();
     }
}

Response

<?xml version="1.0"?>
<NoveroResponse>
    <Response target="Order" name="RemoveFromBasket" Code="200" RequestId="TestRequest">
        <ResponseMessage></ResponseMessage>
        <Success></Success>
    </Response>
</NoveroResponse>