All Versions

Version 1
Version 2


Page tree

Supplier API v2

Skip to end of metadata
Go to start of metadata

A Link is a representation of a related resource's URL.

NameTypeDescription
hrefstringThe URL that can be used to get the linked resource.
classstringIdentifies the type of resource that is linked to by the URL
identifiermixedIf the linked resource uses an identifier, it is listed here. This makes it easy for you to cache the information without the need to parse identifiers from the provided URLs.

Link with an identifier to a specific target

{
	"href": "https://supplier.cmix.com/api/v2/targets/102365",
	"class": "target",
	"identifier": 102365
}

 

Link to a list of targets

{
	"href": "https://supplier.cmix.com/api/v2/targets",
	"class": "targets",
}

 

 

 

  • No labels

0 Comments

You are not logged in. Any changes you make will be marked as anonymous. You may want to Log In if you already have an account.