default_templates

Description

This property helper links to the defaults for various twig templates we support. Simply use the link relationships to GET the template you are interested in.

Interact with this resource

To interact with this resource and see it in the context of the API, you can utilise Postman or your Terminal/Console to perform requests. If you have a Foxy store, you can also use the API browser in the admin to interact with resources connected to your store.

Actions

GET
View a default_templates
HEAD
Get just the header response
OPTIONS
Get a response explaining which HTTP methods are supported

Properties

Property Description Type Constraints
message A small, human readable explanation of this property helper. String Read only

Example Representation

{
  "_links": {
    "curies": [
      {
        "name": "fx",
        "href": "https://api.foxycart.com/rels/{rel}",
        "templated": true
      }
    ],
    "self": {
      "href": "https://api.foxycart.com/property_helpers/default_templates",
      "title": "Default templates home"
    },
    "fx:cart_include_templates": {
      "href": "https://api.foxycart.com/property_helpers/default_templates/cart_include",
      "title": "Cart Include default templates"
    },
    "fx:cart_templates": {
      "href": "https://api.foxycart.com/property_helpers/default_templates/cart",
      "title": "Cart default templates"
    },
    "fx:checkout_templates": {
      "href": "https://api.foxycart.com/property_helpers/default_templates/checkout",
      "title": "Checkout default templates"
    },
    "fx:receipt_templates": {
      "href": "https://api.foxycart.com/property_helpers/default_templates/receipt",
      "title": "Receipt default templates"
    },
    "fx:email_templates": {
      "href": "https://api.foxycart.com/property_helpers/default_templates/email",
      "title": "Email default templates"
    },
    "fx:property_helpers": {
      "href": "https://api.foxycart.com/property_helpers",
      "title": "Property Helpers Home"
    }
  },
  "message": "Use these resources for setting a default template style for your store."
}
<?xml version="1.0" encoding="UTF-8"?>
<resource href="https://api.foxycart.com/property_helpers/default_templates">
  <link rel="self" href="https://api.foxycart.com/property_helpers/default_templates" title="Default templates home"/>
  <link rel="https://api.foxycart.com/rels/cart_include_templates" href="https://api-sandbox.foxycart.com/property_helpers/default_templates/cart_include" title="Cart Include default templates"/>
  <link rel="https://api.foxycart.com/rels/cart_templates" href="https://api-sandbox.foxycart.com/property_helpers/default_templates/cart" title="Cart default templates"/>
  <link rel="https://api.foxycart.com/rels/checkout_templates" href="https://api-sandbox.foxycart.com/property_helpers/default_templates/checkout" title="Checkout default templates"/>
  <link rel="https://api.foxycart.com/rels/receipt_templates" href="https://api-sandbox.foxycart.com/property_helpers/default_templates/receipt" title="Receipt default templates"/>
  <link rel="https://api.foxycart.com/rels/email_templates" href="https://api-sandbox.foxycart.com/property_helpers/default_templates/email" title="Email default templates"/>
  <link rel="https://api.foxycart.com/rels/property_helpers" href="https://api.foxycart.com/property_helpers" title="Property Helpers Home"/>
  <message>Use these resources for setting a default template style for your store.</message>
</resource>
{
    "properties": {
        "message": "Use these resources for setting a default template style for your store."
    },
    "links": [
        {
            "rel": [
                "self"
            ],
            "href": "https://api.foxycart.com/property_helpers/default_templates"
        },
        {
            "rel": [
                "https://api.foxycart.com/rels/cart_include_templates"
            ],
            "href": "https://api.foxycart.com/property_helpers/default_templates/cart_include"
        },
        {
            "rel": [
                "https://api.foxycart.com/rels/cart_templates"
            ],
            "href": "https://api.foxycart.com/property_helpers/default_templates/cart"
        },
        {
            "rel": [
                "https://api.foxycart.com/rels/checkout_templates"
            ],
            "href": "https://api.foxycart.com/property_helpers/default_templates/checkout"
        },
        {
            "rel": [
                "https://api.foxycart.com/rels/receipt_templates"
            ],
            "href": "https://api.foxycart.com/property_helpers/default_templates/receipt"
        },
        {
            "rel": [
                "https://api.foxycart.com/rels/email_templates"
            ],
            "href": "https://api.foxycart.com/property_helpers/default_templates/email"
        },
        {
            "rel": [
                "https://api.foxycart.com/rels/property_helpers"
            ],
            "href": "https://api.foxycart.com/property_helpers"
        }
    ]
}

Zoomable Resources

This resource has no linked resources which can be "zoomed" in on, filtered and embedded within this resource.