Elastic Path Commerce Development

Resources

Resources

A resource is an object with data, relationships to other resources, and methods that invoke actions. Cortex represents the resource's data using a standard JSON format. In this format, properties represent the resource's data and the links represent the relationships the resource has with other resources. Cortex uses standard HTTP methods to perform actions on a resource.

Resources can also be linked together into lists. A list is a special type of resource that represents a collection of related resources.