Purge orders
Content
Resource URL
https://apps.ticketmatic.com/api/1/{accountname}/orders/purge
Description
Purge all orders. This is only possible for test or staging accounts.
Example
Request
1use Ticketmatic\Endpoints\Orders;
2
3$result = Orders::purge($client, array(
4 "contacts" => true,
5 "createdsince" => "2015-03-01 20:00:00",
6 "events" => true,
7));
8
9// The parameters array is optional, it can be omitted when empty.
10$result = Orders::purge($client);
Parameters
Field | Description |
---|---|
contacts bool (required) | Also purge contacts Example value:true |
createdsince string (required) | Only purge orders created since this timestamp Example value:"2015-03-01 20:00:00" |
events bool (required) | Also purge events (incl. vouchers, products and bundles) Example value:true |
Type reference: PurgeOrdersRequest