Documents

Delete a template

Delete a template.

delete/v1/documents/templates/{id}

Request

  • Base URL
    https://karrio.io (the document declares no server; this is the origin it was published from)
  • Auth
    • HTTP basic
    • or API key in header Authorization
    • or OAuth 2
      Authorization code/oauth/authorize/
      Token URL/oauth/token/
    • or API key in header Authorization
  • TypeScript
    A function with typed inputs. Its response is checked against the schema.

Path parameters

idstring required

Response

idstring

A unique identifier

namestring required

The template name

slugstring required

The template slug

templatestring required

The template content

activeboolean

disable template flag.

descriptionstring

The template description

metadataobject

The template metadata

optionsobject

The template rendering options

related_object'shipment' | 'order' | 'other'

The template related object

object_typestring

Specifies the object type

Changes

No recorded changes to this operation across all 1 revision of this API.