Remove an order mail template

Content

Resource URL

https://apps.ticketmatic.com/api/1/{accountname}/settings/communicationanddesign/ordermails/{id}

Description

Order mail templates are archivable: this call won’t actually delete the object from the database. Instead, it will mark the object as archived, which means it won’t show up anymore in most places.

Most object types are archivable and can’t be deleted: this is needed to ensure consistency of historical data.

Example

Request

1use Ticketmatic\Endpoints\Settings\Communicationanddesign\Ordermails;
2
3Ordermails::delete($client, $id);

Response

This operation does not return a response. The status can be checked by looking at the HTTP status code.

Request

1import (
2    "github.com/ticketmatic/tm-go/ticketmatic"
3    "github.com/ticketmatic/tm-go/ticketmatic/settings/communicationanddesign/ordermails"
4)
5
6err := ordermails.Delete(client, id)

Response

This operation does not return a response. The status can be checked by looking at the HTTP status code.

Request

1DELETE /api/1/{accountname}/settings/communicationanddesign/ordermails/{id} HTTP/1.1

Response

This operation does not return a response. The status can be checked by looking at the HTTP status code.